hazo_secure 1.0.1 → 1.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hazo_secure",
3
- "version": "1.0.1",
4
- "description": "Security & compliance primitives — SSRF-safe fetch, rate limiting, field-level encryption, GDPR orchestration. Four subpath modules, pick the ones you need.",
3
+ "version": "1.3.0",
4
+ "description": "Security & compliance primitives — SSRF-safe fetch, rate limiting, field-level encryption, GDPR orchestration, CSRF. Five subpath modules, pick the ones you need.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -36,34 +36,57 @@
36
36
  "types": "./dist/csrf/index.d.ts",
37
37
  "import": "./dist/csrf/index.js",
38
38
  "default": "./dist/csrf/index.js"
39
+ },
40
+ "./mask": {
41
+ "types": "./dist/mask/index.d.ts",
42
+ "import": "./dist/mask/index.js",
43
+ "default": "./dist/mask/index.js"
44
+ },
45
+ "./secrets": {
46
+ "types": "./dist/secrets/index.d.ts",
47
+ "import": "./dist/secrets/index.js",
48
+ "default": "./dist/secrets/index.js"
39
49
  }
40
50
  },
41
51
  "files": [
42
52
  "dist",
53
+ "config/hazo_secure_config.ini.sample",
54
+ "db_setup_postgres.sql",
55
+ "db_setup_sqlite.sql",
56
+ "migrations",
43
57
  "LICENSE",
44
- "README.md"
58
+ "README.md",
59
+ "SETUP_CHECKLIST.md",
60
+ "CHANGE_LOG.md"
45
61
  ],
46
62
  "scripts": {
47
63
  "build": "tsup",
48
64
  "dev": "tsup --watch",
49
65
  "lint": "tsc --noEmit",
50
- "test": "jest",
51
- "test:watch": "jest --watch",
66
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest",
67
+ "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
52
68
  "dev:test-app": "npm run build && cd test-app && npm run dev",
53
69
  "build:test-app": "npm run build && cd test-app && npm run build",
54
70
  "install:test-app": "cd test-app && npm install",
55
71
  "prepublishOnly": "npm run build"
56
72
  },
57
73
  "dependencies": {
58
- "undici": "^7.3.0"
74
+ "undici": "^7.3.0",
75
+ "wink-nlp": "^2.3.1",
76
+ "wink-eng-lite-web-model": "^1.7.0"
59
77
  },
60
78
  "peerDependencies": {
61
- "hazo_logs": "^1.1.0",
62
- "hazo_connect": "^2.6.0",
63
- "hazo_jobs": "^0.7.0",
64
- "hazo_files": "^1.4.7"
79
+ "hazo_core": "^1.1.0",
80
+ "hazo_logs": "^2.0.3",
81
+ "hazo_connect": "^3.5.1",
82
+ "hazo_jobs": "^0.12.0",
83
+ "hazo_files": "^3.1.0",
84
+ "hazo_ui": "^3.5.0"
65
85
  },
66
86
  "peerDependenciesMeta": {
87
+ "hazo_logs": {
88
+ "optional": true
89
+ },
67
90
  "hazo_connect": {
68
91
  "optional": true
69
92
  },
@@ -72,18 +95,27 @@
72
95
  },
73
96
  "hazo_files": {
74
97
  "optional": true
98
+ },
99
+ "hazo_ui": {
100
+ "optional": true
75
101
  }
76
102
  },
77
103
  "devDependencies": {
78
- "@types/jest": "^29.0.0",
79
- "@types/node": "^22.0.0",
80
- "jest": "^29.0.0",
81
- "ts-jest": "^29.0.0",
104
+ "@types/jest": "^30.0.0",
105
+ "@types/node": "^22.10.0",
106
+ "hazo_core": "^1.1.0",
107
+ "hazo_logs": "^2.0.3",
108
+ "hazo_connect": "^3.5.1",
109
+ "hazo_jobs": "^0.12.0",
110
+ "hazo_files": "^3.1.0",
111
+ "hazo_ui": "^3.5.0",
112
+ "jest": "^30.2.0",
113
+ "ts-jest": "^29.4.5",
82
114
  "tsup": "^8.5.1",
83
- "typescript": "^5.7.2"
84
- },
85
- "engines": {
86
- "node": ">=18.0.0"
115
+ "typescript": "^5.7.2",
116
+ "wink-nlp": "^2.3.1",
117
+ "wink-eng-lite-web-model": "^1.7.0",
118
+ "zod": "^3.23.8"
87
119
  },
88
120
  "author": "Pubs Abayasiri",
89
121
  "license": "MIT"