refactor(editor): replace debounce and throttle with lodash (#10639)

This commit is contained in:
Saul-Mirone
2025-03-06 04:46:52 +00:00
parent 824f573ff9
commit 2b30d756e2
27 changed files with 118 additions and 202 deletions

View File

@@ -2411,7 +2411,9 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.12"
"@types/lodash-es": "npm:^4.17.12"
lit: "npm:^3.2.0"
lodash-es: "npm:^4.17.21"
minimatch: "npm:^10.0.1"
vitest: "npm:3.0.7"
yjs: "npm:^13.6.21"
@@ -2710,14 +2712,14 @@ __metadata:
"@toeverything/theme": "npm:^1.1.12"
"@types/hast": "npm:^3.0.4"
"@types/katex": "npm:^0.16.7"
"@types/lodash.clonedeep": "npm:^4.5.9"
"@types/lodash-es": "npm:^4.17.12"
"@types/mdast": "npm:^4.0.4"
collapse-white-space: "npm:^2.1.0"
date-fns: "npm:^4.0.0"
katex: "npm:^0.16.11"
lit: "npm:^3.2.0"
lit-html: "npm:^3.2.1"
lodash.clonedeep: "npm:^4.5.0"
lodash-es: "npm:^4.17.21"
remark-math: "npm:^6.0.0"
shiki: "npm:^3.0.0"
yjs: "npm:^13.6.21"
@@ -2803,14 +2805,12 @@ __metadata:
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.12"
"@types/hast": "npm:^3.0.4"
"@types/lodash.clonedeep": "npm:^4.5.9"
"@types/lodash.mergewith": "npm:^4"
"@types/lodash-es": "npm:^4.17.12"
"@types/mdast": "npm:^4.0.4"
dompurify: "npm:^3.2.4"
fractional-indexing: "npm:^3.2.0"
lit: "npm:^3.2.0"
lodash.clonedeep: "npm:^4.5.0"
lodash.mergewith: "npm:^4.6.2"
lodash-es: "npm:^4.17.21"
mdast-util-gfm-autolink-literal: "npm:^2.0.1"
mdast-util-gfm-footnote: "npm:^2.0.0"
mdast-util-gfm-strikethrough: "npm:^2.0.0"
@@ -2857,7 +2857,9 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.12"
"@types/lodash-es": "npm:^4.17.12"
lit: "npm:^3.2.0"
lodash-es: "npm:^4.17.21"
minimatch: "npm:^10.0.1"
zod: "npm:^3.23.8"
languageName: unknown
@@ -2910,7 +2912,9 @@ __metadata:
"@blocksuite/icons": "npm:^2.2.3"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.12"
"@types/lodash-es": "npm:^4.17.12"
lit: "npm:^3.2.0"
lodash-es: "npm:^4.17.21"
languageName: unknown
linkType: soft
@@ -2954,10 +2958,12 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@types/hast": "npm:^3.0.4"
"@types/lodash-es": "npm:^4.17.12"
dompurify: "npm:^3.2.4"
fractional-indexing: "npm:^3.2.0"
lib0: "npm:^0.2.97"
lit: "npm:^3.2.0"
lodash-es: "npm:^4.17.21"
lz-string: "npm:^1.5.0"
rehype-parse: "npm:^9.0.0"
unified: "npm:^11.0.5"
@@ -14146,15 +14152,6 @@ __metadata:
languageName: node
linkType: hard
"@types/lodash.mergewith@npm:^4":
version: 4.6.9
resolution: "@types/lodash.mergewith@npm:4.6.9"
dependencies:
"@types/lodash": "npm:*"
checksum: 10/c5a67e83040103decfd37090127118f5758773d0ce2a1756d442b371721737c7752f48f62544cc970f44abec8471f260cc4c844e1a4fdef8b76cb96bdec8a595
languageName: node
linkType: hard
"@types/lodash@npm:*":
version: 4.17.15
resolution: "@types/lodash@npm:4.17.15"