diff --git a/lib/6to5/transformation/transformer.js b/lib/6to5/transformation/transformer.js index 853ddf142e..a8c189a8ea 100644 --- a/lib/6to5/transformation/transformer.js +++ b/lib/6to5/transformation/transformer.js @@ -3,7 +3,6 @@ module.exports = Transformer; var TransformerPass = require("./transformer-pass"); -var traverse = require("../traverse"); var t = require("../types"); var _ = require("lodash"); diff --git a/lib/6to5/transformation/transformers/internal/module-formatter.js b/lib/6to5/transformation/transformers/internal/module-formatter.js index 076c051160..f1a7c81c89 100644 --- a/lib/6to5/transformation/transformers/internal/module-formatter.js +++ b/lib/6to5/transformation/transformers/internal/module-formatter.js @@ -1,7 +1,6 @@ "use strict"; var useStrict = require("../../helpers/use-strict"); -var transform = require("../../transform"); exports.ast = { exit: function (ast, file) { diff --git a/lib/6to5/transformation/transformers/internal/modules-split.js b/lib/6to5/transformation/transformers/internal/modules-split.js index b50c23878c..36d9701dc7 100644 --- a/lib/6to5/transformation/transformers/internal/modules-split.js +++ b/lib/6to5/transformation/transformers/internal/modules-split.js @@ -2,7 +2,7 @@ var t = require("../../../types"); -exports.ExportDeclaration = function (node, parent, scope, context, file) { +exports.ExportDeclaration = function (node) { var declar = node.declaration; if (node.default) { diff --git a/lib/6to5/traverse/index.js b/lib/6to5/traverse/index.js index 1ab05aa607..57bfb767eb 100644 --- a/lib/6to5/traverse/index.js +++ b/lib/6to5/traverse/index.js @@ -162,7 +162,7 @@ TraversalContext.prototype.visit = function (node, key, opts, scope, state) { } }; -function traverseNode(node, opts, scope, state, debug) { +function traverseNode(node, opts, scope, state) { var keys = t.VISITOR_KEYS[node.type]; if (!keys) return;