@swc/core is a blazing-fast JavaScript and TypeScript compiler written in Rust, positioning itself as a high-performance alternative to Babel. Examining versions 1.11.12 and 1.11.13 reveals subtle yet crucial distinctions for developers. Both versions share core dependencies like @swc/types and @swc/counter, alongside development dependencies such as Jest, cross-env, TypeScript, and @napi-rs/cli, ensuring a consistent development experience. The peer dependency on @swc/helpers also remains constant, emphasizing compatibility with existing SWC setups.
The primary difference lies within the optionalDependencies. While both versions include pre-built binaries for various platforms (Darwin, Linux, Windows) and architectures (x64, ARM64, ARM), the version numbers within these optional dependencies are distinct. Version 1.11.13 utilizes binaries specifically built for that version, offering potential performance enhancements or bug fixes tailored to that release. This granular approach ensures optimal performance across diverse operating systems and hardware configurations. Developers sensitive to platform-specific performance should prioritize aligning the @swc/core version with its corresponding optional dependencies. Additionally, the releaseDate for version 1.11.13 is later than version 1.11.12 which means that version 1.11.13 includes the latest features, updates, and bug fixes. Because of that, it is advisable to use the latest version for any new project.
The are not vulnerabilities for the version 1.11.13 of the package @swc/core