@shikijs/core 1.22.1 → 1.22.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1909,7 +1909,7 @@ function createdBundledHighlighter(arg1, arg2, arg3) {
1909
1909
  const _themes = (options.themes ?? []).map((i) => resolveTheme(i));
1910
1910
  const langs = (options.langs ?? []).map((i) => resolveLang(i));
1911
1911
  const core = await createHighlighterCore({
1912
- engine: engine(),
1912
+ engine: options.engine ?? engine(),
1913
1913
  ...options,
1914
1914
  themes: _themes,
1915
1915
  langs
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "1.22.1",
4
+ "version": "1.22.2",
5
5
  "description": "Core of Shiki",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -63,9 +63,9 @@
63
63
  "@shikijs/vscode-textmate": "^9.3.0",
64
64
  "@types/hast": "^3.0.4",
65
65
  "hast-util-to-html": "^9.0.3",
66
- "@shikijs/engine-javascript": "1.22.1",
67
- "@shikijs/engine-oniguruma": "1.22.1",
68
- "@shikijs/types": "1.22.1"
66
+ "@shikijs/types": "1.22.2",
67
+ "@shikijs/engine-javascript": "1.22.2",
68
+ "@shikijs/engine-oniguruma": "1.22.2"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "unbuild",