Socket
Socket
Sign inDemoInstall

node-source-walk

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-source-walk - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

8

index.js

@@ -68,9 +68,9 @@ var babylon = require('babylon');

Object.keys(node).forEach(function(key) {
for (var key in node) {
// Avoid visited nodes
if (key === 'parent' || !node[key]) { return; }
if (key === 'parent' || !node[key]) { continue; }
node[key].parent = node;
that.traverse(node[key], cb);
});
this.traverse(node[key], cb);
}
}

@@ -77,0 +77,0 @@ };

{
"name": "node-source-walk",
"version": "3.0.0",
"version": "3.0.1",
"description": "Execute a callback on every node of a source code's AST and stop walking when you see fit",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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