Rollup-plugin-node-globals allows developers using Rollup to seamlessly integrate Node.js globals into their browser-targeted bundles. This plugin bridges the gap between Node.js environments and browser environments, ensuring compatibility and preventing errors related to undefined global variables. By mimicking Browserify's global injection, it simplifies the process of migrating codebases or using Node.js-centric libraries within browser-based projects using Rollup.
Between version 1.0.2 and 1.0.3, the core functionality remains consistent, focusing on injecting essential Node.js globals. A notable difference lies in the releaseDate, with version 1.0.3 being released approximately a few hours after 1.0.2. This suggests that version 1.0.3 likely contains minor bug fixes, dependency updates, or tweaks that didn't warrant a major or minor version bump. Both versions rely on rollup-plugin-inject for the actual global variable injection and share the same development dependencies like babel-preset-es2015-rollup, browserify, mocha, rollup, and rollup-plugin-babel, indicating a similar build and testing process. For developers, upgrading to version 1.0.3 is generally recommended to benefit from any potential improvements or fixes, however, the changes that were introduced between the versions are too small to be described in detail.
The are not vulnerabilities for the version 1.0.3 of the package rollup-plugin-node-globals