@swc/core versions 1.2.9 and 1.2.10 represent incremental updates to this super-fast Babel alternative. Both versions share the same core mission: providing a speedy compilation experience. They maintain identical dependencies on essential tools like mkdirp, progress, node-fetch, and true-case-path, ensuring consistent functionality for basic file system operations, progress reporting, data fetching and handling of correct file casing.
The key distinction lies in the devDependencies. While most development dependencies remain constant (e.g., jest, lodash, neon-cli, @babel/core, @types/jest, @types/node, browserslist, @babel/preset-env, and various Babel plugins), a noticeable change is the updated version of typescript: moving from 3.9.5 in 1.2.9 to 3.9.7 in 1.2.10. This TypeScript upgrade suggests potential improvements in TypeScript code compatibility, bug fixes related to TypeScript code processing, or new TypeScript features supported by the compiler.
Developers interested in leveraging swc can expect enhanced TypeScript support in version 1.2.10. Furthermore, the slightly larger unpacked size in 1.2.10 (3571844 bytes vs 3564629 in 1.2.9) could indicate minor additions, optimizations, or possibly updated pre-compiled binaries to improve performance. If you are using swc for typescript compilation, version 1.2.10 is recommended.
The are not vulnerabilities for the version 1.2.10 of the package @swc/core