webpack-contrib / webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
MIT License
12.57k stars 484 forks source link

Remove `is-plain-object` #627

Closed SukkaW closed 6 months ago

SukkaW commented 6 months ago

The PR removes a dependency is-plain-object, further reducing the installation size.

Ref #505 #609 #612

Turns out that the return value of analyzer.getViewerData() is always an array (from Object.entries), we can safely remove the is-plain-object guard.

valscion commented 5 months ago

This has now been released as part of v4.10.2