@swc/core version 1.2.154 represents a minor update over version 1.2.153 in the SWC (Speedy Web Compiler) ecosystem, a project aimed at providing a high-performance alternative to Babel. While the core functionality remains consistent—offering super-fast compilation for JavaScript and TypeScript—a key difference lies in the updated @napi-rs/cli dependency, moving from version 2.4.2 to 2.4.5. This likely involves improvements and bug fixes within the native Rust-based tooling used by SWC. Furthermore, the @babel/compat-data dependency sees an update from version 7.16.4 to 7.17.0, suggesting enhancements in compatibility with various JavaScript environments and features.
Developers utilizing SWC will appreciate that both versions include a comprehensive set of dependencies and optional dependencies catering to a wide range of platforms (Darwin, FreeBSD, Linux, Windows, Android) and architectures (x64, arm64, ia32, arm-eabi, arm-gnueabihf, musl, gnu, msvc). This signifies SWC's commitment to broad compatibility. The devDependencies list highlights a robust testing and development environment, featuring tools like Jest, Mocha, TypeScript, and various Babel plugins. The increase in unpacked size from 418284 to 421172, could indicate new features added or improvements in overall library size optimizations, but the difference is relatively small. Both versions showcase the ongoing evolution of SWC, focusing on performance, compatibility, and developer experience making them interesting choices for projects seeking faster builds and improved JavaScript/TypeScript compilation.
The are not vulnerabilities for the version 1.2.154 of the package @swc/core