Skip to content

Commit 21a318c

Browse files
chore: Lock file maintenance (#1589)
* chore: Lock file maintenance * chore: fix * chore: fix * chore: remove cypress --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mirone <Saul-Mirone@outlook.com>
1 parent eb316c9 commit 21a318c

File tree

8 files changed

+3330
-5840
lines changed

8 files changed

+3330
-5840
lines changed

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
pnpm exec commitlint --edit $1

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"autoprefixer": "^10.2.5",
5757
"concurrently": "^9.0.0",
5858
"cross-env": "^7.0.3",
59-
"cypress": "^13.13.0",
6059
"esbuild": "^0.24.0",
6160
"git-cz": "^4.7.6",
6261
"husky": "^9.0.10",

packages/components/src/table-block/view/view.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
EditorView,
66
NodeView,
77
NodeViewConstructor,
8+
ViewMutationRecord,
89
} from '@milkdown/prose/view'
910
import type { Ctx } from '@milkdown/ctx'
1011
import { NodeSelection } from '@milkdown/prose/state'
@@ -106,7 +107,7 @@ export class TableNodeView implements NodeView {
106107
return false
107108
}
108109

109-
ignoreMutation(mutation: MutationRecord) {
110+
ignoreMutation(mutation: ViewMutationRecord) {
110111
if (!this.dom || !this.contentDOM) return true
111112

112113
if ((mutation.type as unknown) === 'selection') return false

packages/crepe/src/feature/block-edit/handle/component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import type { Icon } from '../../shared'
55
export interface BlockHandleProps {
66
show: boolean
77
onAdd: () => void
8-
addIcon: Icon
9-
handleIcon: Icon
8+
addIcon?: Icon
9+
handleIcon?: Icon
1010
}
1111

1212
const blockHandleComponent: Component<BlockHandleProps> = ({

packages/plugins/plugin-diagram/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"dependencies": {
5151
"@milkdown/exception": "workspace:*",
5252
"@milkdown/utils": "workspace:*",
53-
"@types/dompurify": "^3.0.0",
5453
"mermaid": "^10.9.0",
5554
"nanoid": "^5.0.0",
5655
"tslib": "^2.5.0",

packages/prose/src/toolkit/input-rules/custom-input-rules.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ function run(
2323
'\uFFFC'
2424
) + text
2525
for (let i = 0; i < rules.length; i++) {
26-
const match = (rules[i] as { match: RegExp }).match.exec(textBefore)
26+
const match = (rules[i] as unknown as { match: RegExp }).match.exec(
27+
textBefore
28+
)
2729
const tr =
2830
match &&
2931
match[0] &&
3032
(
31-
rules[i] as {
33+
rules[i] as unknown as {
3234
handler: (
3335
state: EditorState,
3436
match: string[],

0 commit comments

Comments
 (0)