acorn-walk
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -0,1 +1,7 @@ | ||
## 7.1.0 (2020-02-11) | ||
### New features | ||
Add a TypeScript definition file for the library. | ||
## 7.0.0 (2017-08-12) | ||
@@ -2,0 +8,0 @@ |
@@ -37,3 +37,3 @@ (function (global, factory) { | ||
// (and also as state parameter when no other state is present). | ||
function ancestor(node, visitors, baseVisitor, state) { | ||
function ancestor(node, visitors, baseVisitor, state, override) { | ||
var ancestors = []; | ||
@@ -48,3 +48,3 @@ if (!baseVisitor) { baseVisitor = base | ||
if (isNew) { ancestors.pop(); } | ||
})(node, state); | ||
})(node, state, override); | ||
} | ||
@@ -51,0 +51,0 @@ |
@@ -6,4 +6,5 @@ { | ||
"main": "dist/walk.js", | ||
"types": "dist/walk.d.ts", | ||
"module": "dist/walk.mjs", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"engines": {"node": ">=0.4.0"}, | ||
@@ -10,0 +11,0 @@ "maintainers": [ |
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
100668
9
914