Skip to content

Commit 1b863e1

Browse files
committed
build: update dependency @inquirer/confirm to v6
See associated pull request for more information. Closes angular#31925 as a pr takeover
1 parent 59319b8 commit 1b863e1

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/angular/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@babel/core": "7.28.5",
2424
"@babel/helper-annotate-as-pure": "7.27.3",
2525
"@babel/helper-split-export-declaration": "7.24.7",
26-
"@inquirer/confirm": "5.1.21",
26+
"@inquirer/confirm": "6.0.1",
2727
"@vitejs/plugin-basic-ssl": "2.1.0",
2828
"beasties": "0.3.5",
2929
"browserslist": "^4.26.0",

packages/angular/build/src/utils/check-port.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ export async function checkPort(port: number, host: string): Promise<number> {
3838
return;
3939
}
4040

41-
import('@inquirer/confirm')
41+
(
42+
import('@inquirer/confirm' as string) as Promise<
43+
typeof import('@inquirer/confirm', { with: { 'resolution-mode': 'import' } })
44+
>
45+
)
4246
.then(({ default: confirm }) =>
4347
confirm({
4448
message: `Port ${port} is already in use.\nWould you like to use a different port?`,

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)