@swc/core is a high-performance JavaScript and TypeScript compiler, designed as a faster alternative to Babel. Version 1.2.58 introduces subtle but important updates compared to its predecessor, version 1.2.57. The core functionality remains focused on super fast compilation. The key difference lies in the updated dependencies. Every dependency related to specific platforms such as @swc/core-darwin-x64, @swc/core-darwin-arm64, @swc/core-android-arm64, and others have been bumped from version 1.2.57 to 1.2.58, ensuring comprehensive compatibility across different operating systems and architectures.
For developers, this means smoother integration and better performance across various deployment environments. While the core devDependencies remain consistent, ensuring that the tooling for development such as testing, type checking and bundling hasn't changed, the underlying platform specific Rust binaries have been updated in the newer version. The optional dependencies are also upgraded to ensure that the correct binary is installed for the platform.
The upgrade signifies a commitment to stability and cross-platform compatibility, making @swc/core an even more reliable choice for developers seeking a fast and efficient compiler. The change in dist.fileCount from 20 to 21 and the slightly smaller unpackedSize in the newer version suggest potential optimizations in the packaging or build process.
The are not vulnerabilities for the version 1.2.58 of the package @swc/core