@swc/core versions 1.2.51 and 1.2.50 represent incremental updates to this high-performance JavaScript and TypeScript compiler, offering developers a faster alternative to Babel. The core functionality remains consistent between the versions, as indicated by the shared description, license, repository, author, and funding information. The key difference lies primarily in the version bumps of the platform-specific binaries, such as @swc/core-darwin-x64, @swc/core-linux-x64-gnu, and others, across dependencies and optional dependencies. This suggests that version 1.2.51 likely includes bug fixes, performance improvements, or compatibility updates tailored to these specific operating systems and architectures.
Developers considering upgrading should note that the fileCount in the dist object has increased from 14 to 15, and unpackedSize has grown from 145072 to 154197. While this isn't an enormous change, it indicates the inclusion of potentially new files or expanded existing ones. The releaseDate of 1.2.51 is significantly later than 1.2.50 suggesting a more recent set of changes. To ensure a smooth transition, developers should review the changelog or release notes (if available) for @swc/core to understand the precise nature of the updates and verify compatibility with their existing projects. The identical devDependencies listed in both versions suggest no new tooling requirements for development, but staying updated is always considered a security best practice.
The are not vulnerabilities for the version 1.2.51 of the package @swc/core