Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
refactor(ckeditor5-mermaid): switch to es-toolkit
Elian Doranf9446304b3cd
diff --git a/packages/ckeditor5-mermaid/package.json b/packages/ckeditor5-mermaid/package.jsonindex 84ff9fa1d1..bae41f26fa 100644--- a/packages/ckeditor5-mermaid/package.json+++ b/packages/ckeditor5-mermaid/package.json@@ -45,7 +45,6 @@"test:debug": "vitest --inspect-brk --no-file-parallelism --browser.headless=false"},"dependencies": {- "@types/lodash-es": "4.17.12",- "lodash-es": "4.18.1"+ "es-toolkit": "^1.45.1"}}diff --git a/packages/ckeditor5-mermaid/src/mermaidediting.ts b/packages/ckeditor5-mermaid/src/mermaidediting.tsindex 1c8470c0f4..0d9939a273 100644--- a/packages/ckeditor5-mermaid/src/mermaidediting.ts+++ b/packages/ckeditor5-mermaid/src/mermaidediting.ts@@ -2,7 +2,7 @@* @module mermaid/mermaidediting*/-import { debounce } from 'lodash-es';+import { debounce } from 'es-toolkit/compat';import MermaidPreviewCommand from './commands/mermaidPreviewCommand.js';import MermaidSourceViewCommand from './commands/mermaidSourceViewCommand.js';diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex eb9fecb6e5..bc709a0603 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1150,12 +1150,9 @@ importers:packages/ckeditor5-mermaid:dependencies:- '@types/lodash-es':- specifier: 4.17.12- version: 4.17.12- lodash-es:- specifier: 4.18.1- version: 4.18.1+ es-toolkit:+ specifier: ^1.45.1+ version: 1.45.1devDependencies:'@ckeditor/ckeditor5-inspector':specifier: '>=4.1.0'@@ -5392,12 +5389,6 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-TbAd9DaPGSnzp6QvtYngntMZgcRk+igFELwR2N99XZn7RXUdKgsXMR+28bUO0rPsWp8MIu/f47luLIQuSLYv/w==}- '@types/[email protected]':- resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==}-- '@types/[email protected]':- resolution: {integrity: sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g==}-'@types/[email protected]':resolution: {integrity: sha512-R/BdP7OxEMc44l2Ex5lSXHoIXTB2JLNa3y2QISIbr58U/YcsffyQrYW//hZSdrfxrjRZj3GcUoxMPGdO8gSYuw==}@@ -18986,12 +18977,6 @@ snapshots:dependencies:'@types/geojson': 7946.0.16- '@types/[email protected]':- dependencies:- '@types/lodash': 4.17.16-- '@types/[email protected]': {}-'@types/[email protected]': {}'@types/[email protected]': {}