add cache to auth

This commit is contained in:
2025-01-24 19:24:27 +05:30
parent 59ce61d3a6
commit 405338c314
8 changed files with 125 additions and 67 deletions

17
pnpm-lock.yaml generated
View File

@@ -41,6 +41,9 @@ importers:
fastify-zod:
specifier: ^1.4.0
version: 1.4.0(fastify@5.2.0)
lru-cache:
specifier: ^11.0.2
version: 11.0.2
mongoose:
specifier: ^8.9.0
version: 8.9.0
@@ -54,6 +57,9 @@ importers:
'@types/node':
specifier: ^22.10.2
version: 22.10.2
k6:
specifier: ^0.0.0
version: 0.0.0
typescript:
specifier: ^5.7.2
version: 5.7.2
@@ -790,6 +796,9 @@ packages:
json-schema-traverse@1.0.0:
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
k6@0.0.0:
resolution: {integrity: sha512-GAQSWayS2+LjbH5bkRi+pMPYyP1JSp7o+4j58ANZ762N/RH/SdlAT3CHHztnn8s/xgg8kYNM24Gd2IPo9b5W+g==}
kareem@2.6.3:
resolution: {integrity: sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==}
engines: {node: '>=12.0.0'}
@@ -800,6 +809,10 @@ packages:
lower-case@2.0.2:
resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
lru-cache@11.0.2:
resolution: {integrity: sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==}
engines: {node: 20 || >=22}
make-dir@3.1.0:
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'}
@@ -2474,6 +2487,8 @@ snapshots:
json-schema-traverse@1.0.0: {}
k6@0.0.0: {}
kareem@2.6.3: {}
light-my-request@6.3.0:
@@ -2486,6 +2501,8 @@ snapshots:
dependencies:
tslib: 2.8.1
lru-cache@11.0.2: {}
make-dir@3.1.0:
dependencies:
semver: 6.3.1