D3-hierarchy version 3.1.2 is a minor update to the popular JavaScript library for creating hierarchical visualizations, building upon version 3.1.1. Both versions provide layout algorithms designed to represent and explore hierarchical data structures, essential for visualizing relationships and hierarchies within datasets. Key functionalities include tree layouts, cluster layouts, treemaps, and partition layouts, enabling developers to create insightful and interactive diagrams like org charts, dendrograms, and packed circles.
The core functionalities and developer dependencies (benchmark, d3-array, d3-dsv, d3-random, eslint, mocha, rollup, rollup-plugin-terser) remain consistent between the two versions, ensuring familiar development processes and compatibility. The license is ISC. Author remains Mike Bostock. However, several differences are noticeable. Version 3.1.2 was released on April 2, 2022, while version 3.1.1 was released significantly earlier, on December 10, 2021. Most likely this means that version 3.1.2 incorporates bug fixes, performance improvements, or minor feature enhancements that address issues or improve efficiency compared to the previous iteration. This is further supported by an increase in fileCount in the distribution (39 vs 38) and unpackedSize (136230 vs 134943). The newer version suggests code enhancements like an additional tests, comments or functionality, that made up for the difference in file size; therefore, developers should consider upgrading to version 3.1.2 to benefit from these refinements and ensure they are using the most stable and optimized version of the library.
The are not vulnerabilities for the version 3.1.2 of the package d3-hierarchy