@milkdown/utils
Advanced tools
Comparing version 7.5.9 to 7.6.0
export * from './$command'; | ||
export * from './$inputRule'; | ||
export * from './$input-rule'; | ||
export * from './$mark'; | ||
@@ -4,0 +4,0 @@ export * from './$node'; |
@@ -1,2 +0,2 @@ | ||
import { createCmdKey as O, commandsTimerCtx as I, CommandsReady as R, commandsCtx as d, editorStateTimerCtx as A, SchemaReady as l, inputRulesCtx as C, schemaCtx as g, schemaTimerCtx as E, marksCtx as w, nodesCtx as k, prosePluginsCtx as p, editorViewTimerCtx as D, nodeViewCtx as v, markViewCtx as $, InitReady as N, remarkPluginsCtx as b, editorViewCtx as f, serializerCtx as H, parserCtx as M, editorStateOptionsCtx as L } from "@milkdown/core"; | ||
import { createCmdKey as O, commandsTimerCtx as I, CommandsReady as R, commandsCtx as d, editorStateTimerCtx as A, SchemaReady as l, inputRulesCtx as C, schemaCtx as g, schemaTimerCtx as E, marksCtx as w, nodesCtx as k, prosePluginsCtx as p, editorViewTimerCtx as D, nodeViewCtx as $, markViewCtx as v, InitReady as N, remarkPluginsCtx as b, editorViewCtx as f, serializerCtx as H, parserCtx as M, editorStateOptionsCtx as L } from "@milkdown/core"; | ||
import { createTimer as F, createSlice as U } from "@milkdown/ctx"; | ||
@@ -189,10 +189,10 @@ import { customAlphabet as q } from "nanoid"; | ||
const e = o(t); | ||
return n.type(t) instanceof T ? t.update(v, (a) => [ | ||
return n.type(t) instanceof T ? t.update($, (a) => [ | ||
...a, | ||
[n.id, e] | ||
]) : t.update($, (a) => [ | ||
]) : t.update(v, (a) => [ | ||
...a, | ||
[n.id, e] | ||
]), r.view = e, r.type = n, () => { | ||
n.type(t) instanceof T ? t.update(v, (a) => a.filter((s) => s[0] !== n.id)) : t.update($, (a) => a.filter((s) => s[0] !== n.id)); | ||
n.type(t) instanceof T ? t.update($, (a) => a.filter((s) => s[0] !== n.id)) : t.update(v, (a) => a.filter((s) => s[0] !== n.id)); | ||
}; | ||
@@ -207,10 +207,10 @@ }; | ||
const a = await o(t); | ||
return n.type(t) instanceof T ? t.update(v, (s) => [ | ||
return n.type(t) instanceof T ? t.update($, (s) => [ | ||
...s, | ||
[n.id, a] | ||
]) : t.update($, (s) => [ | ||
]) : t.update(v, (s) => [ | ||
...s, | ||
[n.id, a] | ||
]), e.view = a, e.type = n, () => { | ||
n.type(t) instanceof T ? t.update(v, (s) => s.filter((i) => i[0] !== n.id)) : t.update($, (s) => s.filter((i) => i[0] !== n.id)); | ||
n.type(t) instanceof T ? t.update($, (s) => s.filter((i) => i[0] !== n.id)) : t.update(v, (s) => s.filter((i) => i[0] !== n.id)); | ||
}; | ||
@@ -282,3 +282,3 @@ }, | ||
} | ||
function ve() { | ||
function $e() { | ||
return (n) => { | ||
@@ -291,3 +291,3 @@ const o = document.createElement("div"), r = n.get(g), t = n.get(f), e = B.fromSchema(r).serializeFragment( | ||
} | ||
function $e() { | ||
function ve() { | ||
return (n) => { | ||
@@ -390,4 +390,4 @@ const o = n.get(f); | ||
Ce as forceUpdate, | ||
ve as getHTML, | ||
$e as getMarkdown, | ||
$e as getHTML, | ||
ve as getMarkdown, | ||
Te as insert, | ||
@@ -394,0 +394,0 @@ J as nanoid, |
{ | ||
"name": "@milkdown/utils", | ||
"type": "module", | ||
"version": "7.5.9", | ||
"version": "7.6.0", | ||
"license": "MIT", | ||
@@ -31,10 +31,10 @@ "repository": { | ||
"nanoid": "^5.0.0", | ||
"tslib": "^2.5.0", | ||
"@milkdown/exception": "7.5.9" | ||
"tslib": "^2.8.1", | ||
"@milkdown/exception": "7.6.0" | ||
}, | ||
"devDependencies": { | ||
"@milkdown/ctx": "7.5.9", | ||
"@milkdown/prose": "7.5.9", | ||
"@milkdown/transformer": "7.5.9", | ||
"@milkdown/core": "7.5.9" | ||
"@milkdown/core": "7.6.0", | ||
"@milkdown/ctx": "7.6.0", | ||
"@milkdown/prose": "7.6.0", | ||
"@milkdown/transformer": "7.6.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "nx": { |
export * from './$command' | ||
export * from './$inputRule' | ||
export * from './$input-rule' | ||
export * from './$mark' | ||
@@ -4,0 +4,0 @@ export * from './$node' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
130283
+ Added@milkdown/exception@7.6.0(transitive)
- Removed@milkdown/exception@7.5.9(transitive)
Updated@milkdown/exception@7.6.0
Updatedtslib@^2.8.1