Comparing version 0.0.8 to 0.0.9
@@ -5,2 +5,3 @@ var http = require('http'); | ||
http.createServer(function(req, res) { | ||
console.log('you'); | ||
trycatch(function() { | ||
@@ -14,2 +15,2 @@ setTimeout(function() { | ||
}); | ||
}).listen(8000); | ||
}).listen(8000); |
@@ -26,5 +26,8 @@ module.exports = trycatch; | ||
} catch (err) { | ||
if (!(err instanceof Error)) { | ||
err = new Error(''+err); | ||
} | ||
var catchFn; | ||
token = _TOKEN_; | ||
err.stack = filterInternalFrames(err.stack); | ||
@@ -31,0 +34,0 @@ while(token.token) { |
{ | ||
"name" : "trycatch", | ||
"version" : "0.0.8", | ||
"version" : "0.0.9", | ||
"description" : "An asynchronous exception handler with long stack traces for node.js", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/CrabDude/trycatch", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16264
372
1