@milkdown/prose
Advanced tools
Comparing version 7.5.8 to 7.5.9
@@ -54,3 +54,5 @@ import { PluginKey, Plugin, NodeSelection } from 'prosemirror-state'; | ||
for (let i = 0; i < rules.length; i++) { | ||
const match = rules[i].match.exec(textBefore); | ||
const match = rules[i].match.exec( | ||
textBefore | ||
); | ||
const tr = match && match[0] && rules[i].handler(state, match, from - (match[0].length - text.length), to); | ||
@@ -57,0 +59,0 @@ if (!tr) continue; |
{ | ||
"name": "@milkdown/prose", | ||
"type": "module", | ||
"version": "7.5.8", | ||
"version": "7.5.9", | ||
"license": "MIT", | ||
@@ -93,3 +93,3 @@ "repository": { | ||
"tslib": "^2.5.0", | ||
"@milkdown/exception": "7.5.8" | ||
"@milkdown/exception": "7.5.9" | ||
}, | ||
@@ -96,0 +96,0 @@ "nx": { |
@@ -26,3 +26,5 @@ import type { InputRule } from '../../inputrules' | ||
for (let i = 0; i < rules.length; i++) { | ||
const match = (rules[i] as { match: RegExp }).match.exec(textBefore) | ||
const match = (rules[i] as unknown as { match: RegExp }).match.exec( | ||
textBefore | ||
) | ||
const tr = | ||
@@ -32,3 +34,3 @@ match && | ||
( | ||
rules[i] as { | ||
rules[i] as unknown as { | ||
handler: ( | ||
@@ -35,0 +37,0 @@ state: EditorState, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
70556
1080
+ Added@milkdown/exception@7.5.9(transitive)
- Removed@milkdown/exception@7.5.8(transitive)
Updated@milkdown/exception@7.5.9