This project adheres to Semantic Versioning.
- Added
EmitterMixin
type (by @fuadsaud).
- Dropped Node.js 16 support.
- Reduced size (by @igisev).
- Dropped Node.js 14 support.
- Fixed types (by @jakub791).
- Reduced size.
- Improved performance (by Sergey Ukustov).
- Dropped Node.js 12 support.
- Reduced npm package size.
- Fixed
package.json
export (by Jules Robichaud-Gagnon).
- Moved project to ESM-only type. Applications must use ESM too.
- Dropped Node.js 10 support.
- Added
default
topackage.exports
.
- Reduced npm package size.
- Fixed unsubscribing on cleaned
Emitter#events
(by Mikhail Nasyrov).
- Fixed
package.types
path.
- Added
package.types
.
- Fix ES module support.
- Simplify
Emitter
type usage.
- Clean up code.
- Fix ES module regression.
- Remove React Native extra files.
- Allow to use library in React Native without
resolverMainFields
.
- Fix React Native warnings.
- Add temporary workaround for React Native.
- Add
Unsubscribe
type.
- Mark package to be free from side effects.
- Clean up types (by Bogdan Chadkin).
- Use named export instead of default export.
- Add
this
type definition (by Anton Khlynovskiy). - Improve docs (by @azu and @38elements).
- Improve
emit
performance.
- Reduce size (by Eduardo San Martin Morote).
- Use
index.js
instead ofindex.mjs
for ES modules.
- Use modern JS syntax and drop IE 11 support.
- Remove
nanoevents/unbind-all
helper. - Add
NanoEvents#set
. - Add TypeScript definitions.
- Add ES modules support.
- Reduce size.
- Remove
this
from listeners to bind it explicitly (by Alexander Zonov).
- Reduce size (by Vladlen Grachev).
- Reduce size (by Vladlen Grachev).
- Fix docs.
- Reduce npm package size.
- Reduce npm package size.
- Reduce npm package size.
- Reduce size (by Anton Khlynovskiy).
- Reduce size (by Anton Khlynovskiy).
- Remove
NanoEvents#once
method. NanoEvents#emit
doesn’t return boolean anymore.- Check arguments types only in development.
- Reduce size.
- Fix clashing with
Object
methods (by Anton Khlynovskiy). - Reduce size (by Anton Khlynovskiy).
- Add
nanoevents/unbind-all
helper (by Igor Deryabin). - Fix JSDoc (by Igor Deryabin).
- Reduce size.
- Allow to change listeners during the emit.
- Throw a error on non-function listener.
- Initial release.