Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
sindresorhus/delay (delay)
### [`v6.0.0`](https://togithub.com/sindresorhus/delay/releases/tag/v6.0.0)
[Compare Source](https://togithub.com/sindresorhus/delay/compare/v5.0.0...v6.0.0)
##### Breaking
- Require Node.js 16 [`b2edac7`](https://togithub.com/sindresorhus/delay/commit/b2edac7)
- This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**
- 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:
```js
import {setTimeout} from 'node:timers/promises';
await setTimeout(1000);
```
### [`v5.0.0`](https://togithub.com/sindresorhus/delay/releases/tag/v5.0.0)
[Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.4.1...v5.0.0)
##### Breaking
- Require Node.js 10 ([#55](https://togithub.com/sindresorhus/delay/issues/55)) [`f3c7542`](https://togithub.com/sindresorhus/delay/commit/f3c7542)
##### Improvements
- Fix missing `range()` in `createWithTimers()` return value ([#55](https://togithub.com/sindresorhus/delay/issues/55)) [`f3c7542`](https://togithub.com/sindresorhus/delay/commit/f3c7542)
### [`v4.4.1`](https://togithub.com/sindresorhus/delay/releases/tag/v4.4.1)
[Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.4.0...v4.4.1)
- Loosen up the `createWithTimers` types [`df95c9e`](https://togithub.com/sindresorhus/delay/commit/df95c9e)
### [`v4.4.0`](https://togithub.com/sindresorhus/delay/releases/tag/v4.4.0)
[Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.3.0...v4.4.0)
- Add [`.range()`](https://togithub.com/sindresorhus/delay#delayrangeminimum-maximum-options) method ([#51](https://togithub.com/sindresorhus/delay/issues/51)) [`aa0a2e4`](https://togithub.com/sindresorhus/delay/commit/aa0a2e4)
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^4.3.0
->^6.0.0
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
sindresorhus/delay (delay)
### [`v6.0.0`](https://togithub.com/sindresorhus/delay/releases/tag/v6.0.0) [Compare Source](https://togithub.com/sindresorhus/delay/compare/v5.0.0...v6.0.0) ##### Breaking - Require Node.js 16 [`b2edac7`](https://togithub.com/sindresorhus/delay/commit/b2edac7) - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - 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: ```js import {setTimeout} from 'node:timers/promises'; await setTimeout(1000); ``` ### [`v5.0.0`](https://togithub.com/sindresorhus/delay/releases/tag/v5.0.0) [Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.4.1...v5.0.0) ##### Breaking - Require Node.js 10 ([#55](https://togithub.com/sindresorhus/delay/issues/55)) [`f3c7542`](https://togithub.com/sindresorhus/delay/commit/f3c7542) ##### Improvements - Fix missing `range()` in `createWithTimers()` return value ([#55](https://togithub.com/sindresorhus/delay/issues/55)) [`f3c7542`](https://togithub.com/sindresorhus/delay/commit/f3c7542) ### [`v4.4.1`](https://togithub.com/sindresorhus/delay/releases/tag/v4.4.1) [Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.4.0...v4.4.1) - Loosen up the `createWithTimers` types [`df95c9e`](https://togithub.com/sindresorhus/delay/commit/df95c9e) ### [`v4.4.0`](https://togithub.com/sindresorhus/delay/releases/tag/v4.4.0) [Compare Source](https://togithub.com/sindresorhus/delay/compare/v4.3.0...v4.4.0) - Add [`.range()`](https://togithub.com/sindresorhus/delay#delayrangeminimum-maximum-options) method ([#51](https://togithub.com/sindresorhus/delay/issues/51)) [`aa0a2e4`](https://togithub.com/sindresorhus/delay/commit/aa0a2e4)Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.