bcryptjs
optimized bcrypt in plain JavaScript with zero dependencies
"dependencies": {},
bcrypt references the following packages
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.0",
"node-addon-api": "^3.1.0"
},
These packages are referenced again by @mapbox/node-pre-gyp
"dependencies": {
"detect-libc": "^1.0.3",
"http-proxy-agent": "^4.0.1",
"make-dir": "^3.1.0",
"node-fetch": "^2.6.1",
"nopt": "^5.0.0",
"npmlog": "^4.1.2",
"rimraf": "^3.0.2",
"semver": "^7.3.4",
"tar": "^6.1.0"
},
Then, a series of problems arise, including these errors
#16 2.367 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#16 2.664 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
#16 2.425 npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
#16 2.711 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
#16 3.081 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
All in all, bcrypt can cause problems and is often not installed when deployed
Why refer to a package that raises all sorts of questions, instead of choosing a better package?
Anybody agree with that?
For those of you who have been tortured by bcrypt, give it a like