feat(tsconfig): update base to Node20 (#21505)

This commit is contained in:
Edgars Eglītis
2025-08-22 14:50:04 +03:00
committed by GitHub
parent a3271d17b6
commit 2d1af2bd67
5 changed files with 19 additions and 20 deletions

28
package-lock.json generated
View File

@@ -14,7 +14,7 @@
"devDependencies": {
"@colors/colors": "1.6.0",
"@eslint/js": "9.33.0",
"@tsconfig/node14": "14.1.4",
"@tsconfig/node20": "20.1.6",
"@types/archiver": "6.0.3",
"@types/argparse": "2.0.17",
"@types/async-lock": "1.4.2",
@@ -2790,17 +2790,17 @@
"dev": true,
"license": "MIT"
},
"node_modules/@tsconfig/node14": {
"version": "14.1.4",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-14.1.4.tgz",
"integrity": "sha512-S5G+j19uQt/7wiXFqGapQ1cSYHlAoxYreObGkOmawAknegyUjx8EXngqy6vAitLHqCFu3rzluPlk77pWMD4n1Q==",
"license": "MIT"
},
"node_modules/@tsconfig/node16": {
"version": "1.0.3",
"dev": true,
"license": "MIT"
},
"node_modules/@tsconfig/node20": {
"version": "20.1.6",
"resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.6.tgz",
"integrity": "sha512-sz+Hqx9zwZDpZIV871WSbUzSqNIsXzghZydypnfgzPKLltVJfkINfUeTct31n/tTSa9ZE1ZOfKdRre1uHHquYQ==",
"license": "MIT"
},
"node_modules/@tsd/typescript": {
"version": "5.9.2",
"resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.9.2.tgz",
@@ -20869,7 +20869,7 @@
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
"@tsconfig/node14": "14.1.4"
"@tsconfig/node20": "20.1.6"
},
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
@@ -21884,7 +21884,7 @@
"@appium/tsconfig": {
"version": "file:packages/tsconfig",
"requires": {
"@tsconfig/node14": "14.1.4"
"@tsconfig/node20": "20.1.6"
}
},
"@appium/types": {
@@ -23545,15 +23545,15 @@
"version": "1.0.11",
"dev": true
},
"@tsconfig/node14": {
"version": "14.1.4",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-14.1.4.tgz",
"integrity": "sha512-S5G+j19uQt/7wiXFqGapQ1cSYHlAoxYreObGkOmawAknegyUjx8EXngqy6vAitLHqCFu3rzluPlk77pWMD4n1Q=="
},
"@tsconfig/node16": {
"version": "1.0.3",
"dev": true
},
"@tsconfig/node20": {
"version": "20.1.6",
"resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.6.tgz",
"integrity": "sha512-sz+Hqx9zwZDpZIV871WSbUzSqNIsXzghZydypnfgzPKLltVJfkINfUeTct31n/tTSa9ZE1ZOfKdRre1uHHquYQ=="
},
"@tsd/typescript": {
"version": "5.9.2",
"resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.9.2.tgz",

View File

@@ -86,7 +86,7 @@
"devDependencies": {
"@colors/colors": "1.6.0",
"@eslint/js": "9.33.0",
"@tsconfig/node14": "14.1.4",
"@tsconfig/node20": "20.1.6",
"@types/argparse": "2.0.17",
"@types/archiver": "6.0.3",
"@types/async-lock": "1.4.2",

View File

@@ -32,7 +32,7 @@
"npm": ">=10"
},
"dependencies": {
"@tsconfig/node14": "14.1.4"
"@tsconfig/node20": "20.1.6"
},
"scripts": {
"test:smoke": "node tsconfig.json && node tsconfig.plugin.json"

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node14/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"ts-node": {
"transpileOnly": true
},
@@ -16,7 +16,6 @@
"sourceMap": true,
"removeComments": false,
"strict": false,
"types": ["node"],
"lib": ["es2020", "ES2021.WeakRef"]
"types": ["node"]
}
}

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node14/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"files": [],
"ts-node": {
"transpileOnly": true