Skip to content

Commit

Permalink
build: update webpack to 5.94.0
Browse files Browse the repository at this point in the history
Closes #28292
  • Loading branch information
alan-agius4 committed Aug 28, 2024
1 parent 5e030b8 commit 82b7608
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"verdaccio-auth-memory": "^10.0.0",
"vite": "5.4.0",
"watchpack": "2.4.1",
"webpack": "5.93.0",
"webpack": "5.94.0",
"webpack-dev-middleware": "7.3.0",
"webpack-dev-server": "5.0.4",
"webpack-merge": "6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"tslib": "2.6.3",
"vite": "5.4.0",
"watchpack": "2.4.1",
"webpack": "5.93.0",
"webpack": "5.94.0",
"webpack-dev-middleware": "7.3.0",
"webpack-dev-server": "5.0.4",
"webpack-merge": "6.0.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/ngtools/webpack/src/ivy/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ export class AngularWebpackPlugin {
compilationFileEmitters.set(compilation, fileEmitters);
compilation.compiler.webpack.NormalModule.getCompilationHooks(compilation).loader.tap(
PLUGIN_NAME,
(loaderContext: { [AngularPluginSymbol]?: FileEmitterCollection }) => {
(context) => {
const loaderContext = context as typeof context & {
[AngularPluginSymbol]?: FileEmitterCollection;
};

loaderContext[AngularPluginSymbol] = fileEmitters;
},
);
Expand Down
42 changes: 39 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ __metadata:
undici: "npm:6.19.7"
vite: "npm:5.4.0"
watchpack: "npm:2.4.1"
webpack: "npm:5.93.0"
webpack: "npm:5.94.0"
webpack-dev-middleware: "npm:7.3.0"
webpack-dev-server: "npm:5.0.4"
webpack-merge: "npm:6.0.1"
Expand Down Expand Up @@ -807,7 +807,7 @@ __metadata:
verdaccio-auth-memory: "npm:^10.0.0"
vite: "npm:5.4.0"
watchpack: "npm:2.4.1"
webpack: "npm:5.93.0"
webpack: "npm:5.94.0"
webpack-dev-middleware: "npm:7.3.0"
webpack-dev-server: "npm:5.0.4"
webpack-merge: "npm:6.0.1"
Expand Down Expand Up @@ -8644,7 +8644,7 @@ __metadata:
languageName: node
linkType: hard

"enhanced-resolve@npm:^5.17.0":
"enhanced-resolve@npm:^5.17.0, enhanced-resolve@npm:^5.17.1":
version: 5.17.1
resolution: "enhanced-resolve@npm:5.17.1"
dependencies:
Expand Down Expand Up @@ -17932,6 +17932,42 @@ __metadata:
languageName: node
linkType: hard

"webpack@npm:5.94.0":
version: 5.94.0
resolution: "webpack@npm:5.94.0"
dependencies:
"@types/estree": "npm:^1.0.5"
"@webassemblyjs/ast": "npm:^1.12.1"
"@webassemblyjs/wasm-edit": "npm:^1.12.1"
"@webassemblyjs/wasm-parser": "npm:^1.12.1"
acorn: "npm:^8.7.1"
acorn-import-attributes: "npm:^1.9.5"
browserslist: "npm:^4.21.10"
chrome-trace-event: "npm:^1.0.2"
enhanced-resolve: "npm:^5.17.1"
es-module-lexer: "npm:^1.2.1"
eslint-scope: "npm:5.1.1"
events: "npm:^3.2.0"
glob-to-regexp: "npm:^0.4.1"
graceful-fs: "npm:^4.2.11"
json-parse-even-better-errors: "npm:^2.3.1"
loader-runner: "npm:^4.2.0"
mime-types: "npm:^2.1.27"
neo-async: "npm:^2.6.2"
schema-utils: "npm:^3.2.0"
tapable: "npm:^2.1.1"
terser-webpack-plugin: "npm:^5.3.10"
watchpack: "npm:^2.4.1"
webpack-sources: "npm:^3.2.3"
peerDependenciesMeta:
webpack-cli:
optional: true
bin:
webpack: bin/webpack.js
checksum: 10c0/b4d1b751f634079bd177a89eef84d80fa5bb8d6fc15d72ab40fc2b9ca5167a79b56585e1a849e9e27e259803ee5c4365cb719e54af70a43c06358ec268ff4ebf
languageName: node
linkType: hard

"websocket-driver@npm:>=0.5.1, websocket-driver@npm:^0.7.4":
version: 0.7.4
resolution: "websocket-driver@npm:0.7.4"
Expand Down

0 comments on commit 82b7608

Please sign in to comment.