@babel/traverse
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
@@ -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) { |
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151761
+ Added@babel/code-frame@7.0.0-beta.33(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.33(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.33(transitive)
+ Added@babel/template@7.0.0-beta.33(transitive)
+ Added@babel/types@7.0.0-beta.33(transitive)
+ Addedbabylon@7.0.0-beta.33(transitive)
- Removed@babel/code-frame@7.0.0-beta.32(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.32(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.32(transitive)
- Removed@babel/template@7.0.0-beta.32(transitive)
- Removed@babel/types@7.0.0-beta.32(transitive)
- Removedbabylon@7.0.0-beta.32(transitive)
Updated@babel/types@7.0.0-beta.33
Updatedbabylon@7.0.0-beta.33