From fae1a3d676a76302d881d2d0f2d1b4e7514e7318 Mon Sep 17 00:00:00 2001 From: Andrey Marchuk <16564359+AndreyMarchuk@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:02:32 -0700 Subject: [PATCH 1/2] Normalize cloneDeep import (fix SyntaxError: Named export 'cloneDeep' not found) --- packages/table/src/merge/mergeTableCells.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/table/src/merge/mergeTableCells.ts b/packages/table/src/merge/mergeTableCells.ts index 1cab0d1aea..fd9be85244 100644 --- a/packages/table/src/merge/mergeTableCells.ts +++ b/packages/table/src/merge/mergeTableCells.ts @@ -9,7 +9,7 @@ import { Value, withoutNormalizing, } from '@udecode/plate-common'; -import { cloneDeep } from 'lodash'; +import cloneDeep from 'lodash/cloneDeep.js'; import { ELEMENT_TABLE, ELEMENT_TH } from '../createTablePlugin'; import { getTableGridAbove } from '../queries'; From bb55c8950adacceb7e23cfc4ac4191075fa35d60 Mon Sep 17 00:00:00 2001 From: Ziad Beyens Date: Wed, 27 Dec 2023 02:46:10 +0100 Subject: [PATCH 2/2] Create rotten-foxes-tickle.md --- .changeset/rotten-foxes-tickle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rotten-foxes-tickle.md diff --git a/.changeset/rotten-foxes-tickle.md b/.changeset/rotten-foxes-tickle.md new file mode 100644 index 0000000000..664642f809 --- /dev/null +++ b/.changeset/rotten-foxes-tickle.md @@ -0,0 +1,5 @@ +--- +"@udecode/plate-table": patch +--- + +Fix lodash import