@swc/core is a high-performance JavaScript and TypeScript compiler written in Rust, designed as a faster alternative to Babel. Comparing versions 1.11.22 and 1.11.21, developers will notice a few key distinctions. The most apparent difference lies in the optional dependencies. Each target architecture within optionalDependencies now points to the newer 1.11.22 binaries, replacing the older 1.11.21 versions. This indicates potential platform-specific improvements or bug fixes incorporated in these binaries.
The 'dist' section reveals that version 1.11.22 has a slightly larger unpacked size (123413 bytes) compared to 1.11.21 (119282 bytes), and contains one additional file, suggesting new features, expanded platform support or internal restructuring. While the core dependencies and devDependencies remain consistent between the versions, these seemingly minor changes under the hood could deliver performance enhancements or address critical issues that motivated the new release.
The releasedate is very different. The new version was released 9 days after the precedent. For developers already using @swc/core, upgrading to 1.11.22 is recommended to leverage the latest optimizations and mitigations by the swc team which can translate into faster build times, improved code compatibility, and enhanced overall performance for web development projects. Be aware to test after you upgrade to confirm that the new version is not breaking your build.
The are not vulnerabilities for the version 1.11.22 of the package @swc/core