@babel/plugin-transform-spread
Advanced tools
Comparing version 7.8.3 to 7.10.0
@@ -15,3 +15,4 @@ "use strict"; | ||
const { | ||
loose | ||
loose, | ||
allowArrayLike | ||
} = options; | ||
@@ -25,3 +26,3 @@ | ||
} else { | ||
return scope.toArray(spread.argument, true); | ||
return scope.toArray(spread.argument, true, allowArrayLike); | ||
} | ||
@@ -28,0 +29,0 @@ } |
{ | ||
"name": "@babel/plugin-transform-spread", | ||
"version": "7.8.3", | ||
"version": "7.10.0", | ||
"description": "Compile ES2015 spread to ES5", | ||
@@ -21,6 +21,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-spread", | ||
"devDependencies": { | ||
"@babel/core": "^7.8.3", | ||
"@babel/core": "^7.10.0", | ||
"@babel/helper-plugin-test-runner": "^7.8.3" | ||
}, | ||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017" | ||
"gitHead": "5da2440adff6f25579fb6e9a018062291c89416f" | ||
} |
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
6394
132
82
1
1
1
14