flare-redact 0.7.0 → 0.9.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": "flare-redact",
3
- "version": "0.7.0",
4
- "description": "Hide secrets & PII in logs, prompts, and text before they leak — with a reversible layer that keeps them out of your OpenAI/Anthropic calls. Zero dependencies, ReDoS-safe.",
3
+ "version": "0.9.0",
4
+ "description": "Local, zero-dependency secret and PII redaction with contextual findings, secure reversible vaults, and LLM adapters.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -50,12 +50,18 @@
50
50
  "files": [
51
51
  "dist",
52
52
  "bin",
53
+ "bench/performance.mjs",
54
+ "bench/adversarial-runtime.mjs",
53
55
  "README.md",
56
+ "CHANGELOG.md",
57
+ "SECURITY.md",
54
58
  "LICENSE"
55
59
  ],
56
60
  "scripts": {
57
61
  "build": "tsc",
58
62
  "test": "npm run build && node --test",
63
+ "benchmark": "npm run build && node bench/performance.mjs",
64
+ "benchmark:adversarial": "npm run build && node bench/adversarial-runtime.mjs",
59
65
  "prepublishOnly": "npm run build"
60
66
  },
61
67
  "keywords": [
@@ -113,7 +119,9 @@
113
119
  "anonymization",
114
120
  "pseudonymization",
115
121
  "tokenization",
116
- "format-preserving",
122
+ "surrogate-data",
123
+ "hmac",
124
+ "aes-gcm",
117
125
  "i18n",
118
126
  "multi-language",
119
127
  "national-id",
@@ -137,7 +145,7 @@
137
145
  "url": "https://github.com/umudhasanli/flare-redact/issues"
138
146
  },
139
147
  "engines": {
140
- "node": ">=18"
148
+ "node": ">=20"
141
149
  },
142
150
  "devDependencies": {
143
151
  "@types/node": "^20.0.0",