From b9b6d1111334e6d2abd652c925d066cfeaf96022 Mon Sep 17 00:00:00 2001 From: Anna Bocharova Date: Sun, 28 Jul 2024 17:51:31 +0000 Subject: [PATCH 1/2] Allowing @types/node v22 and upgrading it internally. --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 005e057..bcbb524 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,11 +6,11 @@ "packages": { "": { "name": "node-mocks-http", - "version": "1.14.1", + "version": "1.15.0", "license": "MIT", "dependencies": { "@types/express": "^4.17.21", - "@types/node": "^20.10.6", + "@types/node": "^20.10.6 || ^22.0.0", "accepts": "^1.3.7", "content-disposition": "^0.5.3", "depd": "^1.1.0", @@ -840,11 +840,11 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.10.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.6.tgz", - "integrity": "sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" } }, "node_modules/@types/normalize-package-data": { @@ -5935,9 +5935,9 @@ } }, "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==" + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==" }, "node_modules/update-browserslist-db": { "version": "1.0.13", @@ -6848,11 +6848,11 @@ "dev": true }, "@types/node": { - "version": "20.10.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.6.tgz", - "integrity": "sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" } }, "@types/normalize-package-data": { @@ -10704,9 +10704,9 @@ } }, "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==" + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==" }, "update-browserslist-db": { "version": "1.0.13", diff --git a/package.json b/package.json index f5abadd..8ebe176 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ }, "dependencies": { "@types/express": "^4.17.21", - "@types/node": "^20.10.6", + "@types/node": "^20.10.6 || ^22.0.0", "accepts": "^1.3.7", "content-disposition": "^0.5.3", "depd": "^1.1.0", From 7aeeee126fe7adb5f372ce2a853c82d7c7bd1f6d Mon Sep 17 00:00:00 2001 From: Anna Bocharova Date: Mon, 29 Jul 2024 12:05:02 +0000 Subject: [PATCH 2/2] Star for @types/node. --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index bcbb524..f7d34e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@types/express": "^4.17.21", - "@types/node": "^20.10.6 || ^22.0.0", + "@types/node": "*", "accepts": "^1.3.7", "content-disposition": "^0.5.3", "depd": "^1.1.0", diff --git a/package.json b/package.json index 8ebe176..ace44f7 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ }, "dependencies": { "@types/express": "^4.17.21", - "@types/node": "^20.10.6 || ^22.0.0", + "@types/node": "*", "accepts": "^1.3.7", "content-disposition": "^0.5.3", "depd": "^1.1.0",