Skip to content

Releases: wdxlab/events

v3.0.0

02 Apr 18:49

Choose a tag to compare

Moved to ESM

2.0.0-beta-1

27 Apr 11:34

Choose a tag to compare

Total refactoring

Breaking

  • remove ReadonlyEvent
  • swap Sender and Arg argument position
  • no throw exception on emit

Features

  • Event for(filter)-method
  • Event options:
    • source - source for an event (readonly event alternative)
    • bail - event reaction on any listener error
    • filter - event only emit if an argument passes a filter

see README.md for examples

v1.1.0

24 Jul 11:39

Choose a tag to compare

Feature

  • add ReadonlyEvent

Fix

  • fix case with removing a listener till emitting

v1.0.4

22 Jul 15:32

Choose a tag to compare

  • fix: build for nodejs

v1.0.3

22 Jul 15:23

Choose a tag to compare

  • fix: package.json types field

v1.0.2

22 Jul 13:55

Choose a tag to compare

  • rename Emitter to Event (not breaking cause exporting default)

v1.0.1

22 Jul 13:42

Choose a tag to compare

  • rename EventEmitter to Emitter (not breaking cause exporting default

v1.0.0

22 Jul 12:44

Choose a tag to compare

Initial release