Comparing version 0.0.1 to 0.0.2
@@ -25,3 +25,3 @@ module.exports = hoist | ||
var childNode = nodes[i] | ||
if (childNode.type === 'EmptyStatement') return | ||
if (childNode.type === 'EmptyStatement') continue | ||
var result = walk(childNode) | ||
@@ -28,0 +28,0 @@ if (result === 'remove'){ |
{ | ||
"name": "hoister", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Put all function and variable declarations at the top of the scope in an AST", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3842