summaryrefslogtreecommitdiff
path: root/cli/npm/resolution/common.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-21 11:46:40 -0400
committerGitHub <noreply@github.com>2023-03-21 15:46:40 +0000
commit2fcf1f14cf29bb68995f652f93a4f6e3cb55c8d7 (patch)
tree04fb972934969cb01a52f3b9b8af0a17134ef5b6 /cli/npm/resolution/common.rs
parent0366d6833f25b786e897ce0d6393f692507f0532 (diff)
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.
Diffstat (limited to 'cli/npm/resolution/common.rs')
-rw-r--r--cli/npm/resolution/common.rs2
1 files changed, 2 insertions, 0 deletions
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,