@babel/preset-typescript version 7.15.0 introduces subtle yet potentially impactful improvements compared to its predecessor, version 7.14.5. Primarily, the update involves a synchronization of dependencies, most notably within @babel/plugin-transform-typescript, which is bumped from ^7.14.5 to ^7.15.0. This core plugin is crucial for transforming TypeScript code into JavaScript, meaning the new version likely includes bug fixes, performance enhancements, or support for newer TypeScript syntax features that developers would want to leverage.
While the peer dependency on @babel/core remains unchanged, allowing compatibility with Babel versions 7.0.0 and onwards, the update to the transformation plugin ensures the preset stays current with TypeScript language evolution. Furthermore, the dist object highlights an increased unpacked size (11137 bytes vs. 9802 bytes), possibly indicating added features or more comprehensive grammar support within the transformation process. Developers should consider testing their TypeScript projects thoroughly after upgrading to ensure compatibility and proper transformation, especially if they are utilizing cutting-edge TypeScript features. The later release date ensures access to recent refinements and stability improvements of the set, making this latest version a preferable upgrade. The update could include solving problems like type-checking or specific cases when transpiling code.
The are not vulnerabilities for the version 7.15.0 of the package @babel/preset-typescript