Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trycatch

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trycatch - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

test/throw-string.test.js

3

examples/server.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc