Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sc-emitter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sc-emitter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

objectcreate.js

6

index.js
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 @@

2

package.json
{
"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",

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