Skip to content

Commit 070b67f

Browse files
capJavertclaude
andauthored
chore: upgrade Node.js to 22.22.0 (CVE-2025-59466) (#5302)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 45554e9 commit 070b67f

7 files changed

Lines changed: 27 additions & 12 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
jobs:
44
install_deps:
55
docker:
6-
- image: cimg/node:22.11
6+
- image: cimg/node:22.22
77
steps:
88
- checkout
99
- run:
@@ -28,7 +28,7 @@ jobs:
2828
- ./packages/extension/node_modules
2929
test_extension:
3030
docker:
31-
- image: cimg/node:22.11
31+
- image: cimg/node:22.22
3232
parallelism: 1
3333
steps:
3434
- checkout
@@ -49,7 +49,7 @@ jobs:
4949
path: ./test-results
5050
test_webapp:
5151
docker:
52-
- image: cimg/node:22.11
52+
- image: cimg/node:22.22
5353
parallelism: 1
5454
steps:
5555
- checkout
@@ -70,7 +70,7 @@ jobs:
7070
path: ./test-results
7171
lint_shared:
7272
docker:
73-
- image: cimg/node:22.11
73+
- image: cimg/node:22.22
7474
resource_class: large
7575
steps:
7676
- checkout
@@ -84,7 +84,7 @@ jobs:
8484
working_directory: packages/shared
8585
test_shared:
8686
docker:
87-
- image: cimg/node:22.11
87+
- image: cimg/node:22.22
8888
parallelism: 1
8989
steps:
9090
- checkout
@@ -104,7 +104,7 @@ jobs:
104104
path: ./test-results
105105
build_extension:
106106
docker:
107-
- image: cimg/node:22.11
107+
- image: cimg/node:22.22
108108
resource_class: large
109109
steps:
110110
- checkout

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '22.11'
22+
node-version: '22.22'
2323

2424
- name: Install pnpm
2525
uses: pnpm/action-setup@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11
1+
22.22

AGENTS.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is a pnpm monorepo containing the daily.dev application suite:
2626

2727
## Technology Stack
2828

29-
- **Node.js v22.11** (see `package.json` `volta` and `packageManager` properties, also `.nvmrc`)
29+
- **Node.js v22.22** (see `package.json` `volta` and `packageManager` properties, also `.nvmrc`)
3030
- **pnpm 9.14.4** for package management (see `package.json` `packageManager` property)
3131
- **TypeScript** across all packages
3232
- **React 18.3.1** with Next.js 15 for webapp (Pages Router, NOT App Router/Server Components)
@@ -291,4 +291,16 @@ When reviewing code (or writing code that will be reviewed):
291291
- **Delete dead code** - Remove unused components, functions, exports, and files. Don't leave code "for later"
292292
- **Avoid confusing naming** - Don't create multiple components with the same name in different locations (e.g., two `AboutMe` components)
293293
- **Remove unused exports** - If a function/constant is only used internally, don't export it
294-
- **Clean up duplicates** - If the same interface/type is defined in multiple places, consolidate to one location and import
294+
- **Clean up duplicates** - If the same interface/type is defined in multiple places, consolidate to one location and import
295+
296+
## Node.js Version Upgrade Checklist
297+
298+
When upgrading Node.js version, update these files:
299+
- `.nvmrc`
300+
- `Dockerfile`
301+
- `.github/workflows/e2e-tests.yml`
302+
- `.circleci/config.yml` (multiple occurrences)
303+
- `packages/playwright/package.json` (engines field)
304+
- This file (`CLAUDE.md` - Technology Stack section)
305+
306+
After updating, run `pnpm install` to check if lock file needs updating and commit any changes.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22.11-alpine
1+
FROM node:22.22-alpine
22
RUN apk add g++ make python3
33

44
RUN mkdir -p /opt/app

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"patchedDependencies": {
1717
"graphql-request@3.7.0": "patches/graphql-request@3.7.0.patch"
1818
}
19+
},
20+
"volta": {
21+
"node": "22.22.0"
1922
}
2023
}

packages/playwright/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"typescript": "^5.6.0"
1919
},
2020
"engines": {
21-
"node": ">=22.11.0"
21+
"node": ">=22.22.0"
2222
},
2323
"dependencies": {
2424
"dotenv": "^17.2.1"

0 commit comments

Comments
 (0)