Socket
Socket
Sign inDemoInstall

babel-plugin-transform-es2015-destructuring

Package Overview
Dependencies
Maintainers
6
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-destructuring - npm Package Compare versions

Comparing version 6.19.0 to 6.22.0

5

lib/index.js

@@ -296,7 +296,4 @@ "use strict";

elemRef = this.toArray(arrayRef);
elemRef = t.callExpression(t.memberExpression(elemRef, t.identifier("slice")), [t.numericLiteral(i)]);
if (i > 0) {
elemRef = t.callExpression(t.memberExpression(elemRef, t.identifier("slice")), [t.numericLiteral(i)]);
}
elem = elem.argument;

@@ -303,0 +300,0 @@ } else {

6

package.json
{
"name": "babel-plugin-transform-es2015-destructuring",
"version": "6.19.0",
"version": "6.22.0",
"description": "Compile ES2015 destructuring to ES5",

@@ -12,7 +12,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-destructuring",

"dependencies": {
"babel-runtime": "^6.9.0"
"babel-runtime": "^6.22.0"
},
"devDependencies": {
"babel-helper-plugin-test-runner": "^6.18.0"
"babel-helper-plugin-test-runner": "^6.22.0"
}
}
# babel-plugin-transform-es2015-destructuring
Compile ES2015 destructuring to ES5
> Compile ES2015 destructuring to ES5

@@ -8,3 +8,3 @@ ## Installation

```sh
$ npm install babel-plugin-transform-es2015-destructuring
npm install --save-dev babel-plugin-transform-es2015-destructuring
```

@@ -27,3 +27,3 @@

```sh
$ babel --plugins transform-es2015-destructuring script.js
babel --plugins transform-es2015-destructuring script.js
```

@@ -30,0 +30,0 @@

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