aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
8 daysMerge tag '3.0.1' from mittHEADmasterMarin Ivanov
2023-07-043.0.1Jason Miller
2023-07-04apply prettier formatting to all filesJason Miller
2023-07-04fix TypeScript configJason Miller
2023-07-04move eslint config out of package.json and add prettierJason Miller
2023-07-04update depsJason Miller
2022-10-24Update package.json (#167)Mr.Hope
2022-01-31Clarify what `off('*')` doesJason Miller
Fixes #150
2021-06-233.0.0Jason Miller
2021-06-23Add Package Exports configuration (#139)Jason Miller
* Add Package Exports configuration (semver major) * Update compressed-size.yml
2021-06-23update actions for main branchJason Miller
2021-06-23Merge branch 'andreiTn-patch-1'Jason Miller
2021-06-23Merge masterJason Miller
2021-06-22Add test for #124Jason Miller
2021-06-22Add support for mitt.off("type"), which removes all handlers of a given typeJason Miller
2021-06-22Merge branch 'master' into patch_123Jason Miller
2021-06-22Add LICENSE file Jason Miller
fixes #133
2021-06-22Remove "src" from published files list (fixes #128)Jason Miller
2021-06-22Merge branch 'cheaper' of https://github.com/sealice/mitt into sealice-cheaperJason Miller
2021-06-22Stronger typing (#114)iyegoroff
* improved typing * upd readme * upd readme * upd test & readme * removed magic 1 * removed ts-toolbelt dependency
2021-01-21compression codesealice
2021-01-11Fix the format and update the off APIsealice
2021-01-04Add new features of emitter.off. Fixes #123sealice
If emitter.off provides only the event, remove all listeners for that event.
2020-07-152.1.0Jason Miller
2020-07-15Merge branch 'expose-all' of https://github.com/jaylinski/mittJason Miller
2020-07-15Add 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-13Merge branch 'master' into expose-allJason Miller
2020-07-09Move to compressed-size-action v2 (#111)Jason Miller
2020-07-09Add missing space (#103)Jay Linski
Co-authored-by: Jason Miller <[email protected]>
2020-06-25run on push + PRJason Miller
2020-06-25Remove trailing space (#108)Mathias Bynens
2020-06-03Expose `all` propertyJakob Linskeseder
Relates to #70 #72 #102
2020-05-272.0.1Jason Miller
2020-05-27Export 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-27Use eslint-config-developitJason Miller
2020-05-27cache map.get() for size wins (#100)Jason Miller
* cache map.get() for size wins * Further reduce size of on()
2020-05-26update readme badgesJason Miller
2020-05-26Switch to GitHub ActionsJason Miller
2020-05-26Update all dependenciesJason Miller
2020-05-26Merge branch 'master' of github.com:developit/mittJason Miller
2020-05-262.0.0Jason Miller
2020-05-26Update README.mdJason Miller
2020-05-26simple build scriptJason Miller
2020-05-26remove old changelogJason Miller
2020-05-26remove last remnants of flowJason Miller
2020-05-26Add tests for duplicate listenersJason Miller
2020-05-26remove older gzip size calculationJason Miller
2020-05-26Migrate to TypeScript and use Map (#99)Jack Franklin
Migrate to TypeScript & Microbundle, move to Map for event handler storage
2020-02-21Add note about manually firing "*" handlersJason Miller
2020-02-21Add note about manually firing "*" handlersJason Miller