babel-plugin-transform-object-rest-spread
Advanced tools
Comparing version 6.22.0 to 6.23.0
@@ -231,3 +231,3 @@ "use strict"; | ||
if (typeof useBuiltIns !== "boolean") { | ||
throw new Error("transform-object-rest-spread currently only accepts a boolean option for useBuiltIns (defaults to false)"); | ||
throw new Error("transform-object-rest-spread currently only accepts a boolean " + "option for useBuiltIns (defaults to false)"); | ||
} | ||
@@ -234,0 +234,0 @@ |
{ | ||
"name": "babel-plugin-transform-object-rest-spread", | ||
"version": "6.22.0", | ||
"version": "6.23.0", | ||
"description": "Compile object rest and spread to ES5", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-rest-spread", |
@@ -19,3 +19,2 @@ # babel-plugin-transform-object-rest-spread | ||
[Try in REPL](https://babeljs.io/repl/#?evaluate=true&presets=es2015%2Cstage-0&code=%2F%2F%20Rest%20properties%0Alet%20%7B%20x%2C%20y%2C%20...z%20%7D%20%3D%20%7B%20x%3A%201%2C%20y%3A%202%2C%20a%3A%203%2C%20b%3A%204%20%7D%3B%0Aconsole.log(x)%3B%20%2F%2F%201%0Aconsole.log(y)%3B%20%2F%2F%202%0Aconsole.log(z)%3B%20%2F%2F%20%7B%20a%3A%203%2C%20b%3A%204%20%7D%0A%0A%2F%2F%20Spread%20properties%0Alet%20n%20%3D%20%7B%20x%2C%20y%2C%20...z%20%7D%3B%0Aconsole.log(n)%3B%20%2F%2F%20%7B%20x%3A%201%2C%20y%3A%202%2C%20a%3A%203%2C%20b%3A%204%20%7D) | ||
@@ -22,0 +21,0 @@ ## Installation |
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
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
11078
75
1