semantic-release / npm

:ship: semantic-release plugin to publish a npm package
MIT License
244 stars 114 forks source link

chore(deps): update dependency delay to v6 #618

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
delay 5.0.0 -> 6.0.0 age adoption passing confidence

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 10.0.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: