summaryrefslogtreecommitdiff
path: root/cli/npm/resolution/common.rs
diff options
context:
space:
mode:
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,