From b364313297efba2f9891dac30c3336421cab1367 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 30 Sep 2025 18:01:49 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20linux=20=E7=BD=91=E7=BB=9C=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=91=BD=E4=BB=A4=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 4 + .vscode/launch.json | 8 +- docs/guide/install/source/index.md | 3 + packages/core/basic/src/utils/util.sp.ts | 24 +- packages/plugins/plugin-lib/package.json | 3 +- .../src/views/sys/nettest/ServerInfoCard.vue | 18 +- .../src/views/sys/nettest/index.vue | 2 +- packages/ui/certd-client/vite.config.ts | 1 + .../modules/sys/nettest/nettest-service.ts | 26 +- pnpm-lock.yaml | 678 +++++++----------- 10 files changed, 304 insertions(+), 463 deletions(-) diff --git a/.npmrc b/.npmrc index beae5694..f1333798 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,6 @@ link-workspace-packages=deep prefer-workspace-packages=true +better_sqlite3_binary_host=https://registry.npmmirror.com/-/binary/better-sqlite3 +better_sqlite3_binary_host_mirror=https://registry.npmmirror.com/-/binary/better-sqlite3 +better-sqlite3_binary_host=https://registry.npmmirror.com/-/binary/better-sqlite3 +better-sqlite3_binary_host_mirror=https://registry.npmmirror.com/-/binary/better-sqlite3 \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index b9ec5640..ed013d22 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,8 +10,8 @@ "type": "node", "request": "launch", "cwd": "${workspaceFolder}/packages/ui/certd-client", - "runtimeExecutable": "npm", - "runtimeArgs": ["run", "dev"], + "runtimeExecutable": "pnpm", + "runtimeArgs": ["dev"], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" }, @@ -20,8 +20,8 @@ "type": "node", "request": "launch", "cwd": "${workspaceFolder}/packages/ui/certd-server", - "runtimeExecutable": "npm", - "runtimeArgs": ["run", "dev"], + "runtimeExecutable": "pnpm", + "runtimeArgs": ["dev"], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" }, diff --git a/docs/guide/install/source/index.md b/docs/guide/install/source/index.md index 3c25c889..ef5d419b 100644 --- a/docs/guide/install/source/index.md +++ b/docs/guide/install/source/index.md @@ -11,9 +11,12 @@ git clone https://github.com/certd/certd --depth=1 # git checkout v1.x.x # 当v2主干分支代码无法正常启动时,可以尝试此命令,1.x.x换成最新版本号 cd certd + # 启动服务 ./start.sh + + ``` >如果是windows,请先安装`git for windows` ,然后右键,选择`open git bash here`打开终端,再执行`./start.sh`命令 diff --git a/packages/core/basic/src/utils/util.sp.ts b/packages/core/basic/src/utils/util.sp.ts index af7cae4e..414c17cb 100644 --- a/packages/core/basic/src/utils/util.sp.ts +++ b/packages/core/basic/src/utils/util.sp.ts @@ -1,7 +1,9 @@ //转换为import +//@ts-ignore import childProcess from "child_process"; import { safePromise } from "./util.promise.js"; import { ILogger, logger } from "./util.log.js"; +//@ts-ignore import iconv from "iconv-lite"; export type ExecOption = { cmd: string | string[]; @@ -28,12 +30,13 @@ async function exec(opts: ExecOption): Promise { cmd, { env: { + //@ts-ignore ...process.env, ...opts.env, }, ...opts.options, }, - (error, stdout, stderr) => { + (error: any, stdout: { toString: (arg0: string) => any }, stderr: any) => { if (error) { log.error(`exec error: ${error}`); reject(error); @@ -57,6 +60,7 @@ export type SpawnOption = { }; function isWindows() { + // @ts-ignore return process.platform === "win32"; } function convert(buffer: any) { @@ -94,31 +98,41 @@ async function spawn(opts: SpawnOption): Promise { const ls = childProcess.spawn(cmd, { shell: true, env: { + //@ts-ignore ...process.env, ...opts.env, }, ...opts.options, }); - ls.stdout.on("data", data => { + ls.stdout.on("data", (data: string) => { data = convert(data); log.info(`stdout: ${data}`); stdout += data; }); - ls.stderr.on("data", data => { + ls.stderr.on("data", (data: string) => { data = convert(data); log.warn(`stderr: ${data}`); stderr += data; }); - ls.on("error", error => { + ls.on("error", (error: any) => { log.error(`child process error: ${error}`); + //@ts-ignore + error.stderr = stderr; + //@ts-ignore + error.stdout = stdout; reject(error); }); ls.on("close", (code: number) => { if (code !== 0) { log.error(`child process exited with code ${code}`); - reject(new Error(stderr)); + const e = new Error(stderr || "return " + code); + //@ts-ignore + error.stderr = stderr; + //@ts-ignore + error.stdout = stdout; + reject(e); } else { resolve(stdout); } diff --git a/packages/plugins/plugin-lib/package.json b/packages/plugins/plugin-lib/package.json index 707b951e..d3664c2d 100644 --- a/packages/plugins/plugin-lib/package.json +++ b/packages/plugins/plugin-lib/package.json @@ -36,7 +36,8 @@ "socks-proxy-agent": "^8.0.4", "ssh2": "^1.15.0", "strip-ansi": "^7.1.0", - "tencentcloud-sdk-nodejs": "^4.0.1005" + "tencentcloud-sdk-nodejs": "^4.0.1005", + "psl": "^1.9.0" }, "devDependencies": { "@types/chai": "^4.3.3", diff --git a/packages/ui/certd-client/src/views/sys/nettest/ServerInfoCard.vue b/packages/ui/certd-client/src/views/sys/nettest/ServerInfoCard.vue index e3b79569..30f6fdff 100644 --- a/packages/ui/certd-client/src/views/sys/nettest/ServerInfoCard.vue +++ b/packages/ui/certd-client/src/views/sys/nettest/ServerInfoCard.vue @@ -19,14 +19,8 @@
本地IP:
-
- - - +
+ {{ ip }}
暂无信息
@@ -34,8 +28,8 @@
外网IP:
-
- {{ serverInfo.publicIP }} +
+ {{ ip }}
暂无信息
@@ -44,7 +38,7 @@
DNS服务器:
- {{ serverInfo.dnsServers.join(", ") }} + {{ dns }}
暂无信息
@@ -60,7 +54,7 @@ import { GetServerInfo } from "./api"; // 服务器信息类型 interface ServerInfo { localIP?: string[]; - publicIP?: string; + publicIP?: string[]; dnsServers?: string[]; } diff --git a/packages/ui/certd-client/src/views/sys/nettest/index.vue b/packages/ui/certd-client/src/views/sys/nettest/index.vue index d8b3dce7..626da460 100644 --- a/packages/ui/certd-client/src/views/sys/nettest/index.vue +++ b/packages/ui/certd-client/src/views/sys/nettest/index.vue @@ -6,7 +6,7 @@
- +
diff --git a/packages/ui/certd-client/vite.config.ts b/packages/ui/certd-client/vite.config.ts index fabd8e9f..87e4e745 100644 --- a/packages/ui/certd-client/vite.config.ts +++ b/packages/ui/certd-client/vite.config.ts @@ -84,6 +84,7 @@ export default ({ command, mode }) => { host: "0.0.0.0", port: 3008, fs: devServerFs, + allowedHosts: ["localhost", "127.0.0.1", "yfy.docmirror.cn"], proxy: { // with options "/api": { diff --git a/packages/ui/certd-server/src/modules/sys/nettest/nettest-service.ts b/packages/ui/certd-server/src/modules/sys/nettest/nettest-service.ts index feb7ed70..fe84627e 100644 --- a/packages/ui/certd-server/src/modules/sys/nettest/nettest-service.ts +++ b/packages/ui/certd-server/src/modules/sys/nettest/nettest-service.ts @@ -42,7 +42,7 @@ export class NetTestService { // 判断测试是否成功 const success = this.isWindows() ? output.includes('端口连接成功') - : output.includes('succeeded') || output.includes('open'); + : output.includes('Connected to'); // 处理结果 return { @@ -55,8 +55,8 @@ export class NetTestService { return { success: false, message: 'Telnet测试执行失败', - testLog: error instanceof Error ? error.message : String(error), - error: error instanceof Error ? error.message : String(error) + testLog: error.stdout || error.stderr || error?.message || String(error), + error: error.stderr || error?.message || String(error), }; } } @@ -133,7 +133,7 @@ export class NetTestService { }); // 判断测试是否成功 - const success = output.includes('Address:') || output.includes('IN A') || + const success = output.includes('Address:') || output.includes('IN A') || output.includes('IN AAAA') || (this.isWindows() && output.includes('Name:')); return { @@ -153,27 +153,29 @@ export class NetTestService { } - async getLocalIP(): Promise { + async getLocalIP(): Promise { try { const output = await utils.sp.spawn({ cmd: 'bash -c "ip a | grep \'inet \' | grep -v \'127.0.0.1\' | awk \'{print $2}\' | cut -d/ -f1"', logger: undefined }); - return output.trim(); + // 去除 inet 前缀 + let ips = output.trim().replace(/inet /g, ''); + return ips.split('\n').filter(ip => ip.length > 0); } catch (error) { - return error instanceof Error ? error.message : String(error); + return [error instanceof Error ? error.message : String(error)]; } } - async getPublicIP(): Promise { + async getPublicIP(): Promise { try { const res = await http.request({ url:"https://ipinfo.io/ip", method:"GET", }) - return res + return[res] } catch (error) { - return error instanceof Error ? error.message : String(error); + return [error instanceof Error ? error.message : String(error)] } } @@ -195,8 +197,8 @@ export class NetTestService { async serverInfo(): Promise { const res = { - localIP: '', - publicIP: '', + localIP: [], + publicIP: [], dnsServers: [], } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66175e0b..d7b09221 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,10 +81,10 @@ importers: version: 20.17.47 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) chai: specifier: ^4.4.1 version: 4.5.0 @@ -99,10 +99,10 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.31.0(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0) + version: 2.31.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) jsdoc-to-markdown: specifier: ^8.0.1 version: 8.0.3 @@ -172,13 +172,13 @@ importers: version: 10.0.10 '@types/node-forge': specifier: ^1.3.2 - version: 1.3.11 + version: 1.3.14 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) chai: specifier: 4.3.10 version: 4.3.10 @@ -190,7 +190,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -211,7 +211,7 @@ importers: version: link:../basic '@certd/plus-core': specifier: ^1.37.1 - version: link:../../pro/plus-core + version: 1.37.1 dayjs: specifier: ^1.11.7 version: 1.11.13 @@ -248,10 +248,10 @@ importers: version: 10.0.10 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) chai: specifier: 4.3.10 version: 4.3.10 @@ -263,7 +263,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) mocha: specifier: ^10.2.0 version: 10.8.2 @@ -294,10 +294,10 @@ importers: devDependencies: '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -316,10 +316,10 @@ importers: version: 4.3.20 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) eslint: specifier: ^8.24.0 version: 8.57.0 @@ -328,7 +328,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -380,10 +380,10 @@ importers: version: 11.1.6(rollup@3.29.5)(tslib@2.8.1)(typescript@5.8.3) '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) babel-cli: specifier: ^6.26.0 version: 6.26.0 @@ -426,10 +426,10 @@ importers: version: 4.3.20 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) eslint: specifier: ^8.24.0 version: 8.57.0 @@ -438,7 +438,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -468,7 +468,7 @@ importers: version: link:../../plugins/plugin-lib '@certd/plus-core': specifier: ^1.37.1 - version: link:../../pro/plus-core + version: 1.37.1 '@midwayjs/cache': specifier: 3.14.0 version: 3.14.0 @@ -526,10 +526,10 @@ importers: version: 18.19.100 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) eslint: specifier: ^8.24.0 version: 8.57.0 @@ -538,7 +538,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -575,10 +575,10 @@ importers: version: 18.19.100 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) eslint: specifier: ^8.24.0 version: 8.57.0 @@ -587,13 +587,13 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-import: specifier: ^2.26.0 - version: 2.31.0(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0) + version: 2.31.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0) eslint-plugin-node: specifier: ^11.1.0 version: 11.1.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -654,13 +654,13 @@ importers: version: 10.0.10 '@types/psl': specifier: ^1.1.3 - version: 1.1.3 + version: 1.11.0 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) chai: specifier: ^4.3.6 version: 4.5.0 @@ -672,7 +672,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) mocha: specifier: ^10.1.0 version: 10.8.2 @@ -730,6 +730,9 @@ importers: lodash-es: specifier: ^4.17.21 version: 4.17.21 + psl: + specifier: ^1.15.0 + version: 1.15.0 qiniu: specifier: ^7.12.0 version: 7.14.0 @@ -750,7 +753,7 @@ importers: version: 7.1.0 tencentcloud-sdk-nodejs: specifier: ^4.0.1005 - version: 4.1.37(encoding@0.1.13) + version: 4.1.112(encoding@0.1.13) devDependencies: '@types/chai': specifier: ^4.3.3 @@ -760,13 +763,13 @@ importers: version: 10.0.10 '@types/psl': specifier: ^1.1.3 - version: 1.1.3 + version: 1.11.0 '@typescript-eslint/eslint-plugin': specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) '@typescript-eslint/parser': specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) + version: 8.45.0(eslint@8.57.0)(typescript@5.8.3) chai: specifier: ^4.3.6 version: 4.5.0 @@ -778,7 +781,7 @@ importers: version: 8.10.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + version: 4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) mocha: specifier: ^10.1.0 version: 10.8.2 @@ -792,282 +795,6 @@ importers: specifier: ^5.4.2 version: 5.8.3 - packages/pro/commercial-core: - dependencies: - '@certd/basic': - specifier: ^1.37.1 - version: link:../../core/basic - '@certd/lib-server': - specifier: ^1.37.1 - version: link:../../libs/lib-server - '@certd/pipeline': - specifier: ^1.37.1 - version: link:../../core/pipeline - '@certd/plugin-plus': - specifier: ^1.37.1 - version: link:../plugin-plus - '@certd/plus-core': - specifier: ^1.37.1 - version: link:../plus-core - '@midwayjs/core': - specifier: 3.20.11 - version: 3.20.11 - '@midwayjs/koa': - specifier: 3.20.13 - version: 3.20.13 - '@midwayjs/logger': - specifier: 3.4.2 - version: 3.4.2 - '@midwayjs/typeorm': - specifier: 3.20.11 - version: 3.20.11 - alipay-sdk: - specifier: ^4.13.0 - version: 4.14.0 - dayjs: - specifier: ^1.11.7 - version: 1.11.13 - typeorm: - specifier: ^0.3.20 - version: 0.3.24(better-sqlite3@11.10.0)(mysql2@3.14.1)(pg@8.16.0)(reflect-metadata@0.2.2)(ts-node@10.9.2(@types/node@18.19.100)(typescript@5.8.3)) - wechatpay-node-v3: - specifier: ^2.2.1 - version: 2.2.1 - devDependencies: - '@rollup/plugin-json': - specifier: ^6.0.0 - version: 6.1.0(rollup@3.29.5) - '@rollup/plugin-terser': - specifier: ^0.4.3 - version: 0.4.4(rollup@3.29.5) - '@rollup/plugin-typescript': - specifier: ^11.0.0 - version: 11.1.6(rollup@3.29.5)(tslib@2.8.1)(typescript@5.8.3) - '@types/chai': - specifier: ^4.3.3 - version: 4.3.20 - '@types/node': - specifier: ^18 - version: 18.19.100 - '@typescript-eslint/eslint-plugin': - specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/parser': - specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) - eslint: - specifier: ^8.24.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^8.5.0 - version: 8.10.0(eslint@8.57.0) - eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) - prettier: - specifier: ^2.8.8 - version: 2.8.8 - rimraf: - specifier: ^5.0.5 - version: 5.0.10 - rollup: - specifier: ^3.7.4 - version: 3.29.5 - rollup-plugin-visualizer: - specifier: ^5.8.2 - version: 5.14.0(rollup@3.29.5) - tslib: - specifier: ^2.8.1 - version: 2.8.1 - typescript: - specifier: ^5.4.2 - version: 5.8.3 - - packages/pro/plugin-plus: - dependencies: - '@alicloud/pop-core': - specifier: ^1.7.10 - version: 1.8.0 - '@baiducloud/sdk': - specifier: ^1.0.2 - version: 1.0.3 - '@certd/basic': - specifier: ^1.37.1 - version: link:../../core/basic - '@certd/lib-k8s': - specifier: ^1.37.1 - version: link:../../libs/lib-k8s - '@certd/pipeline': - specifier: ^1.37.1 - version: link:../../core/pipeline - '@certd/plugin-cert': - specifier: ^1.37.1 - version: link:../../plugins/plugin-cert - '@certd/plus-core': - specifier: ^1.37.1 - version: link:../plus-core - ali-oss: - specifier: ^6.21.0 - version: 6.23.0 - baidu-aip-sdk: - specifier: ^4.16.16 - version: 4.16.16 - basic-ftp: - specifier: ^5.0.5 - version: 5.0.5 - cos-nodejs-sdk-v5: - specifier: ^2.14.6 - version: 2.14.7 - crypto-js: - specifier: ^4.2.0 - version: 4.2.0 - dayjs: - specifier: ^1.11.7 - version: 1.11.13 - form-data: - specifier: ^4.0.0 - version: 4.0.2 - https-proxy-agent: - specifier: ^7.0.5 - version: 7.0.6 - js-yaml: - specifier: ^4.1.0 - version: 4.1.0 - jsencrypt: - specifier: ^3.3.2 - version: 3.3.2 - jsrsasign: - specifier: ^11.1.0 - version: 11.1.0 - qiniu: - specifier: ^7.12.0 - version: 7.14.0 - tencentcloud-sdk-nodejs: - specifier: ^4.0.44 - version: 4.1.37(encoding@0.1.13) - devDependencies: - '@rollup/plugin-json': - specifier: ^6.0.0 - version: 6.1.0(rollup@3.29.5) - '@rollup/plugin-terser': - specifier: ^0.4.3 - version: 0.4.4(rollup@3.29.5) - '@rollup/plugin-typescript': - specifier: ^11.0.0 - version: 11.1.6(rollup@3.29.5)(tslib@2.8.1)(typescript@5.8.3) - '@types/ali-oss': - specifier: ^6.16.11 - version: 6.16.11 - '@types/chai': - specifier: ^4.3.10 - version: 4.3.20 - '@types/mocha': - specifier: ^10.0.7 - version: 10.0.10 - '@types/node': - specifier: ^18 - version: 18.19.100 - '@typescript-eslint/eslint-plugin': - specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/parser': - specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) - chai: - specifier: 4.3.10 - version: 4.3.10 - eslint: - specifier: ^8.41.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.10.0(eslint@8.57.0) - eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) - mocha: - specifier: ^10.2.0 - version: 10.8.2 - prettier: - specifier: ^2.8.8 - version: 2.8.8 - rimraf: - specifier: ^5.0.5 - version: 5.0.10 - rollup: - specifier: ^3.7.4 - version: 3.29.5 - tslib: - specifier: ^2.8.1 - version: 2.8.1 - typescript: - specifier: ^5.4.2 - version: 5.8.3 - - packages/pro/plus-core: - dependencies: - '@certd/basic': - specifier: ^1.37.1 - version: link:../../core/basic - dayjs: - specifier: ^1.11.7 - version: 1.11.13 - devDependencies: - '@rollup/plugin-json': - specifier: ^6.0.0 - version: 6.1.0(rollup@3.29.5) - '@rollup/plugin-terser': - specifier: ^0.4.3 - version: 0.4.4(rollup@3.29.5) - '@rollup/plugin-typescript': - specifier: ^11.0.0 - version: 11.1.6(rollup@3.29.5)(tslib@2.8.1)(typescript@5.8.3) - '@types/chai': - specifier: ^4.3.10 - version: 4.3.20 - '@types/mocha': - specifier: ^10.0.7 - version: 10.0.10 - '@types/node': - specifier: ^18 - version: 18.19.100 - '@typescript-eslint/eslint-plugin': - specifier: ^8.26.1 - version: 8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/parser': - specifier: ^8.26.1 - version: 8.32.1(eslint@8.57.0)(typescript@5.8.3) - chai: - specifier: 4.3.10 - version: 4.3.10 - eslint: - specifier: ^8.41.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.10.0(eslint@8.57.0) - eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) - mocha: - specifier: ^10.2.0 - version: 10.8.2 - prettier: - specifier: ^2.8.8 - version: 2.8.8 - rimraf: - specifier: ^5.0.5 - version: 5.0.10 - rollup: - specifier: ^3.7.4 - version: 3.29.5 - tslib: - specifier: ^2.8.1 - version: 2.8.1 - typescript: - specifier: ^5.4.2 - version: 5.8.3 - packages/ui/certd-client: dependencies: '@ant-design/colors': @@ -1496,7 +1223,7 @@ importers: version: link:../../core/basic '@certd/commercial-core': specifier: ^1.37.1 - version: link:../../pro/commercial-core + version: 1.37.1(better-sqlite3@11.10.0)(encoding@0.1.13)(mysql2@3.14.1)(pg@8.16.0)(reflect-metadata@0.2.2)(ts-node@10.9.2(@types/node@18.19.100)(typescript@5.8.3)) '@certd/cv4pve-api-javascript': specifier: ^8.4.2 version: 8.4.2 @@ -1526,10 +1253,10 @@ importers: version: link:../../plugins/plugin-lib '@certd/plugin-plus': specifier: ^1.37.1 - version: link:../../pro/plugin-plus + version: 1.37.1(encoding@0.1.13) '@certd/plus-core': specifier: ^1.37.1 - version: link:../../pro/plus-core + version: 1.37.1 '@huaweicloud/huaweicloud-sdk-cdn': specifier: ^3.1.120 version: 3.1.149 @@ -2772,9 +2499,18 @@ packages: '@better-scroll/zoom@2.5.1': resolution: {integrity: sha512-aGvFY5ooeZWS4RcxQLD+pGLpQHQxpPy0sMZV3yadcd2QK53PK9gS4Dp+BYfRv8lZ4/P2LoNEhr6Wq1DN6+uPlA==} + '@certd/commercial-core@1.37.1': + resolution: {integrity: sha512-GOho7YJbIovAbQeNG0+WP1u5bkbS4NXLQfsvKP29hAtnWMQ2zDLolEkNqa0LKKzw2qaxKKeksNw6NMqC0nG7IA==} + '@certd/cv4pve-api-javascript@8.4.2': resolution: {integrity: sha512-udGce7ewrVl4DmZvX+17PjsnqsdDIHEDatr8QP0AVrY2p+8JkaSPW4mXCKiLGf82C9K2+GXgT+qNIqgW7tfF9Q==} + '@certd/plugin-plus@1.37.1': + resolution: {integrity: sha512-ykcUwT2kUBhrzep4zd6pq+E1ebsJmVzFHdr4V0AGU+fsk4TC4PRXVp8JDVIauQJGSAeoX08NVHRyWB5P5pHreA==} + + '@certd/plus-core@1.37.1': + resolution: {integrity: sha512-CQ1QivrqbylFM/o8eUBSJZUDEBfZMNOxow99CbAgjjFCJDzeFB/5CMNvt6q2G7eJg+2RNbhWhPK9hOfJvqjndQ==} + '@certd/vue-js-cron-core@6.0.3': resolution: {integrity: sha512-kqzoAMhYz9j6FGNWEODRYtt4NpUEUwjpkU89z5WVg2tCtOcI5VhwyUGOd8AxiBCRfd6PtXvzuqw85PaOps9wrQ==} @@ -4842,8 +4578,8 @@ packages: '@types/mocha@10.0.10': resolution: {integrity: sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==} - '@types/node-forge@1.3.11': - resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + '@types/node-forge@1.3.14': + resolution: {integrity: sha512-mhVF2BnD4BO+jtOp7z1CdzaK4mbuK0LLQYAvdOLqHTavxFNq4zA1EmYkpnFjP8HOUzedfQkRnp0E2ulSAYSzAw==} '@types/node@10.17.60': resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} @@ -4876,8 +4612,9 @@ packages: resolution: {integrity: sha512-EULJ8LApcVEPbrfND0cRQqutIOdiIgJ1Mgrhpy755r14xMohPTEpkV/k28SJvuOs9bHRFW8x+KeDAEPiGQPB9Q==} deprecated: This is a stub types definition. parse-path provides its own type definitions, so you do not need this installed. - '@types/psl@1.1.3': - resolution: {integrity: sha512-Iu174JHfLd7i/XkXY6VDrqSlPvTDQOtQI7wNAXKKOAADJ9TduRLkNdMgjGiMxSttUIZnomv81JAbAbC0DhggxA==} + '@types/psl@1.11.0': + resolution: {integrity: sha512-OeASqmnreaSJyxwljqCZjRIf7jpbwswaqbSPahE99PZrizNAOXEl9HRWhXvCt3fkAc/WuF8wcZ6zkDHXaE7X4g==} + deprecated: This is a stub types definition. psl provides its own type definitions, so you do not need this installed. '@types/qs@6.9.18': resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==} @@ -4970,13 +4707,13 @@ packages: typescript: optional: true - '@typescript-eslint/eslint-plugin@8.32.1': - resolution: {integrity: sha512-6u6Plg9nP/J1GRpe/vcjjabo6Uc5YQPAMxsgQyGC/I0RuukiG1wIe3+Vtg3IrSCVJDmqK3j8adrtzXSENRtFgg==} + '@typescript-eslint/eslint-plugin@8.45.0': + resolution: {integrity: sha512-HC3y9CVuevvWCl/oyZuI47dOeDF9ztdMEfMH8/DW/Mhwa9cCLnK1oD7JoTVGW/u7kFzNZUKUoyJEqkaJh5y3Wg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + '@typescript-eslint/parser': ^8.45.0 eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <5.9.0' + typescript: '>=4.8.4 <6.0.0' '@typescript-eslint/parser@5.62.0': resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} @@ -4998,12 +4735,18 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.32.1': - resolution: {integrity: sha512-LKMrmwCPoLhM45Z00O1ulb6jwyVr2kr3XJp+G+tSEZcbauNnScewcQwtJqXDhXeYPDEjZ8C1SjXm015CirEmGg==} + '@typescript-eslint/parser@8.45.0': + resolution: {integrity: sha512-TGf22kon8KW+DeKaUmOibKWktRY8b2NSAZNdtWh798COm1NWx8+xJ6iFBtk3IvLdv6+LGLJLRlyhrhEDZWargQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <5.9.0' + typescript: '>=4.8.4 <6.0.0' + + '@typescript-eslint/project-service@8.45.0': + resolution: {integrity: sha512-3pcVHwMG/iA8afdGLMuTibGR7pDsn9RjDev6CCB+naRsSYs2pns5QbinF4Xqw6YC/Sj3lMrm/Im0eMfaa61WUg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.0.0' '@typescript-eslint/scope-manager@5.62.0': resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} @@ -5013,10 +4756,16 @@ packages: resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.32.1': - resolution: {integrity: sha512-7IsIaIDeZn7kffk7qXC3o6Z4UblZJKV3UBpkvRNpr5NSyLji7tvTcvmnMNYuYLyh26mN8W723xpo3i4MlD33vA==} + '@typescript-eslint/scope-manager@8.45.0': + resolution: {integrity: sha512-clmm8XSNj/1dGvJeO6VGH7EUSeA0FMs+5au/u3lrA3KfG8iJ4u8ym9/j2tTEoacAffdW1TVUzXO30W1JTJS7dA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/tsconfig-utils@8.45.0': + resolution: {integrity: sha512-aFdr+c37sc+jqNMGhH+ajxPXwjv9UtFZk79k8pLoJ6p4y0snmYpPA52GuWHgt2ZF4gRRW6odsEj41uZLojDt5w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.0.0' + '@typescript-eslint/type-utils@5.62.0': resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -5037,12 +4786,12 @@ packages: typescript: optional: true - '@typescript-eslint/type-utils@8.32.1': - resolution: {integrity: sha512-mv9YpQGA8iIsl5KyUPi+FGLm7+bA4fgXaeRcFKRDRwDMu4iwrSHeDPipwueNXhdIIZltwCJv+NkxftECbIZWfA==} + '@typescript-eslint/type-utils@8.45.0': + resolution: {integrity: sha512-bpjepLlHceKgyMEPglAeULX1vixJDgaKocp0RVJ5u4wLJIMNuKtUXIczpJCPcn2waII0yuvks/5m5/h3ZQKs0A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <5.9.0' + typescript: '>=4.8.4 <6.0.0' '@typescript-eslint/types@5.62.0': resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} @@ -5052,8 +4801,8 @@ packages: resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.32.1': - resolution: {integrity: sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg==} + '@typescript-eslint/types@8.45.0': + resolution: {integrity: sha512-WugXLuOIq67BMgQInIxxnsSyRLFxdkJEJu8r4ngLR56q/4Q5LrbfkFRH27vMTjxEK8Pyz7QfzuZe/G15qQnVRA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@5.62.0': @@ -5074,11 +4823,11 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.32.1': - resolution: {integrity: sha512-Y3AP9EIfYwBb4kWGb+simvPaqQoT5oJuzzj9m0i6FCY6SPvlomY2Ei4UEMm7+FXtlNJbor80ximyslzaQF6xhg==} + '@typescript-eslint/typescript-estree@8.45.0': + resolution: {integrity: sha512-GfE1NfVbLam6XQ0LcERKwdTTPlLvHvXXhOeUGC1OXi4eQBoyy1iVsW+uzJ/J9jtCz6/7GCQ9MtrQ0fml/jWCnA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - typescript: '>=4.8.4 <5.9.0' + typescript: '>=4.8.4 <6.0.0' '@typescript-eslint/utils@5.62.0': resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} @@ -5092,12 +4841,12 @@ packages: peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/utils@8.32.1': - resolution: {integrity: sha512-DsSFNIgLSrc89gpq1LJB7Hm1YpuhK086DRDJSNrewcGvYloWW1vZLHBTIvarKZDcAORIy/uWNx8Gad+4oMpkSA==} + '@typescript-eslint/utils@8.45.0': + resolution: {integrity: sha512-bxi1ht+tLYg4+XV2knz/F7RVhU0k6VrSMc9sb8DQ6fyCTrGQLHfo7lDtN0QJjZjKkLA2ThrKuCdHEvLReqtIGg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <5.9.0' + typescript: '>=4.8.4 <6.0.0' '@typescript-eslint/visitor-keys@5.62.0': resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} @@ -5107,8 +4856,8 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.32.1': - resolution: {integrity: sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w==} + '@typescript-eslint/visitor-keys@8.45.0': + resolution: {integrity: sha512-qsaFBA3e09MIDAGFUrTk+dzqtfv1XPVz8t8d1f0ybTzrCY7BKiMC5cjrl1O/P7UmHsNyW90EYSkU/ZWpmXelag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.3.0': @@ -7484,8 +7233,8 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-prettier@4.2.1: - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} + eslint-plugin-prettier@4.2.5: + resolution: {integrity: sha512-9Ni+xgemM2IWLq6aXEpP2+V/V30GeA/46Ar629vcMqVPodFFWC9skHu/D1phvuqtS8bJCFnNf01/qcmqYEwNfg==} engines: {node: '>=12.0.0'} peerDependencies: eslint: '>=7.28.0' @@ -7548,8 +7297,8 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint@7.32.0: @@ -11823,8 +11572,8 @@ packages: resolution: {integrity: sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==} engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} - sort-array@5.0.0: - resolution: {integrity: sha512-Sg9MzajSGprcSrMIxsXyNT0e0JB47RJRfJspC+7co4Z5BdNsNl8FmWI+lXEpyKq+vkMG6pHgAhqyCO+bkDTfFQ==} + sort-array@5.1.1: + resolution: {integrity: sha512-EltS7AIsNlAFIM9cayrgKrM6XP94ATWwXP4LCL4IQbvbYhELSt2hZTrixg+AaQwnWFs/JGJgqU3rxMcNNWxGAA==} engines: {node: '>=12.17'} peerDependencies: '@75lb/nature': ^0.1.1 @@ -12264,10 +12013,6 @@ packages: resolution: {integrity: sha512-30Ju53bTd3OjMRwfieDvEYvjHhHVg2Eqc0EM7H8gKEWq0y3xMEdrxgYRrjhIkRo5Doc5YEOl6uUJUCfeT7dmFA==} engines: {node: '>=10'} - tencentcloud-sdk-nodejs@4.1.37: - resolution: {integrity: sha512-rQV/jaUHGsB71JarqFdDJTl5tC2kIavgSUqlh8JoOUNpfJoAD4qHm1GLdDTUTEPKhv3qF9Is3qo6lj4cG9kKuw==} - engines: {node: '>=10'} - terser@5.39.1: resolution: {integrity: sha512-Mm6+uad0ZuDtcV8/4uOZQDQ8RuiC5Pu+iZRedJtF7yA/27sPL7d++In/AJKpWZlU3SYMPPkVfwetn6sgZ66pUA==} engines: {node: '>=10'} @@ -15473,12 +15218,83 @@ snapshots: dependencies: '@better-scroll/core': 2.5.1 + '@certd/commercial-core@1.37.1(better-sqlite3@11.10.0)(encoding@0.1.13)(mysql2@3.14.1)(pg@8.16.0)(reflect-metadata@0.2.2)(ts-node@10.9.2(@types/node@18.19.100)(typescript@5.8.3))': + dependencies: + '@certd/basic': link:packages/core/basic + '@certd/lib-server': link:packages/libs/lib-server + '@certd/pipeline': link:packages/core/pipeline + '@certd/plugin-plus': 1.37.1(encoding@0.1.13) + '@certd/plus-core': 1.37.1 + '@midwayjs/core': 3.20.11 + '@midwayjs/koa': 3.20.13 + '@midwayjs/logger': 3.4.2 + '@midwayjs/typeorm': 3.20.11 + alipay-sdk: 4.14.0 + dayjs: 1.11.13 + typeorm: 0.3.24(better-sqlite3@11.10.0)(mysql2@3.14.1)(pg@8.16.0)(reflect-metadata@0.2.2)(ts-node@10.9.2(@types/node@18.19.100)(typescript@5.8.3)) + wechatpay-node-v3: 2.2.1 + transitivePeerDependencies: + - '@google-cloud/spanner' + - '@sap/hana-client' + - babel-plugin-macros + - better-sqlite3 + - encoding + - hdb-pool + - ioredis + - mongodb + - mssql + - mysql2 + - oracledb + - pg + - pg-native + - pg-query-stream + - proxy-agent + - redis + - reflect-metadata + - sql.js + - sqlite3 + - supports-color + - ts-node + - typeorm-aurora-data-api-driver + '@certd/cv4pve-api-javascript@8.4.2': dependencies: debug: 4.4.1(supports-color@8.1.1) transitivePeerDependencies: - supports-color + '@certd/plugin-plus@1.37.1(encoding@0.1.13)': + dependencies: + '@alicloud/pop-core': 1.8.0 + '@baiducloud/sdk': 1.0.3 + '@certd/basic': link:packages/core/basic + '@certd/lib-k8s': link:packages/libs/lib-k8s + '@certd/pipeline': link:packages/core/pipeline + '@certd/plugin-cert': link:packages/plugins/plugin-cert + '@certd/plus-core': 1.37.1 + ali-oss: 6.23.0 + baidu-aip-sdk: 4.16.16 + basic-ftp: 5.0.5 + cos-nodejs-sdk-v5: 2.14.7 + crypto-js: 4.2.0 + dayjs: 1.11.13 + form-data: 4.0.2 + https-proxy-agent: 7.0.6 + js-yaml: 4.1.0 + jsencrypt: 3.3.2 + jsrsasign: 11.1.0 + qiniu: 7.14.0 + tencentcloud-sdk-nodejs: 4.1.112(encoding@0.1.13) + transitivePeerDependencies: + - encoding + - proxy-agent + - supports-color + + '@certd/plus-core@1.37.1': + dependencies: + '@certd/basic': link:packages/core/basic + dayjs: 1.11.13 + '@certd/vue-js-cron-core@6.0.3': dependencies: mustache: 4.2.0 @@ -17939,7 +17755,7 @@ snapshots: '@types/accepts@1.3.7': dependencies: - '@types/node': 18.19.100 + '@types/node': 20.17.47 '@types/ali-oss@6.16.11': {} @@ -17971,11 +17787,11 @@ snapshots: '@types/connect': 3.4.38 '@types/express': 5.0.1 '@types/keygrip': 1.0.6 - '@types/node': 18.19.100 + '@types/node': 20.17.47 '@types/eslint@7.29.0': dependencies: - '@types/estree': 1.0.7 + '@types/estree': 1.0.8 '@types/json-schema': 7.0.15 '@types/estree@1.0.7': {} @@ -18053,7 +17869,7 @@ snapshots: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 18.19.100 + '@types/node': 20.17.47 '@types/linkify-it@5.0.0': {} @@ -18082,7 +17898,7 @@ snapshots: '@types/mocha@10.0.10': {} - '@types/node-forge@1.3.11': + '@types/node-forge@1.3.14': dependencies: '@types/node': 20.17.47 @@ -18106,7 +17922,7 @@ snapshots: '@types/nodemailer@6.4.17': dependencies: - '@types/node': 18.19.100 + '@types/node': 20.17.47 '@types/normalize-package-data@2.4.4': {} @@ -18116,7 +17932,9 @@ snapshots: dependencies: parse-path: 7.1.0 - '@types/psl@1.1.3': {} + '@types/psl@1.11.0': + dependencies: + psl: 1.15.0 '@types/qs@6.9.18': {} @@ -18230,14 +18048,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.32.1(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3)': + '@typescript-eslint/eslint-plugin@8.45.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0)(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.32.1(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/scope-manager': 8.32.1 - '@typescript-eslint/type-utils': 8.32.1(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/utils': 8.32.1(eslint@8.57.0)(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.32.1 + '@typescript-eslint/parser': 8.45.0(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/scope-manager': 8.45.0 + '@typescript-eslint/type-utils': 8.45.0(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/utils': 8.45.0(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.45.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 7.0.4 @@ -18272,18 +18090,27 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3)': + '@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3)': dependencies: - '@typescript-eslint/scope-manager': 8.32.1 - '@typescript-eslint/types': 8.32.1 - '@typescript-eslint/typescript-estree': 8.32.1(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.32.1 + '@typescript-eslint/scope-manager': 8.45.0 + '@typescript-eslint/types': 8.45.0 + '@typescript-eslint/typescript-estree': 8.45.0(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.45.0 debug: 4.4.1(supports-color@8.1.1) eslint: 8.57.0 typescript: 5.8.3 transitivePeerDependencies: - supports-color + '@typescript-eslint/project-service@8.45.0(typescript@5.8.3)': + dependencies: + '@typescript-eslint/tsconfig-utils': 8.45.0(typescript@5.8.3) + '@typescript-eslint/types': 8.45.0 + debug: 4.4.1(supports-color@8.1.1) + typescript: 5.8.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/scope-manager@5.62.0': dependencies: '@typescript-eslint/types': 5.62.0 @@ -18294,10 +18121,14 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@8.32.1': + '@typescript-eslint/scope-manager@8.45.0': dependencies: - '@typescript-eslint/types': 8.32.1 - '@typescript-eslint/visitor-keys': 8.32.1 + '@typescript-eslint/types': 8.45.0 + '@typescript-eslint/visitor-keys': 8.45.0 + + '@typescript-eslint/tsconfig-utils@8.45.0(typescript@5.8.3)': + dependencies: + typescript: 5.8.3 '@typescript-eslint/type-utils@5.62.0(eslint@7.32.0)(typescript@5.8.3)': dependencies: @@ -18323,10 +18154,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.32.1(eslint@8.57.0)(typescript@5.8.3)': + '@typescript-eslint/type-utils@8.45.0(eslint@8.57.0)(typescript@5.8.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.32.1(typescript@5.8.3) - '@typescript-eslint/utils': 8.32.1(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/types': 8.45.0 + '@typescript-eslint/typescript-estree': 8.45.0(typescript@5.8.3) + '@typescript-eslint/utils': 8.45.0(eslint@8.57.0)(typescript@5.8.3) debug: 4.4.1(supports-color@8.1.1) eslint: 8.57.0 ts-api-utils: 2.1.0(typescript@5.8.3) @@ -18338,7 +18170,7 @@ snapshots: '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.32.1': {} + '@typescript-eslint/types@8.45.0': {} '@typescript-eslint/typescript-estree@5.62.0(typescript@5.8.3)': dependencies: @@ -18369,10 +18201,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.32.1(typescript@5.8.3)': + '@typescript-eslint/typescript-estree@8.45.0(typescript@5.8.3)': dependencies: - '@typescript-eslint/types': 8.32.1 - '@typescript-eslint/visitor-keys': 8.32.1 + '@typescript-eslint/project-service': 8.45.0(typescript@5.8.3) + '@typescript-eslint/tsconfig-utils': 8.45.0(typescript@5.8.3) + '@typescript-eslint/types': 8.45.0 + '@typescript-eslint/visitor-keys': 8.45.0 debug: 4.4.1(supports-color@8.1.1) fast-glob: 3.3.3 is-glob: 4.0.3 @@ -18409,12 +18243,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.32.1(eslint@8.57.0)(typescript@5.8.3)': + '@typescript-eslint/utils@8.45.0(eslint@8.57.0)(typescript@5.8.3)': dependencies: '@eslint-community/eslint-utils': 4.7.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 8.32.1 - '@typescript-eslint/types': 8.32.1 - '@typescript-eslint/typescript-estree': 8.32.1(typescript@5.8.3) + '@typescript-eslint/scope-manager': 8.45.0 + '@typescript-eslint/types': 8.45.0 + '@typescript-eslint/typescript-estree': 8.45.0(typescript@5.8.3) eslint: 8.57.0 typescript: 5.8.3 transitivePeerDependencies: @@ -18430,10 +18264,10 @@ snapshots: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.32.1': + '@typescript-eslint/visitor-keys@8.45.0': dependencies: - '@typescript-eslint/types': 8.32.1 - eslint-visitor-keys: 4.2.0 + '@typescript-eslint/types': 8.45.0 + eslint-visitor-keys: 4.2.1 '@ungap/structured-clone@1.3.0': {} @@ -21470,11 +21304,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.32.1(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/parser': 8.45.0(eslint@8.57.0)(typescript@5.8.3) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: @@ -21521,7 +21355,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint@8.57.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -21532,7 +21366,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.32.1(eslint@8.57.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.45.0(eslint@8.57.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -21544,7 +21378,7 @@ snapshots: string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.32.1(eslint@8.57.0)(typescript@5.8.3) + '@typescript-eslint/parser': 8.45.0(eslint@8.57.0)(typescript@5.8.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -21578,7 +21412,7 @@ snapshots: optionalDependencies: eslint-config-prettier: 8.10.0(eslint@8.57.0) - eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8): + eslint-plugin-prettier@4.2.5(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8): dependencies: eslint: 8.57.0 prettier: 2.8.8 @@ -21635,7 +21469,7 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@7.32.0: dependencies: @@ -22327,7 +22161,7 @@ snapshots: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.4 + minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 @@ -23279,7 +23113,7 @@ snapshots: array-back: 6.2.2 find-replace: 5.0.2 lodash.omit: 4.5.0 - sort-array: 5.0.0 + sort-array: 5.1.1 transitivePeerDependencies: - '@75lb/nature' @@ -25608,7 +25442,7 @@ snapshots: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 18.19.100 + '@types/node': 20.17.47 long: 5.3.2 protobufjs@7.5.2: @@ -26136,15 +25970,6 @@ snapshots: hash-base: 3.1.0 inherits: 2.0.4 - rollup-plugin-visualizer@5.14.0(rollup@3.29.5): - dependencies: - open: 8.4.2 - picomatch: 4.0.2 - source-map: 0.7.4 - yargs: 17.7.2 - optionalDependencies: - rollup: 3.29.5 - rollup-plugin-visualizer@5.14.0(rollup@4.50.0): dependencies: open: 8.4.2 @@ -26513,7 +26338,7 @@ snapshots: ip-address: 9.0.5 smart-buffer: 4.2.0 - sort-array@5.0.0: + sort-array@5.1.1: dependencies: array-back: 6.2.2 typical: 7.3.0 @@ -27085,20 +26910,6 @@ snapshots: - encoding - supports-color - tencentcloud-sdk-nodejs@4.1.37(encoding@0.1.13): - dependencies: - form-data: 3.0.3 - get-stream: 6.0.1 - https-proxy-agent: 5.0.1 - is-stream: 2.0.1 - json-bigint: 1.0.0 - node-fetch: 2.7.0(encoding@0.1.13) - tslib: 1.13.0 - uuid: 9.0.1 - transitivePeerDependencies: - - encoding - - supports-color - terser@5.39.1: dependencies: '@jridgewell/source-map': 0.3.6 @@ -27766,14 +27577,14 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@0.34.6(@types/node@18.19.100)(less@4.3.0)(terser@5.39.1): + vite-node@0.34.6(@types/node@20.17.47)(less@4.3.0)(terser@5.39.1): dependencies: cac: 6.7.14 debug: 4.4.1(supports-color@8.1.1) mlly: 1.7.4 pathe: 1.1.2 picocolors: 1.1.1 - vite: 5.4.19(@types/node@18.19.100)(less@4.3.0)(terser@5.39.1) + vite: 5.4.19(@types/node@20.17.47)(less@4.3.0)(terser@5.39.1) transitivePeerDependencies: - '@types/node' - less @@ -27845,6 +27656,17 @@ snapshots: less: 4.3.0 terser: 5.39.1 + vite@5.4.19(@types/node@20.17.47)(less@4.3.0)(terser@5.39.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.5.6 + rollup: 4.50.0 + optionalDependencies: + '@types/node': 20.17.47 + fsevents: 2.3.3 + less: 4.3.0 + terser: 5.39.1 + vite@6.3.5(@types/node@22.15.18)(jiti@2.4.2)(less@4.3.0)(terser@5.39.1)(yaml@2.8.0): dependencies: esbuild: 0.25.4 @@ -27921,7 +27743,7 @@ snapshots: dependencies: '@types/chai': 4.3.20 '@types/chai-subset': 1.3.6(@types/chai@4.3.20) - '@types/node': 18.19.100 + '@types/node': 20.17.47 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -27940,8 +27762,8 @@ snapshots: strip-literal: 1.3.0 tinybench: 2.9.0 tinypool: 0.7.0 - vite: 5.4.19(@types/node@18.19.100)(less@4.3.0)(terser@5.39.1) - vite-node: 0.34.6(@types/node@18.19.100)(less@4.3.0)(terser@5.39.1) + vite: 5.4.19(@types/node@20.17.47)(less@4.3.0)(terser@5.39.1) + vite-node: 0.34.6(@types/node@20.17.47)(less@4.3.0)(terser@5.39.1) why-is-node-running: 2.3.0 transitivePeerDependencies: - less