babel-plugin-transform-es2015-spread
Advanced tools
Comparing version 6.5.0 to 6.5.2
@@ -128,2 +128,6 @@ "use strict"; | ||
if (t.isSuper(contextLiteral)) { | ||
contextLiteral = t.thisExpression(); | ||
} | ||
node.arguments.unshift(contextLiteral); | ||
@@ -130,0 +134,0 @@ }, |
{ | ||
"name": "babel-plugin-transform-es2015-spread", | ||
"version": "6.5.0", | ||
"version": "6.5.2", | ||
"description": "Compile ES2015 spread to ES5", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-spread", |
@@ -17,6 +17,16 @@ # babel-plugin-transform-es2015-spread | ||
```json | ||
```js | ||
// without options | ||
{ | ||
"plugins": ["transform-es2015-spread"] | ||
} | ||
// with options | ||
{ | ||
"plugins": [ | ||
["transform-es2015-spread", { | ||
"loose": true | ||
}] | ||
] | ||
} | ||
``` | ||
@@ -23,0 +33,0 @@ |
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
5251
116
46