Skip to content

Commit 1011f31

Browse files
alan-agius4clydin
authored andcommitted
build: update all non-major dependencies
1 parent b654956 commit 1011f31

File tree

11 files changed

+50
-28
lines changed

11 files changed

+50
-28
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"http-proxy": "^1.18.1",
149149
"http-proxy-middleware": "2.0.6",
150150
"https-proxy-agent": "7.0.2",
151-
"husky": "9.0.9",
151+
"husky": "9.0.10",
152152
"ini": "4.1.1",
153153
"inquirer": "9.2.13",
154154
"jasmine": "^5.0.0",
@@ -168,7 +168,7 @@
168168
"license-webpack-plugin": "4.0.2",
169169
"loader-utils": "3.2.1",
170170
"magic-string": "0.30.6",
171-
"mini-css-extract-plugin": "2.7.7",
171+
"mini-css-extract-plugin": "2.8.0",
172172
"mrmime": "2.0.0",
173173
"ng-packagr": "17.1.2",
174174
"npm": "^8.11.0",
@@ -212,7 +212,7 @@
212212
"verdaccio-auth-memory": "^10.0.0",
213213
"vite": "5.0.12",
214214
"watchpack": "2.4.0",
215-
"webpack": "5.90.0",
215+
"webpack": "5.90.1",
216216
"webpack-dev-middleware": "6.1.1",
217217
"webpack-dev-server": "4.15.1",
218218
"webpack-merge": "5.10.0",

packages/angular_devkit/build_angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"license-webpack-plugin": "4.0.2",
4343
"loader-utils": "3.2.1",
4444
"magic-string": "0.30.6",
45-
"mini-css-extract-plugin": "2.7.7",
45+
"mini-css-extract-plugin": "2.8.0",
4646
"mrmime": "2.0.0",
4747
"open": "8.4.2",
4848
"ora": "5.4.1",
@@ -64,7 +64,7 @@
6464
"undici": "6.6.0",
6565
"vite": "5.0.12",
6666
"watchpack": "2.4.0",
67-
"webpack": "5.90.0",
67+
"webpack": "5.90.1",
6868
"webpack-dev-middleware": "6.1.1",
6969
"webpack-dev-server": "4.15.1",
7070
"webpack-merge": "5.10.0",

packages/angular_devkit/build_angular/src/builders/browser/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ export function buildWebpackBrowser(
173173
logging:
174174
transforms.logging ||
175175
((stats, config) => {
176-
if (options.verbose) {
177-
context.logger.info(stats.toString(config.stats));
176+
if (options.verbose && config.stats !== false) {
177+
const statsOptions = config.stats === true ? undefined : config.stats;
178+
context.logger.info(stats.toString(statsOptions));
178179
}
179180
}),
180181
}).pipe(

packages/angular_devkit/build_angular/src/builders/browser/tests/options/named-chunks_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } from '../setup';
1111

1212
const MAIN_OUTPUT = 'dist/main.js';
1313
const NAMED_LAZY_OUTPUT = 'dist/src_lazy-module_ts.js';
14-
const UNNAMED_LAZY_OUTPUT = 'dist/631.js';
14+
const UNNAMED_LAZY_OUTPUT = 'dist/208.js';
1515

1616
describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
1717
describe('Option: "namedChunks"', () => {

packages/angular_devkit/build_angular/src/builders/server/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ export function execute(
7979
return runWebpack(config, context, {
8080
webpackFactory: require('webpack') as typeof webpack,
8181
logging: (stats, config) => {
82-
if (options.verbose) {
83-
context.logger.info(stats.toString(config.stats));
82+
if (options.verbose && config.stats !== false) {
83+
const statsOptions = config.stats === true ? undefined : config.stats;
84+
context.logger.info(stats.toString(statsOptions));
8485
}
8586
},
8687
}).pipe(

packages/angular_devkit/build_angular/src/tools/webpack/utils/stats.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,9 @@ export function createWebpackLoggingCallback(
542542
];
543543

544544
return (stats, config) => {
545-
if (verbose) {
546-
logger.info(stats.toString(config.stats));
545+
if (verbose && config.stats !== false) {
546+
const statsOptions = config.stats === true ? undefined : config.stats;
547+
logger.info(stats.toString(statsOptions));
547548
}
548549

549550
const rawStats = stats.toJson(getStatsOptions(false));

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.0"
24+
"webpack": "5.90.1"
2525
},
2626
"peerDependencies": {
2727
"webpack": "^5.30.0",

packages/angular_devkit/build_webpack/src/builders/webpack-dev-server/index.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,15 @@ export function runWebpackDevServer(
5858
return new WebpackDevServer(config, webpack);
5959
};
6060

61-
const log: WebpackLoggingCallback =
62-
options.logging || ((stats, config) => context.logger.info(stats.toString(config.stats)));
63-
64-
const shouldProvideStats = options.shouldProvideStats ?? true;
61+
const {
62+
logging: log = (stats, config) => {
63+
if (config.stats !== false) {
64+
const statsOptions = config.stats === true ? undefined : config.stats;
65+
context.logger.info(stats.toString(statsOptions));
66+
}
67+
},
68+
shouldProvideStats = true,
69+
} = options;
6570

6671
return createWebpack({ ...config, watch: false }).pipe(
6772
switchMap(

packages/angular_devkit/build_webpack/src/builders/webpack/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ export function runWebpack(
3838
} = {},
3939
): Observable<BuildResult> {
4040
const {
41-
logging: log = (stats, config) => context.logger.info(stats.toString(config.stats)),
41+
logging: log = (stats, config) => {
42+
if (config.stats !== false) {
43+
const statsOptions = config.stats === true ? undefined : config.stats;
44+
context.logger.info(stats.toString(statsOptions));
45+
}
46+
},
4247
shouldProvideStats = true,
4348
} = options;
49+
4450
const createWebpack = (c: webpack.Configuration) => {
4551
if (options.webpackFactory) {
4652
const result = options.webpackFactory(c);

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": "17.2.0-next.1",
3232
"@angular/compiler-cli": "17.2.0-next.1",
3333
"typescript": "5.3.3",
34-
"webpack": "5.90.0"
34+
"webpack": "5.90.1"
3535
}
3636
}

0 commit comments

Comments
 (0)