@swc/core version 1.2.158 is a minor update to the super-fast Babel alternative, focusing on incremental improvements and bug fixes. While the core functionality remains largely consistent with version 1.2.157, developers can expect subtle enhancements in performance and stability. The most notable change lies in the updated versions of platform-specific binaries within the dependencies and optionalDependencies sections, where all @swc/core-* packages are bumped from 1.2.157 to 1.2.158. This suggests that binary components tailored to different operating systems and architectures have been rebuilt or patched.
For developers, this means a smoother and potentially more reliable experience across various deployment environments. No changes are made in devDependencies. Using most recent version is considered to always be the best approach to avoid security issues and get the latest fixes. Given SWC's role in speeding up JavaScript and TypeScript compilation, even minor version updates can lead to noticeable improvements in build times, which can be significant in large projects. If some builds are failing, upgrading to the most recent version can solve these particular problems.
The are not vulnerabilities for the version 1.2.158 of the package @swc/core