Socket
Socket
Sign inDemoInstall

esrecurse

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esrecurse - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

8

esrecurse.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc