Upgrade compatibility / npm / 1.6.13 to 1.7.26
Is upgrading @swc/core from 1.6.13 to 1.7.26 safe on Debian, Ubuntu, Alpine and RHEL?
4 of 4 distro images resolve a compatible artifact for @swc/core 1.7.26; the license is unchanged (Apache-2.0).
Written by Osty EngineeringPublished Updated Ed25519-signed seed preview
- Distro images broken
- None
- License
- Apache-2.0, unchanged
- Removed public symbols
- 0
- 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 | swc-core-linux-x64-gnu@1.7.26 | GLIBC_2.17 | libc.so.6, libgcc_s.so.1, libm.so.6 | Compatible |
| Ubuntu 24.04 (noble) | glibc 2.39 | swc-core-linux-x64-gnu@1.7.26 | GLIBC_2.17 | libc.so.6, libgcc_s.so.1, libm.so.6 | Compatible |
| Alpine 3.20 | musl 1.2.5 | swc-core-linuxmusl-x64@1.7.26 | musl 1.2.2 | libc.musl-x86_64.so.1, libgcc_s.so.1 | Compatible |
| RHEL 9 | glibc 2.34 | swc-core-linux-x64-gnu@1.7.26 | GLIBC_2.17 | libc.so.6, libgcc_s.so.1, libm.so.6 | Compatible |
SPDX license shift
License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.
| From | To | Shift |
|---|---|---|
Apache-2.0 | Apache-2.0 | 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 | 123 | 0 | 3 | None named |
More from the upgrade compatibility atlas
- bcrypt4 of 4 distro images resolve a compatible artifact for bcrypt 6.0.0; the license is unchanged (MIT).
- 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).
- Upgrade dossiersBefore a fleet upgrade, check which distro images can load the new artifact, whether the license moved, and how many public symbols disappeared.