Skip to content

Commit a51b85f

Browse files
committed
build: update all non-major dependencies
Closes #30260 as a pr takeover (cherry picked from commit d354381)
1 parent e513cd4 commit a51b85f

File tree

6 files changed

+96
-76
lines changed

6 files changed

+96
-76
lines changed

WORKSPACE

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ rules_js_register_toolchains(
110110

111111
http_archive(
112112
name = "aspect_bazel_lib",
113-
sha256 = "2be8a5df0b20b0ed37604b050da01dbf7ad45ad44768c0d478b64779b9f58412",
114-
strip_prefix = "bazel-lib-2.15.3",
115-
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.15.3/bazel-lib-v2.15.3.tar.gz",
113+
sha256 = "fc8fe1be58ae39f84a8613d554534760c7f0819d407afcc98bbcbd990523bfed",
114+
strip_prefix = "bazel-lib-2.16.0",
115+
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.16.0/bazel-lib-v2.16.0.tar.gz",
116116
)
117117

118118
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

packages/angular_devkit/build_angular/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@babel/plugin-transform-async-generator-functions": "7.27.1",
1919
"@babel/plugin-transform-async-to-generator": "7.27.1",
2020
"@babel/plugin-transform-runtime": "7.27.1",
21-
"@babel/preset-env": "7.27.1",
21+
"@babel/preset-env": "7.27.2",
2222
"@babel/runtime": "7.27.1",
2323
"@discoveryjs/json-ext": "0.6.3",
2424
"@ngtools/webpack": "workspace:0.0.0-PLACEHOLDER",
@@ -56,7 +56,7 @@
5656
"terser": "5.39.0",
5757
"tree-kill": "1.2.2",
5858
"tslib": "2.8.1",
59-
"webpack": "5.99.7",
59+
"webpack": "5.99.8",
6060
"webpack-dev-middleware": "7.4.2",
6161
"webpack-dev-server": "5.2.1",
6262
"webpack-merge": "6.0.1",

packages/angular_devkit/build_webpack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"devDependencies": {
2323
"@angular-devkit/core": "workspace:0.0.0-PLACEHOLDER",
2424
"@ngtools/webpack": "workspace:0.0.0-PLACEHOLDER",
25-
"webpack": "5.99.7",
25+
"webpack": "5.99.8",
2626
"webpack-dev-server": "5.2.1"
2727
},
2828
"peerDependencies": {

packages/ngtools/webpack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"@angular/compiler": "20.0.0-next.9",
3131
"@angular/compiler-cli": "20.0.0-next.9",
3232
"typescript": "5.8.3",
33-
"webpack": "5.99.7"
33+
"webpack": "5.99.8"
3434
}
3535
}

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import * as path from 'node:path';
1010
import type { LoaderContext } from 'webpack';
1111
import { AngularPluginSymbol, FileEmitterCollection } from './symbol';
1212

13+
type SourceMap = NonNullable<
14+
Exclude<Parameters<LoaderContext<unknown>['callback']>[2], string | undefined>
15+
>;
16+
1317
const JS_FILE_REGEXP = /\.[cm]?js$/;
1418

1519
export function angularWebpackLoader(
@@ -59,13 +63,10 @@ export function angularWebpackLoader(
5963
result.dependencies.forEach((dependency) => this.addDependency(dependency));
6064

6165
let resultContent = result.content || '';
62-
let resultMap;
66+
let resultMap: SourceMap | undefined;
6367
if (result.map) {
6468
resultContent = resultContent.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm, '');
65-
resultMap = JSON.parse(result.map) as Exclude<
66-
Parameters<typeof callback>[2],
67-
string | undefined
68-
>;
69+
resultMap = JSON.parse(result.map) as SourceMap;
6970
resultMap.sources = resultMap.sources.map((source: string) =>
7071
path.join(path.dirname(this.resourcePath), source),
7172
);

0 commit comments

Comments
 (0)