Closed renovate-bot closed 1 year ago
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x
releases. But if you manually upgrade to 6.x
then Renovate will re-enable minor
and patch
updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
^5.0.0
->^6.0.0
Release Notes
sindresorhus/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); ```Configuration
📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.