Fix bug where a missing semicolon in generated bundle output for publicPathRuntime would cause concatenated runtime errors by @snitin315 in #16811
Remove redundant semicolons generated in bundle runtime code after onScriptComplete function by @ahaoboy in #16347
Fix bug where RealContentHashPlugin was not respecting output.hashSalt's ability to cause a force recalculation of [contenthash] for emitted assets by @dmichon-msft#16789
Performance
Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by @TheLarkInn in #15722
Correct v8 deoptimization in ModuleGraph due to instance property declarations occurring outside of constructor by @snitin315 in #16830
Developer Experience
Improved internal typings to match webpack-sources typings for Source instances by @snitin315 in #16805
Update repo examples to include missing quotation by @snitin315 in #16812
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ webpack (^4.8.3 → ^5.76.2) · Repo
Release Notes
5.76.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 12 commits:
5.76.2
Merge pull request #16830 from snitin315/fix/module-graph
fix: initialize `this._cacheStage` in ModuleGraph constructor
Merge pull request #16805 from snitin315/fix/improve-source-types
Merge pull request #16811 from snitin315/fix/add-missing-semicolon
test: update StatsTestCases snapshots
fix: add missing semicolon in `AutoPublicPathRuntimeModule`
Merge pull request #15722 from webpack/feat/issue-15720
Merge pull request #16347 from ahaoboy/main
docs: fix typo in examples
docs: update examples
fix: improve types for `webpack-sources`
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands