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

[email protected]: Please upgrade to version 7 or higher. #139

Open
vfilatov opened this issue Sep 15, 2022 · 1 comment
Open

[email protected]: Please upgrade to version 7 or higher. #139

vfilatov opened this issue Sep 15, 2022 · 1 comment

Comments

@vfilatov
Copy link

vfilatov commented Sep 15, 2022

There are three outdated packages in dependencies.

  1. WARN  deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
  2. WARN  deprecated [email protected]: request has been deprecated, see Request’s Past, Present and Future request/request#3142
  3. WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

Would it be possible to update the dependencies?

@francescorivola
Copy link
Contributor

I would consider remove uuid package dependency in favor of node.js crypto randomUUID (see https://nodejs.org/api/crypto.html#cryptorandomuuidoptions). It is in node.js since node.js 14. In case this option is chosen I would suggest to bump the library to a major version because it would drop support to node.js 12 (this version of the runtime already reached its ends of life). Thank you.

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

No branches or pull requests

2 participants