From 9bf88aea29787eb87e1656c01d939666f405d461 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Thu, 1 Aug 2024 10:26:25 -0400 Subject: [PATCH] Update to node v22 --- .github/workflows/frontend.yml | 4 ++-- README.md | 2 +- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 334e8364dd..bb0217d3f1 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20] + node-version: [22] steps: # See https://docs.stepsecurity.io/harden-runner/getting-started/ for instructions on # configuring harden-runner and identifying allowed endpoints. @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20] + node-version: [22] steps: # See https://docs.stepsecurity.io/harden-runner/getting-started/ for instructions on # configuring harden-runner and identifying allowed endpoints. diff --git a/README.md b/README.md index 707af1ee32..5e8e0a252f 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ A rapid word collection tool. See the [User Guide](https://sillsdev.github.io/Th ``` 2. [Chocolatey][chocolatey] (Windows only): a Windows package manager. -3. [Node.js 20 (LTS)](https://nodejs.org/en/download/) +3. [Node.js 22 (Current)](https://nodejs.org/en/download/) - On Windows, if using [Chocolatey][chocolatey]: `choco install nodejs-lts` - On Ubuntu, follow diff --git a/package-lock.json b/package-lock.json index ceb49e9276..ffdf6c4120 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,7 +64,7 @@ "@types/css-mediaquery": "^0.1.2", "@types/jest": "^29.5.5", "@types/loadable__component": "^5.13.8", - "@types/node": "^20.10.6", + "@types/node": "^22.0.2", "@types/nspell": "^2.1.5", "@types/react": "^18.2.61", "@types/react-beautiful-dnd": "^13.1.8", @@ -8005,12 +8005,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", - "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "version": "22.0.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.2.tgz", + "integrity": "sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" } }, "node_modules/@types/node-forge": { @@ -26501,9 +26501,9 @@ "dev": true }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==", "dev": true }, "node_modules/unfetch": { diff --git a/package.json b/package.json index 58e11e03b7..a23ab0e7b7 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@types/css-mediaquery": "^0.1.2", "@types/jest": "^29.5.5", "@types/loadable__component": "^5.13.8", - "@types/node": "^20.10.6", + "@types/node": "^22.0.2", "@types/nspell": "^2.1.5", "@types/react": "^18.2.61", "@types/react-beautiful-dnd": "^13.1.8", @@ -161,6 +161,6 @@ ] }, "volta": { - "node": "20.14.0" + "node": "22.5.1" } }