| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 8 days | Merge tag '3.0.1' from mittHEADmaster | Marin Ivanov | |
| 2023-07-04 | apply prettier formatting to all files | Jason Miller | |
| 2022-01-31 | Clarify what `off('*')` does | Jason Miller | |
| Fixes #150 | |||
| 2021-06-22 | Add support for mitt.off("type"), which removes all handlers of a given type | Jason Miller | |
| 2021-06-22 | Merge branch 'master' into patch_123 | Jason Miller | |
| 2021-06-22 | Merge branch 'cheaper' of https://github.com/sealice/mitt into sealice-cheaper | Jason Miller | |
| 2021-06-22 | Stronger typing (#114) | iyegoroff | |
| * improved typing * upd readme * upd readme * upd test & readme * removed magic 1 * removed ts-toolbelt dependency | |||
| 2021-01-21 | compression code | sealice | |
| 2021-01-11 | Fix the format and update the off API | sealice | |
| 2021-01-04 | Add new features of emitter.off. Fixes #123 | sealice | |
| If emitter.off provides only the event, remove all listeners for that event. | |||
| 2020-07-15 | Merge branch 'expose-all' of https://github.com/jaylinski/mitt | Jason Miller | |
| 2020-07-15 | Add generic types and update tests (#107) | Jack Franklin | |
| * Add generic types and update tests * Add generic types to `on`, `off` and `emit` to enable some nicer TS usage if you specify what type you're expecting from the `EventData`. * Move the tests to be TypeScript source. This will help catch errors in the tests if there are any type errors. * Create a new test to test the generic types and make sure they pass and error when expected. * Upgrade to Mocha 8. * Did some tidying up of the package.json scripts. * Tweak TS setup to validate tests * Fix d.ts generation and tests Co-authored-by: Jason Miller <[email protected]> | |||
| 2020-07-13 | Merge branch 'master' into expose-all | Jason Miller | |
| 2020-07-09 | Add missing space (#103) | Jay Linski | |
| Co-authored-by: Jason Miller <[email protected]> | |||
| 2020-06-03 | Expose `all` property | Jakob Linskeseder | |
| Relates to #70 #72 #102 | |||
| 2020-05-27 | Export Mitt types for TS consumers (#101) | Jack Franklin | |
| * Export Mitt types for TS consumers * Add rudimentary tests for exported TS types * Run tests against the generated output instead of src | |||
| 2020-05-27 | Use eslint-config-developit | Jason Miller | |
| 2020-05-27 | cache map.get() for size wins (#100) | Jason Miller | |
| * cache map.get() for size wins * Further reduce size of on() | |||
| 2020-05-26 | Migrate to TypeScript and use Map (#99) | Jack Franklin | |
| Migrate to TypeScript & Microbundle, move to Map for event handler storage | |||
| 2020-02-21 | Add note about manually firing "*" handlers | Jason Miller | |
| 2019-04-27 | Fix TypeScript warning and add caveats to ToC | Marin Ivanov | |
| 2019-04-27 | Version 1.0.2 | Marin Ivanov | |
| Add a repository link to the package.json file. Improve the usage documentation and add ceveats section about once/when. Add a test to ensure the current behaviour of once() and off(). | |||
| 2019-04-26 | Bump verstion to 1.0.1 | Marin Ivanov | |
| Add acknowledgments to the readme | |||
| 2019-04-26 | Rename {mitt => nitt} | Marin Ivanov | |
| 2017-12-06 | Fixes #65 - handler removal during handler invocation (`.off()` during ↵ | Jason Miller | |
| `.emit()`). | |||
| 2017-08-14 | Fixing API documentation header (#62) | Brian Wendt | |
| * Fixing API documentation header * Updating documentjs comment | |||
| 2017-07-05 | more precise type annotation for WildCardEventHandler (#58) | Tung Vu | |
| * more precise type annotation for WildCardEventHandler * fix: remove duplicated @flow * fix: make * optional | |||
| 2017-06-07 | Fix `emit` and `EventHandler` type annotations (#47) | Rūdolfs Vikmanis | |
| 2017-04-14 | Avoid creating a new listener type array in `off()`, saves another 4 bytes ↵ | Jason Miller | |
| (187b -> 183b) | |||
| 2017-04-14 | Fix eslint complaints | Jason Miller | |
| 2017-04-13 | Change description for emit (fix #49) (#50) | Denis Sikuler | |
| 2017-03-10 | Fix `emit` argument annotation (#45) | Rūdolfs Vikmanis | |
| 2017-03-09 | Removed outdated (untrue) API docs - chaining was removed in 53a44d8 (#44) | Mateusz Burzyński | |
| 2017-02-27 | Add Flow type annotations (#23) | Brandon Dail | |
| * Add flowtype annotations * Add flow to test script | |||
| 2017-02-25 | Remove chaining return values so we don't make #1 impossible (yet?) | Jason Miller | |
| 2017-02-25 | Let's keep `all` as an argument for now to avoid a semver breaking change | Jason Miller | |
| 2017-01-18 | remove "drop support for emitting multiple args" thing as per ↵ | tunnckoCore | |
| https://github.com/developit/mitt/pull/19#issuecomment-273344689 | |||
| 2017-01-17 | fix: switch Set with array; update tests; drop toLowerCase() | tunnckoCore | |
| 2017-01-17 | add editorconfig, fix original identation | tunnckoCore | |
| 2017-01-17 | refactor: fixes #2, #6, #12 and #13 | tunnckoCore | |
| 2017-01-14 | Initial commit! 🚀 | Jason Miller | |
