Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

node_runtime: Update to Node 20 (#27912)

Thorben Kröger5996c5845221
diff --git a/crates/node_runtime/src/node_runtime.rs b/crates/node_runtime/src/node_runtime.rs
index 80d7da13739..c3667a93c75 100644
--- a/crates/node_runtime/src/node_runtime.rs
+++ b/crates/node_runtime/src/node_runtime.rs
@@ -473,7 +473,7 @@ pub struct SystemNodeRuntime {
}
impl SystemNodeRuntime {
- const MIN_VERSION: semver::Version = Version::new(18, 0, 0);
+ const MIN_VERSION: semver::Version = Version::new(20, 0, 0);
async fn new(node: PathBuf, npm: PathBuf) -> Result<Box<dyn NodeRuntimeTrait>> {
let output = util::command::new_smol_command(&node)
.arg("--version")