sql-guard 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +0 -13
  2. package/package.json +32 -4
package/README.md CHANGED
@@ -151,19 +151,6 @@ This is a guardrail for LLM output. It helps enforce least privilege at the quer
151
151
  - `table`
152
152
  - `function`
153
153
 
154
- ## Publishing
155
-
156
- For first time npm publish:
157
-
158
- ```bash
159
- npm login
160
- npm publish --access public
161
- ```
162
-
163
- Notes:
164
-
165
- - `prepublishOnly` runs typecheck, tests, and build, so publishing requires Bun in your environment.
166
-
167
154
  ## License
168
155
 
169
156
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sql-guard",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Validate AI-generated PostgreSQL queries against explicit table allowlists",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -43,8 +43,36 @@
43
43
  "security",
44
44
  "llm",
45
45
  "guard",
46
- "allowlist"
46
+ "allowlist",
47
+ "validation",
48
+ "postgresql",
49
+ "postgres",
50
+ "ast",
51
+ "parser",
52
+ "sanitize",
53
+ "injection",
54
+ "prevent",
55
+ "ai",
56
+ "chatgpt",
57
+ "codegen",
58
+ "database",
59
+ "query",
60
+ "policy",
61
+ "whitelist",
62
+ "rbac",
63
+ "least-privilege"
47
64
  ],
48
- "author": "",
49
- "license": "MIT"
65
+ "author": "Nur Zaman",
66
+ "license": "MIT",
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://github.com/nur-zaman/sql-guard.git"
70
+ },
71
+ "bugs": {
72
+ "url": "https://github.com/nur-zaman/sql-guard/issues"
73
+ },
74
+ "homepage": "https://github.com/nur-zaman/sql-guard#readme",
75
+ "engines": {
76
+ "node": ">=18"
77
+ }
50
78
  }