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

@uxland/event-aggregator

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxland/event-aggregator - npm Package Compare versions

Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.0.0-alpha.7](https://github.com/uxland/uxland/compare/@uxland/event-aggregator@1.0.0-alpha.6...@uxland/event-aggregator@1.0.0-alpha.7) (2020-02-21)
### Bug Fixes
* linter fixes ([0b4d460](https://github.com/uxland/uxland/commit/0b4d460b8d9942f2b0bbec65838ff2c53bdd67c3))
# [1.0.0-alpha.6](https://github.com/uxland/uxland/compare/@uxland/event-aggregator@1.0.0-alpha.5...@uxland/event-aggregator@1.0.0-alpha.6) (2020-02-20)

@@ -8,0 +19,0 @@

2

dist/index.js

@@ -1,2 +0,2 @@

// Event Aggregator v1.0.0-alpha.5
// Event Aggregator v1.0.0-alpha.6
// https://github.com/uxland/uxland/tree/master/packages/event-aggregator#readme

@@ -3,0 +3,0 @@ // (c) 2020-2020 UXLand

@@ -77,3 +77,3 @@ let STUB = 1;

dispose() {
let idx = subscribers.indexOf(handler);
const idx = subscribers.indexOf(handler);
if (idx !== -1) {

@@ -86,3 +86,3 @@ subscribers.splice(idx, 1);

subscribeOnce(event, callback) {
let sub = this.subscribe(event, (a, b) => {
const sub = this.subscribe(event, (a, b) => {
sub.dispose();

@@ -89,0 +89,0 @@ return callback(a, b);

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

dispose() {
let idx = subscribers.indexOf(handler);
const idx = subscribers.indexOf(handler);
if (idx !== -1) {

@@ -124,3 +124,3 @@ subscribers.splice(idx, 1);

subscribeOnce(event, callback) {
let sub = this.subscribe(event, (a, b) => {
const sub = this.subscribe(event, (a, b) => {
sub.dispose();

@@ -127,0 +127,0 @@ return callback(a, b);

{
"name": "@uxland/event-aggregator",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"description": "Event Aggregator",

@@ -76,3 +76,3 @@ "author": "UXLand <dev@uxland.es>",

},
"gitHead": "788f1de589336c5a6216279c07006f6439ea3c5e"
"gitHead": "37c1a2e79335eb1197eda210da57f6d9cd71f065"
}
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