@shikijs/core 3.20.0 → 3.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1342,7 +1342,8 @@ function tokensToHast(tokens, options, transformerContext, grammarState = getLas
1342
1342
  type: "element",
1343
1343
  tagName: "pre",
1344
1344
  properties,
1345
- children: []
1345
+ children: [],
1346
+ data: options.data
1346
1347
  };
1347
1348
  let codeNode = {
1348
1349
  type: "element",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "3.20.0",
4
+ "version": "3.21.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.20.0"
49
+ "@shikijs/types": "3.21.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "unbuild",