From e55b1ed57ae5021f332f8a5029d4a67fa7c4d5aa Mon Sep 17 00:00:00 2001 From: Daniil Samoylov Date: Tue, 30 Jan 2024 14:52:42 +1300 Subject: [PATCH] Upgrade node to 20 --- action.yml | 2 +- package-lock.json | 30 +++++++++++++++++++++++------- package.json | 2 +- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/action.yml b/action.yml index 2839a14..e7d24f5 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ outputs: changes: description: JSON array with names of all filters matching any of changed files runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: color: blue diff --git a/package-lock.json b/package-lock.json index eeae1d4..41a09c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@types/jest": "^27.4.0", "@types/js-yaml": "^3.12.4", "@types/micromatch": "^4.0.2", - "@types/node": "^14.0.5", + "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "@vercel/ncc": "^0.33.1", @@ -1571,9 +1571,12 @@ } }, "node_modules/@types/node": { - "version": "14.0.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.5.tgz", - "integrity": "sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvXHq+5rnCKA==" + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/prettier": { "version": "2.7.2", @@ -7275,6 +7278,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "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==" + }, "node_modules/universal-user-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", @@ -8926,9 +8934,12 @@ } }, "@types/node": { - "version": "14.0.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.5.tgz", - "integrity": "sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvXHq+5rnCKA==" + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/prettier": { "version": "2.7.2", @@ -13151,6 +13162,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "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==" + }, "universal-user-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", diff --git a/package.json b/package.json index ec4c472..9453c2c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@types/jest": "^27.4.0", "@types/js-yaml": "^3.12.4", "@types/micromatch": "^4.0.2", - "@types/node": "^14.0.5", + "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "@vercel/ncc": "^0.33.1",