Socket
Socket
Sign inDemoInstall

webpack-bundle-analyzer

Package Overview
Dependencies
Maintainers
4
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-bundle-analyzer - npm Package Compare versions

Comparing version 4.4.2 to 4.5.0

10

CHANGELOG.md

@@ -15,2 +15,12 @@ # Changelog

## 4.5.0
* **Improvement**
* Stop publishing src folder to npm ([#478](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/478) by [@wood1986](https://github.com/wood1986))
* **Internal**
* Update some dependencies ([#448](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/448))
* Replace nightmare with Puppeteer ([#469](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/469) by [@valscion](https://github.com/valscion))
* Replace Mocha with Jest ([#470](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/470) by [@valscion](https://github.com/valscion))
## 4.4.2

@@ -17,0 +27,0 @@

8

lib/bin/analyzer.js

@@ -27,3 +27,3 @@ #! /usr/bin/env node

Arguments:
bundleStatsFile Path to Webpack Stats JSON file.

@@ -35,2 +35,3 @@ bundleDir Directory containing all generated bundles.

'-h, --host [host]', 'Host that will be used in `server` mode to start HTTP server.', '127.0.0.1').option('-p, --port <n>', 'Port that will be used in `server` mode to start HTTP server.', 8888).option('-r, --report <file>', 'Path to bundle report file that will be generated in `static` mode.').option('-t, --title <title>', 'String to use in title element of html report.').option('-s, --default-sizes <type>', 'Module sizes to show in treemap by default.' + br(`Possible values: ${[...SIZES].join(', ')}`), 'parsed').option('-O, --no-open', "Don't open report in default browser automatically.").option('-e, --exclude <regexp>', 'Assets that should be excluded from the report.' + br('Can be specified multiple times.'), array()).option('-l, --log-level <level>', 'Log level.' + br(`Possible values: ${[...Logger.levels].join(', ')}`), Logger.defaultLevel).parse(process.argv);
let [bundleStatsFile, bundleDir] = program.args;
let {

@@ -45,5 +46,4 @@ mode,

open: openBrowser,
exclude: excludeAssets,
args: [bundleStatsFile, bundleDir]
} = program;
exclude: excludeAssets
} = program.opts();
const logger = new Logger(logLevel);

@@ -50,0 +50,0 @@

{
"name": "webpack-bundle-analyzer",
"version": "4.4.2",
"version": "4.5.0",
"description": "Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap",

@@ -27,9 +27,8 @@ "author": "Yury Grunin <grunin.ya@ya.ru>",

"install-test-webpack-versions": "./bin/install-test-webpack-versions.sh",
"test": "npm run install-test-webpack-versions && mocha --exit --require @babel/register",
"test-dev": "npm run install-test-webpack-versions && mocha --watch --watch-ignore test/output --require @babel/register"
"test": "npm run install-test-webpack-versions && jest --runInBand",
"test-dev": "npm run install-test-webpack-versions && jest --watch --runInBand"
},
"files": [
"public",
"lib",
"src"
"lib"
],

@@ -40,3 +39,3 @@ "dependencies": {

"chalk": "^4.1.0",
"commander": "^6.2.0",
"commander": "^7.2.0",
"gzip-size": "^6.0.0",

@@ -49,21 +48,20 @@ "lodash": "^4.17.20",

"devDependencies": {
"@babel/core": "7.12.3",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-proposal-decorators": "7.12.1",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/preset-env": "7.12.1",
"@babel/preset-react": "7.12.5",
"@babel/register": "7.12.1",
"@babel/runtime": "7.12.5",
"@babel/core": "7.14.3",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-decorators": "7.14.2",
"@babel/plugin-transform-runtime": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@babel/runtime": "7.14.0",
"@carrotsearch/foamtree": "3.5.0",
"autoprefixer": "10.0.1",
"autoprefixer": "10.2.5",
"babel-eslint": "10.1.0",
"babel-loader": "8.1.0",
"babel-loader": "8.2.2",
"babel-plugin-lodash": "3.3.4",
"chai": "4.2.0",
"chai": "4.3.4",
"chai-subset": "1.6.0",
"classnames": "2.2.6",
"core-js": "3.6.5",
"css-loader": "5.0.1",
"cssnano": "4.1.10",
"classnames": "2.3.1",
"core-js": "3.12.1",
"css-loader": "5.2.5",
"cssnano": "5.0.4",
"del": "6.0.0",

@@ -73,23 +71,22 @@ "eslint": "5.16.0",

"eslint-config-th0r-react": "2.0.1",
"eslint-plugin-react": "7.21.5",
"exports-loader": "1.1.1",
"filesize": "^6.1.0",
"globby": "11.0.1",
"eslint-plugin-react": "7.23.2",
"filesize": "^6.3.0",
"globby": "11.0.3",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"jest": "27.2.2",
"mobx": "5.15.7",
"mobx-react": "6.3.1",
"mocha": "8.2.1",
"nightmare": "3.0.2",
"postcss": "8.2.10",
"postcss": "8.3.0",
"postcss-icss-values": "2.0.2",
"postcss-loader": "4.0.4",
"preact": "10.5.5",
"postcss-loader": "5.3.0",
"preact": "10.5.13",
"puppeteer": "10.4.0",
"stream-combiner2": "1.1.1",
"style-loader": "2.0.0",
"terser-webpack-plugin": "5.0.3",
"terser-webpack-plugin": "5.1.2",
"url-loader": "4.1.1",
"webpack": "5.4.0",
"webpack": "5.37.1",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0"
"webpack-dev-server": "3.11.2"
},

@@ -96,0 +93,0 @@ "keywords": [

/*!
Copyright (c) 2017 Jed Watson.
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
2020 Jason Mulligan <jason.mulligan@avoidwork.com>
@version 6.3.0
*/

@@ -176,4 +176,4 @@ [![npm][npm]][npm-url]

```
Couldn't parse bundle asset "your_bundle_name.bundle.js".
Analyzer will use module sizes from stats file.
Error parsing bundle asset "your_bundle_name.bundle.js": no such file
No bundles were parsed. Analyzer will show only original module sizes from stats file.
```

@@ -180,0 +180,0 @@ To get more information about it you can read [issue #147](https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/147).

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

Sorry, the diff of this file is not supported yet

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