@undercurrentai/eslint-plugin-ai-guard 2.0.0-beta.3

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/package.json ADDED
@@ -0,0 +1,104 @@
1
+ {
2
+ "name": "@undercurrentai/eslint-plugin-ai-guard",
3
+ "version": "2.0.0-beta.3",
4
+ "description": "Framework-aware security lint for JS/TS routes and webhooks (Express, Fastify, Hono, NestJS, Next.js). Missing-auth / missing-authz / unverified-webhook detection where typescript-eslint and eslint-plugin-security don't reach. Especially useful on AI-generated code. Fork of eslint-plugin-ai-guard.",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "tag": "next"
8
+ },
9
+ "keywords": [
10
+ "eslint",
11
+ "eslint-plugin",
12
+ "security",
13
+ "auth",
14
+ "authorization",
15
+ "webhook",
16
+ "express",
17
+ "fastify",
18
+ "hono",
19
+ "nestjs",
20
+ "nextjs",
21
+ "framework",
22
+ "ai",
23
+ "llm",
24
+ "copilot",
25
+ "cursor",
26
+ "claude",
27
+ "code-quality"
28
+ ],
29
+ "main": "./dist/index.js",
30
+ "module": "./dist/index.mjs",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "import": "./dist/index.mjs",
35
+ "require": "./dist/index.js"
36
+ }
37
+ },
38
+ "bin": {
39
+ "ai-guard": "dist/cli/index.js"
40
+ },
41
+ "files": [
42
+ "dist",
43
+ "!dist/**/*.map"
44
+ ],
45
+ "scripts": {
46
+ "build": "tsup",
47
+ "dev": "tsup --watch",
48
+ "docs:dev": "vitepress dev docs",
49
+ "docs:build": "vitepress build docs",
50
+ "docs:preview": "vitepress preview docs",
51
+ "test": "vitest run",
52
+ "test:watch": "vitest",
53
+ "typecheck": "tsc --noEmit",
54
+ "lint": "npm run build && eslint src cli tests --ext .ts",
55
+ "init-context": "node dist/cli/index.js init-context",
56
+ "prepublishOnly": "npm run typecheck && npm run test && npm run lint && npm run build"
57
+ },
58
+ "peerDependencies": {
59
+ "eslint": "^9.0.0",
60
+ "@typescript-eslint/parser": "^8.0.0"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@typescript-eslint/parser": {
64
+ "optional": true
65
+ }
66
+ },
67
+ "devDependencies": {
68
+ "@typescript-eslint/parser": "^8.0.0",
69
+ "@typescript-eslint/rule-tester": "^8.0.0",
70
+ "@vitest/coverage-v8": "^3.2.4",
71
+ "eslint": "^9.0.0",
72
+ "tsup": "^8.0.0",
73
+ "typescript": "^5.4.0",
74
+ "vitepress": "^1.3.4",
75
+ "vitest": "^3.0.0"
76
+ },
77
+ "dependencies": {
78
+ "@inquirer/prompts": "^8.4.1",
79
+ "@typescript-eslint/utils": "^8.0.0",
80
+ "chalk": "^5.6.2",
81
+ "commander": "^14.0.3",
82
+ "ora": "^8.2.0"
83
+ },
84
+ "engines": {
85
+ "node": ">=20.0.0"
86
+ },
87
+ "repository": {
88
+ "type": "git",
89
+ "url": "https://github.com/undercurrentai/eslint-plugin-ai-guard"
90
+ },
91
+ "bugs": {
92
+ "url": "https://github.com/undercurrentai/eslint-plugin-ai-guard/issues"
93
+ },
94
+ "homepage": "https://github.com/undercurrentai/eslint-plugin-ai-guard#readme",
95
+ "author": "Undercurrent Holdings",
96
+ "contributors": [
97
+ "YashJadhav21 (original author)"
98
+ ],
99
+ "license": "MIT",
100
+ "overrides": {
101
+ "vite": "^6.4.2",
102
+ "esbuild": "^0.25.0"
103
+ }
104
+ }