-
Notifications
You must be signed in to change notification settings - Fork 515
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 warnings #1038
Comments
I'm having this issue as well another StackOverflow post suggested the same |
I'm encountering the same problem with the 'npmlog' package. Upon further investigation, I noticed that the package has been archived. It seems that this could be causing the issue.
Node version: v20.11.0 |
@cristian2213 @Varun-Chakraborty try using bcryptjs |
@mathdebate09 that project was last updated 4 year ago, is it being maintained? |
@Varun-Chakraborty i don't exactly know but popular OS communities (theodinproject & fullstackopen) said it's a safe alternative so I didn't check about it |
@mathdebate09 oh great! using it for sometime now, looks good to me |
It's getting worst
Last publish of bcryptjs is 7 years ago. Might be considered as "It just works" but the fact that there is no reviews raises the following question: "What happens if a security issue is discovered?". It seems that to produce an update the author would have to rewrite a big chunk of it.
|
Yep, that's the point. |
I might be mistaken but it seems all of the deprecated warnings are from dependencies in |
Read about it, and what I understood is since this version of bcrypt is written in C++ we would need a binary to get it working with Node.js, so either we compile it on our own using C++ compiler or if available for our OS, use this prebuilt binary from node-pre-gyp, so updating that is not a concern since bcrypt itself is some 9 to 10 months old, what we were talking about are the packages like inflight, which is causing memory leak and crashing up the program |
@Varun-Chakraborty |
Hello guys, I did this to my package.json and the warning about inflight disappeared. Is this okay? These were the only warnings that showed up after installing: " What do you guys think? |
Hey, just tried installing
bcrypt
to my project and here's the deprecation warnings I am getting, just to notify if any of these are security issues:npm i bcrypt
just for the reference, I have node of version v20.10.0
The text was updated successfully, but these errors were encountered: