@babel/plugin-proposal-object-rest-spread
Advanced tools
Comparing version 7.8.3 to 7.9.0
@@ -269,3 +269,3 @@ "use strict"; | ||
if (!declaration.isVariableDeclaration()) return; | ||
const hasRest = declaration.get("declarations").some(path => hasRestElement(path.get("id"))); | ||
const hasRest = declaration.get("declarations").some(path => hasObjectPatternRestElement(path.get("id"))); | ||
if (!hasRest) return; | ||
@@ -272,0 +272,0 @@ const specifiers = []; |
{ | ||
"name": "@babel/plugin-proposal-object-rest-spread", | ||
"version": "7.8.3", | ||
"version": "7.9.0", | ||
"description": "Compile object rest and spread to ES5", | ||
@@ -22,6 +22,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-object-rest-spread", | ||
"devDependencies": { | ||
"@babel/core": "^7.8.3", | ||
"@babel/core": "^7.9.0", | ||
"@babel/helper-plugin-test-runner": "^7.8.3" | ||
}, | ||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017" | ||
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02" | ||
} |
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
15988