Socket
Socket
Sign inDemoInstall

rollup-plugin-visualizer

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-visualizer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "rollup-plugin-visualizer",
"version": "1.0.0",
"version": "1.0.1",
"main": "plugin.js",

@@ -5,0 +5,0 @@ "author": "Denis Bardadym <bardadymchik@gmail.com>",

@@ -41,2 +41,3 @@ "use strict";

for (const [id, bundle] of Object.entries(outputBundle)) {
//console.log(id, bundle);
if (bundle.isAsset) continue; //only chunks

@@ -48,2 +49,3 @@

const root = buildTree(bundle, useSourceMap);
flattenTree(root);

@@ -133,3 +135,7 @@ roots.push({ id, root });

const commonParent = getDeepMoreThenOneChild(child);
newChildren = newChildren.concat(commonParent.children);
if (commonParent.children.length === 0) {
newChildren.push(commonParent);
} else {
newChildren = newChildren.concat(commonParent.children);
}
});

@@ -136,0 +142,0 @@ root.children = newChildren;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc