diff --git a/.nvmrc b/.nvmrc index 9a2a0e2..53d1c14 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 +v22 diff --git a/package-lock.json b/package-lock.json index d33e318..7a0acd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@saucelabs/testcomposer": "3.0.2", - "@tsconfig/node20": "^20.1.4", + "@tsconfig/node22": "^22.0.0", "@types/shelljs": "^0.8.15", "dotenv": "16.4.5", "lodash": "4.17.21", @@ -3462,11 +3462,10 @@ "dev": true, "license": "MIT" }, - "node_modules/@tsconfig/node20": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.4.tgz", - "integrity": "sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==", - "license": "MIT" + "node_modules/@tsconfig/node22": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@tsconfig/node22/-/node22-22.0.0.tgz", + "integrity": "sha512-twLQ77zevtxobBOD4ToAtVmuYrpeYUh3qh+TEp+08IWhpsrIflVHqQ1F1CiPxQGL7doCdBIOOCF+1Tm833faNg==" }, "node_modules/@types/babel__core": { "version": "7.20.5", diff --git a/package.json b/package.json index e6873aa..b4f5d63 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ ], "dependencies": { "@saucelabs/testcomposer": "3.0.2", - "@tsconfig/node20": "^20.1.4", + "@tsconfig/node22": "^22.0.0", "@types/shelljs": "^0.8.15", "dotenv": "16.4.5", "lodash": "4.17.21", @@ -28,31 +28,31 @@ "shelljs": "^0.8.5", "testcafe": "3.7.0", "testcafe-browser-provider-ios": "0.5.0", - "testcafe-reporter-saucelabs": "3.5.1", - "typescript": "^5.6.3", + "testcafe-reporter-saucelabs": "3.6.0", + "typescript": "^5.7.2", "xml-js": "1.6.11", "yargs": "17.7.2" }, "devDependencies": { - "@eslint/js": "^9.14.0", + "@eslint/js": "^9.15.0", "@types/chai": "^5.0.1", "@types/eslint__js": "^8.42.3", "@types/jest": "^29.5.14", "@types/jquery": "^3.5.32", - "@types/mocha": "^10.0.9", - "@types/node": "^20.17.3", - "eslint": "^9.14.0", + "@types/mocha": "^10.0.10", + "@types/node": "^22.9.4", + "eslint": "^9.15.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-testcafe": "^0.2.1", - "husky": "^9.1.6", + "husky": "^9.1.7", "jest": "^29.7.0", "mocha": "^10.8.2", "prettier": "^3.3.3", "pretty-quick": "^4.0.0", "release-it": "^17.10.0", "ts-jest": "^29.2.5", - "typescript-eslint": "^8.13.0" + "typescript-eslint": "^8.16.0" } } diff --git a/tsconfig.json b/tsconfig.json index abf3904..dee6a74 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,7 @@ { - "extends": "@tsconfig/node20/tsconfig.json", - "include": [ - "src/**/*" - ], - "exclude": [ - "node_modules", - "**/*.spec.ts" - ], + "extends": "@tsconfig/node22/tsconfig.json", + "include": ["src/**/*"], + "exclude": ["node_modules", "**/*.spec.ts"], "compilerOptions": { "outDir": "./lib", "declaration": true,