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 2.4.3 to 2.4.4

lib/main-circlepacking.js.map

4

package.json
{
"name": "rollup-plugin-visualizer",
"version": "2.4.3",
"version": "2.4.4",
"main": "plugin/index.js",

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

"del-cli": "^2.0.0",
"eslint": "^5.14.1",
"eslint": "^6.0.1",
"postcss-url": "^8.0.0",

@@ -48,0 +48,0 @@ "prettier": "^1.16.4",

@@ -29,2 +29,6 @@ "use strict";

const WARN_SOURCEMAP_DISABLED =
"rollup output configuration missing sourcemap = true. You should add output.sourcemap = true or disable sourcemap in this plugin";
const WARN_SOURCEMAP_MISSING = id => `${id} missing source map`;
module.exports = function(opts) {

@@ -34,2 +38,3 @@ opts = opts || {};

const title = opts.title || "RollUp Visualizer";
const useSourceMap = !!opts.sourcemap;

@@ -45,2 +50,6 @@ const open = !!opts.open;

async generateBundle(outputOptions, outputBundle) {
if (useSourceMap && !outputOptions.sourcemap) {
this.warn(WARN_SOURCEMAP_DISABLED);
}
const roots = [];

@@ -52,2 +61,5 @@

if (useSourceMap) {
if (!bundle.map) {
this.warn(WARN_SOURCEMAP_MISSING(id));
}
await addMinifiedSizesToModules(bundle);

@@ -54,0 +66,0 @@ }

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

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