The @swc/core package, a high-performance alternative to Babel, has released a new version, 1.3.0, succeeding the previous stable version 1.2.249. Both versions share the same core purpose: providing a super-fast JavaScript and TypeScript compiler. Key differences lie in the dependencies and optional dependencies, where all platform-specific @swc/core-* packages have been updated to version 1.3.0 in the latest release, ensuring consistent compilation across various operating systems and architectures.
For developers, this update signifies a potentially improved and more robust compilation experience. The core functionality, centered around accelerating build processes, remains consistent. The updated platform-specific packages within dependencies and optional dependencies indicate that the core team is committed to continuous improvements for cross-platform compatibility and performance optimizations. While most of the devDependencies remain similar, it is worth checking if internal tooling or plugins rely on specifics.
Migrating to version 1.3.0 should be relatively seamless, particularly if your project already utilizes @swc/core. The core API and compilation features are likely to remain largely unchanged. However, developers should verify that their existing build pipelines and configurations remain compatible with the updated platform-specific packages. By leveraging the latest @swc/core version, developers gain access to the most recent optimizations and potential bug fixes, contributing to a smoother and faster development cycle.
The are not vulnerabilities for the version 1.3.0 of the package @swc/core