From abdaa22b2350488ed3a53a4b9d53e700ae11ae8b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Dec 2024 23:39:28 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- .tool-versions | 2 +- projects/fastify-capture/package.json | 2 +- projects/json-pointer-helpers/package.json | 2 +- projects/openapi-io/package.json | 2 +- projects/openapi-utilities/package.json | 2 +- projects/optic/package.json | 2 +- projects/optic/web/package-lock.json | 18 +++++++++--- projects/optic/web/package.json | 2 +- projects/rulesets-base/package.json | 2 +- projects/standard-rulesets/package.json | 2 +- yarn.lock | 34 ++++++++++++++++------ 11 files changed, 48 insertions(+), 22 deletions(-) diff --git a/.tool-versions b/.tool-versions index a585d3f02c..13730405e6 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ # js tools -nodejs 18.20.2 +nodejs 22.12.0 yarn 1.22.19 diff --git a/projects/fastify-capture/package.json b/projects/fastify-capture/package.json index e9868acb48..df4deb4cb0 100644 --- a/projects/fastify-capture/package.json +++ b/projects/fastify-capture/package.json @@ -34,7 +34,7 @@ "@types/babel__preset-env": "^7", "@types/cookie": "^0", "@types/har-format": "^1.2.10", - "@types/node": "^20.2.5", + "@types/node": "^22.0.0", "@types/set-cookie-parser": "^2", "babel-jest": "^29.5.0", "fastify": "^4.17.0", diff --git a/projects/json-pointer-helpers/package.json b/projects/json-pointer-helpers/package.json index 93394c01c4..7eb5061808 100644 --- a/projects/json-pointer-helpers/package.json +++ b/projects/json-pointer-helpers/package.json @@ -25,7 +25,7 @@ "@babel/preset-typescript": "^7.17.0", "@types/babel__core": "^7", "@types/babel__preset-env": "^7", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "prettier": "^3.0.0", diff --git a/projects/openapi-io/package.json b/projects/openapi-io/package.json index 03da9787d1..980f8b0e1b 100644 --- a/projects/openapi-io/package.json +++ b/projects/openapi-io/package.json @@ -29,7 +29,7 @@ "@types/is-url": "^1.2.30", "@types/lodash.clonedeep": "^4", "@types/lodash.sortby": "^4.7.7", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "@types/node-fetch": "2.6.11", "@types/semver": "^7.3.10", "babel-jest": "^29.3.1", diff --git a/projects/openapi-utilities/package.json b/projects/openapi-utilities/package.json index 15c4bcdb39..d67f504b3a 100644 --- a/projects/openapi-utilities/package.json +++ b/projects/openapi-utilities/package.json @@ -31,7 +31,7 @@ "@types/lodash.groupby": "^4.6.6", "@types/lodash.isequal": "^4.5.6", "@types/lodash.omit": "^4.5.7", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "prettier": "^3.0.0", diff --git a/projects/optic/package.json b/projects/optic/package.json index fc99650ea5..3befe78c7e 100644 --- a/projects/optic/package.json +++ b/projects/optic/package.json @@ -41,7 +41,7 @@ "@types/lodash.sortby": "^4.7.7", "@types/log": "^6.3.0", "@types/micromatch": "^4", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "@types/postman-collection": "^3.5.7", "@types/prompts": "^2", "@types/semver": "^7.3.10", diff --git a/projects/optic/web/package-lock.json b/projects/optic/web/package-lock.json index e66ca07a5b..945bd2c2e9 100644 --- a/projects/optic/web/package-lock.json +++ b/projects/optic/web/package-lock.json @@ -19,7 +19,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", - "@types/node": "^16.18.104", + "@types/node": "^22.0.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "brotli": "^1.3.3", @@ -4585,9 +4585,13 @@ "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==" }, "node_modules/@types/node": { - "version": "16.18.104", - "resolved": "https://packages.atlassian.com/api/npm/npm-remote/@types/node/-/node-16.18.104.tgz", - "integrity": "sha512-OF3keVCbfPlkzxnnDBUZJn1RiCJzKeadjiW0xTEb0G1SUJ5gDVb3qnzZr2T4uIFvsbKJbXy1v2DN7e2zaEY7jQ==" + "version": "22.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", + "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", + "license": "MIT", + "dependencies": { + "undici-types": "~6.20.0" + } }, "node_modules/@types/node-forge": { "version": "1.3.11", @@ -17674,6 +17678,12 @@ "resolved": "https://packages.atlassian.com/api/npm/npm-remote/underscore/-/underscore-1.12.1.tgz", "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==" }, + "node_modules/undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "license": "MIT" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://packages.atlassian.com/api/npm/npm-remote/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/projects/optic/web/package.json b/projects/optic/web/package.json index 53254ac18d..5ff8407bff 100644 --- a/projects/optic/web/package.json +++ b/projects/optic/web/package.json @@ -17,7 +17,7 @@ "html-webpack-inline-source-plugin": "^0.0.10", "html-inline-script-webpack-plugin": "^3.2.1", "@types/jest": "^27.5.2", - "@types/node": "^16.18.104", + "@types/node": "^22.0.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "brotli": "^1.3.3", diff --git a/projects/rulesets-base/package.json b/projects/rulesets-base/package.json index 67c8284e6c..30a76d28a5 100644 --- a/projects/rulesets-base/package.json +++ b/projects/rulesets-base/package.json @@ -38,7 +38,7 @@ "@types/babel__preset-env": "^7", "@types/json-stable-stringify": "^1.0.33", "@types/lodash.pick": "^4", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "ts-jest": "^29.0.3", diff --git a/projects/standard-rulesets/package.json b/projects/standard-rulesets/package.json index 88d718924a..5decc9e7bb 100644 --- a/projects/standard-rulesets/package.json +++ b/projects/standard-rulesets/package.json @@ -40,7 +40,7 @@ "@types/babel__preset-env": "^7", "@types/json-stable-stringify": "^1.0.33", "@types/lodash.pick": "^4", - "@types/node": "^18.0.0", + "@types/node": "^22.0.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "object-hash": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 1225e05ae3..f044c218bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3553,7 +3553,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.2.5": +"@types/node@npm:*": version: 20.12.7 resolution: "@types/node@npm:20.12.7" dependencies: @@ -3569,7 +3569,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.0.0, @types/node@npm:^18.11.18": +"@types/node@npm:^18.11.18": version: 18.19.31 resolution: "@types/node@npm:18.19.31" dependencies: @@ -3578,6 +3578,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^22.0.0": + version: 22.10.1 + resolution: "@types/node@npm:22.10.1" + dependencies: + undici-types: "npm:~6.20.0" + checksum: 10c0/0fbb6d29fa35d807f0223a4db709c598ac08d66820240a2cd6a8a69b8f0bc921d65b339d850a666b43b4e779f967e6ed6cf6f0fca3575e08241e6b900364c234 + languageName: node + linkType: hard + "@types/postman-collection@npm:^3.5.7": version: 3.5.10 resolution: "@types/postman-collection@npm:3.5.10" @@ -3728,7 +3737,7 @@ __metadata: "@types/babel__preset-env": "npm:^7" "@types/cookie": "npm:^0" "@types/har-format": "npm:^1.2.10" - "@types/node": "npm:^20.2.5" + "@types/node": "npm:^22.0.0" "@types/set-cookie-parser": "npm:^2" babel-jest: "npm:^29.5.0" cookie: "npm:^0.6.0" @@ -3750,7 +3759,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.17.0" "@types/babel__core": "npm:^7" "@types/babel__preset-env": "npm:^7" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" babel-jest: "npm:^29.3.1" jest: "npm:^29.3.1" jsonpointer: "npm:^5.0.1" @@ -3778,7 +3787,7 @@ __metadata: "@types/is-url": "npm:^1.2.30" "@types/lodash.clonedeep": "npm:^4" "@types/lodash.sortby": "npm:^4.7.7" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" "@types/node-fetch": "npm:2.6.11" "@types/semver": "npm:^7.3.10" "@useoptic/json-pointer-helpers": "workspace:*" @@ -3825,7 +3834,7 @@ __metadata: "@types/lodash.groupby": "npm:^4.6.6" "@types/lodash.isequal": "npm:^4.5.6" "@types/lodash.omit": "npm:^4.5.7" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" "@useoptic/json-pointer-helpers": "workspace:*" ajv: "npm:^8.6.0" ajv-errors: "npm:~3.0.0" @@ -3881,7 +3890,7 @@ __metadata: "@types/lodash.sortby": "npm:^4.7.7" "@types/log": "npm:^6.3.0" "@types/micromatch": "npm:^4" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" "@types/postman-collection": "npm:^3.5.7" "@types/prompts": "npm:^2" "@types/semver": "npm:^7.3.10" @@ -3975,7 +3984,7 @@ __metadata: "@types/babel__preset-env": "npm:^7" "@types/json-stable-stringify": "npm:^1.0.33" "@types/lodash.pick": "npm:^4" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" "@useoptic/json-pointer-helpers": "workspace:*" "@useoptic/openapi-utilities": "workspace:*" ajv: "npm:^8.6.0" @@ -4004,7 +4013,7 @@ __metadata: "@types/babel__preset-env": "npm:^7" "@types/json-stable-stringify": "npm:^1.0.33" "@types/lodash.pick": "npm:^4" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:^22.0.0" "@useoptic/openapi-utilities": "workspace:*" "@useoptic/rulesets-base": "workspace:*" ajv: "npm:^8.6.0" @@ -11490,6 +11499,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf + languageName: node + linkType: hard + "uni-global@npm:^1.0.0": version: 1.0.0 resolution: "uni-global@npm:1.0.0"