@babel/preset-typescript is a Babel preset that allows developers to use TypeScript with Babel. Comparing versions 7.12.1 and 7.12.7 highlights subtle but important changes relevant to developers configuring their build pipelines.
Version 7.12.7, released on November 20, 2020, includes an update to its @babel/core dependency, specifying 7.12.7 as a dev dependency, whereas the prior version, 7.12.1, released on October 15, 2020, specified 7.12.1 as a dev dependency. This indicates a synchronization between the preset and the core Babel compiler. This might include enhanced compatibility or bug fixes specifically tailored for the corresponding Babel core version. The unpacked size also saw a minimal increase from 3896 bytes to 3959 bytes, potentially indicating minor additions or adjustments within the preset's code.
Both versions share the same core dependencies like @babel/helper-plugin-utils and @babel/plugin-transform-typescript, signifying no fundamental alterations in the core transformation logic. The peer dependency on @babel/core remains consistent, requiring a Babel core version of at least 7.0.0-0, ensuring broad compatibility.
Developers should upgrade to version 7.12.7 primarily to maintain alignment with the Babel core and potentially benefit from bug fixes or incremental improvements related to TypeScript compilation. Reviewing the changelog between these versions on the Babel GitHub repository would provide a more granular understanding of the specific changes implemented.
The are not vulnerabilities for the version 7.12.7 of the package @babel/preset-typescript