Skip to content

3.0.0

Compare
Choose a tag to compare
@niklasramo niklasramo released this 19 Aug 22:23
· 31 commits to main since this release
f55c594
  • Allow providing listener id manually via a third argument in .on() and .once() methods.
  • Add 4 different modes to Emitter to handle duplicate listener ids.
  • Add possibility to throw on duplicate listeners in Emitter.
  • Improve unit tests (migrate from Ava to Mocha + Chai).
  • Improve documentation.
  • Remove UniqueEmitter (since Emitter can now do the same thing).
  • Remove experiments.
  • Update dev dependencies.