@swc/core, a blazing-fast alternative to Babel, released version 1.1.27 following closely on the heels of version 1.1.26. Both versions maintain the core functionality of accelerating JavaScript and TypeScript compilation, offering developers a significant performance boost over traditional tools. They share identical dependencies, including mkdirp, progress, node-fetch, and true-case-path, ensuring consistent behavior in crucial file system operations, build process feedback, network requests, and accurate path resolution. The development dependencies remain the same as well, meaning there are no changes to the testing, linting or type checking toolchain. Both versions include popular tools for compiling and transforming JavaScript like Babel and Typescript compiler, with corresponding presets and plugins.
The key difference lies in the updated dist metadata. Version 1.1.27 boasts a smaller unpacked size of 336613 compared to version 1.1.26's 369853. This reduction suggests potential optimizations in the compiled output, leading to a leaner final bundle size for end-users, an important aspect for web performance. This means the newer version *may* have better cold starts than the old version. Because the package size has been reduced, it may mean that some unused code has been removed, and that is a good thing for javascript libraries. The release date also differs, with version 1.1.27 being released on February 20, 2020, and version 1.1.26 the day before, meaning the newer version includes the latest fixes and improvments. Developers should consider upgrading to version 1.1.27 to benefit from these potential size and stability improvements, ensuring optimal performance and resource utilization in their projects.
The are not vulnerabilities for the version 1.1.27 of the package @swc/core