Skip to content

Commit 1a2d4c1

Browse files
author
Angular Builds
committed
88501f3 fix(@angular-devkit/build-angular): upgrade webpack to 5.94.0
1 parent 3cdb273 commit 1a2d4c1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "17.3.8+sha-78bd6da",
3+
"version": "17.3.8+sha-88501f3",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#78bd6da",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#78bd6da",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#78bd6da",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#88501f3",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#88501f3",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#88501f3",
1313
"@babel/core": "7.24.0",
1414
"@babel/generator": "7.23.6",
1515
"@babel/helper-annotate-as-pure": "7.22.5",
@@ -20,7 +20,7 @@
2020
"@babel/preset-env": "7.24.0",
2121
"@babel/runtime": "7.24.0",
2222
"@discoveryjs/json-ext": "0.5.7",
23-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#78bd6da",
23+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#88501f3",
2424
"@vitejs/plugin-basic-ssl": "1.1.0",
2525
"ansi-colors": "4.1.3",
2626
"autoprefixer": "10.4.18",
@@ -64,7 +64,7 @@
6464
"undici": "6.11.1",
6565
"vite": "5.1.7",
6666
"watchpack": "2.4.0",
67-
"webpack": "5.90.3",
67+
"webpack": "5.94.0",
6868
"webpack-dev-middleware": "6.1.2",
6969
"webpack-dev-server": "4.15.1",
7070
"webpack-merge": "5.10.0",

src/tools/webpack/plugins/builder-watch-plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class BuilderWatchFileSystem {
5151
const directoryChanges = new Set();
5252
const missingChanges = new Set();
5353
for (const event of events) {
54-
this.inputFileSystem.purge?.(event.path);
54+
this.inputFileSystem?.purge?.(event.path);
5555
if (event.type === 'deleted') {
5656
timeInfo.delete(event.path);
5757
removals.add(event.path);
@@ -70,7 +70,7 @@ class BuilderWatchFileSystem {
7070
}
7171
}
7272
const timeInfoMap = new Map(timeInfo);
73-
callback(undefined, timeInfoMap, timeInfoMap, new Set([...fileChanges, ...directoryChanges, ...missingChanges]), removals);
73+
callback(null, timeInfoMap, timeInfoMap, new Set([...fileChanges, ...directoryChanges, ...missingChanges]), removals);
7474
});
7575
});
7676
return {

src/tools/webpack/plugins/styles-webpack-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class StylesWebpackPlugin {
3434
preferRelative: true,
3535
useSyncFileSystemCalls: true,
3636
symlinks: !preserveSymlinks,
37-
fileSystem: compiler.inputFileSystem,
37+
fileSystem: compiler.inputFileSystem ?? undefined,
3838
});
3939
const webpackOptions = compiler.options;
4040
compiler.hooks.environment.tap(PLUGIN_NAME, () => {

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Wed May 22 2024 17:07:09 GMT+0000 (Coordinated Universal Time)
1+
Thu Aug 29 2024 17:01:30 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)