@swc/core, a super-fast Babel alternative, released version 1.2.245 on August 30, 2022, following version 1.2.244 released on August 26, 2022. While seemingly a minor version bump, it includes updated prebuilt binaries for various platforms within its dependencies and optionalDependencies, ensuring wider compatibility. Both versions share the same core purpose: accelerating JavaScript and TypeScript compilation. Key dependencies for core functionality remain consistent across both versions, indicating a focus on stability in the underlying transformation logic.
Developers leveraging @swc/core benefit from its speed and comprehensive support for modern JavaScript features. The package offers seamless integration into existing build pipelines, thanks to its Babel-compatible API and extensive plugin ecosystem. The devDependencies, nearly identical in both releases, showcase a robust testing and development environment, with tools like Jest, TypeScript, and Prettier ensuring code quality. The presence of tools like @napi-rs/cli hints at the native Rust foundation of SWC, contributing to its performance. This makes an upgrade attractive for developers aiming to optimize build times without significant code modifications, and provides confidence for new adopters looking for a performant tool. The update indicates active maintenance, suggesting ongoing improvements and potential for future enhancements to the already impressive compilation speed. This particular update includes improvements in the prebuilt package targets, and is highly recommended if you use @swc/core, and are targeting a specific architecture.
The are not vulnerabilities for the version 1.2.245 of the package @swc/core