@babel/traverse
Advanced tools
Comparing version 7.23.6 to 7.23.7
@@ -39,4 +39,6 @@ "use strict"; | ||
function _callRemovalHooks() { | ||
for (const fn of _removalHooks.hooks) { | ||
if (fn(this, this.parentPath)) return true; | ||
if (this.parentPath) { | ||
for (const fn of _removalHooks.hooks) { | ||
if (fn(this, this.parentPath)) return true; | ||
} | ||
} | ||
@@ -43,0 +45,0 @@ } |
{ | ||
"name": "@babel/traverse", | ||
"version": "7.23.6", | ||
"version": "7.23.7", | ||
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", | ||
@@ -31,3 +31,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/core": "^7.23.6", | ||
"@babel/core": "^7.23.7", | ||
"@babel/helper-plugin-test-runner": "^7.22.5" | ||
@@ -34,0 +34,0 @@ }, |
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
610525
5181