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 4.3.0 to 6.0.0 #252

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

Conversation

WontonSam
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade delay from 4.3.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 4 versions ahead of your current version.

  • The recommended version was released on a year ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Information Exposure
SNYK-JS-NANOID-2332193
68 Proof of Concept
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

  • 4.4.1 - 2021-01-30
    • Loosen up the createWithTimers types df95c9e

    v4.4.0...v4.4.1

  • 4.4.0 - 2020-07-18

    v4.3.0...v4.4.0

  • 4.3.0 - 2019-06-12

    Enhancements:

    • Allow sinon.useFakeTimers() to modify setTimeout() and clearTimeout() (used by delay) after delay loads (#45) 1316fd7

    v4.2.0...v4.3.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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

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

See this package in npm:
delay

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/84e9d7da-46d3-4d61-8679-5f7f1b7476e1?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Jul 18, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

2 participants