Socket
Socket
Sign inDemoInstall

babel-plugin-transform-es2015-destructuring

Package Overview
Dependencies
0
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-alpha.19 to 7.0.0-alpha.20

6

lib/index.js

@@ -102,3 +102,3 @@ "use strict";

this.nodes.push(declar);
var tempConditional = t.conditionalExpression(t.binaryExpression("===", tempValueRef, t.identifier("undefined")), pattern.right, tempValueRef);
var tempConditional = t.conditionalExpression(t.binaryExpression("===", tempValueRef, this.scope.buildUndefinedNode()), pattern.right, tempValueRef);
var left = pattern.left;

@@ -428,4 +428,4 @@

var declaration = _ref3;
var name = declaration.id.name;
var _declaration = _ref3;
var name = _declaration.id.name;

@@ -432,0 +432,0 @@ if (scope.bindings[name]) {

{
"name": "babel-plugin-transform-es2015-destructuring",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"description": "Compile ES2015 destructuring to ES5",

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

"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-alpha.19"
"babel-helper-plugin-test-runner": "7.0.0-alpha.20"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc