@babel/plugin-proposal-object-rest-spread
Advanced tools
Comparing version 7.0.0-beta.39 to 7.0.0-beta.40
@@ -203,2 +203,3 @@ "use strict"; | ||
var refPropertyPath = []; | ||
var kind; | ||
path.findParent(function (path) { | ||
@@ -208,2 +209,3 @@ if (path.isObjectProperty()) { | ||
} else if (path.isVariableDeclarator()) { | ||
kind = path.parentPath.node.kind; | ||
return true; | ||
@@ -233,2 +235,3 @@ } | ||
insertionPath = insertionPath.getSibling(insertionPath.key + 1); | ||
path.scope.registerBinding(kind, insertionPath); | ||
@@ -235,0 +238,0 @@ if (objectPatternPath.node.properties.length === 0) { |
{ | ||
"name": "@babel/plugin-proposal-object-rest-spread", | ||
"version": "7.0.0-beta.39", | ||
"version": "7.0.0-beta.40", | ||
"description": "Compile object rest and spread to ES5", | ||
@@ -12,11 +12,11 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-object-rest-spread", | ||
"dependencies": { | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.39" | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.40" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.39" | ||
"@babel/core": "7.0.0-beta.40" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.39", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.39" | ||
"@babel/core": "7.0.0-beta.40", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.40" | ||
} | ||
} |
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
14541
276
+ Added@babel/code-frame@7.0.0-beta.40(transitive)
+ Added@babel/core@7.0.0-beta.40(transitive)
+ Added@babel/generator@7.0.0-beta.40(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.40(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.40(transitive)
+ Added@babel/helpers@7.0.0-beta.40(transitive)
+ Added@babel/highlight@7.0.0-beta.40(transitive)
+ Added@babel/plugin-syntax-object-rest-spread@7.0.0-beta.40(transitive)
+ Added@babel/template@7.0.0-beta.40(transitive)
+ Added@babel/traverse@7.0.0-beta.40(transitive)
+ Added@babel/types@7.0.0-beta.40(transitive)
+ Addedbabylon@7.0.0-beta.40(transitive)
- Removed@babel/code-frame@7.0.0-beta.39(transitive)
- Removed@babel/core@7.0.0-beta.39(transitive)
- Removed@babel/generator@7.0.0-beta.39(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.39(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.39(transitive)
- Removed@babel/helpers@7.0.0-beta.39(transitive)
- Removed@babel/plugin-syntax-object-rest-spread@7.0.0-beta.39(transitive)
- Removed@babel/template@7.0.0-beta.39(transitive)
- Removed@babel/traverse@7.0.0-beta.39(transitive)
- Removed@babel/types@7.0.0-beta.39(transitive)
- Removedbabylon@7.0.0-beta.39(transitive)
Updated@babel/plugin-syntax-object-rest-spread@7.0.0-beta.40