shield-llm 0.12.2 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -11
- package/dist/{chunk-4A2UTKN5.js → chunk-S3XEHIPB.js} +3737 -6960
- package/dist/cli.js +419 -669
- package/dist/index.js +1 -3
- package/package.json +4 -4
- package/dist/logo.png +0 -0
package/dist/index.js
CHANGED
|
@@ -6,10 +6,9 @@ import {
|
|
|
6
6
|
formatJson,
|
|
7
7
|
formatMarkdown,
|
|
8
8
|
formatSarif,
|
|
9
|
-
generatePdf,
|
|
10
9
|
loadConfig,
|
|
11
10
|
loadSystemPrompt
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S3XEHIPB.js";
|
|
13
12
|
export {
|
|
14
13
|
ConfigError,
|
|
15
14
|
ConfigSchema,
|
|
@@ -17,7 +16,6 @@ export {
|
|
|
17
16
|
formatJson,
|
|
18
17
|
formatMarkdown,
|
|
19
18
|
formatSarif,
|
|
20
|
-
generatePdf,
|
|
21
19
|
loadConfig,
|
|
22
20
|
loadSystemPrompt
|
|
23
21
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shield-llm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "AI chatbot security scanner — automated red teaming for LLMs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"lint": "eslint src --ext .ts",
|
|
45
|
-
"build": "tsc --noEmit && tsup && node scripts/check-bundle-ip.mjs && node scripts/check-bundle-deps.mjs
|
|
45
|
+
"build": "tsc --noEmit && tsup && node scripts/check-bundle-ip.mjs && node scripts/check-bundle-deps.mjs",
|
|
46
46
|
"dev": "tsx src/cli.ts",
|
|
47
47
|
"test": "vitest run",
|
|
48
48
|
"mock-server": "tsx test-server/server.ts",
|
|
49
49
|
"typecheck": "tsc --noEmit",
|
|
50
|
+
"typecheck:tests": "tsc -p tsconfig.test.json",
|
|
50
51
|
"prepublishOnly": "pnpm build"
|
|
51
52
|
},
|
|
52
53
|
"dependencies": {
|
|
@@ -59,10 +60,9 @@
|
|
|
59
60
|
"@types/express": "^5.0.6",
|
|
60
61
|
"@types/node": "^20.19.30",
|
|
61
62
|
"express": "^5.2.1",
|
|
62
|
-
"puppeteer": "^25.14.0",
|
|
63
63
|
"tsup": "^8.0.0",
|
|
64
64
|
"tsx": "^4.0.0",
|
|
65
65
|
"typescript": "^5.0.0",
|
|
66
|
-
"vitest": "^4.1.
|
|
66
|
+
"vitest": "^4.1.12"
|
|
67
67
|
}
|
|
68
68
|
}
|
package/dist/logo.png
DELETED
|
Binary file
|