Rollup Plugin Node Globals, a tool designed to seamlessly integrate Node.js globals into your Rollup bundles, saw a minor but potentially important update with the release of version 1.2.1, following version 1.2.0. Both versions share the same core functionality: bridging the gap between Node.js environments and browser-based code by injecting globals typically provided by Browserify. This allows developers to use modules relying on process, Buffer, and other Node.js specific objects directly within their Rollup projects, simplifying the process of creating browser-compatible bundles from Node.js modules.
The dependency tree remains consistent between the two versions, with essential packages like acorn, buffer-es6, estree-walker, magic-string, process-es6, and rollup-pluginutils ensuring robust parsing, transformations, and utility functions. Similarly, development dependencies like babel-core, browserify, mocha, and various Rollup plugins stay the same, ensuring a stable testing and development environment.
The key difference between versions 1.2.0 and 1.2.1 lies within the published package. While the file count remains at 9, the unpacked size has subtly increased from 27519 bytes to 27522 bytes. This suggests minor code tweaks, potentially bug fixes or very small feature enhancements, within the plugin's core logic. While the exact nature of these changes isn't explicitly detailed, the update signifies an effort towards improved stability and reliability. If you're already using 1.2.0, upgrading to 1.2.1 is recommended to benefit from these refinements. The release dates also clearly marks the newest version.
The are not vulnerabilities for the version 1.2.1 of the package rollup-plugin-node-globals