Babel plugin transform runtime, a crucial tool for modern JavaScript development, has seen an update from version 6.7.5 to 6.8.0. Both versions share the core function of externalizing references to Babel's helper functions and built-ins, effectively polyfilling your code without polluting the global scope. This approach neatly avoids naming conflicts and reduces bundle sizes.
The key difference lies in the dependencies. Version 6.8.0 upgrades the peer dependency on babel-runtime from ^5.0.0 to ^6.0.0. This signifies a shift towards compatibility with Babel 6's runtime environment. Developers upgrading to Babel 6 or already using it will find version 6.8.0 a more suitable choice. The bump in babel-runtime ensures support for newer language features and optimizations introduced in Babel 6.
The devDependencies also experienced an upgrade. babel-helper-plugin-test-runner bumped up from 6.3.13 to ^6.8.0, aligning with the core Babel version. This offers improved testing capabilities for plugin developers, ensuring compatibility and stability when developing custom Babel plugins interacting with babel-plugin-transform-runtime. Developers should upgrade to version 6.8.0 for seamless integration with newer Babel toolchains and access to the latest runtime enhancements. Also, from the data provided, version 6.8.0 was released on May 2nd, 2016 while version 6.7.5 was released on April 8th, 2016.
The are not vulnerabilities for the version 6.8.0 of the package babel-plugin-transform-runtime