summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-14 11:58:47 +0100
committerGitHub <noreply@github.com>2024-09-14 11:58:47 +0100
commitaf2d992ecd2b9320072164b6ee295c31a3194406 (patch)
tree0926e2852aa2c4eb300e1f54f4c84d7568589b3b /cli/build.rs
parent2c0bf6fd65b3276c4818c73028b19819608c8e70 (diff)
feat: TypeScript 5.6 and `npm:@types/node@22` (#25614)
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 0b964ad43..c3b6f8b04 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -13,7 +13,6 @@ mod ts {
use deno_core::error::AnyError;
use deno_core::op2;
use deno_core::OpState;
- use deno_runtime::deno_node::SUPPORTED_BUILTIN_NODE_MODULES;
use serde::Serialize;
use std::collections::HashMap;
use std::io::Write;
@@ -25,7 +24,6 @@ mod ts {
struct BuildInfoResponse {
build_specifier: String,
libs: Vec<String>,
- node_built_in_module_names: Vec<String>,
}
#[op2]
@@ -37,14 +35,9 @@ mod ts {
.iter()
.map(|s| s.to_string())
.collect();
- let node_built_in_module_names = SUPPORTED_BUILTIN_NODE_MODULES
- .iter()
- .map(|s| s.to_string())
- .collect();
BuildInfoResponse {
build_specifier,
libs: build_libs,
- node_built_in_module_names,
}
}
@@ -243,6 +236,7 @@ mod ts {
"esnext.decorators",
"esnext.disposable",
"esnext.intl",
+ "esnext.iterator",
"esnext.object",
"esnext.promise",
"esnext.regexp",
@@ -446,7 +440,7 @@ fn main() {
);
let ts_version = ts::version();
- debug_assert_eq!(ts_version, "5.5.2"); // bump this assertion when it changes
+ debug_assert_eq!(ts_version, "5.6.2"); // bump this assertion when it changes
println!("cargo:rustc-env=TS_VERSION={}", ts_version);
println!("cargo:rerun-if-env-changed=TS_VERSION");