From b324a9fc91dcbcf669ee060de925d090545a78d6 Mon Sep 17 00:00:00 2001 From: e11sy <130844513+e11sy@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:30:22 +0300 Subject: [PATCH] update dependencies --- package.json | 4 +-- src/ListRenderer/ChecklistRenderer.ts | 16 +++++------ src/ListRenderer/OrderedListRenderer.ts | 12 ++++---- src/ListRenderer/UnorderedListRenderer.ts | 12 ++++---- yarn.lock | 34 +++++++++++------------ 5 files changed, 39 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 51d204b..d208cd5 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "@editorjs/editorjs": "^2.31.0-rc.2", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", - "@editorjs/caret": "^1.0.2", - "@editorjs/dom": "^0.0.7", + "@editorjs/caret": "^1.0.3", + "@editorjs/dom": "^1.0.1", "eslint": "^9.2.0", "eslint-config-codex": "^2.0.0", "eslint-import-resolver-alias": "1.1.2", diff --git a/src/ListRenderer/ChecklistRenderer.ts b/src/ListRenderer/ChecklistRenderer.ts index 00c2103..0faf108 100644 --- a/src/ListRenderer/ChecklistRenderer.ts +++ b/src/ListRenderer/ChecklistRenderer.ts @@ -1,7 +1,7 @@ import { IconCheck } from '@codexteam/icons'; import type { ChecklistItemMeta } from '../types/ItemMeta'; import type { NestedListConfig } from '../types/ListParams'; -import * as Dom from '@editorjs/dom'; +import { isEmpty, make } from '@editorjs/dom'; import { DefaultListCssClasses } from './ListRenderer'; import type { ListCssClasses, ListRendererInterface } from './ListRenderer'; import { CssPrefix } from '../styles/CssPrefix'; @@ -86,7 +86,7 @@ export class CheckListRenderer implements ListRendererInterface