- Added class
Observable
to addon()
,off()
andemit()
to any class
- Fixed CJS file reference in package.json
- [BREAKING] Use
Map
instead ofArray
to manage event listeners - [BREAKING] Renamed
attach()
toon()
- [BREAKING] Renamed
detach()
tooff()
- [BREAKING] Renamed
notify()
toemit()
- [BREAKING] Removed default export of
Observer
(use named import) - [BREAKING] Changed CJS build output directory
- Added TypeScript generics to set context and event types (
Observer<Context, Event>
) - Upgraded dependencies
- Added missing dev dependency (rimraf)
- Added TypeScript declaration files
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Added
esnext
andsideEffects
in package.json - Renamed observer.js to Observer.js
- Upgraded dependencies
This version has been published with unwanted changes and has been deprecated right after.
- Renamed observer.js to index.js
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Upgraded dependencies
- Lib available in ES6+ syntax (see
src
folder) to enable auto-completion in IDEs
- Upgraded dependencies
- Removed unused devDependencies
- Upgraded devDependencies
- Upgraded devDependencies
- Export
Observer
using ES6 default export
- Upgraded README
- First public release