chore: update lru

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2023-04-25 21:35:13 +08:00
parent 040856e57b
commit 44286f2bff
4 changed files with 8 additions and 14 deletions

View File

@@ -108,7 +108,7 @@
"jszip": "3.10.1",
"linkedom": "0.14.25",
"lodash": "*",
"lru-cache": "8.0.5",
"lru-cache": "9.1.1",
"marked": "4.3.0",
"mime-types": "*",
"mkdirp": "*",

16
pnpm-lock.yaml generated
View File

@@ -159,8 +159,8 @@ importers:
specifier: '*'
version: 4.17.21
lru-cache:
specifier: 8.0.5
version: 8.0.5
specifier: 9.1.1
version: 9.1.1
marked:
specifier: 4.3.0
version: 4.3.0
@@ -6679,15 +6679,9 @@ packages:
resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==}
engines: {node: '>=12'}
/lru-cache@8.0.5:
resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==}
engines: {node: '>=16.14'}
dev: false
/lru-cache@9.1.0:
resolution: {integrity: sha512-qFXQEwchrZcMVen2uIDceR8Tii6kCJak5rzDStfEM0qA3YLMswaxIEZO0DhIbJ3aqaJiDjt+3crlplOb0tDtKQ==}
/lru-cache@9.1.1:
resolution: {integrity: sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==}
engines: {node: 14 || >=16.14}
dev: true
/luxon@1.28.0:
resolution: {integrity: sha512-TfTiyvZhwBYM/7QdAVDh+7dBTBA29v4ik0Ce9zda3Mnf8on1S5KJI8P2jKFZ8+5C0jhmr0KwJEO/Wdpm0VeWJQ==}
@@ -7482,7 +7476,7 @@ packages:
resolution: {integrity: sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==}
engines: {node: '>=16 || 14 >=14.17'}
dependencies:
lru-cache: 9.1.0
lru-cache: 9.1.1
minipass: 5.0.0
dev: true

View File

@@ -1,5 +1,5 @@
import { isArrayLike, isObject } from 'lodash'
import LRUCache from 'lru-cache'
import { LRUCache } from 'lru-cache'
import { EncryptUtil } from '~/utils/encrypt.util'

View File

@@ -1,7 +1,7 @@
import { isURL } from 'class-validator'
import fs, { mkdir, stat } from 'fs/promises'
import { isPlainObject } from 'lodash'
import LRUCache from 'lru-cache'
import { LRUCache } from 'lru-cache'
import { createRequire } from 'module'
import { mongo } from 'mongoose'
import path, { resolve } from 'path'