From 2fcf1f14cf29bb68995f652f93a4f6e3cb55c8d7 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 21 Mar 2023 11:46:40 -0400 Subject: feat: TypeScript 5.0.2 (except decorators) (#18294) This upgrades TypeScript to 5.0.2, but does not have ES decorator support because swc does not support that yet. --- cli/npm/resolution/common.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/npm/resolution/common.rs') diff --git a/cli/npm/resolution/common.rs b/cli/npm/resolution/common.rs index b733d8eeb..eb3e51f7d 100644 --- a/cli/npm/resolution/common.rs +++ b/cli/npm/resolution/common.rs @@ -149,6 +149,8 @@ fn tag_to_version_info<'a>( // explicit version. if tag == "latest" && info.name == "@types/node" { return get_resolved_package_version_and_info( + // WARNING: When bumping this version, check if anything needs to be + // updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js &VersionReq::parse_from_npm("18.0.0 - 18.11.18").unwrap(), info, parent, -- cgit v1.2.3