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.17.1 to 22.18.0.

Anders Kaseorg8de55e7cc12e
diff --git a/scripts/lib/install-node b/scripts/lib/install-node
index cbc54db7a0e..90e60b3f5d0 100755
--- a/scripts/lib/install-node
+++ b/scripts/lib/install-node
@@ -1,18 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
-version=22.17.1
+version=22.18.0
arch="$(uname -m)"
case $arch in
x86_64)
tarball="node-v$version-linux-x64.tar.xz"
- sha256=ff04bc7c3ed7699ceb708dbaaf3580d899ff8bf67f17114f979e83aa74fc5a49
+ sha256=c1bfeecf1d7404fa74728f9db72e697decbd8119ccc6f5a294d795756dfcfca7
;;
aarch64)
tarball="node-v$version-linux-arm64.tar.xz"
- sha256=a5bb879af2fe70e7b5dc5e0bbadecba88e87f45bd8e62c0c57b5c815a4cbbaa6
+ sha256=04fca1b9afecf375f26b41d65d52aa1703a621abea5a8948c7d1e351e85edade
;;
esac
diff --git a/tools/test-js-with-puppeteer b/tools/test-js-with-puppeteer
index 6c8cc65fb38..81222af851d 100755
--- a/tools/test-js-with-puppeteer
+++ b/tools/test-js-with-puppeteer
@@ -63,7 +63,7 @@ options = parser.parse_args()
def run_single_test(test_file: str, test_number: int, total_tests: int) -> int:
- cmd = ["node", "--experimental-strip-types", "--no-warnings=ExperimentalWarning", test_file]
+ cmd = ["node", test_file]
test_name = os.path.basename(test_file)
cmd_str = shlex.join(cmd)
diff --git a/tools/webpack b/tools/webpack
index d2b553dca1c..b4a876fcc78 100755
--- a/tools/webpack
+++ b/tools/webpack
@@ -14,12 +14,7 @@ os.chdir(os.path.join(os.path.dirname(__file__), "../web"))
from scripts.lib.zulip_tools import get_config, get_config_file
from version import ZULIP_VERSION
-webpack_command = [
- "node",
- "--experimental-strip-types",
- "--no-warnings=ExperimentalWarning",
- "../node_modules/webpack-cli/bin/cli.js",
-]
+webpack_command = ["node", "../node_modules/webpack-cli/bin/cli.js"]
def build_for_prod_or_puppeteer(quiet: bool, config_name: str | None = None) -> NoReturn:
@@ -31,6 +26,7 @@ def build_for_prod_or_puppeteer(quiet: bool, config_name: str | None = None) ->
webpack_args = [
*webpack_command,
"build",
+ "--disable-interpret",
"--mode=production",
f"--env=ZULIP_VERSION={ZULIP_VERSION}",
]
@@ -61,6 +57,7 @@ def build_for_dev_server(host: str, port: str, minify: bool, disable_host_check:
webpack_args = [
*webpack_command,
"serve",
+ "--disable-interpret",
# webpack-cli has a bug where it ignores --watch-poll with
# multi-config, and we don't need the katex part anyway.
"--config-name=frontend",
diff --git a/version.py b/version.py
index 069cc9f23f5..f4304814564 100644
--- a/version.py
+++ b/version.py
@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 425
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
-PROVISION_VERSION = (340, 4) # bumped 2025-08-13 to upgrade Python requirements
+PROVISION_VERSION = (341, 0) # bumped 2025-08-14 to upgrade Node.js