@swc/core, the super-fast Babel alternative, released version 1.9.1 shortly after 1.9.0. Both versions share the same core dependencies, @swc/types and @swc/counter, ensuring ongoing compatibility and functionality. Development dependencies like Jest, cross-env, TypeScript, and @napi-rs/cli also remain consistent, indicating a focus on maintaining the testing and build infrastructure. The peer dependency, @swc/helpers, remains the same, so no breaking changes are expected in that section.
The primary difference lies in the optional dependencies, where the platform-specific binaries (@swc/core-darwin-x64, @swc/core-darwin-arm64, @swc/core-linux-x64-gnu, etc.) have been updated from version 1.9.0 to 1.9.1. This suggests bug fixes, performance improvements, or new platform support within the native code bindings. For developers, upgrading to 1.9.1 is recommended to leverage potentially improved stability and performance across various operating systems and architectures.
Other than that, both versions are licensed under Apache-2.0 and share the same repository and author. The funding model is the same too using Open Collective. The dist section shows similar fileCount and unpackedSize, but the key differentiator is the releaseDate. If you encounter platform specific problems in version 1.9.0, consider upgrading.
The are not vulnerabilities for the version 1.9.1 of the package @swc/core