@babel/traverse
Advanced tools
Comparing version 7.22.10 to 7.22.11
@@ -27,5 +27,3 @@ "use strict"; | ||
this.kind = kind; | ||
if ((kind === "var" || kind === "hoisted") && isDeclaredInLoop(path || (() => { | ||
throw new Error("Internal Babel error: unreachable "); | ||
})())) { | ||
if ((kind === "var" || kind === "hoisted") && isDeclaredInLoop(path)) { | ||
this.reassign(path); | ||
@@ -32,0 +30,0 @@ } |
{ | ||
"name": "@babel/traverse", | ||
"version": "7.22.10", | ||
"version": "7.22.11", | ||
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", | ||
@@ -25,4 +25,4 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"@babel/helper-split-export-declaration": "^7.22.6", | ||
"@babel/parser": "^7.22.10", | ||
"@babel/types": "^7.22.10", | ||
"@babel/parser": "^7.22.11", | ||
"@babel/types": "^7.22.11", | ||
"debug": "^4.1.0", | ||
@@ -32,3 +32,3 @@ "globals": "^11.1.0" | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/core": "^7.22.11", | ||
"@babel/helper-plugin-test-runner": "^7.22.5" | ||
@@ -35,0 +35,0 @@ }, |
Sorry, the diff of this file is not supported yet
601597
5139
Updated@babel/parser@^7.22.11
Updated@babel/types@^7.22.11