diff --git a/packages/suggestion/src/slate-diff/internal/transforms/transformDiffNodes.ts b/packages/suggestion/src/slate-diff/internal/transforms/transformDiffNodes.ts index 378a202a51..0578aaea32 100644 --- a/packages/suggestion/src/slate-diff/internal/transforms/transformDiffNodes.ts +++ b/packages/suggestion/src/slate-diff/internal/transforms/transformDiffNodes.ts @@ -1,6 +1,6 @@ /* eslint-disable no-restricted-syntax */ import { TDescendant, TOperation } from '@udecode/plate-common'; -import { isEqual } from 'lodash'; +import isEqual from 'lodash/isEqual.js'; import { slateDiff } from '../../slate-diff'; import { copyWithout } from '../utils/copy-without'; diff --git a/packages/suggestion/src/slate-diff/internal/utils/diff-nodes.ts b/packages/suggestion/src/slate-diff/internal/utils/diff-nodes.ts index 5236096869..fdf1b2aabb 100644 --- a/packages/suggestion/src/slate-diff/internal/utils/diff-nodes.ts +++ b/packages/suggestion/src/slate-diff/internal/utils/diff-nodes.ts @@ -1,5 +1,5 @@ import { isElement, isText, TDescendant } from '@udecode/plate-common'; -import { isEqual } from 'lodash'; +import isEqual from 'lodash/isEqual.js'; import { copyWithout } from './copy-without'; diff --git a/yarn.lock b/yarn.lock index f8d36a6c72..e55b2c0e1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6884,7 +6884,7 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-suggestion@npm:30.4.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": +"@udecode/plate-suggestion@npm:30.4.1, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": version: 0.0.0-use.local resolution: "@udecode/plate-suggestion@workspace:packages/suggestion" dependencies: @@ -7083,7 +7083,7 @@ __metadata: "@udecode/plate-serializer-docx": "npm:30.1.2" "@udecode/plate-serializer-html": "npm:30.1.2" "@udecode/plate-serializer-md": "npm:30.2.1" - "@udecode/plate-suggestion": "npm:30.4.0" + "@udecode/plate-suggestion": "npm:30.4.1" "@udecode/plate-tabbable": "npm:30.1.2" "@udecode/plate-table": "npm:30.1.2" "@udecode/plate-toggle": "npm:30.3.2"