@babel/traverse
Advanced tools
Comparing version 7.1.0 to 7.1.3
@@ -299,3 +299,3 @@ "use strict"; | ||
case "**": | ||
return Math.pow(left, right); | ||
return left ** right; | ||
@@ -302,0 +302,0 @@ case "<": |
@@ -108,3 +108,3 @@ "use strict"; | ||
return parentPath.insertAfter(nodes); | ||
} else if (this.isNodeType("Expression") || parentPath.isForStatement() && this.key === "init") { | ||
} else if (this.isNodeType("Expression") && !this.isJSXElement() || parentPath.isForStatement() && this.key === "init") { | ||
if (this.node) { | ||
@@ -111,0 +111,0 @@ let { |
{ | ||
"name": "@babel/traverse", | ||
"version": "7.1.0", | ||
"version": "7.1.3", | ||
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", | ||
@@ -15,7 +15,7 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"@babel/code-frame": "^7.0.0", | ||
"@babel/generator": "^7.0.0", | ||
"@babel/generator": "^7.1.3", | ||
"@babel/helper-function-name": "^7.1.0", | ||
"@babel/helper-split-export-declaration": "^7.0.0", | ||
"@babel/parser": "^7.1.0", | ||
"@babel/types": "^7.0.0", | ||
"@babel/parser": "^7.1.3", | ||
"@babel/types": "^7.1.3", | ||
"debug": "^3.1.0", | ||
@@ -22,0 +22,0 @@ "globals": "^11.1.0", |
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
144286
Updated@babel/generator@^7.1.3
Updated@babel/parser@^7.1.3
Updated@babel/types@^7.1.3