-
-
Notifications
You must be signed in to change notification settings - Fork 504
Comparing changes
Open a pull request
base repository: webpack/webpack-bundle-analyzer
base: v4.10.2
head repository: webpack/webpack-bundle-analyzer
compare: v5.1.0
- 18 commits
- 50 files changed
- 9 contributors
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f8d4711 - Browse repository at this point
Copy the full SHA f8d4711View commit details
Commits on Feb 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b82e5fa - Browse repository at this point
Copy the full SHA b82e5faView commit details
Commits on Feb 20, 2025
-
Drop support for Node versions less than 16.20.2 (#650)
* Configure development node version to use v22.x * Configure node version in package.json to require latest node 16.x LTS * Update lockfiles after npm install with node v22.x * Update babel and webpack packages, dropping support for Node.js < v16 * Update CI to run with node LTS v16.x and higher Pin to older Ubuntu version in CI to avoid Puppeteer sandbox problem Always run tests to completion with all Node versions, even if one fails * Update tests and skip troublesome ones The expected report sizes match what Node.js v18.x and higher are returning. Node.js v16.x and lower have different gzip calculations. Update expected report size to match reality The troublesome skipped tests are likely those which have regressed in the past but the regression wasn't caused by Node.js support change. Testing Node.js v18.x on CI is skipped for now as tests hang there. * Mention Node.js support drop as a breaking change * Update test badges in README.md * Try running Node.js v18.x in CI * Revert "Try running Node.js v18.x in CI" This reverts commit 377aa2b. The test failure we are seeing in CI with Node.js v18.x is this: FAIL test/viewer.js (5.081 s) ● WebSocket server › should not crash when an error is emitted on the websocket connect ECONNREFUSED ::1:41847 ● WebSocket server › should not crash when an error is emitted on the websocket thrown: "Exceeded timeout of 5000 ms for a test while waiting for `done()` to be called. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." 9 | 10 | describe('WebSocket server', function () { > 11 | it('should not crash when an error is emitted on the websocket', function (done) { | ^ 12 | const bundleStats = { 13 | assets: [{name: 'bundle.js', chunks: [0]}] 14 | }; at it (test/viewer.js:11:3) at Object.describe (test/viewer.js:10:1) PASS test/Logger.js PASS test/statsUtils.js PASS test/utils.js PASS test/parseUtils.js PASS test/dev-server.js Test Suites: 1 failed, 7 passed, 8 total Tests: 1 failed, 4 skipped, 115 passed, 120 total Snapshots: 0 total Time: 18.536 s Ran all test suites. Jest did not exit one second after the test run has completed. 'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
Configuration menu - View commit details
-
Copy full SHA for 3a75999 - Browse repository at this point
Copy the full SHA 3a75999View commit details
Commits on Apr 2, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 6a8879f - Browse repository at this point
Copy the full SHA 6a8879fView commit details
Commits on May 21, 2025
-
feat: Brotli compression support (#663)
* Add Brotli support to README documentation-driven development For now, we accept potential inconsistencies between `compressionAlgorithm` and `defaultSizes`. Consolidating the compression API is left for a later major release. See discussions: * https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/432/files#r613949751 * https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/432/files#r614300494 * Add compressionAlgorithm option * Introduce sizeUtils helper * Implement Brotli compression * Add Brotli size support in viewer * Add changelog entry for Brotli support
Configuration menu - View commit details
-
Copy full SHA for 783ee10 - Browse repository at this point
Copy the full SHA 783ee10View commit details
Commits on May 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 544a669 - Browse repository at this point
Copy the full SHA 544a669View commit details
Commits on Jul 10, 2025
-
fix: allow react native bundle files (#666)
* fix: allow react native bundle files * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 5d37dc3 - Browse repository at this point
Copy the full SHA 5d37dc3View commit details
Commits on Aug 1, 2025
-
allow to catch parsing errors (#667)
* allow to catch parsing errors Now you can see: ``` Error parsing bundle asset "/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/dist/public/index.mjs": Cannot read properties of undefined (reading 'arguments') { cause: TypeError: Cannot read properties of undefined (reading 'arguments') at getModulesLocations (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/webpack-bundle-analyzer/lib/parseUtils.js:254:24) at Object.ExpressionStatement (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/webpack-bundle-analyzer/lib/parseUtils.js:44:35) at c (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:58:37) at Object.skipThrough (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:186:39) at c (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:58:37) at base.Program.base.BlockStatement.base.StaticBlock (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:198:7) at c (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:58:37) at Object.recursive (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/acorn-walk/dist/walk.js:59:7) at parseBundle (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/webpack-bundle-analyzer/lib/parseUtils.js:26:8) at Object.getViewerData (/home/alexander-akait/IdeaProjects/webpack-bundle-analyzer-reproducer-409/node_modules/webpack-bundle-analyzer/lib/analyzer.js:87:22) } ``` Useful for #409 (comment) * Fix lint --------- Co-authored-by: Vesa Laakso <[email protected]>Configuration menu - View commit details
-
Copy full SHA for f5af532 - Browse repository at this point
Copy the full SHA f5af532View commit details
Commits on Oct 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 8e9d5a0 - Browse repository at this point
Copy the full SHA 8e9d5a0View commit details -
Merge pull request #674 from webpack/migrate
chore: migrate from contrib
Configuration menu - View commit details
-
Copy full SHA for 8755634 - Browse repository at this point
Copy the full SHA 8755634View commit details
Commits on Nov 7, 2025
-
Drop support for Node less than 20.9.0 (#676)
* Drop support for Node less than 20.9.0 * Update breaking change node.js release version
Configuration menu - View commit details
-
Copy full SHA for 18843c1 - Browse repository at this point
Copy the full SHA 18843c1View commit details
Commits on Nov 18, 2025
-
* Update jest to latest version: v29.8.0 -> v30.2.0 * Update puppeteer to latest version: v24.2.1 -> v24.30.0 * Add --openssl-legacy-provider also for local testing
Configuration menu - View commit details
-
Copy full SHA for aca6866 - Browse repository at this point
Copy the full SHA aca6866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42d71d8 - Browse repository at this point
Copy the full SHA 42d71d8View commit details
Commits on Nov 19, 2025
-
Restore @babel/plugin-transform-class-properties to fix HTML report (#…
…682) * Restore @babel/plugin-transform-class-properties to fix HTML report * Add changelog entry
Configuration menu - View commit details
-
Copy full SHA for 5fd88a6 - Browse repository at this point
Copy the full SHA 5fd88a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21caf9c - Browse repository at this point
Copy the full SHA 21caf9cView commit details
Commits on Nov 20, 2025
-
Fix: prevent TypeError when assets or modules are undefined in analyz…
…er (#679) * Fix: prevent TypeError when assets or modules are undefined in analyzer * Changelog: add entry for TypeError fix in analyzer.js (#679) * git commit --amend --author="Srushti <[email protected]>"Add real-world test scenarios for incomplete stats * Address review feedback: remove standalone test and add to existing analyzer.js * Add minimal stats generated with webpack-cli --stats=minimal * Fix: use minimal-stats/stats.json in test * fix: handle undefined chunks and modules in getBundleModules * chore: remove unintended files * fix: handle minimal stats and undefined chunks/modules * feat: handle undefined assets/modules in analyzer with minimal stats support * Restore back to original, minimal code change This is the same code as the first commit in this PR * Simplify test case to expect empty chart data --------- Co-authored-by: Vesa Laakso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c14975 - Browse repository at this point
Copy the full SHA 8c14975View commit details
Commits on Dec 9, 2025
-
Dark mode toggle implementation (#683)
* svg for theme toggle * feat: add dark mode state management and CSS variables * feat: add ThemeToggle component with moon/sun icons * feat: integrate ThemeToggle into sidebar with proper positioning * style: update component styles for dark mode compatibility * docs: update changelog with correct repository link - Fix PR link to point to webpack/webpack-bundle-analyzer - Add proper GitHub profile attribution @theEquinoxDev - Follow established changelog format consistency * Fix lint --------- Co-authored-by: Vesa Laakso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 492929c - Browse repository at this point
Copy the full SHA 492929cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc2ddb1 - Browse repository at this point
Copy the full SHA fc2ddb1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.10.2...v5.1.0