@link-foundation/sensitive-data-sanitizer 0.11.31 → 0.12.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/CHANGELOG.md +48 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Keep credential label values inside their JSON string and logical line, treat
|
|
8
|
+
prose such as "token for ES." as text, redact credential values covering escaped
|
|
9
|
+
JSON runs as a whole, and redact values found again after redaction in bounded
|
|
10
|
+
fixed-point rounds before failing closed with ERR_RESIDUAL.
|
|
11
|
+
|
|
12
|
+
Detect passport MRZ fragments, country document formats, travel identifiers,
|
|
13
|
+
contextual birth dates, national identifiers and national messenger phones.
|
|
14
|
+
Add fixed identity masks and audited specimen/synthetic identity exemptions.
|
|
15
|
+
Support batched JSON/JSONL sanitization with explicit structural fields and
|
|
16
|
+
bounded, audited fallback for oversized encoded runs. Protect netrc, NuGet,
|
|
17
|
+
WordPress and PuTTY v3 credentials across text and streamed records.
|
|
18
|
+
|
|
19
|
+
Bound escaped label values and propagation seeds, preserve ordinary session keys and CI service paths, retain Unicode surrogate escapes, and add two-pass atomic publication with encoding record/offset diagnostics.
|
|
20
|
+
|
|
21
|
+
Format changesets with Prettier so the release job no longer needs Deno, and autostash merged changesets when a release re-run rebases onto an advanced main.
|
|
22
|
+
|
|
23
|
+
Make version and changeset validation fail on unavailable Git comparisons, verify npm trusted publishing with a package-specific OIDC exchange, repair release badge detection and commit quoting, and recover missing GitHub releases without another version bump. Correct process survivor reporting, remove a busy-looping test fixture, pin CI scanners and hosted runner images, and exclude experimental and example code from CodeQL.
|
|
24
|
+
|
|
25
|
+
Introduce an offline sensitive-text library and CLI with required Secretlint and 221 bundled Gitleaks RE2 rules, complete contextual credential spans, default multilingual names/PII, checksum/format validators, Unicode/encoded detection and external scanner adapters. Publish under the repository's package name and require Node.js 22.
|
|
26
|
+
|
|
27
|
+
Add bounded streaming/workers, typed cloud catalog labels and confidence, keyed transformations, encoding preservation, opt-in public verification/local GitHub auth, outbound/Sentry helpers and an ESLint publication guard. Explicit private values and credential findings override public exemptions. Atomic publication and full-redaction verification block incomplete results; prose boundaries handle long whitespace in linear time.
|
|
28
|
+
|
|
29
|
+
Provide fresh-clone Git-history preview/rewrite with private plans and a required clean post-rewrite audit. Move template arithmetic, its CLI and historical documents to explicit legacy entries while preserving their behavior.
|
|
30
|
+
|
|
31
|
+
Fix session false positives and identity spans, propagate confirmed travel references and names, generate deterministic realistic fake values with valid dates and checksums, and process large JSONL sessions with bounded ordered workers.
|
|
32
|
+
|
|
33
|
+
Require Node.js 22.13 or later for the supported Faker runtime.
|
|
34
|
+
|
|
35
|
+
Protect structural document names and cross-script identities across bounded
|
|
36
|
+
streams, fail closed on late confirmations, and add a publication profile used
|
|
37
|
+
by CLI redact. Restore formatted SNILS and personal INN coverage, preserve JSON
|
|
38
|
+
escape boundaries, reduce code/place/booking false positives, and keep fake
|
|
39
|
+
phones in plausible or fictional ranges. Handle disabled Pages deployments and
|
|
40
|
+
separate bounded regex timing from child-process startup in cross-runtime CI.
|
|
41
|
+
|
|
42
|
+
Require plausible name and place label values, confine inferred JSON propagation
|
|
43
|
+
to string values, and preserve coding-session tokens and metadata. Align decoded
|
|
44
|
+
public-name policy and credential quote boundaries, canonicalize two-pass
|
|
45
|
+
confirmations, and detect national tel URIs, fax, and Vietnamese phone labels.
|
|
46
|
+
|
|
47
|
+
Support shared tool-log sanitization with credentials-only policy, automatic environment-value discovery and GitHub CLI config credentials. Preserve invalid log bytes losslessly, accept long text records within the total input limit, remove quadratic scanning and retain benign auth metadata, dependency names, local addresses and credential references. Raise the whole-text default to 32 MiB for image-bearing rollout lines.
|
|
48
|
+
|
|
49
|
+
Retry transient HTTP link failures with bounded backoff and authenticated GitHub contents fallback, and pin the Bun CI runtime to the supported 1.x line. Refresh vulnerable development dependencies so pipeline security checks can pass.
|
|
50
|
+
|
|
3
51
|
## 0.11.31
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@link-foundation/sensitive-data-sanitizer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Offline sensitive-text sanitization with credential, multilingual personal-data and scanner union detection",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|