Repository navigation
chore(deps): upgrade the workspace dependencies to their latest releases - #5687
Merged
Merged
Conversation
Bump every workspace dependency to its latest compatible release except Electron: both 42.11.12 and 44.7.0 hang the desktop e2e on the Linux CI runner (editor windows never mount and the app does not exit on close), so Electron stays at 42.1.0 and is handled on its own. The bumps span Vite 8, Vitest 5, ESLint 10, neostandard 0.14, Playwright 1.64, Next 16, Vue Router 5, Pinia 4, vue-i18n, mermaid 12, katex 0.19, marked 18.1, minimatch 10, @types/node 26 and the rest of the tree. Follow-ups the bumps required: - eslint.config.js: register `@stylistic` for the TS/JS scopes, adopt its new `catch` category, and switch `<script setup>` scopes to the TS-aware `no-unused-vars` - KaTeX 0.19 renamed `.base`/`.tag` to `.katex-base`/`.katex-tag`, so blockSyntax.css and the math-tag overflow e2e follow the new names - mermaid 12 finalises a diagram preview a render pass after the <svg> lands, so the preview-toolbar e2e waits for the label - website: next.config.mjs with eslint-config-next's flat config, and no `baseUrl` in the website tsconfig - muya: add ES2022 to `lib` (`@types/node` 26 dropped the `Array.prototype.at` shim) - muya: drop the CommonMark/GFM examples the upgraded parser now passes from expected-failures.json - allow the BlueOak-1.0.0 licence (minimatch 10) No file under packages/muyajs is touched.
Contributor
|
Website preview ready: https://pr-5687-marktext-website.ransixi.workers.dev Built from |
Zane-0x5a
added a commit
to Zane-0x5a/marktext
that referenced
this pull request
Oct 10, 2026
Takes upstream's separator-insensitive isPathWithinRoot from marktext#5689 over the fork's UNC-aware variant: folding every run of separators to '/' already matches a backslash UNC path against '//server/share'. The fork's mixed-separator UNC spec goes with it. Keeps pdfjs-dist on top of the marktext#5687 dependency upgrades, leaves deep-equal out, and regenerates the lockfile from upstream's.
7 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #5610
Summary
Upgrade every workspace dependency to its latest compatible release, with
Electron deliberately left at
42.1.0.Electron is the one exception because both
42.11.12and44.7.0hang thedesktop e2e suite on the Linux CI runner: editor windows never mount and the
app does not exit on close (21–32 failures, 27–34m, versus ~11m green on
42.1.0). The same suite is green locally on macOS, and the failing assertiononly requires the editor node to be attached to the DOM, so it is specific to
the newer Electron/Chromium under Xvfb. Electron is handled on its own.
Bumps span Vite 8, Vitest 5, ESLint 10, neostandard 0.14, Playwright 1.64,
Next 16, Vue Router 5, Pinia 4, vue-i18n, mermaid 12, katex 0.19, marked 18.1,
minimatch 10, @types/node 26 and the rest of the tree.
Adaptations the bumps required:
eslint.config.js: register@stylisticfor the TS/JS scopes, adopt its newcatchcategory, and switch<script setup>scopes to the TS-awareno-unused-vars.base/.tagto.katex-base/.katex-tag(
blockSyntax.css+ the math-tag overflow e2e)<svg>lands,so the preview-toolbar e2e waits for its label
next.config.mjswitheslint-config-next's flat config, and nobaseUrlin the website tsconfigES2022inlib(@types/node26 dropped theArray.prototype.atshim), and the CommonMark/GFM examples the new parser passes removed from
expected-failures.jsonType of change
Test plan
dependency upgrade. The KaTeX/mermaid follow-ups update existing e2e specs.
Verified locally on macOS arm64 / Node 25:
pnpm installpnpm run typecheckpnpm run lint— 0 errorspnpm run validate-licensespnpm run test— 1068 passedpnpm --filter @muyajs/core test— 2467 passedpnpm --filter @muyajs/core test:spec— 1347 passedpnpm --filter marktext-website buildpnpm run build:unpackzh-CN-locale specs on this machine
Notes for reviewers [optional]
vue-router4 → 5 and Pinia 3 → 4 are major bumps included here.packages/muyajs/is untouched.