@swc/core is a blazing-fast JavaScript and TypeScript compiler, often touted as a speedy alternative to Babel. These two versions, 1.2.192 and 1.2.189, showcase the continuous evolution of this popular tool. At its core, SWC aims to accelerate the development process by providing significantly faster compilation times.
While the fundamental purpose remains the same, version 1.2.192 introduces subtle yet important improvements. Examining the package data reveals very small, but potentially impactful changes. Both versions share identical dependencies on platform-specific binaries like @swc/core-darwin-x64 and @swc/core-linux-x64-gnu, reflecting SWC's commitment to supporting diverse operating systems and architectures. Similarly, the extensive list of devDependencies used for testing and development, including Jest, TypeScript, and Babel-related tools, is consistent across both versions. But a keen eye will see that the unpackedSize is different between the two releases, suggesting there were some code changes that affects the final size of the build. This version bump, while minor, suggests bug fixes, performance tweaks, or even newly added functionality within the core SWC compiler. In essence, upgrading from 1.2.189 to 1.2.192 offers developers the potential for an even smoother and more efficient compilation experience. The later version also has a newer release date.
The are not vulnerabilities for the version 1.2.192 of the package @swc/core