New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.0.2 to 1.0.3

4

package.json
{
"name": "trycatch",
"version": "1.0.2",
"version": "1.0.3",
"description": "An asynchronous domain-based exception handler with long stack traces for node.js",

@@ -33,3 +33,3 @@ "homepage": "http://github.com/CrabDude/trycatch",

"colors": ">=0.5.0 <0.6",
"hookit": "0.0.5"
"hookit": "~0.0.6"
},

@@ -36,0 +36,0 @@ "keywords": [

@@ -44,3 +44,3 @@ var trycatch = require('../lib/trycatch')

it('should catch Error object thrown asynchronously', function(done) {
it.only('should catch Error object thrown asynchronously', function(done) {
trycatch(function() {

@@ -52,2 +52,3 @@ process.nextTick(function() {

, function(err) {
require('fs').writeFileSync('foo.js', err.stack)
assert.equal(err.message, 'Async')

@@ -54,0 +55,0 @@ assert.notEqual(err.stack, undefined)

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