diff --git a/.github/actions/setup-js-env/action.yml b/.github/actions/setup-js-env/action.yml index da84e49a3e5..4b5f15920c7 100644 --- a/.github/actions/setup-js-env/action.yml +++ b/.github/actions/setup-js-env/action.yml @@ -3,7 +3,7 @@ description: "run actions/setup-node and `npm ci`" runs: using: "composite" steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' diff --git a/package-lock.json b/package-lock.json index 0acad27264a..e9631d75beb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "@types/markdown-magic": "^1.0.1", "@types/mini-css-extract-plugin": "^1.4.3", "@types/mocha": "^9.1.1", - "@types/node": "^18.7.23", + "@types/node": "^20.11.25", "@types/node-fetch": "^2.5.10", "@types/tar-fs": "^2.0.0", "@types/webpack": "^5.28.0", @@ -2615,10 +2615,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.7.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.23.tgz", - "integrity": "sha512-DWNcCHolDq0ZKGizjx2DZjR/PqsYwAcYUJmfMWqtVU2MBMG5Mo+xFZrhGId5r/O5HOuMPyQEcM6KUBp5lBZZBg==", - "dev": true + "version": "20.16.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", + "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "dev": true, + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/node-fetch": { "version": "2.6.1", @@ -15651,6 +15654,12 @@ "node": ">=14.0" } }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -18687,10 +18696,13 @@ "dev": true }, "@types/node": { - "version": "18.7.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.23.tgz", - "integrity": "sha512-DWNcCHolDq0ZKGizjx2DZjR/PqsYwAcYUJmfMWqtVU2MBMG5Mo+xFZrhGId5r/O5HOuMPyQEcM6KUBp5lBZZBg==", - "dev": true + "version": "20.16.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", + "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "dev": true, + "requires": { + "undici-types": "~6.19.2" + } }, "@types/node-fetch": { "version": "2.6.1", @@ -28339,6 +28351,12 @@ "@fastify/busboy": "^2.0.0" } }, + "undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/package.json b/package.json index 6a1a1e689ed..cd7220583ac 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "@types/markdown-magic": "^1.0.1", "@types/mini-css-extract-plugin": "^1.4.3", "@types/mocha": "^9.1.1", - "@types/node": "^18.7.23", + "@types/node": "^20.11.25", "@types/node-fetch": "^2.5.10", "@types/tar-fs": "^2.0.0", "@types/webpack": "^5.28.0",