mirror of
https://github.com/SMNETSTUDIO/WeChat-AI.git
synced 2026-11-29 10:27:00 +08:00
Clears all 15 advisories pnpm audit --prod reported (13 high): the fastify trustProxy CVE, the find-my-way HTTP/2 DDoS, and 12 fast-uri findings. None were reachable here -- trustProxy is off and test-guarded, http2 is not enabled, and fast-uri is only used by ajv for $ref parsing -- so this is noise reduction, not an incident. @fastify/compress is deliberately held at ^8: its 9.x major changes behaviour that static-pages.ts precompression and the Content-Encoding handoff in index.ts depend on. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
31 lines
796 B
JSON
31 lines
796 B
JSON
{
|
|
"name": "@wechat-ai/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"start": "tsx src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"ilink:login": "tsx src/cli-login.ts",
|
|
"diag": "tsx src/cli-doctor.ts",
|
|
"test": "node --import tsx --test src/**/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/compress": "^8.0.1",
|
|
"@wechat-ai/core": "workspace:*",
|
|
"@wechat-ai/db": "workspace:*",
|
|
"@wechat-ai/ilink": "workspace:*",
|
|
"@wechat-ai/llm": "workspace:*",
|
|
"dotenv": "^16.4.7",
|
|
"fastify": "^5.12.3",
|
|
"tsx": "^4.19.3",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.13.10",
|
|
"typescript": "^5.8.2"
|
|
}
|
|
}
|