Comparing version 0.2.0 to 0.2.1
@@ -54,9 +54,9 @@ #!/usr/bin/env node | ||
listener.__fullStack = stack; | ||
if (stack[3].file === 'events.js') { | ||
if (stack[3] && stack[3].file === 'events.js') { | ||
listener.__callSite = stack[6]; // inline listener binding on net.connect | ||
} | ||
else if (/express\/lib\/application\.js$/.test(stack[4].file)) { | ||
else if (stack[4] && /express\/lib\/application\.js$/.test(stack[4].file)) { | ||
listener.__callSite = stack[5]; // express 4 | ||
} | ||
else if (stack[3].file === 'http.js') { | ||
else if (stack[3] && stack[3].file === 'http.js') { | ||
listener.__callSite = stack[4]; // http.createServer(fn) | ||
@@ -63,0 +63,0 @@ } |
{ | ||
"name": "wtfnode", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Utility to help find out why Node isn't exiting", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
9687