Version 1.2.123 of @swc/core, a super-fast Babel alternative, arrived on December 26, 2021, building upon the foundation of the previous stable version, 1.2.122, released just days before on December 22, 2021. Both versions share the same core description, licensing (Apache-2.0 AND MIT), repository details, author, and funding information. The key differences between these releases lie within their dependencies and build specifics.
A notable change in version 1.2.123 is the direct dependency on platform-specific @swc/core-* packages, which are now exact versions (e.g., @swc/core-darwin-x64":"1.2.123"). In contrast, version 1.2.122 used version ranges (e.g., @swc/core-darwin-x64":"^1.2.122"). This adjustment ensures more predictable and consistent behavior. The main package includes itself in it's optionalDependencies.
Looking at devDependencies, version 1.2.123 includes TypeScript version ^4.5.2 which is newer than version 1.2.122 which includes Typescript ^4.2.0-beta allowing developers to use newer features of TS when developing and contributing on the library. Also the @napi-rs/cli was updated from version 1.0.4 to 2.0.0, which enables developers to have the newest tooling.
Version 1.2.123 exhibits some updates on some of the packages. The unpacked size increased slightly, indicating potentially minor enhancements and bug fixes.
For developers adopting @swc/core, these changes represent a subtle refinement in dependency management and build characteristics. Upgrading is likely straightforward. This is helping developers benefit from SWC's superior performance.
The are not vulnerabilities for the version 1.2.123 of the package @swc/core