@jackuait/blok-cli 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -41,14 +41,14 @@ var t = "# Migrating from EditorJS to Blok\n\nThis guide covers the breaking cha
41
41
  case "convert-html": {
42
42
  let e = new (await (import("jsdom"))).JSDOM("");
43
43
  globalThis.DOMParser = e.window.DOMParser, globalThis.Node = e.window.Node;
44
- let { convertHtml: t } = await import("./convert-html-JmnpFRtf.mjs");
44
+ let { convertHtml: t } = await import("./convert-html-Bi6ervFd.mjs");
45
45
  r(t((await import("node:fs")).readFileSync("/dev/stdin", "utf-8")), s);
46
46
  break;
47
47
  }
48
48
  case "convert-gdocs": {
49
49
  let e = new (await (import("jsdom"))).JSDOM("");
50
50
  globalThis.DOMParser = e.window.DOMParser, globalThis.Node = e.window.Node, globalThis.document = e.window.document;
51
- let { convertGdocs: t } = await import("./convert-gdocs-BnJm2wSS.mjs");
51
+ let { convertGdocs: t } = await import("./convert-gdocs-CwqIzHDl.mjs");
52
52
  r(t((await import("node:fs")).readFileSync("/dev/stdin", "utf-8")), s);
53
53
  break;
54
54
  }
@@ -156,7 +156,7 @@ function D(e) {
156
156
  let t = o(e), r = new DOMParser().parseFromString(t, "text/html").body;
157
157
  i(r), n(r);
158
158
  let s = {
159
- version: "0.19.2",
159
+ version: "0.21.0",
160
160
  blocks: a(r)
161
161
  };
162
162
  return JSON.stringify(s);
@@ -4,7 +4,7 @@ function r(r) {
4
4
  let i = new DOMParser().parseFromString(r, "text/html").body;
5
5
  t(i), e(i);
6
6
  let a = {
7
- version: "0.19.2",
7
+ version: "0.21.0",
8
8
  blocks: n(i)
9
9
  };
10
10
  return JSON.stringify(a);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackuait/blok-cli",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "CLI tools for Blok — convert HTML to Blok JSON, generate migration guides",
5
5
  "bin": {
6
6
  "blok-cli": "bin/blok-cli.mjs"