From 81accf10df3b1f9cd764fe43ccc10ac6f4b3f0cc Mon Sep 17 00:00:00 2001 From: cool Date: Fri, 23 Feb 2024 08:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/modules/plugin/service/info.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1b261ec..1f73f1c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@midwayjs/validate": "^3.14.7", "@midwayjs/view-ejs": "^3.14.7", "axios": "^1.6.7", + "decompress": "^4.2.1", "ipip-ipdb": "^0.6.0", "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", diff --git a/src/modules/plugin/service/info.ts b/src/modules/plugin/service/info.ts index 0b6893a..ffecbf1 100644 --- a/src/modules/plugin/service/info.ts +++ b/src/modules/plugin/service/info.ts @@ -7,7 +7,6 @@ import { Config, IMidwayApplication, IMidwayContext } from '@midwayjs/core'; import * as _ from 'lodash'; import { PluginInfo } from '../interface'; import { PLUGIN_CACHE_KEY, PluginCenterService } from './center'; -import * as fs from 'fs'; import { CacheManager } from '@midwayjs/cache'; /**