Rollup Plugin NPM version 1.2.0 introduces notable enhancements over its predecessor, version 1.1.0, making it a more robust tool for bundling third-party dependencies within Node.js projects using Rollup. The primary addition is the explicit dependency on browser-resolve at version ^1.11.0. This inclusion suggests improved handling of browser-specific module resolution, addressing potential compatibility issues when targeting browser environments.
Furthermore, the developer dependencies have undergone a significant shift. Version 1.2.0 replaces the Gobble-based build system (which included gobble, gobble-cli, and gobble-rollup) with a Babel-centric approach. This is reflected in the addition of babel-preset-es2015, babel-preset-es2015-rollup, and babel-register, alongside an updated rollup-plugin-babel at version ^2.2.0. This change likely streamlines the development process and improves the maintainability of the plugin. rollup-plugin-commonjs was also updated from 0.1.0 to 2.0.0
The update to Rollup, from version 0.20.0 to 0.22.0 showcases that the plugin keeps current with Rollup's development. For developers, this means better compatibility with modern JavaScript features and build processes. The move towards Babel suggests a focus on ES2015+ support, making it easier to integrate with projects using modern JavaScript syntax. The removal of Gobble dependencies simplifies the plugin's build process, removing dependencies with a more standard Babel toolchain.
The are not vulnerabilities for the version 1.2.0 of the package rollup-plugin-npm