babel-helper-hoist-variables
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = _default; | ||
exports.default = function (path, emit, kind) { | ||
if (kind === void 0) { | ||
kind = "var"; | ||
} | ||
var t = _interopRequireWildcard(require("babel-types")); | ||
path.traverse(visitor, { | ||
kind: kind, | ||
emit: emit | ||
}); | ||
}; | ||
var _babelTypes = require("babel-types"); | ||
var t = _interopRequireWildcard(_babelTypes); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
@@ -33,3 +21,3 @@ | ||
var declarations = path.get("declarations"); | ||
var firstId = void 0; | ||
var firstId; | ||
@@ -68,2 +56,13 @@ for (var _iterator = declarations, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { | ||
} | ||
}; | ||
}; | ||
function _default(path, emit, kind) { | ||
if (kind === void 0) { | ||
kind = "var"; | ||
} | ||
path.traverse(visitor, { | ||
kind: kind, | ||
emit: emit | ||
}); | ||
} |
{ | ||
"name": "babel-helper-hoist-variables", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.3", | ||
"description": "Helper function to hoist variables", | ||
@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables", | ||
"dependencies": { | ||
"babel-types": "7.0.0-beta.2" | ||
"babel-types": "7.0.0-beta.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2175
+ Addedbabel-types@7.0.0-beta.3(transitive)
- Removedbabel-types@7.0.0-beta.2(transitive)
Updatedbabel-types@7.0.0-beta.3