🚨 [security] Update webpack 4.46.0 → 5.95.0 (major) #688
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
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.46.0 → 5.95.0) · Repo
Security Advisories 🚨
🚨 Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSS
🚨 Cross-realm object access in Webpack 5
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 61 commits:
chore(release): 5.95.0
feat: added new `optimization.entryIife` option
fix: merge duplicate chunks after split chunks
fix(externals): distinguish “module” and “import” in “module-import”
fix(externals): distinguish “module” and “import” in “module-import”
fix: all tests cases
feat: pass output.hash* options to loader context
feat: pass `output.hash*` options to loader context
test: update
test
refactor: code
refactor: code
fix: use content hash as `[base]` and `[name]` for extracted DataURI's
test: fix
fix: use content hash as `[base]` and `[name]` for extracted DataURI's
snapshot
udpate tests
update pr
feat: add new optimization.entryIife config
chore(deps-dev): bump the dependencies group with 3 updates
chore(deps-dev): bump the dependencies group with 3 updates
test: css types
chore(deps-dev): bump the dependencies group across 1 directory with 4 updates
chore(deps-dev): bump the dependencies group across 1 directory with 4 updates
test: css types
Merge pull request #18758 from webpack/dependabot/npm_and_yarn/dependencies-212f0570c2
chore(deps-dev): bump husky in the dependencies group
fix: generate code correctly for dynamically importing the same file twice and destructuring
test: fix windows
fix: generate code correctly for dynamically importing the same file twice and destructuring
chore(deps-dev): bump @stylistic/eslint-plugin from 2.7.2 to 2.8.0 in the dependencies group across 1 directory
chore(deps-dev): bump @stylistic/eslint-plugin
fix: types for ts5.6
chore: fix yarn lock file
fix: types for ts5.6
fix: types for ts5.6
fix: add extra merge duplicates call after split chunks
chore(deps-dev): bump the dependencies group with 2 updates
chore(deps-dev): bump the dependencies group with 2 updates
chore(deps-dev): bump the dependencies group across 1 directory with 2 updates
fix: handle default for import context element dependency
refactor: decide processBlock by input block
chore(deps-dev): bump the dependencies group across 1 directory with 2 updates
fix: decide processBlock by input block
lint
fix: handle default for import context element dependency
revert: always add semicolon in concaten module and tweak
fix: make EnvironmentPlugin defaultValues types less strict
perf(buildChunkGraph): avoid unneeded re-visit
chore(deps-dev): bump the dependencies group across 1 directory with 10 updates
perf(buildChunkGraph): avoid unneeded re-visit
chore(deps-dev): bump the dependencies group across 1 directory with 10 updates
fix: add type hints
docs: update JSDoc types
fix: make EnvironmentPlugin defaultValues types less strict
fix: always add semicolon in concaten module and tweak
fix: ASI in concatenated module only when necessary
fix: ASI in concatenated module only when necessary
fix: hanging when attempting to read a symlink-like file that it can't read
test: fix
refactor: logic
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