Socket
Socket
Sign inDemoInstall

rollup-plugin-visualizer

Package Overview
Dependencies
0
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

8

package.json
{
"name": "rollup-plugin-visualizer",
"version": "0.1.3",
"version": "0.1.4",
"main": "plugin.js",

@@ -17,3 +17,4 @@ "author": "Denis Bardadym <bardadymchik@gmail.com>",

"build": "npm run buildplugin",
"buildplugin": "rollup -c rollup.config.js -o ./lib/pluginmain.js"
"buildplugin": "rollup -c rollup.config.js -o ./lib/pluginmain.js",
"prepublish": "npm run build"
},

@@ -31,4 +32,5 @@ "dependencies": {},

"rollup-plugin-commonjs": "^5.0.5",
"rollup-plugin-node-resolve": "^2.0.0"
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-uglify": "^1.0.1"
}
}

@@ -11,2 +11,3 @@ const fs = require('fs');

module.exports = function(opts) {
opts = opts || {};
var filename = opts.filename || 'stats.html';

@@ -73,3 +74,3 @@

function getDeepMoreThenOneChild(tree) {
if (tree.children.length === 1) {
if (tree.children && tree.children.length === 1) {
return getDeepMoreThenOneChild(tree.children[0]);

@@ -76,0 +77,0 @@ }

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc