@swc/core, the super-fast Babel alternative, released version 1.2.40 on December 3rd, 2020, following closely on the heels of version 1.2.39, released on November 22nd, 2020. While the core functionality remains consistent, offering developers a speedy option for JavaScript and TypeScript compilation, subtle differences exist between the two versions. Notably, the dependencies @swc/core-linux, @swc/core-win32, and @swc/core-darwin are bumped to version 1.2.40 in the newer release, ensuring platform-specific binaries are aligned with the core package. These platform-specific packages are also listed in optionalDependencies, which means that if installation of the specific package for the OS fails, the core package can still be installed and run.
Developers leveraging @swc/core for their projects should update to version 1.2.40 to take advantage of potential bug fixes and performance improvements within these platform-specific binaries. Both versions share a comprehensive set of devDependencies, indicating a focus on robust testing and development practices. Tools like Jest for testing, TypeScript for type checking, and various Babel plugins for advanced JavaScript features remain consistent, providing a stable and feature-rich development environment. The consistent unpackedSize also point to the fact that the core functionality of the package remains unchanged, with incremental improvements done to the platform specific binaries.
The are not vulnerabilities for the version 1.2.40 of the package @swc/core