Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-destructuring

Package Overview
Dependencies
54
Maintainers
4
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.19.4 to 7.20.0

4

lib/index.js

@@ -89,3 +89,3 @@ 'use strict';

if (this.kind === "const" && init === null) {
if ((this.kind === "const" || this.kind === "using") && init === null) {
nodeInit = this.scope.buildUndefinedNode();

@@ -148,3 +148,3 @@ } else {

if (this.kind === "const" || this.kind === "let") {
if (this.kind === "const" || this.kind === "let" || this.kind === "using") {
patternId = this.scope.generateUidIdentifier(tempId.name);

@@ -151,0 +151,0 @@ node = this.buildVariableDeclaration(patternId, tempConditional);

{
"name": "@babel/plugin-transform-destructuring",
"version": "7.19.4",
"version": "7.20.0",
"description": "Compile ES2015 destructuring to ES5",

@@ -26,5 +26,5 @@ "repository": {

"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.19.4"
"@babel/traverse": "^7.20.0"
},

@@ -31,0 +31,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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