@babel/preset-typescript is a Babel preset designed to seamlessly integrate TypeScript compilation into your JavaScript workflow. Version 7.16.0, released on October 29, 2021, builds upon the foundation of version 7.15.0, released on August 4, 2021, offering developers updated tools for TypeScript support within their Babel configurations.
A key difference lies in the dependencies. Version 7.16.0 updates @babel/plugin-transform-typescript to version 7.16.0 as well, aligning the core transformation plugin version with the preset itself. Whereas v7.15.0 depends on @babel/plugin-transform-typescript of the same version (7.15.0). Additionally, the newer version requires @babel/core version ^7.16.0 as dev dependency, a bump from the 7.15.0 version used in the previous release. @babel/helper-plugin-test-runner is updated too. These updates often include bug fixes, performance improvements, and potentially new features related to TypeScript syntax support.
For developers, these changes mean a more robust and up-to-date compilation pipeline for TypeScript code. It is important to update to avoid bugs related to older plugins. By upgrading, developers can leverage the latest advancements in Babel's TypeScript transformation capabilities, ensuring compatibility with the latest TypeScript features and potentially benefiting from enhanced performance during the compilation process. The increased unpacked size from 11137 to 13628 in the newer version indicates added/modified files, probably related to the aforementioned updates. Make sure to check the full changelog for detailed information.
The are not vulnerabilities for the version 7.16.0 of the package @babel/preset-typescript