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

@feizheng/event-mitt

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feizheng/event-mitt - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

docs/001-context.md

5

package.json
{
"name": "@feizheng/event-mitt",
"version": "2.0.3",
"version": "2.0.4",
"description": "A mini and light event emitter",

@@ -26,4 +26,3 @@ "homepage": "https://github.com/afeiship/event-mitt",

"gulp-umd": "^2.0.0",
"jest": "^23.6.0",
"next-key-map": "github:afeiship/next-key-map"
"jest": "^23.6.0"
},

@@ -30,0 +29,0 @@ "publishConfig": {

@@ -28,3 +28,3 @@ # event-mitt

// attach events:
p1.on('ev1', () => {
var res = p1.on('ev1', () => {
console.log('ev1', sum);

@@ -53,2 +53,5 @@ sum = sum + 1;

p1.emit('ev3');
// destory:
res.destroy();
```

@@ -55,0 +58,0 @@

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