Repository navigation
fix(docx): resolve 9.14 in lockfile and cover new default styles - #3255
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Final lockfile-only validation completed: frozen-lockfile install passed and the full uncached unit suite passed all 17/17 tasks. Recursive build passed 43/43 tasks, targeted type-aware lint and staged checks passed. All package manifests remain unchanged at their existing ranges; only docx lockfile resolution is upgraded to 9.14.0. The earlier timer-teardown error did not recur. Waiting for all GitHub Actions checks before merging. |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Version-aware style snapshots packages/xl-docx-exporter/src/docx/docxExporter.test.ts |
A helper checks generated default styles and selects the matching snapshot path. The tests use that path and verify that locale tags are absent without a locale and present for fr-FR. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Suggested reviewers: stephanmeijer
Merge Risk: 
Minimal · up to 21647
-
The change is limited to compatible DOCX test snapshots and locale assertions; no merge-blocking issue is established.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Full details: Description check
-
Explanation
The description is detailed and directly addresses the change, rationale, testing, regression proof, validation status, and known environment limits. It does not use every template heading or include the checklist, but it provides the required context and is mostly complete.
-
-
Finishing Touches: 💡 1
-
📝 Generate docstrings: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the styles with care,
Then picks the snapshot matching there.
No locale tag when none is set,
French adds its language tag, you bet.
The tests hop on, their checks complete.
Comment @coderabbitai help to get the list of available commands.
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/diagram-block
@blocknote/mantine
@blocknote/math-block
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
@blocknote/xl-typst-exporter
commit: |
|
Summary
docxto 9.14.0 in the repository lockfile only; keep every manifest's existing^9.9.0range and optional peer ranges unchanged.Document, not the exporter output; no stripping of styles or weakening of comparisons.fr-FRapplication. No production exporter code changes.Regression proof
Final lockfile update validation
document is not definededitor-timer teardown error incommentedContent.test.ts; the DOCX tests passed.Context
Preserves the full XML comparison approach from #3225 and no-locale behavior from #2651. Fixes the material failure in Fresh Install Tests run 40072483607.
Local Node 22.23.3 differs from the repository-requested 24.15.0; GitHub CI uses the requested version. No browser suite was run natively.
Summary by CodeRabbit