From 33eb1271d388781bd510e91fb34ce7af71396127 Mon Sep 17 00:00:00 2001 From: Cody Hart <157865967+HartBrook@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:03:44 -0500 Subject: [PATCH] Raise minimum Node version to 22.19 (#34) undici 8.12.3 calls zlib.createZstdDecompress at module load, which does not exist before Node 22.15, so jsdom-based tests crash on the Node 22.13 CI job. undici already declares engines >=22.19.0, so our ^22.13.0 floor was never actually supported by our dependency tree. Bump engines, the CI minimum-version job, .nvmrc, and docs to 22.19. --- .github/workflows/ci.yml | 4 ++-- .nvmrc | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- apps/server/package.json | 2 +- apps/web/package.json | 2 +- package-lock.json | 6 +++--- package.json | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c66b7c2..9a0992f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,8 @@ jobs: matrix: include: - os: ubuntu-latest - node: 22.13.0 - label: Linux, Node 22.13 + node: 22.19.0 + label: Linux, Node 22.19 - os: ubuntu-latest node: 24.x label: Linux, Node 24 diff --git a/.nvmrc b/.nvmrc index 6fa8dec..e222811 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22.13.0 +22.19.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c798352..83fab5c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ By participating, you agree to follow the [Code of Conduct](./CODE_OF_CONDUCT.md ## Development setup -You need Git, Node.js 22.13+ (excluding Node 23) or Node.js 24+, npm, and the +You need Git, Node.js 22.19+ (excluding Node 23) or Node.js 24+, npm, and the GitHub CLI or GitLab CLI 1.100+ for real change-request acquisition. GitLab integration requires GitLab 19.2 or later. Codex CLI is the default model transport; direct provider keys are optional. diff --git a/README.md b/README.md index 0782fd7..964f3d7 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Browse mode shows the full diff at any time. Review progress, investigation note ### Prerequisites - [Git](https://git-scm.com/downloads) -- [Node.js](https://nodejs.org/) 22.13+ (excluding Node 23) or Node.js 24+ when using the npm package +- [Node.js](https://nodejs.org/) 22.19+ (excluding Node 23) or Node.js 24+ when using the npm package - [GitHub CLI](https://cli.github.com/) authenticated with `gh auth login` for GitHub pull requests, or [GitLab CLI](https://docs.gitlab.com/cli/) 1.100 or later authenticated with `glab auth login` for GitLab merge requests. Self-managed GitLab servers must be version 19.2 or later. - [Codex](https://developers.openai.com/learn/codex) CLI authenticated with `codex login` for the default model transport, or an optional direct provider API key diff --git a/apps/server/package.json b/apps/server/package.json index 56f93c1..5ffd49e 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -7,7 +7,7 @@ "wingdiff": "dist/cli.js" }, "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" }, "scripts": { "dev": "cross-env NODE_ENV=development tsx src/index.ts", diff --git a/apps/web/package.json b/apps/web/package.json index 713c74d..56869df 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" }, "scripts": { "dev": "vite", diff --git a/package-lock.json b/package-lock.json index d37be24..74c173d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "vitest": "^5.0.2" }, "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" } }, "apps/server": { @@ -54,7 +54,7 @@ "vitest": "^5.0.2" }, "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" } }, "apps/web": { @@ -80,7 +80,7 @@ "vitest": "^5.0.2" }, "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" } }, "node_modules/@anthropic-ai/sdk": { diff --git a/package.json b/package.json index 45b9399..8ad2a81 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "homepage": "https://github.com/HartBrook/wingdiff#readme", "type": "module", "engines": { - "node": "^22.13.0 || >=24.0.0" + "node": "^22.19.0 || >=24.0.0" }, "workspaces": [ "apps/*"