Bump compatible releases, including wrangler 4.151.2, CodeMirror view 6.43.15, and typescript-eslint 8.72.0. Retarget the CodeMirror view patch and raise undici to 8.12.3 now that the HTTP/2 content-encoding regression is fixed.
Raise flowchart wrappingWidth to 300 so a typical bilingual line fits, and patch Mermaid so wider html labels wrap on fractional device pixel ratios instead of being clipped.
Closes#1989
Upgrade pnpm to 12.6.0 and refresh direct packages, including VueUse 15,
Mermaid 12, and juice 12.2.0. Keep Prettier 2.8.8, TypeScript 6.0.3, and
the wrangler 4.134.0 preview-deploy pin.
Refresh catalog entries (@cloudflare/workers-types, wrangler, zod), the
tinyexec override, and direct deps across web, vscode, and md-cli, then
refresh transitive deps via `pnpm update -r` and `pnpm dedupe`.
Keep typescript at ~6.0.3 because @typescript-eslint 8.68.0 declares a
`typescript >=4.8.4 <6.1.0` peer range, so TS 7 would break lint.
Also drop the stale front-matter patch entry from AGENTS.md; that patch
was removed when front-matter was replaced.
Upgrade catalog workers-types, marked, and isomorphic-dompurify. Treat empty YAML front matter as an empty mapping for js-yaml 5. Keep prettier 2.8.8 and typescript ~6.0.3.
Bump catalog workers-types, uuid, and vitest; web AWS SDK, lucide,
Cloudflare vite-plugin, and vite; core mermaid and infographic.
Kept prettier 2.8.8, typescript ~6.0.3, and @types/vscode.
Align @types/vscode and engines.vscode at 1.125.0 so vsce packaging
stays valid. Bump wrangler to ^4.122.0 so @cloudflare/vite-plugin
1.52.0 can land after the npmmirror lag that blocked 1.51.2.
- Group posts by parent id once instead of re-filtering per tree node
- Collect headings during render instead of parsing the output HTML
- Debounce reactive persistence behind an in-memory overlay so sync
reads stay current; snapshot pending writes to localStorage on
pagehide and restore them on next launch so no state is lost
- Skip off-screen rendering via content-visibility for the post tree,
search results, and diff lines
- Preload the post-slider chunk when idle; pre-bundle diff-match-patch
so the dev server stops force-reloading on first interaction
* build(deps): fix hono ReDoS via override and bump aws-sdk
- Override hono to ^4.13.0: @modelcontextprotocol/sdk pins 4.12.33,
which is vulnerable to ReDoS in the CORS middleware
(CVE-2026-69207 / GHSA-8j4g-w8fx-2239, dependabot alert #317)
- Bump @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner to 3.1104.0
Co-authored-by: Cursor <cursoragent@cursor.com>
* ci: bump pnpm from 11.18.0 to 11.20.0 in workflows
All actions were verified against upstream and are already on their
latest major versions (checkout v7, setup-node v7, wrangler-action v4,
github-script v9, stale v11, upload-artifact v7, etc.).
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
- webpack: clean dist/ before builds so stale async chunks are not packaged
- webpack: keep previewRenderer as an external so it loads on demand
instead of being inlined into extension.js (3.97 MiB -> 9.7 KB)
- align @types/vscode with engines.vscode so vsce package succeeds
- relax smoke-test count assertion for locale-neutral core fallbacks
- Scope the manualChunks highlight.js rule to the package root so
@antv/infographic's select-highlight.js no longer drags roughjs,
measury fonts, culori and tinycolor2 onto the critical path
(highlight chunk: 281 kB -> 57 kB min)
- Only pin core @lezer packages (common/lr/highlight/markdown/html)
in the codemirror chunk; language grammars follow the lazy
LanguageDescription.load() chunks again (1,019 kB -> 624 kB min)
- Drop css/javascript language setups from the shared editor barrel;
lazy consumers import them via '@md/shared/editor/css' and
'@md/shared/editor/javascript' instead
- Replace jszip with fflate (already bundled via @md/core) for the
CSS-theme and posts ZIP exports; remove the jszip dependency
- Fix Vite native-config-loader warnings: replace __dirname with
fileURLToPath(import.meta.url) and add the .ts extension to the
local plugin import
The inflight override maps to @hishprorg/voluptates-laborum, which is
not available on the npm registry anymore (404). Nothing in the
dependency tree resolves inflight today (glob is pinned to v11/v13 via
overrides), so the entry is dead config. Dropping it avoids pulling an
unauditable package if inflight ever re-enters the tree.
Lockfile regenerated with pnpm 11.11.0 --lockfile-only: only the
overrides snapshot changed; all 1579 resolved packages are unchanged.