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

emitter2

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emitter2 - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

2

dist/emit.js
const emit = (emitter, ...params) => {
emitter.forEach(listener => listener(...params));
[...emitter].forEach(listener => listener(...params));
};
export default emit;

@@ -11,3 +11,3 @@ {

"name": "emitter2",
"version": "4.1.0",
"version": "5.0.0",
"homepage": "https://chocolateloverraj.github.io/emitter",

@@ -21,2 +21,3 @@ "license": "MIT",

"@types/mocha": "^9.1.0",
"@types/node": "^17.0.30",
"@types/react": "^17.0.40",

@@ -35,3 +36,3 @@ "@types/sinon": "^10.0.11",

"typedoc": "0.22.0-beta.10",
"typescript": "^4.7.0-dev.20220316"
"typescript": "^4.7.0-dev.20220429"
},

@@ -38,0 +39,0 @@ "type": "module",

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