From 963325668263a75720a85b593f8217c94084a9b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Mar 2023 19:36:55 +0800 Subject: [PATCH] fix(deps): update dependency lru-cache to v8 (#3368) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/core/package.json | 2 +- packages/core/src/tenants/index.ts | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 5c17bce0c..6c95d57cb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -61,7 +61,7 @@ "koa-proxies": "^0.12.1", "koa-router": "^12.0.0", "koa-send": "^5.0.1", - "lru-cache": "^7.14.1", + "lru-cache": "^8.0.0", "nanoid": "^4.0.0", "oidc-provider": "^8.0.0", "p-memoize": "^7.1.1", diff --git a/packages/core/src/tenants/index.ts b/packages/core/src/tenants/index.ts index f9dea006e..6f452f336 100644 --- a/packages/core/src/tenants/index.ts +++ b/packages/core/src/tenants/index.ts @@ -1,4 +1,4 @@ -import LRUCache from 'lru-cache'; +import { LRUCache } from 'lru-cache'; import { EnvSet } from '#src/env-set/index.js'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76618fc4b..057d32099 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -404,7 +404,7 @@ importers: koa-router: ^12.0.0 koa-send: ^5.0.1 lint-staged: ^13.0.0 - lru-cache: ^7.14.1 + lru-cache: ^8.0.0 nanoid: ^4.0.0 node-mocks-http: ^1.12.1 nodemon: ^2.0.19 @@ -462,7 +462,7 @@ importers: koa-proxies: 0.12.1_koa@2.13.4 koa-router: 12.0.0 koa-send: 5.0.1 - lru-cache: 7.14.1 + lru-cache: 8.0.0 nanoid: 4.0.0 oidc-provider: 8.0.0 p-memoize: 7.1.1 @@ -10334,9 +10334,9 @@ packages: dependencies: yallist: 4.0.0 - /lru-cache/7.14.1: - resolution: {integrity: sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==} - engines: {node: '>=12'} + /lru-cache/8.0.0: + resolution: {integrity: sha512-pMu1vSJIwJPS/YuMJAJFjvKA2OC7rvgKqJHr90JmZ1kv/hO+MuzqHRSWqyn730vlOwc1Bx/c8+3izTGzmKyXNQ==} + engines: {node: '>=16.14'} dev: false /lz-string/1.4.4: