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.5 to 0.0.6

1

lib/hook.js

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

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

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

2

lib/trycatch.js

@@ -27,3 +27,3 @@ module.exports = trycatch;

if (token.stack) {
err.stack += '\n ----------------------------------------\n' +
err.stack += '\n----------------------------------------\n' +
' at '+token.orig+'\n' +

@@ -30,0 +30,0 @@ token.stack.substring(token.stack.indexOf("\n") + 1)

{
"name" : "trycatch",
"version" : "0.0.5",
"version" : "0.0.6",
"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