New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 0.1.5

4

lib/plugin.js

@@ -44,6 +44,4 @@ 'use strict';

var stats = compilation.getStats().toJson();
var nodes = (0, _buildHierarchy2['default'])(stats);
var html = '<!doctype html>\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.nodesData = ' + JSON.stringify((0, _buildHierarchy2['default'])(stats)) + ';</script>\n <script>' + jsString + '</script>\n ';
var html = '<!doctype html>\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.nodesData = JSON.parse(\'' + JSON.stringify(nodes) + '\');</script>\n <script>' + jsString + '</script>\n ';
compilation.assets[_this.opts.filename] = {

@@ -50,0 +48,0 @@ source: function source() {

{
"name": "webpack-visualizer-plugin",
"version": "0.1.4",
"version": "0.1.5",
"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