Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-visualizer-plugin

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-visualizer-plugin - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

5

lib/plugin.js

@@ -40,4 +40,7 @@ 'use strict';

var stats = compilation.getStats().toJson({ chunkModules: true });
var html = '<!doctype html>\n <meta charset="UTF-8">\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.stats = ' + JSON.stringify(stats) + ';</script>\n <script>' + jsString + '</script>\n ';
var stringifiedStats = JSON.stringify(stats);
stringifiedStats = stringifiedStats.replace(/</g, '&lt;').replace(/</g, '&gt;');
var html = '<!doctype html>\n <meta charset="UTF-8">\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.stats = ' + stringifiedStats + ';</script>\n <script>' + jsString + '</script>\n ';
compilation.assets[_this.opts.filename] = {

@@ -44,0 +47,0 @@ source: function source() {

2

package.json
{
"name": "webpack-visualizer-plugin",
"version": "0.1.7",
"version": "0.1.8",
"main": "lib/plugin.js",

@@ -5,0 +5,0 @@ "author": "Chris Bateman (http://cbateman.com/)",

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