@swc/core is a high-performance JavaScript and TypeScript compiler written in Rust, designed as a faster alternative to Babel. Comparing versions 1.10.16 and 1.10.17, the core functionalities and dependencies remain largely consistent. Both rely on @swc/types and @swc/counter for internal type definitions and counter functionalities, respectively. Development dependencies for testing, cross-environment compatibility, TypeScript support, and napi-rs tooling also remain identical. The peer dependency on @swc/helpers ensures compatibility with helper functions.
The key difference lies within the versioning of optional dependencies. Both versions provide pre-built binaries for various platforms (darwin, linux, and windows) and architectures (x64, arm64, ia32, arm), but version 1.10.17 updates these platform specific binaries to version 1.10.17, potentially including bug fixes, performance improvements, or compatibility updates specific to those environments, which is the single difference with the 1.10.16 version.
For developers, this means upgrading to 1.10.17 primarily ensures access to the latest platform-specific optimizations and fixes. While the core API and functionalities are unlikely to have changed drastically, the updated binaries in 1.10.17 provide the most up-to-date and potentially more stable experience across different operating systems and CPU architectures. The releaseDate also shows a 5 day delay between the two releases, highlighting the recent update.
The are not vulnerabilities for the version 1.10.17 of the package @swc/core