@babel/preset-env version 7.17.12 introduces a collection of updates focused on enhancing JavaScript transformation capabilities and bug fixes, building upon the foundation laid by version 7.17.10. Developers leveraging this preset will find improvements across various areas, from code compatibility to refined parsing.
Key changes involve updates in core dependencies like @babel/types, @babel/compat-data, and @babel/helper-compilation-targets, ensuring alignment with the latest JavaScript features and browser environments. Several transform plugins have been bumped to newer versions, including those for for-of loops, spread syntax, classes, literals, and more. Notably, a bug fix addresses spread parameters in optional chaining for V8 engines. These updates collectively aim to provide more accurate and efficient code transformation, enabling developers to target a wider range of JavaScript environments.
Furthermore, version 7.17.12 includes upgrades to syntax and proposal plugins such as those for private class methods, numeric separators, optional chaining, and object rest/spread properties. These additions represent Babel's commitment to supporting modern JavaScript syntax proposals as they evolve. By staying current with these features, @babel/preset-env simplifies the process of writing cutting-edge code while maintaining broad compatibility.
The are not vulnerabilities for the version 7.17.12 of the package @babel/preset-env