@babel/preset-env version 7.25.0 brings several updates and bug fixes compared to the previous stable version 7.24.8, making it a worthwhile upgrade for developers using Babel. The core change lies within its dependencies, where several packages like @babel/compat-data, @babel/plugin-transform-classes, @babel/plugin-transform-block-scoping, @babel/plugin-transform-function-name, @babel/plugin-transform-modules-systemjs, @babel/plugin-transform-async-generator-functions and some bugfix plugins have been updated to newer versions.
Specifically, developers will benefit from the updated bugfix plugins such as @babel/plugin-bugfix-firefox-class-in-computed-class-key, @babel/plugin-bugfix-safari-class-field-initializer-scope, @babel/plugin-bugfix-v8-static-class-fields-redefine-readonly, and @babel/plugin-transform-duplicate-named-capturing-groups-regex which enhance the reliability and correctness of transpiled code, especially when targeting specific browser environments like Firefox, Safari, and V8-based engines, resolving edge cases and ensuring better compatibility. These improvements make the latest version of @babel/preset-env a more robust choice for projects requiring precise and accurate transpilation across diverse JavaScript runtimes. Additionally, the bump of @babel/compat-data ensures that preset-env has the latest data, which is very important and will let developers write modern javascript that will be correctly transpiled.
Furthermore, dependencies @babel/core and @babel/traverse are updated in devDependencies which indicates improvements in the tooling used during development, potentially leading to better performance or new capabilities when working with Babel.
The are not vulnerabilities for the version 7.25.0 of the package @babel/preset-env