Socket
Socket
Sign inDemoInstall

ast-types

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-types - npm Package Compare versions

Comparing version 0.3.20 to 0.3.21

6

lib/traverse.js

@@ -19,3 +19,6 @@ var assert = require("assert");

// bookkeeping altogether.
return traverseWithNoPathInfo(node, callback);
return traverseWithNoPathInfo(
node instanceof NodePath ? node.value : node,
callback
);
}

@@ -67,2 +70,3 @@

function traverseWithNoPathInfo(node, callback, context) {
Node.assert(node);
context = context || null;

@@ -69,0 +73,0 @@

2

package.json

@@ -21,3 +21,3 @@ {

],
"version": "0.3.20",
"version": "0.3.21",
"homepage": "http://github.com/benjamn/ast-types",

@@ -24,0 +24,0 @@ "repository": {

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