Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

deps(dev): bump delay from 5.0.0 to 6.0.0 #476

Merged
merged 1 commit into from
May 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps delay from 5.0.0 to 6.0.0.

Release notes

Sourced from delay's releases.

v6.0.0

Breaking

  • Require Node.js 16 b2edac7
  • This package is now pure ESM. Please read this.
  • Removed the delay.reject() method.
    • It's not really needed anymore with async/await. Just throw an error after awaiting the delay.
  • const delay = require('delay'); delay.clear(…);import {clearDelay} from 'delay'; clearDelay(…);
  • const delay = require('delay'); delay.range(…);import {rangeDelay} from 'delay'; rangeDelay(…);
  • const delay = require('delay'); delay.createWithTimers(…);import {createDelay} from 'delay'; createDelay(…);

If you only target Node.js and not the browser, I recommend moving to the built-in method whenever possible:

import {setTimeout} from 'node:timers/promises';
await setTimeout(1000);

sindresorhus/delay@v5.0.0...v6.0.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [delay](https://github.com/sindresorhus/delay) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/delay/releases)
- [Commits](sindresorhus/delay@v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: delay
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 22, 2023
@achingbrain achingbrain merged commit 50524f9 into master May 26, 2023
@achingbrain achingbrain deleted the dependabot/npm_and_yarn/delay-6.0.0 branch May 26, 2023 14:42
github-actions bot pushed a commit that referenced this pull request May 26, 2023
## [9.3.5](v9.3.4...v9.3.5) (2023-05-26)

### Bug Fixes

* use events to delay before self-query ([#478](#478)) ([46313a8](46313a8))

### Dependencies

* **dev:** bump delay from 5.0.0 to 6.0.0 ([#476](#476)) ([50524f9](50524f9))
@github-actions
Copy link

🎉 This PR is included in version 9.3.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant