Rollup-plugin-visualizer is a valuable tool for developers using Rollup, enabling them to analyze and optimize their bundle sizes. Comparing versions 5.9.0 and 5.8.3 highlights key updates. A notable addition in 5.9.0 is the "picomatch" dependency, bringing enhanced file matching capabilities. Developers benefit from more flexible and precise control over which files are included or excluded during visualization. This is paired with a "picomatch-browser" dev dependency, allowing easier testing in a browser environment.
Furthermore, version 5.9.0 also shows an update to the Typescript dependency that brings it to version ~4.9.0 while version 5.8.3 featured version ~4.8.0. Also, there are updates to the dev dependencies: "@jest/globals", "@types/d3-array", "@types/d3-color", "@types/d3-force", "@types/d3-scale", "@types/d3-shape", "@types/picomatch", "@types/d3-hierarchy", "@rollup/plugin-alias", "@rollup/plugin-commonjs", and "@rollup/plugin-typescript". The file count and unpacked size are radically different, with version 5.9.0 presenting 37 files and 671423 unpacked size. It is considerably smaller than version 5.8.3 showing 36 files and 1636691 unpacked size.
Both versions maintain peer dependency compatibility with Rollup 2.x and 3.x, ensuring smooth integration for existing projects. Developers should consider upgrading to 5.9.0 for enhanced file matching via "picomatch", latest Typescript updates, and a smaller unpacked size. The visualizer empowers developers to identify large dependencies and optimize their builds, leading to improved application performance and user experience. Always refer to the official documentation for comprehensive usage instructions and configuration options.
The are not vulnerabilities for the version 5.9.0 of the package rollup-plugin-visualizer