Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency delay to v6 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 29, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

sindresorhus/delay (delay)

v6.0.0

Compare Source

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);

v5.0.0

Compare Source

Breaking
Improvements
  • Fix missing range() in createWithTimers() return value (#​55) f3c7542

v4.4.1

Compare Source

  • Loosen up the createWithTimers types df95c9e

v4.4.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants