Skip to content

Upgrading bcrypt 5 to 6

Breaking5.1.1 → 6.0.0Breaking1Security1Changed1Fixed3Other2

BreakingUpgrade verdict

1 breaking change and a security fix.

  • The package no longer uses node-pre-gyp to download prebuilt binaries; it now ships them with prebuildify instead.
  • Some bundled libraries are updated to address security concerns.
2 items need code or config changes

Node.js requirement changed in 6.0.0: >= 10.0.0 → >= 18.

Adds node-gyp-build ^4.8.4.

Drops @mapbox/node-pre-gyp.

Installs 2 packages in all (was 58).

Breaking1
Removes node-pre-gyp and switches prebuilt binary distribution to prebuildify.
node-pre-gypprebuildify
Security1
Updates libraries for security reasons.