Upgrade compatibility / npm / 5.1.1 to 6.0.0
Is upgrading bcrypt from 5.1.1 to 6.0.0 safe on Debian, Ubuntu, Alpine and RHEL?
4 of 4 distro images resolve a compatible artifact for bcrypt 6.0.0; the license is unchanged (MIT).
Written by Osty EngineeringPublished Updated Ed25519-signed seed preview
- Distro images broken
- None
- License
- MIT, unchanged
- Removed public symbols
- 10
- Analyzer
- TypeScript AST
ELF and libc compatibility matrix
The resolver picks the artifact each distro image would install, then reads its DT_NEEDED and VERNEED entries against the libc that ships in that image.
| Distro | libc | Resolved artifact | Required symbol version | DT_NEEDED | Verdict |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | glibc 2.36 | bcrypt-linux-x64-gnu@6.0.0 | GLIBC_2.28 | libc.so.6, libstdc++.so.6, libgcc_s.so.1 | Compatible |
| Ubuntu 24.04 (noble) | glibc 2.39 | bcrypt-linux-x64-gnu@6.0.0 | GLIBC_2.28 | libc.so.6, libstdc++.so.6, libgcc_s.so.1 | Compatible |
| Alpine 3.20 | musl 1.2.5 | bcrypt-linuxmusl-x64@6.0.0 | musl 1.2.2 | libc.musl-x86_64.so.1, libstdc++.so.6, libgcc_s.so.1 | Compatible |
| RHEL 9 | glibc 2.34 | bcrypt-linux-x64-gnu@6.0.0 | GLIBC_2.28 | libc.so.6, libstdc++.so.6, libgcc_s.so.1 | Compatible |
SPDX license shift
License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.
| From | To | Shift |
|---|---|---|
MIT | MIT | Unchanged |
Public API break summary
Exported symbols of both versions are compared with a language-native analyzer; removed and re-typed symbols break callers at build time.
| Analyzer | Added | Removed | Changed signatures | Removed symbols named |
|---|---|---|---|---|
| TypeScript AST | 19 | 10 | 13 | None named |
More from the upgrade compatibility atlas
- canvas3 of 4 distro images resolve a compatible artifact for canvas 3.0.0; the license is unchanged (MIT).
- re22 of 4 distro images resolve a compatible artifact for re2 1.21.4; the license is unchanged (BSD-3-Clause).
- sharp4 of 4 distro images resolve a compatible artifact for sharp 0.33.5; the license is unchanged (Apache-2.0).
- Upgrade dossiersBefore a fleet upgrade, check which distro images can load the new artifact, whether the license moved, and how many public symbols disappeared.