From 3dcfc6f761e6e14c53cdcea2671844cafeb50151 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 02:41:46 +0000 Subject: [PATCH 1/2] chore: bump marked from 17.0.1 to 18.0.3 Bumps [marked](https://github.com/markedjs/marked) from 17.0.1 to 18.0.3. - [Release notes](https://github.com/markedjs/marked/releases) - [Commits](https://github.com/markedjs/marked/compare/v17.0.1...v18.0.3) --- updated-dependencies: - dependency-name: marked dependency-version: 18.0.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7842d68dc..8f63d12ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "dependencies": { "common-tags": "^1.8.0", "dexie": "^4.0.11", - "marked": "^17.0.1", + "marked": "^18.0.3", "medium-zoom": "^1.1.0", "opencollective-postinstall": "^2.0.2", "prismjs": "^1.29.0", @@ -14777,9 +14777,9 @@ } }, "node_modules/marked": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.1.tgz", - "integrity": "sha512-boeBdiS0ghpWcSwoNm/jJBwdpFaMnZWRzjA6SkUMYb40SVaN1x7mmfGKp0jvexGcx+7y2La5zRZsYFZI6Qpypg==", + "version": "18.0.3", + "resolved": "https://registry.npmjs.org/marked/-/marked-18.0.3.tgz", + "integrity": "sha512-7VT90JOkDeaRWpfjOReRGPEKn0ecdARBkDGL+tT1wZY0efPPqkUxLUSmzy/C7TIylQYJC9STISEsCHrqb/7VIA==", "license": "MIT", "bin": { "marked": "bin/marked.js" diff --git a/package.json b/package.json index 460a9943a..68037d8fc 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "dependencies": { "common-tags": "^1.8.0", "dexie": "^4.0.11", - "marked": "^17.0.1", + "marked": "^18.0.3", "medium-zoom": "^1.1.0", "opencollective-postinstall": "^2.0.2", "prismjs": "^1.29.0", From df0f4ff83368fdc39db06bea5b939ba0d1a088d8 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Thu, 14 May 2026 10:55:04 +0800 Subject: [PATCH 2/2] fix: update snapshot tests for Docs Site and Emoji components --- test/integration/__snapshots__/docs.test.js.snap | 14 +++----------- test/integration/__snapshots__/emoji.test.js.snap | 10 +++------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/test/integration/__snapshots__/docs.test.js.snap b/test/integration/__snapshots__/docs.test.js.snap index 3e1dca875..c90522f4a 100644 --- a/test/integration/__snapshots__/docs.test.js.snap +++ b/test/integration/__snapshots__/docs.test.js.snap @@ -3,26 +3,18 @@ exports[`Docs Site coverpage renders and is unchanged 1`] = ` "" `; -exports[`Docs Site navbar renders and is unchanged 1`] = ` -"" -`; +exports[`Docs Site navbar renders and is unchanged 1`] = `""`; exports[`Docs Site sidebar renders and is unchanged 1`] = ` "" `; diff --git a/test/integration/__snapshots__/emoji.test.js.snap b/test/integration/__snapshots__/emoji.test.js.snap index 57b0ffdb5..74fdac693 100644 --- a/test/integration/__snapshots__/emoji.test.js.snap +++ b/test/integration/__snapshots__/emoji.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Emoji Ignores all emoji shorthand codes (noEmoji:true) 1`] = `"

:smile:

:smile::smile:

:smile: :smile:

:smile::smile::smile:

:smile: :smile: :smile:

text:smile:

:smile:text

text:smile:text

"`; @@ -7,13 +7,9 @@ exports[`Emoji Ignores emoji shorthand codes in URIs 1`] = `"

Url Achor tags 100

"`; exports[`Emoji Ignores emoji shorthand codes in code, pre, script, and template tags 1`] = ` -"
:100:
- -

:100:

- -