@babel/preset-env empowers developers to leverage the latest JavaScript features while ensuring compatibility with older browsers and environments. Version 7.24.1 brings a series of targeted updates and bug fixes compared to the previous stable version, 7.24.0. A primary focus is on enhancing the reliability and correctness of code transformations, particularly in edge cases. Several dependency updates across the board, including @babel/plugin-transform-* plugins and @babel/compat-data, reflect this commitment. Specifically, several plugins saw patch updates (e.g., for-of, spread, classes): these updates often include minor bug fixes or performance tweaks that improve overall compilation.
Notably, many bugfix plugins have been updated, increasing the stability and reliabililty of the emitted code. One key change is the update to babel-plugin-polyfill-corejs2 and babel-plugin-polyfill-corejs3, bringing in newer polyfills and better handling of newer JavaScript features in older environments. This ensures wider code compatibility and reduces the chances of runtime errors. The update to @babel/compat-data":"^7.24.1" extends support for new browser versions and JavaScript features. Users who upgrade benefit from these incremental improvements without encountering major breaking changes that can disrupt their existing workflows, making it a worthwhile upgrade for developers seeking a stable and up-to-date Babel preset.
The are not vulnerabilities for the version 7.24.1 of the package @babel/preset-env