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

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

Merged
merged 1 commit into from
Jun 12, 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 22, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/delay-6.0.0 branch from 1df86b4 to 559e57d Compare June 12, 2023 16:08
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 force-pushed the dependabot/npm_and_yarn/delay-6.0.0 branch from 559e57d to e7b5a4e Compare June 12, 2023 16:10
@maschad maschad merged commit 104cbf0 into main Jun 12, 2023
@maschad maschad deleted the dependabot/npm_and_yarn/delay-6.0.0 branch June 12, 2023 16:33
github-actions bot pushed a commit that referenced this pull request Jun 12, 2023
## [2.0.9](v2.0.8...v2.0.9) (2023-06-12)

### Dependencies

* **dev:** bump delay from 5.0.0 to 6.0.0 ([#169](#169)) ([104cbf0](104cbf0))
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant