Comparing version 1.0.0 to 1.0.1
var Emitter = require('component-emitter'); | ||
if (!Object.create) { | ||
Object.create = require('./objectcreate'); | ||
} | ||
var SCEmitter = function () { | ||
@@ -11,3 +15,3 @@ Emitter.call(this); | ||
if (event == 'error' && this.domain) { | ||
// Emit the error on the domain if it has one. | ||
// Emit the error on the domain if it has one. | ||
// See https://github.com/joyent/node/blob/ef4344311e19a4f73c031508252b21712b22fe8a/lib/events.js#L78-85 | ||
@@ -14,0 +18,0 @@ |
{ | ||
"name": "sc-emitter", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Emitter implementation (component-emitter) with support for Node.js error domains", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1840
5
33