@babel/preset-env 7.12.0 offers several notable updates for developers compared to version 7.11.5. Primarily, the newer version brings enhancements to its handling of modern JavaScript syntax and proposals, ensuring broader compatibility across different target environments. Several dependency updates within the preset contribute to these improvements. Crucially, the dedicated plugins for proposals like numeric-separator, optional-chaining, export-namespace-from, nullish-coalescing-operator and logical-assignment-operators have been updated to version 7.12.0, ensuring that the compilation process correctly transpiles these features based on the latest specifications. The @babel/types package has to been updated to the 7.12.0 version as well. Furthermore, the package @babel/plugin-transform-modules-systemjs has been updated to 7.12.0, bringing more stability and bug fixes when using systemjs modules.
A key difference is the removal of the levenary and invariant dependencies, streamlining the dependency tree and potentially reducing the install size. The @babel/compat-data dependency has also been updated, ensuring up-to-date support for language features and their compatibility with various browsers and runtimes. These changes collectively enhance the reliability and efficiency of the preset in managing code transpilation for diverse JavaScript projects. Developers upgrading to 7.12.0 can expect improved support for modern JavaScript features and potentially a slightly smaller install footprint as a result of the removed dependencies.
The are not vulnerabilities for the version 7.12.0 of the package @babel/preset-env