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'; /**