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

appolo-event-dispatcher

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appolo-event-dispatcher - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

2

lib/event.js

@@ -18,3 +18,3 @@ "use strict";

once(fn, scope, options = {}) {
this._dispatcher.once(this.EVENT_NAME, fn, scope, Object.assign(Object.assign({}, options), this._opts));
return this._dispatcher.once(this.EVENT_NAME, fn, scope, Object.assign(Object.assign({}, options), this._opts));
}

@@ -21,0 +21,0 @@ iterator(event, options) {

@@ -28,3 +28,3 @@ "use strict";

public once(fn?: (payload: T) => any, scope?: any, options: { timeout?: number } = {}): Promise<any> | void {
this._dispatcher.once(this.EVENT_NAME, fn, scope, {...options, ...this._opts});
return this._dispatcher.once(this.EVENT_NAME, fn, scope, {...options, ...this._opts});
}

@@ -31,0 +31,0 @@

@@ -23,3 +23,3 @@ {

"main": "./index.js",
"version": "7.0.0",
"version": "7.0.1",
"license": "MIT",

@@ -35,10 +35,9 @@ "repository": {

"tslib": "^1.11.1",
"@types/bluebird": "^3.5.27",
"@types/chai": "^4.2.1",
"@types/mocha": "^5.2.7",
"@types/node": "^13.9.1",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"chai": "^4.2.0",
"mocha": "^6.2.0",
"typescript": "^3.6.2"
"mocha": "^7.1.1",
"typescript": "^3.8.3"
}
}

Sorry, the diff of this file is not supported yet

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