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

[Snyk] Upgrade delay from 5.0.0 to 6.0.0 #4

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

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Jan 12, 2025

snyk-top-banner

Snyk has created this PR to upgrade delay from 5.0.0 to 6.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 2 years ago.

Release notes
Package name: delay
  • 6.0.0 - 2023-05-21

    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...v6.0.0

  • 5.0.0 - 2021-02-01

    Breaking

    Improvements

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

    v4.4.1...v5.0.0

from delay GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Copy link

semanticdiff-com bot commented Jan 12, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  package.json  0% smaller

Copy link
Author

snyk-io bot commented Jan 12, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

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.

0 participants