Skip to content

Sync the browser config redactor to extension 0.5.2 - #65

Merged
palthainon merged 1 commit into
mainfrom
sync/redactor-0.5.2
Nov 19, 2026
Merged

palthainon merged 1 commit into
mainfrom
sync/redactor-0.5.2

Conversation

@palthainon

Copy link
Copy Markdown
Owner

Requested by Derick · project thread

Summary

The Network tools redactor was pinned at extension 0.4.0, and three of its seven vendored files had drifted from the extension. This PR syncs it to 0.5.2 with the existing sync.mjs and build.mjs.

  • sync.mjs and build.mjs now include structured.ts, because the 0.5 scanner.ts imports it for the new general JSON and XML profiles. Without it the browser module would fail to load.
  • The profile list now starts with General JSON and General XML, so page.js sets Cisco IOS as the default to keep today's behavior.
  • The README records the version and the new verification.

The source is palthainon/lawson-config-redactor#2, which commits the 0.5.2 source. Merge that one first so the hashes in vendor/source.json match a commit on its main.

Verification

  • node --test tools/config-redactor/test/core.test.mjs: 39 passed
  • node tools/config-redactor/build.mjs --check: passed
  • tools/config-redactor/test/browser.mjs: all 15 check groups passed in Chromium 157, run locally with the channel option removed. Edge, Firefox and Safari were not run.
  • A quick scan of sample JSON and XML through the built browser module masks the secret, the name and the address.

The static site workflow builds a preview for this PR. A merge to main deploys oldweb.tech.


Generated by Claude Code

The browser copy was pinned at 0.4.0 while the extension shipped 0.5.2.
Sync and build now include structured.ts, which holds the new general
JSON and XML profiles that scanner.ts imports. The page keeps Cisco IOS
as its default profile.

39 core tests, the generated-file check and all 15 browser check groups
pass (Chromium).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TdxYQh36tpmsTk6dmK6SFz
@palthainon palthainon self-assigned this Nov 19, 2026
@palthainon
palthainon merged commit eac47a0 into main Nov 19, 2026
3 checks passed
palthainon added a commit that referenced this pull request Nov 19, 2026
Sync the browser config redactor to extension 0.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants