Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2025

This PR contains the following updates:

Package Change Age Confidence
delay 4.4.1 -> 6.0.0 age 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

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/delay-6.x branch from d3c4af6 to 85f492f Compare May 13, 2025 09:59
@coveralls
Copy link

coveralls commented May 13, 2025

Coverage Status

coverage: 58.014%. remained the same
when pulling a46eb20 on renovate/delay-6.x
into 0f13407 on master.

@renovate renovate bot changed the title chore(deps): update dependency delay to v6 Update dependency delay to v6 May 13, 2025
@renovate renovate bot force-pushed the renovate/delay-6.x branch from 85f492f to a46eb20 Compare August 10, 2025 13:03
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.

1 participant