Comparing version 4.0.0 to 4.1.0
@@ -65,3 +65,7 @@ /* | ||
: estraverse.VisitorKeys; | ||
this.__fallback = options.fallback === 'iteration'; | ||
if (options.fallback === 'iteration') { | ||
this.__fallback = objectKeys; | ||
} else if (typeof options.fallback === 'function') { | ||
this.__fallback = options.fallback; | ||
} | ||
} | ||
@@ -85,3 +89,3 @@ | ||
if (this.__fallback) { | ||
children = objectKeys(node); | ||
children = this.__fallback(node); | ||
} else { | ||
@@ -88,0 +92,0 @@ throw new Error('Unknown node type ' + type + '.'); |
@@ -6,3 +6,3 @@ { | ||
"main": "esrecurse.js", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"engines": { | ||
@@ -9,0 +9,0 @@ "node": ">=0.10.0" |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
115
8445
3
1
0
1