Emittery Versions Save

Simple and modern async event emitter

v0.10.1

2 years ago
  • Expose the OmnipresentEventData type (#93) 3e5bd10 2725900

https://github.com/sindresorhus/emittery/compare/v0.10.0...v0.10.1

v0.10.0

2 years ago
  • Fix support for typed subscriptions for multiple event names for .on() (#84) c4c11e4

https://github.com/sindresorhus/emittery/compare/v0.9.2...v0.10.0

v0.9.2

2 years ago
  • Fix browser compatibility (for real this time) 48bc0a9

https://github.com/sindresorhus/emittery/compare/v0.9.1...v0.9.2

v0.9.1

2 years ago

v0.9.0

3 years ago

Breaking

  • Require Node.js 12 d0776b4

Improvements

  • Add debug functionality (#53) 43b6deb

https://github.com/sindresorhus/emittery/compare/v0.8.1...v0.9.0

v0.8.1

3 years ago
  • Fix support for typed subscriptions for multiple event names for .events() (#74) 53caa07
  • Improve TypeScript types compatibility with p-event package (#73) 30093fd

https://github.com/sindresorhus/emittery/compare/v0.8.0...v0.8.1

v0.8.0

3 years ago

Breaking

  • Move the strongly-typed .Typed types into the main TypeScript types (#69) df35ea6

Migrate:

-const emitter = new Emittery.Typed<{value: string}, 'open' | 'close'>();
+const emitter = new Emittery<
+	{
+		value: string,
+		open: undefined,
+		close: undefined
+	}
+>();

Improvements

  • Allow async listeners in the TypeScript types (#70) 7db4644

https://github.com/sindresorhus/emittery/compare/v0.7.2...v0.8.0

v0.7.2

3 years ago
  • Add symbol to Emittery.mixin's emitteryPropertyName types (#65) 3c65ac5

https://github.com/sindresorhus/emittery/compare/v0.7.1...v0.7.2

v0.7.1

3 years ago
  • Fix using symbol event names in iterator and clearListeners (#57) 3c082a2

https://github.com/sindresorhus/emittery/compare/v0.7.0...v0.7.1

v0.7.0

4 years ago
  • Support listening to multiple events at the same time (#52) 3970fae
  • Ensure .emit() doesn't return a value (#56) 5e13246

https://github.com/sindresorhus/emittery/compare/v0.6.0...v0.7.0