webpack-bundle-analyzer
Advanced tools
Comparing version 3.5.2 to 3.6.0
@@ -17,2 +17,6 @@ # Changelog | ||
* **Improvement** | ||
* Support webpack builds where `output.globalObject` is set to `'self'` ([#323](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/323) by [@lemonmade](https://github.com/lemonmade)) | ||
* Improve readability of tooltips ([#320](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/320) by [@lorenzos](https://github.com/lorenzos)) | ||
## 3.5.2 | ||
@@ -19,0 +23,0 @@ |
@@ -132,3 +132,4 @@ "use strict"; | ||
} = node; | ||
return callee.type === 'MemberExpression' && callee.property.name === 'push' && callee.object.type === 'AssignmentExpression' && callee.object.left.object && (callee.object.left.object.name === 'window' || // Webpack 4 uses `this` instead of `window` | ||
return callee.type === 'MemberExpression' && callee.property.name === 'push' && callee.object.type === 'AssignmentExpression' && callee.object.left.object && (callee.object.left.object.name === 'window' || // `self` is a common output.globalObject value used to support both workers and browsers | ||
callee.object.left.object.name === 'self' || // Webpack 4 uses `this` instead of `window` | ||
callee.object.left.object.type === 'ThisExpression') && args.length === 1 && args[0].type === 'ArrayExpression' && mayBeAsyncChunkArguments(args[0].elements) && isModulesList(args[0].elements[1]); | ||
@@ -135,0 +136,0 @@ } |
{ | ||
"name": "webpack-bundle-analyzer", | ||
"version": "3.5.2", | ||
"version": "3.6.0", | ||
"description": "Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap", | ||
@@ -5,0 +5,0 @@ "author": "Yury Grunin <grunin.ya@ya.ru>", |
@@ -188,2 +188,4 @@ const fs = require('fs'); | ||
callee.object.left.object.name === 'window' || | ||
// `self` is a common output.globalObject value used to support both workers and browsers | ||
callee.object.left.object.name === 'self' || | ||
// Webpack 4 uses `this` instead of `window` | ||
@@ -190,0 +192,0 @@ callee.object.left.object.type === 'ThisExpression' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1191269
3284