From 91dcae16d19f695ab092fca8c3b0da90c1c0f3e4 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 30 Oct 2023 08:12:40 +0000 Subject: [PATCH] fix(@angular/cli): add Node.js 20 as supported version Prior to this Node.js 20 was incorrectly being listed as unsupported. Closes #26114 --- packages/angular/cli/src/commands/version/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/cli/src/commands/version/cli.ts b/packages/angular/cli/src/commands/version/cli.ts index 00775d363293..1595f3874ad3 100644 --- a/packages/angular/cli/src/commands/version/cli.ts +++ b/packages/angular/cli/src/commands/version/cli.ts @@ -23,7 +23,7 @@ interface PartialPackageInfo { /** * Major versions of Node.js that are officially supported by Angular. */ -const SUPPORTED_NODE_MAJORS = [18]; +const SUPPORTED_NODE_MAJORS = [18, 20]; const PACKAGE_PATTERNS = [ /^@angular\/.*/,