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.1.0 to 7.1.3

2

lib/path/evaluation.js

@@ -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",

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