Skip to content

Commit 0b8f53b

Browse files
alan-agius4clydin
authored andcommitted
build: update all non-major dependencies
1 parent d05f78b commit 0b8f53b

File tree

10 files changed

+827
-158
lines changed

10 files changed

+827
-158
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Initialize environment
4545
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@8af6b55a8b31cd9e632823cf8f2dd1e89caa6f4f
4646
- name: Setup ESLint Caching
47-
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
47+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
4848
with:
4949
path: .eslintcache
5050
key: ${{ runner.os }}-${{ hashFiles('.eslintrc.json') }}

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@
6868
"@angular/platform-server": "18.0.0-next.1",
6969
"@angular/router": "18.0.0-next.1",
7070
"@angular/service-worker": "18.0.0-next.1",
71-
"@babel/core": "7.24.0",
72-
"@babel/generator": "7.23.6",
71+
"@babel/core": "7.24.3",
72+
"@babel/generator": "7.24.1",
7373
"@babel/helper-annotate-as-pure": "7.22.5",
7474
"@babel/helper-split-export-declaration": "7.22.6",
75-
"@babel/plugin-transform-async-generator-functions": "7.23.9",
76-
"@babel/plugin-transform-async-to-generator": "7.23.3",
77-
"@babel/plugin-transform-runtime": "7.24.0",
78-
"@babel/preset-env": "7.24.0",
79-
"@babel/runtime": "7.24.0",
75+
"@babel/plugin-transform-async-generator-functions": "7.24.3",
76+
"@babel/plugin-transform-async-to-generator": "7.24.1",
77+
"@babel/plugin-transform-runtime": "7.24.3",
78+
"@babel/preset-env": "7.24.3",
79+
"@babel/runtime": "7.24.1",
8080
"@bazel/bazelisk": "1.19.0",
8181
"@bazel/buildifier": "6.4.0",
8282
"@bazel/concatjs": "5.8.1",
@@ -112,8 +112,8 @@
112112
"@types/yargs": "^17.0.20",
113113
"@types/yargs-parser": "^21.0.0",
114114
"@types/yarnpkg__lockfile": "^1.1.5",
115-
"@typescript-eslint/eslint-plugin": "7.2.0",
116-
"@typescript-eslint/parser": "7.2.0",
115+
"@typescript-eslint/eslint-plugin": "7.3.1",
116+
"@typescript-eslint/parser": "7.3.1",
117117
"@vitejs/plugin-basic-ssl": "1.1.0",
118118
"@web/test-runner": "^0.18.0",
119119
"@yarnpkg/lockfile": "1.1.0",
@@ -138,7 +138,7 @@
138138
"eslint-config-prettier": "9.1.0",
139139
"eslint-plugin-header": "3.1.1",
140140
"eslint-plugin-import": "2.29.1",
141-
"express": "4.18.3",
141+
"express": "4.19.0",
142142
"fast-glob": "3.3.2",
143143
"http-proxy": "^1.18.1",
144144
"http-proxy-middleware": "2.0.6",
@@ -166,7 +166,7 @@
166166
"magic-string": "0.30.8",
167167
"mini-css-extract-plugin": "2.8.1",
168168
"mrmime": "2.0.0",
169-
"ng-packagr": "18.0.0-next.0",
169+
"ng-packagr": "18.0.0-next.1",
170170
"npm": "^8.11.0",
171171
"npm-package-arg": "11.0.1",
172172
"open": "8.4.2",
@@ -177,12 +177,12 @@
177177
"picomatch": "4.0.1",
178178
"piscina": "4.4.0",
179179
"popper.js": "^1.14.1",
180-
"postcss": "8.4.35",
180+
"postcss": "8.4.37",
181181
"postcss-loader": "8.1.1",
182182
"prettier": "^3.0.0",
183183
"protractor": "~7.0.0",
184184
"puppeteer": "18.2.1",
185-
"quicktype-core": "23.0.106",
185+
"quicktype-core": "23.0.107",
186186
"resolve-url-loader": "5.0.0",
187187
"rollup": "~4.13.0",
188188
"rollup-plugin-sourcemaps": "^0.6.0",
@@ -206,11 +206,11 @@
206206
"undici": "6.9.0",
207207
"verdaccio": "5.29.2",
208208
"verdaccio-auth-memory": "^10.0.0",
209-
"vite": "5.1.6",
209+
"vite": "5.2.2",
210210
"watchpack": "2.4.1",
211-
"webpack": "5.90.3",
212-
"webpack-dev-middleware": "7.0.0",
213-
"webpack-dev-server": "5.0.3",
211+
"webpack": "5.91.0",
212+
"webpack-dev-middleware": "7.1.1",
213+
"webpack-dev-server": "5.0.4",
214214
"webpack-merge": "5.10.0",
215215
"webpack-subresource-integrity": "5.1.0",
216216
"yargs": "17.7.2",

