Rollup Plugin Node Globals offers a seamless way to inject Node.js globals into your Rollup bundles, replicating the environment familiar to Browserify users. This allows you to use modules designed for Node.js environments directly within your browser-targeted code, simplifying the process of adapting existing code or leveraging Node.js libraries.
Version 1.0.2 introduces a subtle but important update compared to version 1.0.1. While the core functionality remains consistent, indicated by the identical dependency and devDependency listings (rollup-plugin-inject, babel-preset-es2015-rollup, browserify, mocha, rollup, rollup-plugin-babel), the primary difference lies in the release date. Version 1.0.2 was released shortly after 1.0.1, suggesting a quick fix or minor adjustment rather than a major feature addition. Essentially, both versions provide the same "insert the same globals browserify does" functionality and the upgrade from 1.0.1 to 1.0.2 is related to bug fixes or small improvements.
For developers looking to integrate Node.js globals into their Rollup projects,either of these two versions are suitable, however, it's always advisable to use the newer version (1.0.2) due to the potential for enhanced stability or minor bug resolutions. If you are experiencing issues with 1.0.1, upgrading to 1.0.2 is recommended. Before migrating to newer major versions always check changelogs as they may include breaking changes.
The are not vulnerabilities for the version 1.0.2 of the package rollup-plugin-node-globals