feat: initial build — compose sanitizer#1
Merged
bakerboy448 merged 18 commits intomainfrom Feb 28, 2026
Merged
Conversation
Wire all modules into main.ts — input extraction, redaction, noise stripping, advisory detection, and YAML dump. Add settings panel, action buttons (copy/PrivateBin/Gist), stats display, and disclaimers. Dark/light theme CSS with responsive layout. Zero innerHTML usage.
- prerelease.yml: auto-tags v*-pre.N on every push to main - stable-release.yml: manual workflow_dispatch for stable releases with version validation, test gate, and version bump - release.yml: marks pre-releases automatically via tag format
- renovate.json: auto-merge minor/digest, label PRs, rebase stale - .coderabbit.yaml: assertive reviews with security-focused path instructions - Branch protection: CI required, rebase/squash only, no force push
Bug report and feature request templates only — no blank issues, no support requests. PR template with test checklist.
Add category dropdowns specific to redaction, noise stripping, advisories, and input types. Clarify not for Docker support.
Settings panel saved patterns to localStorage but never passed them to the redaction functions. Added PatternConfig parameter through redactCompose → redactService → redactEnvDict/redactEnvArray → isSensitiveKey. Added compileConfig() to convert string patterns to RegExp at call time. Strengthened isValidConfig to reject non-string array elements. 102 tests passing, 91.39% statement coverage.
… test Consolidated isRecord() from 5 duplicate definitions into a single export in patterns.ts. Added test for long-form volume object anonymization (type: bind with source field). 103 tests, 93.47% statement coverage.
compileConfig now skips invalid regex patterns instead of crashing. Added base-uri 'none' to CSP meta tag to prevent base-href injection. 104 tests passing.
Added tables for redaction examples, noise stripping details, advisory detection, input format support, architecture diagram, testing info, and privacy statement.
… guard vite-plugin-singlefile inlines JS into the HTML, so script-src 'self' blocks the app from running. Added 'unsafe-inline' to script-src (acceptable given zero innerHTML usage and no injection vectors). Added 512 KB input size limit to prevent browser freezes from oversized YAML input.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
npx vitest runnpx tsc --noEmit