tiptap-extension-code-block-shiki 0.3.0 → 0.4.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.
@@ -5,7 +5,7 @@ import { Fragment as L, Slice as be, DOMParser as Me } from "@tiptap/pm/model";
5
5
  import { liftTarget as Ae, joinPoint as ce, canSplit as R, ReplaceStep as Te, ReplaceAroundStep as Ce, canJoin as le } from "@tiptap/pm/transform";
6
6
  import { createParagraphNear as Ee, deleteSelection as Be, exitCode as ve, joinUp as Ie, joinDown as Pe, joinBackward as $e, joinForward as Ne, joinTextblockBackward as Oe, joinTextblockForward as je, lift as Fe, liftEmptyBlock as Le, newlineInCode as Re, selectNodeBackward as De, selectNodeForward as ze, selectParentNode as We, selectTextblockEnd as He, selectTextblockStart as Ke, setBlockType as ee, wrapIn as Ve } from "@tiptap/pm/commands";
7
7
  import { liftListItem as _e, sinkListItem as Je, wrapInList as Ue } from "@tiptap/pm/schema-list";
8
- import { bundledThemes as de, bundledLanguages as ue, getHighlighter as Ge } from "shiki";
8
+ import { bundledThemes as de, bundledLanguages as ue, createHighlighter as Ge } from "shiki";
9
9
  function fe(e) {
10
10
  const { state: t, transaction: n } = e;
11
11
  let { selection: o } = n, { doc: r } = n, { storedMarks: s } = n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiptap-extension-code-block-shiki",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Use Shiki syntax highlighting for codeblocks in TipTap.",
5
5
  "repository": "timomeh/tiptap-extension-code-block-shiki",
6
6
  "author": {
@@ -21,7 +21,7 @@
21
21
  "@tiptap/starter-kit": "^2.3.0",
22
22
  "happy-dom": "^14.10.1",
23
23
  "prettier": "^3.2.5",
24
- "shiki": "^1.3.0",
24
+ "shiki": "^1.12.1",
25
25
  "typescript": "^5.2.2",
26
26
  "vite": "^5.2.0",
27
27
  "vite-plugin-dts": "^3.8.3",