From 6e3f795988397120a3e936652e6191fcbcdbf532 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:21:57 -0500 Subject: [PATCH] fix(deps): update dependency unist-util-visit to v4.1.2 (#427) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Lautzenheiser --- packages/core/package.json | 2 +- .../serialization/slate/flattenListItemParagraphs.ts | 2 +- yarn.lock | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index f9e240d4..552beb02 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -149,7 +149,7 @@ "styled-components": "5.3.6", "symbol-observable": "4.0.0", "unified": "10.1.2", - "unist-util-visit": "4.1.1", + "unist-util-visit": "4.1.2", "uploadcare-widget": "3.21.0", "uploadcare-widget-tab-effects": "1.6.0", "url": "0.11.0", diff --git a/packages/core/src/widgets/markdown/plate/serialization/slate/flattenListItemParagraphs.ts b/packages/core/src/widgets/markdown/plate/serialization/slate/flattenListItemParagraphs.ts index 76b67c1d..f5677230 100644 --- a/packages/core/src/widgets/markdown/plate/serialization/slate/flattenListItemParagraphs.ts +++ b/packages/core/src/widgets/markdown/plate/serialization/slate/flattenListItemParagraphs.ts @@ -1,7 +1,7 @@ import { visit } from 'unist-util-visit'; import type { Plugin } from 'unified'; -import type { Parent, Node, VisitorResult } from 'unist-util-visit'; +import type { Parent, Node, VisitorResult } from 'unist-util-visit/lib'; const flattenListItemParagraphs: Plugin = function () { return ast => { diff --git a/yarn.lock b/yarn.lock index 530efc6e..16aacf04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18022,7 +18022,16 @@ unist-util-visit-parents@^5.0.0, unist-util-visit-parents@^5.1.1: "@types/unist" "^2.0.0" unist-util-is "^5.0.0" -unist-util-visit@4.1.1, unist-util-visit@^4.0.0: +unist-util-visit@4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2" + integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^5.0.0" + unist-util-visit-parents "^5.1.1" + +unist-util-visit@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.1.tgz#1c4842d70bd3df6cc545276f5164f933390a9aad" integrity sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==