diff --git a/package-lock.json b/package-lock.json index c445991..b5f7cbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -875,16 +875,6 @@ "node": ">= 0.8" } }, - "node_modules/encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "optional": true, - "peer": true, - "dependencies": { - "iconv-lite": "~0.4.13" - } - }, "node_modules/es-define-property": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", @@ -984,9 +974,22 @@ } }, "node_modules/express-rate-limit": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-5.5.1.tgz", - "integrity": "sha512-MTjE2eIbHv5DyfuFz4zLYWxpqVhEhkTiwFGuB74Q9CSou2WHO52nlE5y3Zlg6SIsiYUIPj6ifFxnkPz6O3sIUg==" + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.2.1.tgz", + "integrity": "sha512-PCZEIEIxqwhzw4KF0n7QF4QqruVTcF73O5kFKUnGOyjbCCgizBBiFaYpd/fnBLUMPw/BWw9OsiN7GgrNYr7j6g==", + "license": "MIT", + "dependencies": { + "ip-address": "10.0.1" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } }, "node_modules/express/node_modules/debug": { "version": "2.6.9", @@ -1175,6 +1178,7 @@ "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.10.0.tgz", "integrity": "sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==", "license": "MIT", + "peer": true, "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } @@ -1252,6 +1256,15 @@ "resolved": "services/inventory", "link": true }, + "node_modules/ip-address": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.0.1.tgz", + "integrity": "sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -2127,7 +2140,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } }, @@ -2169,7 +2182,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } }, @@ -2211,7 +2224,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } }, @@ -2253,7 +2266,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } }, diff --git a/services/accounts/package.json b/services/accounts/package.json index a2fe6fc..c164e45 100644 --- a/services/accounts/package.json +++ b/services/accounts/package.json @@ -9,7 +9,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } } diff --git a/services/inventory/package.json b/services/inventory/package.json index e14f21b..739876d 100644 --- a/services/inventory/package.json +++ b/services/inventory/package.json @@ -9,7 +9,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } } diff --git a/services/products/package.json b/services/products/package.json index 65b8f85..65674af 100644 --- a/services/products/package.json +++ b/services/products/package.json @@ -9,7 +9,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } } diff --git a/services/reviews/package.json b/services/reviews/package.json index d22e4ab..40c18f5 100644 --- a/services/reviews/package.json +++ b/services/reviews/package.json @@ -9,7 +9,7 @@ "@apollo/subgraph": "^2.5.6", "cors": "^2.8.5", "express": "^4.17.1", - "express-rate-limit": "^5.5.1", + "express-rate-limit": "^8.0.0", "graphql": "^16.8.1" } }