From 1c72867f2fd9655d48b2d0ac22e1e1ff774e6998 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:37:48 +0000 Subject: [PATCH] Update dependency diff-dom to v5 (#12134) * Update dependency diff-dom to v5 * Update snapshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 2 +- .../MessageDiffUtils-test.tsx.snap | 28 ++++++++++--------- yarn.lock | 8 +++--- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 8e6d3e0cb6..167102316a 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "classnames": "^2.2.6", "commonmark": "^0.30.0", "counterpart": "^0.18.6", - "diff-dom": "^4.2.2", + "diff-dom": "^5.0.0", "diff-match-patch": "^1.0.5", "emojibase-regex": "15.3.0", "escape-html": "^1.0.3", diff --git a/test/utils/__snapshots__/MessageDiffUtils-test.tsx.snap b/test/utils/__snapshots__/MessageDiffUtils-test.tsx.snap index 655fc8a807..8a03710e19 100644 --- a/test/utils/__snapshots__/MessageDiffUtils-test.tsx.snap +++ b/test/utils/__snapshots__/MessageDiffUtils-test.tsx.snap @@ -347,19 +347,21 @@ exports[`editBodyDiffToHtml renders element replacements 1`] = ` dir="auto" > hi - - - there - - - - - there - + + + + there + + + + + there + + diff --git a/yarn.lock b/yarn.lock index beab98a517..8039a860c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4851,10 +4851,10 @@ detect-node-es@^1.1.0: resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== -diff-dom@^4.2.2: - version "4.2.8" - resolved "https://registry.yarnpkg.com/diff-dom/-/diff-dom-4.2.8.tgz#4280b28c4dc1da951c40ee6969d895f782b8edbc" - integrity sha512-OIL+sf1bFBQ/Z1gjo3xlHyDViVaRiDVMOM5jTM30aFATu3tLlNloeixKCg7p7nFyTjI1eQmdlVu1admV/BwVJw== +diff-dom@^5.0.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/diff-dom/-/diff-dom-5.1.2.tgz#951627784bc45e32999f0c97cd42e4cf8c35791f" + integrity sha512-ayOX+pBYzyLdt7iXFd+8jvWzhrcWk+9gQqYk7Zz8/0hpIsqSbtk6MNbtds+Ox6B8ONsdtIcfPmk3NXPdgb3+xQ== diff-match-patch@^1.0.5: version "1.0.5"