packages/angular_devkit/build_angular/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
"@angular-devkit/architect": "0.0.0-EXPERIMENTAL-PLACEHOLDER",
1111
"@angular-devkit/build-webpack": "0.0.0-EXPERIMENTAL-PLACEHOLDER",
1212
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
13-
"@babel/core": "7.24.0",
14-
"@babel/generator": "7.23.6",
13+
"@babel/core": "7.24.3",
14+
"@babel/generator": "7.24.1",
1515
"@babel/helper-annotate-as-pure": "7.22.5",
1616
"@babel/helper-split-export-declaration": "7.22.6",
17-
"@babel/plugin-transform-async-generator-functions": "7.23.9",
18-
"@babel/plugin-transform-async-to-generator": "7.23.3",
19-
"@babel/plugin-transform-runtime": "7.24.0",
20-
"@babel/preset-env": "7.24.0",
21-
"@babel/runtime": "7.24.0",
17+
"@babel/plugin-transform-async-generator-functions": "7.24.3",
18+
"@babel/plugin-transform-async-to-generator": "7.24.1",
19+
"@babel/plugin-transform-runtime": "7.24.3",
20+
"@babel/preset-env": "7.24.3",
21+
"@babel/runtime": "7.24.1",
2222
"@discoveryjs/json-ext": "0.5.7",
2323
"@ngtools/webpack": "0.0.0-PLACEHOLDER",
2424
"@vitejs/plugin-basic-ssl": "1.1.0",
@@ -49,7 +49,7 @@
4949
"parse5-html-rewriting-stream": "7.0.0",
5050
"picomatch": "4.0.1",
5151
"piscina": "4.4.0",
52-
"postcss": "8.4.35",
52+
"postcss": "8.4.37",
5353
"postcss-loader": "8.1.1",
5454
"resolve-url-loader": "5.0.0",
5555
"rxjs": "7.8.1",
@@ -62,11 +62,11 @@
6262
"tree-kill": "1.2.2",
6363
"tslib": "2.6.2",
6464
"undici": "6.9.0",
65-
"vite": "5.1.6",
65+
"vite": "5.2.2",
6666
"watchpack": "2.4.1",
67-
"webpack": "5.90.3",
68-
"webpack-dev-middleware": "7.0.0",
69-
"webpack-dev-server": "5.0.3",
67+
"webpack": "5.91.0",
68+
"webpack-dev-middleware": "7.1.1",
69+
"webpack-dev-server": "5.0.4",
7070
"webpack-merge": "5.10.0",
7171
"webpack-subresource-integrity": "5.1.0"
7272
},

packages/angular_devkit/build_angular/src/tools/webpack/plugins/builder-watch-plugin.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class TimeInfoMap extends Map<string, { safeTime: number; timestamp: number }> {
3636
}
3737

3838
// Extract watch related types from the Webpack compiler type since they are not directly exported
39-
type WebpackWatchFileSystem = Compiler['watchFileSystem'];
39+
type WebpackWatchFileSystem = NonNullable<Compiler['watchFileSystem']>;
4040
type WatchOptions = Parameters<WebpackWatchFileSystem['watch']>[4];
4141
type WatchCallback = Parameters<WebpackWatchFileSystem['watch']>[5];
4242

@@ -83,7 +83,7 @@ class BuilderWatchFileSystem implements WebpackWatchFileSystem {
8383
const missingChanges = new Set<string>();
8484

8585
for (const event of events) {
86-
this.inputFileSystem.purge?.(event.path);
86+
this.inputFileSystem?.purge?.(event.path);
8787

8888
if (event.type === 'deleted') {
8989
timeInfo.delete(event.path);
@@ -103,7 +103,7 @@ class BuilderWatchFileSystem implements WebpackWatchFileSystem {
103103
const timeInfoMap = new Map(timeInfo);
104104

105105
callback(
106-
undefined,
106+
null,
107107
timeInfoMap,
108108
timeInfoMap,
109109
new Set([...fileChanges, ...directoryChanges, ...missingChanges]),

packages/angular_devkit/build_angular/src/tools/webpack/plugins/common-js-usage-warn-plugin.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,21 @@ export class CommonJsUsageWarnPlugin {
140140
}
141141
}
142142

143-
function getIssuer(compilation: Compilation, module: Module | null): Module | null {
143+
function getIssuer(
144+
compilation: Compilation,
145+
module: Module | null | undefined,
146+
): Module | null | undefined {
144147
if (!module) {
145148
return null;
146149
}
147150

148151
return compilation.moduleGraph.getIssuer(module);
149152
}
150153

151-
function getWebpackModule(compilation: Compilation, dependency: Dependency | null): Module | null {
154+
function getWebpackModule(
155+
compilation: Compilation,
156+
dependency: Dependency | null,
157+
): Module | null | undefined {
152158
if (!dependency) {
153159
return null;
154160
}

packages/angular_devkit/build_angular/src/tools/webpack/plugins/styles-webpack-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class StylesWebpackPlugin {
3737
preferRelative: true,
3838
useSyncFileSystemCalls: true,
3939
symlinks: !preserveSymlinks,
40-
fileSystem: compiler.inputFileSystem,
40+
fileSystem: compiler.inputFileSystem ?? undefined,
4141
});
4242

4343
const webpackOptions = compiler.options;

packages/angular_devkit/build_webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"devDependencies": {
2323
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
24-
"webpack": "5.90.3"
24+
"webpack": "5.91.0"
2525
},
2626
"peerDependencies": {
2727
"webpack": "^5.30.0",

packages/ngtools/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"@angular/compiler": "18.0.0-next.1",
3232
"@angular/compiler-cli": "18.0.0-next.1",
3333
"typescript": "5.4.2",
34-
"webpack": "5.90.3"
34+
"webpack": "5.91.0"
3535
}
3636
}

packages/ngtools/webpack/src/ivy/system.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import * as ts from 'typescript';
1010
import { Compiler } from 'webpack';
1111
import { externalizePath } from './paths';
1212

13-
export type InputFileSystem = Compiler['inputFileSystem'];
13+
export type InputFileSystem = NonNullable<Compiler['inputFileSystem']>;
1414
export interface InputFileSystemSync extends InputFileSystem {
15-
readFileSync(path: string): Buffer;
16-
statSync(path: string): { size: number; mtime: Date; isDirectory(): boolean; isFile(): boolean };
15+
readFileSync: NonNullable<InputFileSystem['readFileSync']>;
16+
statSync: NonNullable<InputFileSystem['statSync']>;
1717
}
1818

1919
function shouldNotWrite(): never {

0 commit comments

Comments
 (0)