@prosekit/core
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -993,3 +993,3 @@ import { AllSelection } from '@prosekit/pm/state'; | ||
view: EditorView; | ||
prevState: EditorState; | ||
prevState?: EditorState; | ||
}) => void; | ||
@@ -996,0 +996,0 @@ |
@@ -1396,6 +1396,7 @@ // src/commands/add-mark.ts | ||
key: pluginKey, | ||
view: () => { | ||
view: (view) => { | ||
updateHandlers.forEach((fn) => fn({ view })); | ||
return { | ||
update: (view, prevState) => { | ||
updateHandlers.forEach((fn) => fn({ view, prevState })); | ||
update: (view2, prevState) => { | ||
updateHandlers.forEach((fn) => fn({ view: view2, prevState })); | ||
} | ||
@@ -1402,0 +1403,0 @@ }; |
{ | ||
"name": "@prosekit/core", | ||
"type": "module", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"private": false, | ||
@@ -43,7 +43,7 @@ "author": { | ||
"orderedmap": "^2.1.1", | ||
"type-fest": "^4.7.1" | ||
"type-fest": "^4.8.0" | ||
}, | ||
"devDependencies": { | ||
"@prosekit/dev": "*", | ||
"tsup": "^7.2.0", | ||
"tsup": "^7.3.0", | ||
"typescript": "^5.2.2", | ||
@@ -50,0 +50,0 @@ "vitest": "^0.34.6" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77338
8
2478
Updatedtype-fest@^4.8.0