Js.signals

Latest version: v0.8.1

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.7.2

Fixes

- allow `add()` and `addOnce()` same method multiple times if passing
different context. (39)

0.7.1

- Improve `dispatch()` performance if `Signal` doesn't have any listeners.

0.7.0

API changes

- Added:
- `Signal.memorize`. (29)
- `Signal.forget()`. (29)
- `Signal.has()`. (35)

Other

- changed the way the code is wrapped to have a single distribution file for
all the environments. (33)

0.6.3

Fixes

- improved `SignalBinding.detach()` behavior. (25)

API changes

- Added:
- `SignalBinding.prototype.isBound()` (25)
- `SignalBinding.params` (28)

- Removed:
- `SignalBinding.prototype.dispose()` (27)

Other

- minor code cleaning, better error messages.

0.6.2

Fixes

- removing a listener during dispatch was causing an error since listener was
undefined. (24 - thanks paullewis)

Other

- minor code cleaning.
- renamed distribution files to "signals.js" (22)

0.6.1

- added NPM package.json and CommmonJS wrapper for NPM distribution. (21 - thanks tomyan)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.