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

deprecated dependencies with NPM Installation #10238

Open
7 tasks done
phpcodingmaster opened this issue Oct 23, 2024 · 5 comments
Open
7 tasks done

deprecated dependencies with NPM Installation #10238

phpcodingmaster opened this issue Oct 23, 2024 · 5 comments

Comments

@phpcodingmaster
Copy link

CheckList

  • I agree to follow this project's Code of Conduct
  • I have read and followed the Contributing Guide
  • I have read and followed the Issue Tracker Guide
  • I have searched and referenced existing issues and discussions
  • I am filing a BUG report.
  • I have managed to reproduce the bug after upgrading to the latest version
  • I have created an accurate and minimal reproduction

Version

6.0.2

In What environments are you experiencing the problem?

Node.js

Node Version (if applicable)

None

Link To Reproduction

https://codesandbox.io/p/devbox/fabric-node-sandbox-forked-xewlhg

Steps To Reproduce

  1. Run npm install fabric or npm install fabric --save
  2. Check the console

Expected Behavior

Should not be deprecated modules.

Actual Behavior

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.

Error Message & Stack Trace

No response

@asturur
Copy link
Member

asturur commented Oct 23, 2024

Those modules are part of the dev tooling for fabric.
Did you try to use npm install --production to avoid install dev deps?

@phpcodingmaster
Copy link
Author

Hi @asturur - If I try --production it still shows the below.

npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: This package is no longer supported.

Seems like there are a lot of packages that are deprecated

@asturur
Copy link
Member

asturur commented Oct 25, 2024

If they are deprecated are deprecated.
I m not investing time in the dev deps unless is JEST or is JSDOM.
If you want to discover which one are deprecated and from what and what it takes to update them you can open a PR.

@asturur asturur changed the title [Bug]: deprecated Issues with NPM Installation deprecated Issues with NPM Installation Oct 25, 2024
@asturur asturur changed the title deprecated Issues with NPM Installation deprecated dependencies with NPM Installation Oct 25, 2024
@gloriousjob
Copy link
Contributor

These don't appear to be direct dependencies of fabric.js but indirect. Like are-we-there-yet appears to be a dependency of npmlog,which appears to be a dependency of testem. So this would really be a an issue of those libraries.

@phpcodingmaster
Copy link
Author

Ok.

@gloriousjob - thank you!
@asturur - thank you for the reply.

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

3 participants