yanki 2.0.7 → 2.0.9

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/lib/index.js CHANGED
@@ -39,7 +39,7 @@ import rehypeParse from "rehype-parse";
39
39
  import rehypeRaw from "rehype-raw";
40
40
  import rehypeStringify from "rehype-stringify";
41
41
  import remarkRehype from "remark-rehype";
42
- import { createHighlighterCore } from "shiki/core";
42
+ import { createHighlighterCoreSync } from "shiki/core";
43
43
  import { createJavaScriptRegexEngine } from "shiki/engine/javascript";
44
44
  import { unified } from "unified";
45
45
  import { u } from "unist-builder";
@@ -839,7 +839,7 @@ const plugin$2 = function() {
839
839
  //#endregion
840
840
  //#region src/lib/parse/rehype-utilities.ts
841
841
  const DIMENSION_CHARS_REGEX = /^[\dx]+$/;
842
- const highlighter = await createHighlighterCore({
842
+ const highlighter = createHighlighterCoreSync({
843
843
  engine: createJavaScriptRegexEngine(),
844
844
  langs: [
845
845
  bash,
@@ -796,7 +796,7 @@ Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for
796
796
  */
797
797
  type PartialObjectDeep<ObjectType extends object, Options extends Required<PartialDeepOptions>> = { [KeyType in keyof ObjectType]?: _PartialDeep<ObjectType[KeyType], Options> };
798
798
  //#endregion
799
- //#region node_modules/.pnpm/yanki-connect@4.0.4/node_modules/yanki-connect/dist/index.d.ts
799
+ //#region node_modules/.pnpm/yanki-connect@4.0.5/node_modules/yanki-connect/dist/index.d.ts
800
800
  //#region src/types/deck.d.ts
801
801
  type DeckStats = {
802
802
  deck_id: number;