safegres 0.2.0 → 0.3.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 (3) hide show
  1. package/README.md +10 -2
  2. package/cli.js +0 -0
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -1,8 +1,16 @@
1
- <p align="center">
1
+ # safegres
2
+
3
+ <p align="center" width="100%">
2
4
  <img src="https://raw.githubusercontent.com/Safegres/brand/refs/heads/main/safegres.svg" alt="safegres" width="120" />
3
5
  </p>
4
6
 
5
- # safegres
7
+ <p align="center" width="100%">
8
+ <a href="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml">
9
+ <img height="20" src="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml/badge.svg" />
10
+ </a>
11
+ <a href="https://github.com/constructive-io/constructive/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12
+ <a href="https://www.npmjs.com/package/safegres"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/constructive?filename=packages%2Fsafegres%2Fpackage.json"/></a>
13
+ </p>
6
14
 
7
15
  Pure-Postgres Row-Level Security auditor. No app framework required. Drop it on any PostgreSQL database and get a structured report on grants, RLS enforcement, policy coverage, and risky SQL policy patterns.
8
16
 
package/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "safegres",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
- "description": "Pure-PostgreSQL RLS auditor: grants, RLS flags, policy coverage, and AST-level anti-pattern detection. Re-exports the Authz*/Data*/Relation*/View* type registry for downstream auditors.",
5
+ "description": "Pure-Postgres Row-Level Security auditor: grants, RLS enforcement, policy coverage, and risky SQL policy patterns. No app framework required.",
6
6
  "main": "index.js",
7
7
  "module": "esm/index.js",
8
8
  "types": "index.d.ts",
@@ -20,13 +20,13 @@
20
20
  "url": "https://github.com/constructive-io/constructive/issues"
21
21
  },
22
22
  "bin": {
23
- "safegres": "dist/cli.js"
23
+ "safegres": "cli.js"
24
24
  },
25
25
  "scripts": {
26
26
  "clean": "makage clean",
27
27
  "prepack": "npm run build",
28
- "build": "makage build",
29
- "build:dev": "makage build --dev",
28
+ "build": "makage build && chmod +x dist/cli.js",
29
+ "build:dev": "makage build --dev && chmod +x dist/cli.js",
30
30
  "lint": "eslint . --fix",
31
31
  "test": "jest --passWithNoTests",
32
32
  "test:watch": "jest --watch"
@@ -56,7 +56,7 @@
56
56
  "@types/node": "^22.0.0",
57
57
  "@types/pg": "^8.11.10",
58
58
  "makage": "^0.3.0",
59
- "pgsql-test": "^4.9.4"
59
+ "pgsql-test": "^4.9.5"
60
60
  },
61
- "gitHead": "a3fd7fc5068be388956ab33175bab6b793db705f"
61
+ "gitHead": "c3fb0f22e5671d1e3a227817175e900ebb338f6d"
62
62
  }