Comparing version 0.6.13 to 0.6.14
@@ -76,3 +76,4 @@ (function() { | ||
if (node.children === void 0 || | ||
if (!node || | ||
node.children === void 0 || | ||
node.children.length === 0) { | ||
@@ -97,3 +98,4 @@ return false; | ||
if (name === void 0) throw new Error('no name'); | ||
if (node.children === void 0 || | ||
if (!node || | ||
node.children === void 0 || | ||
node.children === null || | ||
@@ -464,2 +466,2 @@ _.isEmpty(node.children)) { | ||
})(); | ||
})(); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.6.13", | ||
"version": "0.6.14", | ||
"main": "./index", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
33643
656