@babel/plugin-transform-destructuring
Advanced tools
Comparing version 7.18.9 to 7.18.13
@@ -411,2 +411,5 @@ 'use strict'; | ||
const inForInit = core.types.isForStatement(path.parent, { | ||
init: node | ||
}); | ||
let tail = null; | ||
@@ -432,3 +435,3 @@ const nodesOut = []; | ||
nodesOut.push(node); | ||
nodesOut.push(inForInit && node.type === "ExpressionStatement" ? node.expression : node); | ||
} | ||
@@ -435,0 +438,0 @@ |
{ | ||
"name": "@babel/plugin-transform-destructuring", | ||
"version": "7.18.9", | ||
"version": "7.18.13", | ||
"description": "Compile ES2015 destructuring to ES5", | ||
@@ -26,5 +26,5 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/core": "^7.18.9", | ||
"@babel/core": "^7.18.13", | ||
"@babel/helper-plugin-test-runner": "^7.18.6", | ||
"@babel/traverse": "^7.18.9" | ||
"@babel/traverse": "^7.18.13" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
77944
522