@swc/core has been updated from version 1.10.2 to 1.10.3, marking a new iteration of this high-performance Babel alternative built with Rust. Both versions share the same core dependencies like @swc/types and @swc/counter, as well as development dependencies including jest, cross-env, typescript and @napi-rs/cli, indicating a consistent build and testing environment. The peer dependency on @swc/helpers also remains unchanged, ensuring compatibility with existing helper functions.
The key difference lies within the optionalDependencies. Each platform-specific binary, such as @swc/core-darwin-x64, @swc/core-linux-x64-gnu, and @swc/core-win32-x64-msvc has been bumped to match the core version of 1.10.3. This indicates an updated set of pre-built binaries tailored for various operating systems and architectures. For developers, this is crucial as it ensures the correct binary is used for their target platform during installation, ultimately impacting performance and stability. Depending on your operating system or architecture, updating to version 1.10.3 might resolve compatibility issues and improve performance due to the updated binaries.
Furthermore, the releaseDate for version 1.10.3 is December 27, 2024, following the December 26, 2024, release of 1.10.2. The quick successive release suggests a bug fix or incremental enhancement. Developers planning to utilize @swc/core should consider upgrading to 1.10.3 for the latest fixes and improvements, keeping in mind the platform specific binaries are updated and included.
The are not vulnerabilities for the version 1.10.3 of the package @swc/core