@shikijs/core 3.19.0 → 3.20.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/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -932,7 +932,7 @@ function getLastGrammarState(...args) {
|
|
|
932
932
|
function tokenizeWithTheme(code, grammar, theme, colorMap, options) {
|
|
933
933
|
const result = _tokenizeWithTheme(code, grammar, theme, colorMap, options);
|
|
934
934
|
const grammarState = new GrammarState(
|
|
935
|
-
|
|
935
|
+
result.stateStack,
|
|
936
936
|
grammar.name,
|
|
937
937
|
theme.name
|
|
938
938
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.20.0",
|
|
5
5
|
"description": "Core of Shiki",
|
|
6
6
|
"author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@shikijs/vscode-textmate": "^10.0.2",
|
|
47
47
|
"@types/hast": "^3.0.4",
|
|
48
48
|
"hast-util-to-html": "^9.0.5",
|
|
49
|
-
"@shikijs/types": "3.
|
|
49
|
+
"@shikijs/types": "3.20.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "unbuild",
|