node_runtime: Bump downloaded Node.js version to Current (Jod) (#14687)

Fabian created

This PR bumps the hard-coded Node.js version from v18.x (Hydrogen), which was LTS until October 2023, to v22.x (Jod) which will be the next LTS release in October 2024.

Release Notes:

- Updated Zed's node version (v18.x -> v22.x)

Change summary

crates/node_runtime/src/node_runtime.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/node_runtime/src/node_runtime.rs 🔗

@@ -22,7 +22,7 @@ use util::ResultExt;
 #[cfg(windows)]
 use smol::process::windows::CommandExt;
 
-const VERSION: &str = "v18.15.0";
+const VERSION: &str = "v22.5.1";
 
 #[cfg(not(windows))]
 const NODE_PATH: &str = "bin/node";