@swc/core is a blazing-fast JavaScript and TypeScript compiler designed as a performant alternative to Babel. Version 1.2.120 introduces several enhancements over its predecessor, 1.2.119, primarily centered around internal improvements and dependency updates to ensure greater stability and compatibility. Examining the dependencies and optionalDependencies, all platform-specific binaries like @swc/core-darwin-x64, @swc/core-linux-x64-gnu, and others are updated to the new 1.2.120 version. These binaries provide pre-compiled native code tailored for different operating systems and architectures, significantly boosting compilation speed. The consistency in versioning across these platform-specific packages is crucial for developers targeting diverse deployment environments.
While the devDependencies appear largely unchanged, developers should note that these tools are primarily used during development and testing, not runtime. The jump from version 1.2.119 to 1.2.120 likely incorporates bug fixes, performance tweaks within the core compilation engine and underlying native components. The increased fileCount and unpackedSize in the dist section suggests potential additions to the compiled binaries as well as optimized compilation steps. Developers adopting @swc/core for their projects should always prioritize updating to the latest version to leverage the most recent performance improvements and bug fixes for a streamlined build process. Keep in mind the release date difference, the later version is probably more up to date and includes the latest functionalities.
The are not vulnerabilities for the version 1.2.120 of the package @swc/core