Skip to content

Bump set-interval-async from 1.0.33 to 3.0.3#52

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/set-interval-async-3.0.3
Open

Bump set-interval-async from 1.0.33 to 3.0.3#52
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/set-interval-async-3.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 12, 2023

Copy link
Copy Markdown
Contributor

Bumps set-interval-async from 1.0.33 to 3.0.3.

Release notes

Sourced from set-interval-async's releases.

v3.0.3

What's Changed

v3.0.2

What's Changed

v3.0.1

What's Changed

  • Fixed various issues around package distribution (in CommonJs, ES Modules, bundlers, browsers).
  • Improved documentation.
  • Types are included directly in the package, since the library is now implemented in Typescript.

Breaking Changes

  • "Legacy" flavour/strategy removed.

Full Changelog: ealmansi/set-interval-async@v2.0.3...v3.0.1

Relese Notes: v2.0.3

Bug fixes:

  • Fixes error "Expected an instance of SetIntervalAsyncTimer" while calling clearIntervalAsync with a valid timer.

Relese Notes: v2.0.0

Breaking changes

Error handling

Errors thrown by the handler function passed in to setIntervalAsync are no longer hidden (swallowed). This will allow users of this library to more easily detect and handle failure within their handlers, which will now raise an UnhandledPromiseRejectionWarning if not handled by the application itself. If you wish to fall back to the previous behaviour, you may simply wrap your handlers in the following way:

setIntervalAsync(async () => {
  try {
    await handler();  // the previous handler function which could potentially fail
  } catch (err) {
    console.error(err);
  }
}, someInterval);
// or similarly,
setIntervalAsync(() => {
return Promise.resolve(handler()).catch((err) => console.error(err));
}, someInterval);

... (truncated)

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.

Bumps [set-interval-async](https://github.com/ealmansi/set-interval-async) from 1.0.33 to 3.0.3.
- [Release notes](https://github.com/ealmansi/set-interval-async/releases)
- [Commits](ealmansi/set-interval-async@v1.0.33...v3.0.3)

---
updated-dependencies:
- dependency-name: set-interval-async
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants