Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-traverse

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-traverse - npm Package Compare versions

Comparing version 7.0.0-beta.0 to 7.0.0-beta.1

5

lib/index.js

@@ -129,3 +129,3 @@ "use strict";

traverse.hasType = function (tree, scope, type, blacklistTypes) {
traverse.hasType = function (tree, type, blacklistTypes) {
if ((0, _includes2.default)(blacklistTypes, tree.type)) return false;

@@ -138,5 +138,6 @@ if (tree.type === type) return true;

traverse(tree, {
noScope: true,
blacklist: blacklistTypes,
enter: hasBlacklistedType
}, scope, state);
}, null, state);
return state.has;

@@ -143,0 +144,0 @@ };

14

package.json
{
"name": "babel-traverse",
"version": "7.0.0-beta.0",
"version": "7.0.0-beta.1",
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",

@@ -11,6 +11,6 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"dependencies": {
"babel-code-frame": "7.0.0-beta.0",
"babel-helper-function-name": "7.0.0-beta.0",
"babel-messages": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0",
"babel-code-frame": "7.0.0-beta.1",
"babel-helper-function-name": "7.0.0-beta.1",
"babel-messages": "7.0.0-beta.1",
"babel-types": "7.0.0-beta.1",
"babylon": "7.0.0-beta.22",

@@ -23,5 +23,5 @@ "debug": "^3.0.1",

"devDependencies": {
"babel-generator": "7.0.0-beta.0",
"babel-helper-plugin-test-runner": "7.0.0-beta.0"
"babel-generator": "7.0.0-beta.1",
"babel-helper-plugin-test-runner": "7.0.0-beta.1"
}
}
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