@swc/core is a high-performance JavaScript and TypeScript compiler written in Rust, designed as a faster alternative to Babel. Version 1.2.107 represents a minor update over the previous stable version, 1.2.106, primarily involving updates to its core dependencies tailored for different operating systems and architectures. Developers will notice that the platform-specific binaries like @swc/core-darwin-x64, @swc/core-linux-x64-gnu, and others have been bumped to version 1.2.107, ensuring compatibility and potentially incorporating bug fixes or performance improvements specific to those environments.
The core functionality of the compiler, exposed through the @swc/core package, remains consistent between the two versions, meaning the API and configuration options for transpilation should be largely unchanged. This makes upgrading relatively straightforward for existing users.
While the devDependencies remain the same, indicating no changes to the development or testing tooling, the updated platform-specific dependencies signal ongoing maintenance and optimization efforts within the SWC ecosystem. Developers should appreciate this continuous effort to provide a reliable and performant compilation solution, especially when targeting multiple platforms. Differences in unpacked size between the versions suggest that improvements may have been made regarding the bundling or packaging of the library. Keep in mind that while installing the package, npm or yarn will automatically pick only the dependency pertaining to your current environment.
The are not vulnerabilities for the version 1.2.107 of the package @swc/core