@babel/plugin-transform-duplicate-keys
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
{ | ||
"name": "@babel/plugin-transform-duplicate-keys", | ||
"version": "7.0.0-beta.32", | ||
"version": "7.0.0-beta.33", | ||
"description": "Compile objects with duplicate keys to valid strict ES5", | ||
@@ -12,8 +12,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-duplicate-keys", | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.32", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.33" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # @babel/plugin-transform-duplicate-keys | ||
This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the [transform-computed-properties](http://babeljs.io/docs/plugins/transform-computed-properties) plugin. The final result won't contain any object literals with duplicate keys. | ||
This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the [@babel/plugin-transform-computed-properties](http://babeljs.io/docs/plugins/transform-computed-properties) plugin. The final result won't contain any object literals with duplicate keys. | ||
@@ -46,3 +46,3 @@ ## Example | ||
{ | ||
"plugins": ["@babel/transform-duplicate-keys"] | ||
"plugins": ["@babel/plugin-transform-duplicate-keys"] | ||
} | ||
@@ -54,3 +54,3 @@ ``` | ||
```sh | ||
babel --plugins @babel/transform-duplicate-keys script.js | ||
babel --plugins @babel/plugin-transform-duplicate-keys script.js | ||
``` | ||
@@ -62,4 +62,4 @@ | ||
require("@babel/core").transform("code", { | ||
plugins: ["@babel/transform-duplicate-keys"] | ||
plugins: ["@babel/plugin-transform-duplicate-keys"] | ||
}); | ||
``` |
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
3669