@swc/core is a high-performance JavaScript and TypeScript compiler designed as a faster alternative to Babel. Version 1.2.97 builds upon the solid foundation of its predecessor, version 1.2.96, primarily focusing on incremental improvements and bug fixes to enhance stability and performance.
A key difference lies in the versioning of the platform-specific binaries within the dependencies and optionalDependencies sections. Both versions list a comprehensive set of binaries tailored for various operating systems and architectures, including Darwin (macOS) for x64 and arm64, Android arm64, and several Linux distributions for x64, arm64, and arm. The newer version, 1.2.97, updates these binaries to version 1.2.97, while the older version uses 1.2.96. This indicates that the core compilation logic specific to each platform has been updated.
Developers leveraging @swc/core will benefit from the increased stability and potential performance gains offered by the updated platform-specific binaries. While the devDependencies remain largely consistent between the two versions, suggesting no significant changes in the development or testing tools, the core improvements within the dependencies provide a more robust and efficient compilation process. The difference in unpackedSize (159985 vs 159932) also points to changes, however small, in the core package, so if you are using this and performance it is key, it is recommended you upgrade. The new version was also released just one day after the previous version.
The are not vulnerabilities for the version 1.2.97 of the package @swc/core