chore(deps): bump form-data from 4.0.5 to 4.0.6#7340
Conversation
f122b6c to
6cd7248
Compare
|
@dependabot rebase |
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.5 to 4.0.6. - [Release notes](https://github.com/form-data/form-data/releases) - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v4.0.5...v4.0.6) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
6cd7248 to
1bfa6a2
Compare
Development Plan (preserved by cleanup workflow)Full plan details from Design: Rust becomes the production Markdown converter; JS removedStatus: design approved, ready for implementation planning. ProblemThe repo ships two HTML→Markdown converters that generate the
The result: the 10x-faster converter has never run in CI or production. The GoalCI and staging generate the Constraints and decisions
Current state (verified)
Two converters, two scopes (clarified)The active CI path (
So the Rust The real parity work: make Rust an exact drop-inThe Rust converter must emit the same base frontmatter as the post-#7294 JS
Required Rust changes before cutover:
The build script gains one responsibility: resolve Converter API contractThe binding signature is unchanged, and Rust does no HTML-head extraction:
The caller's only new responsibility is supplying The Design1. Wire Rust into CI (build from source, lockstep)
2. Remove the silent fallbackReplace 3. Delete the JS converter and the legacy entrypoint
4. Pin the frontmatter contract as one definitionProduct mappings already have one source ( 5. Golden-snapshot regression testOnce JS is gone, parity can no longer be JS-vs-Rust. Add a golden-snapshot test: 6. Migration parity gate (one-time)Prerequisite: rebase the branch onto post-#7294 master so the baseline Scope: per-page
7. Acceptance gateThe reimplementation is done only when all pass:
Out of scope (follow-up issue)The CLI ( Frontmatter Rust Markdown Converter Migration — Implementation Plan
Goal: Make the Rust converter the one converter that runs in CI and staging, delete the JS conversion path, and ship the Architecture: The active build ( Tech Stack: Rust + napi-rs ( Sequencing noteTask 1 (rebase) is a hard prerequisite for the parity harness (Task 9) and the Execution status / handoff (read this first)Branch: Working preference (directive)Continue autonomously through the remaining tasks. Surface only genuine Done and committed
Decisions on record (don't re-litigate)
Environmentcargo 1.95, hugo 0.157 extended, node 26, yarn 1.22. After any Start hereTask 9 remaining → 8b → 10 → 10b → 11 → 12. Immediate next converter fix: Truncation (Task 10b): tracked by #6792 (section markdown truncated in File structure
Task 1: Rebase onto post-#7294 master and capture the JS baseline ✅ DONEFiles: none (git + build artifacts)
git fetch origin
git rebase origin/masterExpected: clean rebase. Resolve conflicts if any (most likely in
grep -nE "publisher|canonical" scripts/lib/markdown-converter.cjsExpected: matches showing how
yarn build:ts
npx hugo --quiet --destination public
yarn build:md --public-dir publicExpected:
mkdir -p .parity-baseline
rsync -a --prune-empty-dirs --include='*/' --include='index.md' --exclude='*' public/ .parity-baseline/
echo ".parity-baseline/" >> .gitignoreExpected:
git add .gitignore
git commit -m "chore: ignore .parity-baseline snapshot dir"Task 2: Add a cargo-guarded local build (
|
| Spec section | Task(s) |
|---|---|
| Wire Rust into CI (§1) | 2, 3 |
| No silent fallback (§2) | 7 (load guard) |
| Delete JS + legacy + deps (§3) | 4, 8 |
| Pin frontmatter contract (§4) | 5, 10, 12 |
| Golden-snapshot test (§5) | 10 |
| Migration parity gate (§6) | 1, 9 |
| Truncation regression test | 10b |
| Acceptance gate (§7) | 11 |
| Rust = exact drop-in (6 base fields) | 5, 10 |
| publisher/canonical (JS post-step) | (untouched #7294; in 8b/11) |
| date/lastmod (JS post-step, sitemap) | 8b |
| base_url resolution | 6, 7 |
| Section bundling stays in JS | (untouched; verified in 11) |
Bumps form-data from 4.0.5 to 4.0.6.
Changelog
Sourced from form-data's changelog.
Commits
64190dbv4.0.692ae0eb[Deps] updatehasown,mime-typesf31d21e[Dev Deps] update@ljharb/eslint-config,auto-changelog,tape8dff42c[Fix] escape CR, LF, and"in field names and filenames67b0f65[Dev Deps] updatejs-randomness-predictor