From 845ebd7d1a6069cc07d330b103a245c95a81a22f Mon Sep 17 00:00:00 2001 From: VariableVince <24507472+VariableVince@users.noreply.github.com> Date: Tue, 14 Apr 2026 19:50:51 +0200 Subject: [PATCH] Chore(deps): Update express-rate-limit (#3667) ## Description: Update express-rate-limit 7.5.0 > 8.3.2. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tryout33 --- package-lock.json | 22 +++++++++++++++++----- package.json | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c1313c70..411d373fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "dotenv": "^16.5.0", "ejs": "^3.1.10", "express": "^5.2.1", - "express-rate-limit": "^7.5.0", + "express-rate-limit": "^8.3.2", "fastpriorityqueue": "^0.7.5", "howler": "^2.2.4", "intl-messageformat": "^10.7.16", @@ -7606,10 +7606,13 @@ } }, "node_modules/express-rate-limit": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz", - "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.3.2.tgz", + "integrity": "sha512-77VmFeJkO0/rvimEDuUC5H30oqUC4EyOhyGccfqoLebB0oiEYfM7nwPrsDsBL1gsTpwfzX8SFy2MT3TDyRq+bg==", "license": "MIT", + "dependencies": { + "ip-address": "10.1.0" + }, "engines": { "node": ">= 16" }, @@ -7617,7 +7620,7 @@ "url": "https://github.com/sponsors/express-rate-limit" }, "peerDependencies": { - "express": "^4.11 || 5 || ^5.0.0-beta.1" + "express": ">= 4.11" } }, "node_modules/fast-deep-equal": { @@ -8361,6 +8364,15 @@ "tslib": "^2.8.0" } }, + "node_modules/ip-address": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz", + "integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/ip-anonymize": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/ip-anonymize/-/ip-anonymize-0.1.0.tgz", diff --git a/package.json b/package.json index 064772790..aa902e7a2 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "dotenv": "^16.5.0", "ejs": "^3.1.10", "express": "^5.2.1", - "express-rate-limit": "^7.5.0", + "express-rate-limit": "^8.3.2", "fastpriorityqueue": "^0.7.5", "howler": "^2.2.4", "intl-messageformat": "^10.7.16",