@swc/core is a super-fast alternative to Babel, designed for accelerating JavaScript and TypeScript compilation. Comparing version 1.10.9 and its predecessor, 1.10.8, reveals subtle yet important distinctions for developers. Both versions depend on the same core libraries: @swc/types for type definitions and @swc/counter for internal counters, indicating a stable API foundation. Development dependencies such as jest for testing, cross-env for cross-platform environment variable setting, typescript for type checking, and @napi-rs/cli for building native Node.js addons remain consistent, implying a continued commitment to code quality and tooling. The peer dependency on @swc/helpers is also unchanged, ensuring compatibility with existing SWC ecosystems.
The key difference lies within the optionalDependencies. Version 1.10.9 upgrades the architecture-specific binaries (e.g., @swc/core-darwin-x64, @swc/core-linux-x64-gnu) to version 1.10.9, while the 1.10.8 version uses the 1.10.8 binaries. This suggests that version 1.10.9 includes platform-specific bug fixes, performance improvements, or new feature support tailored for each architecture it supports. Therefore, upgrading to 1.10.9 is recommended to leverage the latest optimizations for your target platform (Darwin, Linux, Windows). Both versions maintain the same licensing (Apache-2.0), repository, author, funding, fileCount, indicating no major changes to legal or project structure. The unpackedSize remained also unchanged which is not suspicious since the version difference it's only on the optional dependencies which are in their own packages.
The are not vulnerabilities for the version 1.10.9 of the package @swc/core