Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump mitt from 2.1.0 to 3.0.0 #1294

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 5, 2022

Bumps mitt from 2.1.0 to 3.0.0.

Release notes

Sourced from mitt's releases.

3.0.0

Mitt 3.0 adds a couple nice new features.

1. Remove all handlers of a type:

Calling .off("type") with no handler argument now removes all listeners of that type (#123, #124, #129 - thanks @​sealice!).

2. New, stronger typing:

It's now possible to define explicit types for events and their arguments (#114, thanks @​iyegoroff & @​deskoh):

import mitt from 'mitt';
const events = mitt<{ foo: string }>();
events.on('foo', e => {});  // `e` is inferred to be of type string!
events.emit('foo', 42);  // TypeError: got a number, expected a string

3. Package Exports:

As of 3.0.0, the mitt package now uses Package Exports. This shouldn't change usage or anything, it just means you're more likely to end up using the ES Module version of Mitt when running in Node.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner December 5, 2022 10:40
@dependabot dependabot bot added dependabot dependencies Pull requests that update a dependency file labels Dec 5, 2022
@github-actions
Copy link

github-actions bot commented Jan 5, 2023

Marking pull request as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Jan 5, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.0 branch from 08629e6 to 2dab587 Compare March 9, 2023 08:34
@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Mar 10, 2023
Bumps [mitt](https://github.com/developit/mitt) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/developit/mitt/releases)
- [Commits](developit/mitt@2.1.0...3.0.0)

---
updated-dependencies:
- dependency-name: mitt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.0 branch from 2dab587 to c9e9e35 Compare March 14, 2023 09:13
@github-actions
Copy link

Marking pull request as stale since there was no activity for 30 days

@github-actions github-actions bot added stale Used to mark when there was no activity for a set period of time and removed stale Used to mark when there was no activity for a set period of time labels Apr 14, 2023
@github-actions
Copy link

Marking pull request as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label May 22, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 24, 2023

Superseded by #1449.

@dependabot dependabot bot closed this Jul 24, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/master/mitt-3.0.0 branch July 24, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependabot dependencies Pull requests that update a dependency file stale Used to mark when there was no activity for a set period of time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants