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.2 to 0.0.3

1

lib/hook.js

@@ -13,3 +13,2 @@ /**

this[name] = function (callback) {
var err = new Error();
arguments[0] = wrap(callback, name);

@@ -16,0 +15,0 @@ return original.apply(this, arguments);

@@ -54,8 +54,3 @@ module.exports = trycatch;

_TOKEN_.token = catchFn;
try {
_TOKEN_();
} catch (err) {
err.stack = filterInternalFrames(err.stack);
catchFn(err);
}
_TOKEN_();
}

@@ -62,0 +57,0 @@

2

package.json
{
"name" : "trycatch",
"version" : "0.0.2",
"version" : "0.0.3",
"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