-
Notifications
You must be signed in to change notification settings - Fork 5.5k
chore: update webpack and related deps #39055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
davidmurdoch
wants to merge
8
commits into
main
Choose a base branch
from
update-webpack-5.104.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+128
−150
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c650f1d
chore: update webpack
davidmurdoch 0363e29
more
davidmurdoch 95b9761
Merge branch 'main' into update-webpack-5.104.1
davidmurdoch dc234ff
update lavamoat
davidmurdoch ee1ab0f
update lavamoat things
davidmurdoch 362a585
sad day
davidmurdoch 2c45442
Update LavaMoat policies
metamaskbot 9779cd4
Merge branch 'main' into update-webpack-5.104.1
davidmurdoch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1052,7 +1052,7 @@ | |
| }, | ||
| "@babel/eslint-parser>@nicolo-ribaudo/eslint-scope-5-internals": { | ||
| "packages": { | ||
| "webpack>eslint-scope": true | ||
| "@babel/eslint-parser>@nicolo-ribaudo/eslint-scope-5-internals>eslint-scope": true | ||
| } | ||
| }, | ||
| "@noble/hashes": { | ||
|
|
@@ -1159,13 +1159,11 @@ | |
| }, | ||
| "packages": { | ||
| "@typescript-eslint/parser>@typescript-eslint/scope-manager": true, | ||
| "eslint-plugin-jest>@typescript-eslint/experimental-utils>@typescript-eslint/types": true, | ||
| "@typescript-eslint/parser>@typescript-eslint/types": true, | ||
| "eslint": true, | ||
| "eslint>eslint-scope": true, | ||
| "webpack>eslint-scope": true, | ||
| "eslint-plugin-jest>@typescript-eslint/experimental-utils>eslint-utils": true, | ||
| "eslint>eslint-utils": true | ||
| "eslint-plugin-jest>@typescript-eslint/experimental-utils>eslint-utils": true | ||
| } | ||
| }, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>@typescript-eslint/scope-manager": { | ||
|
|
@@ -1198,7 +1196,6 @@ | |
| "@typescript-eslint/utils": true, | ||
| "eslint": true, | ||
| "webpack>eslint-scope": true, | ||
| "eslint>eslint-utils": true, | ||
| "eslint-plugin-mocha>eslint-utils": true | ||
| } | ||
| }, | ||
|
|
@@ -1216,15 +1213,13 @@ | |
| "eslint>@eslint-community": true, | ||
| "@typescript-eslint/parser>@typescript-eslint/scope-manager": true, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>@typescript-eslint/scope-manager": true, | ||
| "eslint-plugin-jest>@typescript-eslint/experimental-utils>@typescript-eslint/types": true, | ||
| "@typescript-eslint/parser>@typescript-eslint/types": true, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>@typescript-eslint/types": true, | ||
| "@typescript-eslint/parser>@typescript-eslint": true, | ||
| "eslint": true, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>eslint-scope": true, | ||
| "eslint>eslint-scope": true, | ||
| "webpack>eslint-scope": true, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>webpack>eslint-scope": true, | ||
| "eslint>eslint-utils": true, | ||
| "eslint-plugin-mocha>eslint-utils": true, | ||
| "semver": true | ||
| } | ||
|
|
@@ -1620,7 +1615,7 @@ | |
| "globals": { | ||
| "console.log": true, | ||
| "console.warn": true, | ||
| "process.exit": true | ||
| "process": true | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. concerning? 🤔 |
||
| } | ||
| }, | ||
| "bify-module-groups": { | ||
|
|
@@ -1768,6 +1763,8 @@ | |
| "path.resolve": true | ||
| }, | ||
| "globals": { | ||
| "console.info": true, | ||
| "console.trace": true, | ||
| "console.warn": true, | ||
| "process.env": true, | ||
| "process.versions.node": true | ||
|
|
@@ -2960,6 +2957,24 @@ | |
| "process.env.NODE_ENV": true | ||
| } | ||
| }, | ||
| "@babel/eslint-parser>@nicolo-ribaudo/eslint-scope-5-internals>eslint-scope": { | ||
| "builtin": { | ||
| "assert": true | ||
| }, | ||
| "packages": { | ||
| "eslint>eslint-scope>esrecurse": true, | ||
| "@babel/eslint-parser>@nicolo-ribaudo/eslint-scope-5-internals>eslint-scope>estraverse": true | ||
| } | ||
| }, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>eslint-scope": { | ||
| "builtin": { | ||
| "assert": true | ||
| }, | ||
| "packages": { | ||
| "eslint>eslint-scope>esrecurse": true, | ||
| "eslint-plugin-jest>@typescript-eslint/utils>eslint-scope>estraverse": true | ||
| } | ||
| }, | ||
| "eslint>eslint-scope": { | ||
| "builtin": { | ||
| "assert": true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removal of experiments.layers may break LavaMoat layer isolation
High Severity
The line
compiler.options.experiments.layers = truewas removed, but the plugin still uses webpack's layer functionality viaissuerLayer: 'unsafe'andentryData.options.layer. Webpack's layers feature requiresexperiments.layersto be enabled. If not enabled by default in webpack 5.104.1, this would cause the unsafe layer isolation to silently fail—security-sensitive entries (scripts/inpage.js,bootstrap,service-worker.ts) that should run outside LavaMoat protection may not be properly isolated. This could be a silent security regression.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its default in webpack now