Version 7.7.4 of @babel/plugin-proposal-function-bind brings several updates compared to its predecessor, version 7.2.0. Both versions share the core functionality of compiling the function bind operator (::) to ES5, enabling developers to use this modern syntax in older JavaScript environments. Key differences lie in the dependency versions and the overall package size.
Notably, devDependencies have been bumped from @babel/core@^7.2.0 and @babel/helper-plugin-test-runner@^7.0.0 to @babel/core@^7.7.4 and @babel/helper-plugin-test-runner@^7.7.4 respectively. Likewise, @babel/plugin-syntax-function-bind dependency upgraded from version 7.2.0 to 7.7.4. These updates likely incorporate bug fixes, performance improvements, and alignment with the latest Babel ecosystem. Developers upgrading should consult the Babel changelog for detailed information on these core dependency updates.
The package size also sees a slight reduction, with unpackedSize going from 4643 bytes in version 7.2.0 to 4385 bytes in version 7.7.4. The fileCount also went down from 6 to 4. This could indicate optimizations in the code or a streamlining of the package structure, which contributes to a smaller download and installation footprint. The newer version was released in November 2019, a year after the older version, December 2018, signifying accumulated improvements and compatibility updates.
The are not vulnerabilities for the version 7.7.4 of the package @babel/plugin-proposal-function-bind