diff --git a/package.json b/package.json index d853faa..7859538 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@fastify/helmet": "^13.1.1", "@fastify/jwt": "^10.2.2", "@fastify/multipart": "^10.1.1", - "@fastify/rate-limit": "^10.3.0", + "@fastify/rate-limit": "^11.2.0", "@fastify/swagger": "^9.8.1", "@fastify/swagger-ui": "^5.2.6", "@fastify/type-provider-typebox": "^6.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2903401..d8dea7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,8 +47,8 @@ importers: specifier: ^10.1.1 version: 10.1.1 '@fastify/rate-limit': - specifier: ^10.3.0 - version: 10.3.0 + specifier: ^11.2.0 + version: 11.2.0 '@fastify/swagger': specifier: ^9.8.1 version: 9.8.1 @@ -523,8 +523,8 @@ packages: '@fastify/proxy-addr@5.1.0': resolution: {integrity: sha512-INS+6gh91cLUjB+PVHfu1UqcB76Sqtpyp7bnL+FYojhjygvOPA9ctiD/JDKsyD9Xgu4hUhCSJBPig/w7duNajw==} - '@fastify/rate-limit@10.3.0': - resolution: {integrity: sha512-eIGkG9XKQs0nyynatApA3EVrojHOuq4l6fhB4eeCk4PIOeadvOJz9/4w3vGI44Go17uaXOWEcPkaD8kuKm7g6Q==} + '@fastify/rate-limit@11.2.0': + resolution: {integrity: sha512-X7osJd4XSvMoejYrnJkSZYYjY1eNYoBqhjlzf1RakC2204qExFqZFTKj5+T7VuzA/iUI9Z3UoSqQRkB2HpG0oQ==} '@fastify/send@4.1.0': resolution: {integrity: sha512-TMYeQLCBSy2TOFmV95hQWkiTYgC/SEx7vMdV+wnZVX4tt8VBLKzmH8vV9OzJehV0+XBfg+WxPMt5wp+JBUKsVw==} @@ -1640,6 +1640,10 @@ packages: resolution: {integrity: sha512-f+Dtubxfpf6KYFq7WVXJoOLn0bk4TJrMrN9SzeE+jrWrCWj7XX3fA6vkryafhADX+GMymRxgDJDOI33COkJc0w==} engines: {node: '>=20.0.0'} + ip-address@10.5.0: + resolution: {integrity: sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g==} + engines: {node: '>= 12'} + ipaddr.js@2.5.0: resolution: {integrity: sha512-aq+t5NAc+cS6rZQQVWC2x98CPqGtKKTMDd4Gaodv0wShnItdKg/51djkGJ1hqH+Oy0ivDftCbSLCQob8zso01w==} engines: {node: '>= 10'} @@ -2368,10 +2372,6 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - toad-cache@3.7.0: - resolution: {integrity: sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==} - engines: {node: '>=12'} - toad-cache@3.7.4: resolution: {integrity: sha512-m1TdR/rvT7kgGJZhspNtXdsdYk0fddFpJJFlG5s+UkPFo6lkLoZ3YLOaovPYjq1R75NP5JfeTlSHaOsE09peCg==} engines: {node: '>=20'} @@ -2971,11 +2971,12 @@ snapshots: '@fastify/forwarded': 3.0.2 ipaddr.js: 2.5.0 - '@fastify/rate-limit@10.3.0': + '@fastify/rate-limit@11.2.0': dependencies: '@lukeed/ms': 2.0.2 - fastify-plugin: 5.1.0 - toad-cache: 3.7.0 + fastify-plugin: 6.0.0 + ip-address: 10.5.0 + toad-cache: 3.7.4 '@fastify/send@4.1.0': dependencies: @@ -4174,6 +4175,8 @@ snapshots: transitivePeerDependencies: - supports-color + ip-address@10.5.0: {} + ipaddr.js@2.5.0: {} is-binary-path@2.1.0: @@ -4828,8 +4831,6 @@ snapshots: dependencies: is-number: 7.0.0 - toad-cache@3.7.0: {} - toad-cache@3.7.4: {} toidentifier@1.0.1: {}