Socket
Socket
Sign inDemoInstall

@babel/traverse

Package Overview
Dependencies
Maintainers
4
Versions
180
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.32 to 7.0.0-beta.33

3

lib/index.js

@@ -64,5 +64,2 @@ "use strict";

traverse.explode = visitors.explode;
traverse.NodePath = require("./path");
traverse.Scope = require("./scope");
traverse.Hub = require("./hub");

@@ -69,0 +66,0 @@ traverse.cheap = function (node, enter) {

4

lib/path/context.js

@@ -66,2 +66,6 @@ "use strict";

if (ret && typeof ret === "object" && typeof ret.then === "function") {
throw new Error("You appear to be using an plugin with an async traversay visitors, " + "which your current version of Babel does not support." + "If you're using a published plugin, you may need to upgrade " + "your @babel/core version.");
}
if (ret) {

@@ -68,0 +72,0 @@ throw new Error("Unexpected return value from visitor method " + _fn);

@@ -196,6 +196,7 @@ "use strict";

var _elem = _ref;
_elem = _elem.evaluate();
if (_elem.confident) {
arr.push(_elem.value);
var elemValue = _elem.evaluate();
if (elemValue.confident) {
arr.push(elemValue.value);
} else {

@@ -202,0 +203,0 @@ return deopt(_elem, state);

{
"name": "@babel/traverse",
"version": "7.0.0-beta.32",
"version": "7.0.0-beta.33",
"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.32",
"@babel/helper-function-name": "7.0.0-beta.32",
"@babel/types": "7.0.0-beta.32",
"babylon": "7.0.0-beta.32",
"@babel/code-frame": "7.0.0-beta.33",
"@babel/helper-function-name": "7.0.0-beta.33",
"@babel/types": "7.0.0-beta.33",
"babylon": "7.0.0-beta.33",
"debug": "^3.0.1",

@@ -22,5 +22,5 @@ "globals": "^10.0.0",

"devDependencies": {
"@babel/generator": "7.0.0-beta.32",
"@babel/helper-plugin-test-runner": "7.0.0-beta.32"
"@babel/generator": "7.0.0-beta.33",
"@babel/helper-plugin-test-runner": "7.0.0-beta.33"
}
}
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