events
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -60,4 +60,8 @@ // Copyright Joyent, Inc. and other Node contributors. | ||
throw er; // Unhandled 'error' event | ||
} else { | ||
// At least give some kind of context to the user | ||
var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); | ||
err.context = er; | ||
throw err; | ||
} | ||
throw TypeError('Uncaught, unspecified "error" event.'); | ||
} | ||
@@ -64,0 +68,0 @@ } |
@@ -0,1 +1,5 @@ | ||
# 1.1.1 (2016-06-22) | ||
- add more context to errors if they are not instanceof Error | ||
# 1.1.0 (2015-09-29) | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "events", | ||
"id": "events", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Node's event emitter for all engines.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
40992
973
0