@shikijs/rehype 4.1.0 → 4.2.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/core.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RehypeShikiCoreOptions, r as RehypeShikiExtraOptions, t as MapLike } from "./types-
|
|
1
|
+
import { n as RehypeShikiCoreOptions, r as RehypeShikiExtraOptions, t as MapLike } from "./types-FM_Ah9VV.mjs";
|
|
2
2
|
import { HighlighterGeneric } from "@shikijs/types";
|
|
3
3
|
import { Root } from "hast";
|
|
4
4
|
import { Transformer } from "unified";
|
package/dist/core.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as rehypeShikiFromHighlighter } from "./core-
|
|
1
|
+
import { t as rehypeShikiFromHighlighter } from "./core-BvUdHGey.mjs";
|
|
2
2
|
export { rehypeShikiFromHighlighter as default };
|
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as rehypeShikiFromHighlighter } from "./core-
|
|
1
|
+
import { t as rehypeShikiFromHighlighter } from "./core-BvUdHGey.mjs";
|
|
2
2
|
import { bundledLanguages, getSingletonHighlighter } from "shiki";
|
|
3
3
|
//#region src/index.ts
|
|
4
4
|
const rehypeShiki = function(options = {}) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/rehype",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.0",
|
|
5
5
|
"description": "rehype integration for shiki",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"hast-util-to-string": "^3.0.1",
|
|
36
36
|
"unified": "^11.0.5",
|
|
37
37
|
"unist-util-visit": "^5.1.0",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"shiki": "4.2.0",
|
|
39
|
+
"@shikijs/types": "4.2.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"rehype-raw": "^7.0.0",
|
|
43
43
|
"rehype-stringify": "^10.0.1",
|
|
44
44
|
"remark-parse": "^11.0.0",
|
|
45
45
|
"remark-rehype": "^11.1.2",
|
|
46
|
-
"@shikijs/transformers": "4.
|
|
46
|
+
"@shikijs/transformers": "4.2.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|
|
File without changes
|
|
File without changes
|