@babel/traverse
Advanced tools
Comparing version 7.19.6 to 7.20.0
@@ -581,5 +581,8 @@ "use strict"; | ||
const declarations = path.get("declarations"); | ||
const { | ||
kind | ||
} = path.node; | ||
for (const declar of declarations) { | ||
this.registerBinding(path.node.kind, declar); | ||
this.registerBinding(kind === "using" ? "const" : kind, declar); | ||
} | ||
@@ -586,0 +589,0 @@ } else if (path.isClassDeclaration()) { |
{ | ||
"name": "@babel/traverse", | ||
"version": "7.19.6", | ||
"version": "7.20.0", | ||
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", | ||
@@ -20,3 +20,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"@babel/code-frame": "^7.18.6", | ||
"@babel/generator": "^7.19.6", | ||
"@babel/generator": "^7.20.0", | ||
"@babel/helper-environment-visitor": "^7.18.9", | ||
@@ -26,4 +26,4 @@ "@babel/helper-function-name": "^7.19.0", | ||
"@babel/helper-split-export-declaration": "^7.18.6", | ||
"@babel/parser": "^7.19.6", | ||
"@babel/types": "^7.19.4", | ||
"@babel/parser": "^7.20.0", | ||
"@babel/types": "^7.20.0", | ||
"debug": "^4.1.0", | ||
@@ -30,0 +30,0 @@ "globals": "^11.1.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
567378
61
5002
Updated@babel/generator@^7.20.0
Updated@babel/parser@^7.20.0
Updated@babel/types@^7.20.0