babel-plugin-transform-es2015-parameters
Advanced tools
Comparing version 6.23.0 to 7.0.0-alpha.1
@@ -6,6 +6,2 @@ "use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
var _babelHelperGetFunctionArity = require("babel-helper-get-function-arity"); | ||
@@ -36,3 +32,3 @@ | ||
function hasDefaults(node) { | ||
for (var _iterator = node.params, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) { | ||
for (var _iterator = node.params, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { | ||
var _ref; | ||
@@ -39,0 +35,0 @@ |
@@ -5,6 +5,2 @@ "use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
exports.default = function () { | ||
@@ -15,3 +11,3 @@ return { | ||
var params = path.get("params"); | ||
for (var _iterator = params, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) { | ||
for (var _iterator = params, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { | ||
var _ref; | ||
@@ -54,6 +50,2 @@ | ||
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; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
module.exports = exports["default"]; | ||
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; } } |
@@ -6,6 +6,2 @@ "use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
var _babelTemplate = require("babel-template"); | ||
@@ -182,3 +178,3 @@ | ||
if (!state.deopted && !state.references.length) { | ||
for (var _iterator = state.candidates, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) { | ||
for (var _iterator = state.candidates, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { | ||
var _ref3; | ||
@@ -185,0 +181,0 @@ |
{ | ||
"name": "babel-plugin-transform-es2015-parameters", | ||
"version": "6.23.0", | ||
"version": "7.0.0-alpha.1", | ||
"description": "Compile ES2015 default and rest parameters to ES5", | ||
@@ -9,8 +9,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-parameters", | ||
"dependencies": { | ||
"babel-traverse": "^6.23.0", | ||
"babel-helper-call-delegate": "^6.22.0", | ||
"babel-helper-get-function-arity": "^6.22.0", | ||
"babel-template": "^6.23.0", | ||
"babel-types": "^6.23.0", | ||
"babel-runtime": "^6.22.0" | ||
"babel-traverse": "7.0.0-alpha.1", | ||
"babel-helper-call-delegate": "7.0.0-alpha.1", | ||
"babel-helper-get-function-arity": "7.0.0-alpha.1", | ||
"babel-template": "7.0.0-alpha.1", | ||
"babel-types": "7.0.0-alpha.1" | ||
}, | ||
@@ -21,4 +20,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel-helper-plugin-test-runner": "^6.22.0" | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.1" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5
0
16415
371
2
+ Addedbabel-code-frame@7.0.0-alpha.1(transitive)
+ Addedbabel-helper-call-delegate@7.0.0-alpha.1(transitive)
+ Addedbabel-helper-get-function-arity@7.0.0-alpha.1(transitive)
+ Addedbabel-helper-hoist-variables@7.0.0-alpha.1(transitive)
+ Addedbabel-messages@7.0.0-alpha.1(transitive)
+ Addedbabel-template@7.0.0-alpha.1(transitive)
+ Addedbabel-traverse@7.0.0-alpha.1(transitive)
+ Addedbabel-types@7.0.0-alpha.1(transitive)
+ Addedbabylon@7.0.0-beta.4(transitive)
- Removedbabel-runtime@^6.22.0
- Removedbabel-code-frame@6.26.0(transitive)
- Removedbabel-helper-call-delegate@6.24.1(transitive)
- Removedbabel-helper-get-function-arity@6.24.1(transitive)
- Removedbabel-helper-hoist-variables@6.24.1(transitive)
- Removedbabel-messages@6.23.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-template@6.26.0(transitive)
- Removedbabel-traverse@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedbabylon@6.18.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
Updatedbabel-template@7.0.0-alpha.1
Updatedbabel-traverse@7.0.0-alpha.1
Updatedbabel-types@7.0.0-alpha.1