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 modules #380

Open
diracdeltas opened this issue Mar 30, 2022 · 4 comments
Open

Deprecated modules #380

diracdeltas opened this issue Mar 30, 2022 · 4 comments

Comments

@diracdeltas
Copy link
Member

npm install shows various deprecated modules; we should try to update them

@fmarier
Copy link
Member

fmarier commented Jun 29, 2022

@diracdeltas What do you run to see the deprecated modules?

This is what I see with npm 8.11.0:
``
$ npm install

brave-core-crx-packager@1.0.0 preinstall
npx npm-force-resolutions

added 12 packages, removed 1 package, changed 1 package, and audited 832 packages in 10s

102 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

@fmarier
Copy link
Member

fmarier commented Jun 29, 2022

To see the warnings, delete your node_modules directory first:

$ rm -rf node_modules/
$ npm install
...
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: 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.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

@diracdeltas
Copy link
Member Author

@fmarier that works,npm outdated will also show at least outdated packages. nowadays socket security will also report unmaintained packages on new PRs

@antonok-edm
Copy link
Collaborator

Noting that request in particular is not able to fetch https://adblock.ee/list.php (from the Eesti saitidele kohandatud filter regional list). The builtin fetch API seems to be okay though, I'll try to migrate things towards that.

@mihaiplesa mihaiplesa changed the title deprecated modules Deprecated modules Dec 13, 2022
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