-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@zeroleaks/shield",
"version": "1.2.0",
"description": "Runtime prompt security SDK — harden, detect injections, and sanitize LLM output",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./openai": {
"types": "./dist/providers/openai.d.ts",
"import": "./dist/providers/openai.mjs",
"require": "./dist/providers/openai.js"
},
"./anthropic": {
"types": "./dist/providers/anthropic.d.ts",
"import": "./dist/providers/anthropic.mjs",
"require": "./dist/providers/anthropic.js"
},
"./ai-sdk": {
"types": "./dist/providers/ai-sdk.d.ts",
"import": "./dist/providers/ai-sdk.mjs",
"require": "./dist/providers/ai-sdk.js"
},
"./groq": {
"types": "./dist/providers/groq.d.ts",
"import": "./dist/providers/groq.mjs",
"require": "./dist/providers/groq.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "bunx vitest run",
"test:watch": "bunx vitest",
"prepublishOnly": "bun run test && bun run build",
"test:integration": "bunx vitest run --config vitest.integration.config.ts",
"benchmark": "bun run scripts/benchmark.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/zeroleaks/shield"
},
"homepage": "https://zeroleaks.ai/docs/shield",
"bugs": {
"url": "https://github.com/zeroleaks/shield/issues"
},
"keywords": [
"llm",
"security",
"prompt-injection",
"ai-safety",
"openai",
"anthropic"
],
"license": "MIT",
"peerDependencies": {
"openai": ">=4.0.0",
"@anthropic-ai/sdk": ">=0.20.0",
"ai": ">=3.0.0",
"groq-sdk": ">=0.3.0"
},
"peerDependenciesMeta": {
"openai": {
"optional": true
},
"@anthropic-ai/sdk": {
"optional": true
},
"ai": {
"optional": true
},
"groq-sdk": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/openai": "^3.0.33",
"@anthropic-ai/sdk": "^0.78.0",
"ai": "^6.0.100",
"groq-sdk": "^0.37.0",
"openai": "^6.25.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=18.0.0"
}
}