Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install-node: Upgrade Node.js from 20.18.0 to 22.11.0.
Anders Kaseorg0bd9f4f67419
diff --git a/scripts/lib/install-node b/scripts/lib/install-nodeindex 8c8b8240136..ac746e78822 100755--- a/scripts/lib/install-node+++ b/scripts/lib/install-node@@ -1,18 +1,18 @@#!/usr/bin/env bashset -euo pipefail-version=20.18.0+version=22.11.0arch="$(uname -m)"case $arch inx86_64)tarball="node-v$version-linux-x64.tar.xz"- sha256=4543670b589593f8fa5f106111fd5139081da42bb165a9239f05195e405f240a+ sha256=83bf07dd343002a26211cf1fcd46a9d9534219aad42ee02847816940bf610a72;;aarch64)tarball="node-v$version-linux-arm64.tar.xz"- sha256=a9ce85675ba33f00527f6234d90000946c0936fb4fca605f1891bb5f4fe6fb0a+ sha256=6031d04b98f59ff0f7cb98566f65b115ecd893d3b7870821171708cdbaf7ae6e;;esacdiff --git a/version.py b/version.pyindex 185898b3796..297c369b025 100644--- a/version.py+++ b/version.py@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 319 # Last bumped for message-link class# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = (296, 0) # bumped 2024-10-31 to upgrade Python requirements+PROVISION_VERSION = (297, 0) # bumped 2024-11-05 to upgrade Node.jsdiff --git a/web/tests/lib/index.js b/web/tests/lib/index.jsindex 94896a22f38..5a85014eac6 100644--- a/web/tests/lib/index.js+++ b/web/tests/lib/index.js@@ -25,9 +25,12 @@ global.DOMParser = dom.window.DOMParser;global.HTMLAnchorElement = dom.window.HTMLAnchorElement;global.HTMLElement = dom.window.HTMLElement;global.Window = dom.window.Window;-global.navigator = {- userAgent: "node.js",-};+Object.defineProperty(global, "navigator", {+ value: {+ userAgent: "node.js",+ },+ writable: true,+});require("@babel/register")({extensions: [".es6", ".es", ".jsx", ".js", ".mjs", ".ts"],