@swc/core, a blazing-fast Babel alternative, has a new version, 1.10.4, released on December 30, 2024. Comparing it to the previous stable version, 1.10.3 (released on December 27, 2024), there are subtle but important distinctions for developers. The core dependencies, @swc/types and @swc/counter, remain the same, as do the development dependencies like Jest, cross-env, TypeScript, and @napi-rs/cli. The peer dependency on @swc/helpers also persists.
The key difference lies in the optional dependencies, which specify platform-specific binaries. While the architectures supported are identical (darwin-x64, darwin-arm64, linux-x64-gnu, linux-x64-musl, win32-x64-msvc, linux-arm64-gnu, win32-ia32-msvc, linux-arm64-musl, win32-arm64-msvc, and linux-arm-gnueabihf), version 1.10.4 uses binaries specifically built for that version. This suggests potential bug fixes, performance improvements, or compatibility updates within those platform-specific binaries. The unpackedSize and fileCount remain the same between releases, but the individual binary files are different due to the version bump.. Developers should upgrade to 1.10.4 to benefit from these improvements and ensure compatibility with the latest platforms and environments. Moreover, developers using multiple platforms might want to verify that their builds are reproducible in each. As with previous versions, @swc/core is licensed under Apache-2.0 and welcomes contributions through its GitHub repository. Being developed transparently, it encourages and offers funding by opencollective.
The are not vulnerabilities for the version 1.10.4 of the package @swc/core