v4.0.0
What's new in v4.0.0
This is a complete rewrite with a new composable, function-first API and rule-driven traversal engine.
New features
- Rule-driven traversal engine with exact paths, single-level wildcards (
*), and recursive double wildcards (**) - Function censors with full
FunctionCensorContext(matched path, rule path, root input) - Fuzzy and case-insensitive literal key matching
- Substring redaction in nested strings via
stringTests - Regex-based path segments
- Optional console adapter (
@hackylabs/deep-redact/adapters/console) - Security guardrails: max depth and max node budget
- Graceful degradation of runtime failures with diagnostics