mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 00:14:02 +00:00
chore(deps): docs in-range updates, pin zod, override xmldom
Next 16.3.5 and React 19.3 in docs/, plus the transitive refresh that came with them (mermaid 11.17, katex 0.16.47, shiki 3.23, styled-components 6.5). Two overrides were needed: - zod ~4.3.6. nextra 4.6.1 declares `zod: ^4.1.12` but its MDX prop validation breaks on zod >= 4.4.0, failing prerender for every page with "Invalid input: expected nonoptional, received undefined -> at children". Bisected: 4.3.6 builds, 4.4.0 through 4.6.2 all fail. nextra 4.6.1 is the latest release, so there is no upstream fix to take yet. Drop this pin once nextra ships one. - @xmldom/xmldom ^0.9.12. speech-rule-engine 4.1.4 (via mathjax-full -> better-react-mathjax -> nextra) pins xmldom at exactly 0.9.10, so `npm audit fix` cannot reach it. 0.9.12 clears 13 advisories including GHSA-6gmq-8vp8-gcm6 (high). Docs build passes, 48 pages indexed, 0 advisories.
This commit is contained in:
1 parent
19ad1cb828
commit
ca889de288
2 files changed
+1161
-1420
No files matched your search
Generated
+1154
-1417
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user