| 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 | |||
| 2019-04-27 | Fix TypeScript warning and add caveats to ToC | Marin Ivanov | |
| 2019-04-26 | Bump verstion to 1.0.1 | Marin Ivanov | |
| Add acknowledgments to the readme | |||
| 2019-04-26 | Rename {mitt => nitt} | Marin Ivanov | |
