webpack-bundle-analyzer 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -14,6 +14,11 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
14
14
 
15
15
  <!-- Add changelog entries for new changes under this section -->
16
16
 
17
+ ## 3.4.1
18
+
19
+ * **Bug Fix**
20
+ * Fix regression of requiring an object to be passed to `new BundleAnalyzerPlugin()` (issue [#300](https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/300), fixed in [#302](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/302) by [@jerryOnlyZRJ](https://github.com/jerryOnlyZRJ))
21
+
17
22
  ## 3.4.0
18
23
 
19
24
  * **Improvements**
@@ -25,7 +25,7 @@ const Logger = require('./Logger');
25
25
  const viewer = require('./viewer');
26
26
 
27
27
  class BundleAnalyzerPlugin {
28
- constructor(opts) {
28
+ constructor(opts = {}) {
29
29
  this.opts = _objectSpread({
30
30
  analyzerMode: 'server',
31
31
  analyzerHost: '127.0.0.1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack-bundle-analyzer",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap",
5
5
  "author": "Yury Grunin <grunin.ya@ya.ru>",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@ const viewer = require('./viewer');
8
8
 
9
9
  class BundleAnalyzerPlugin {
10
10
 
11
- constructor(opts) {
11
+ constructor(opts = {}) {
12
12
  this.opts = {
13
13
  analyzerMode: 'server',
14
14
  analyzerHost: '127.0.0.1',