babel-traverse
Advanced tools
Comparing version 6.22.0 to 6.22.1
@@ -143,3 +143,3 @@ "use strict"; | ||
do { | ||
if (!path.parentPath || Array.isArray(path.container) && path.isStatement() || path.isVariableDeclarator() && path.parentPath.node.declarations.length > 1) return path; | ||
if (!path.parentPath || Array.isArray(path.container) && path.isStatement() || path.isVariableDeclarator() && path.parentPath.node !== null && path.parentPath.node.declarations.length > 1) return path; | ||
} while (path = path.parentPath); | ||
@@ -146,0 +146,0 @@ }; |
{ | ||
"name": "babel-traverse", | ||
"version": "6.22.0", | ||
"version": "6.22.1", | ||
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", | ||
@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", |
149712