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.2.3 to 0.2.4

12

lib/trycatch.js

@@ -27,4 +27,4 @@ // Don't rely on domains to catch errors

, 'colors': {
'node': false, //'white',
'node_modules': false, //'cyan',
'node': 'white',
'node_modules': 'cyan',
'default': 'red'

@@ -295,5 +295,10 @@ }

, i = stack.length
, newStack = []
, line
while (i--) {
stack[i] = trycatch.format(stack[i])
line = trycatch.format(stack[i])
if (line) {
newStack.push(line)
}
}

@@ -324,2 +329,3 @@ return stack.join('\n')

}
return line

@@ -326,0 +332,0 @@ }

{
"name": "trycatch",
"version": "0.2.3",
"version": "0.2.4",
"description": "An asynchronous domain-based 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