Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install-node: Upgrade Node.js from 22.12.0 to 22.14.0.

Anders Kaseorg3af4900891a9
diff --git a/scripts/lib/install-node b/scripts/lib/install-node
index 877341643c1..0383657b8dc 100755
--- a/scripts/lib/install-node
+++ b/scripts/lib/install-node
@@ -1,18 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
-version=22.12.0
+version=22.14.0
arch="$(uname -m)"
case $arch in
x86_64)
tarball="node-v$version-linux-x64.tar.xz"
- sha256=22982235e1b71fa8850f82edd09cdae7e3f32df1764a9ec298c72d25ef2c164f
+ sha256=69b09dba5c8dcb05c4e4273a4340db1005abeafe3927efda2bc5b249e80437ec
;;
aarch64)
tarball="node-v$version-linux-arm64.tar.xz"
- sha256=8cfd5a8b9afae5a2e0bd86b0148ca31d2589c0ea669c2d0b11c132e35d90ed68
+ sha256=08bfbf538bad0e8cbb0269f0173cca28d705874a67a22f60b57d99dc99e30050
;;
esac
diff --git a/scripts/lib/node_cache.py b/scripts/lib/node_cache.py
index e106251e4be..f7ed52dcd06 100644
--- a/scripts/lib/node_cache.py
+++ b/scripts/lib/node_cache.py
@@ -36,9 +36,4 @@ def setup_node_modules(production: bool = DEFAULT_PRODUCTION) -> None:
"--prefer-offline",
*(["--prod"] if production else []),
],
- # https://github.com/nodejs/corepack/issues/612
- env={
- **os.environ,
- "COREPACK_INTEGRITY_KEYS": '{"npm":[{"expires":"2025-01-29T00:00:00.000Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="},{"expires":null,"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY6Ya7W++7aUPzvMTrezH6Ycx3c+HOKYCcNGybJZSCJq/fd7Qa8uuAKtdIkUQtQiEKERhAmE5lMMJhP8OkDOa2g=="}]}',
- },
)
diff --git a/tools/test-js-with-node b/tools/test-js-with-node
index 10cfb021d57..263f0030d9e 100755
--- a/tools/test-js-with-node
+++ b/tools/test-js-with-node
@@ -390,13 +390,7 @@ def run_tests_via_node_js() -> int:
# reports. Running under nyc is slower and creates funny
# tracebacks, so you generally want to get coverage reports only
# after making sure tests will pass.
- node_tests_cmd = [
- "node",
- "--stack-trace-limit=100",
- "--experimental-require-module",
- "--no-warnings=ExperimentalWarning",
- INDEX_JS,
- ]
+ node_tests_cmd = ["node", "--stack-trace-limit=100", INDEX_JS]
if individual_files:
# If we passed a specific set of tests, run in serial mode.
global parallel
diff --git a/version.py b/version.py
index 733dfb2d101..003a24f697b 100644
--- a/version.py
+++ b/version.py
@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 359 # Last bumped for not adjusting bot subscriptions on ow
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
-PROVISION_VERSION = (318, 0) # bumped 2025-02-25 to remove py3dns
+PROVISION_VERSION = (318, 1) # bumped 2025-02-26 to upgrade Node.js