feat(clients/weather): in-memory cache

This commit is contained in:
mikhail "synzr" 2025-12-02 16:32:33 +05:00
parent 5c0a84b3eb
commit 2e029e47c0
3 changed files with 61 additions and 22 deletions

17
pnpm-lock.yaml generated
View file

@ -47,6 +47,9 @@ importers:
globals:
specifier: ^16.5.0
version: 16.5.0
node-cache:
specifier: ^5.1.2
version: 5.1.2
svelte:
specifier: ^5.43.8
version: 5.45.2
@ -679,6 +682,10 @@ packages:
class-variance-authority@0.7.1:
resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
clone@2.1.2:
resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==}
engines: {node: '>=0.8'}
clsx@2.1.1:
resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
engines: {node: '>=6'}
@ -1034,6 +1041,10 @@ packages:
natural-compare@1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
node-cache@5.1.2:
resolution: {integrity: sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==}
engines: {node: '>= 8.0.0'}
optionator@0.9.4:
resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
engines: {node: '>= 0.8.0'}
@ -1801,6 +1812,8 @@ snapshots:
dependencies:
clsx: 2.1.1
clone@2.1.2: {}
clsx@2.1.1: {}
color-convert@2.0.1:
@ -2133,6 +2146,10 @@ snapshots:
natural-compare@1.4.0: {}
node-cache@5.1.2:
dependencies:
clone: 2.1.2
optionator@0.9.4:
dependencies:
deep-is: 0.1.4