@swc/core jumps from version 1.2.30 to 1.2.31 offering a focused update to this super-fast Babel alternative. The core functionality, centered around speedy JavaScript and TypeScript compilation, remains consistent, evidenced by the unchanged description. Key dependencies like @node-rs/helper are held at the same version, indicating stability in the underlying tooling architecture.
However, the update does bring important changes. The @swc/core-linux, @swc/core-win32, and @swc/core-darwin dependencies, crucial for platform-specific binaries, are all bumped to 1.2.31, ensuring compatibility and potential performance improvements across different operating systems. These packages are listed in both dependencies and optionalDependencies, meaning they are key for developers working on multiple platforms.
Interestingly, the size characteristics change dramatically. The update slims down considerably: the fileCount in the dist object goes from 94 to only 14, and unpacked size shrinks from a hefty 644KB to a mere 144KB. This drastic reduction suggests a meticulous cleanup, potentially removing unnecessary files or optimizing the package structure, which should result in faster installation times.
The release date difference of just a few days suggests a reactive update, likely fixing bugs, security vulnerabilities or providing small incremental improvements. Developers should always favour updating to the latest stable version as this ensures the best performance and the newest security measures.
The are not vulnerabilities for the version 1.2.31 of the package @swc/core