Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-duplicate-keys

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-duplicate-keys - npm Package Compare versions

Comparing version 7.0.0-beta.32 to 7.0.0-beta.33

8

package.json
{
"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"]
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc