@shikijs/vitepress-twoslash 1.17.6 → 1.17.7
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 +3 -3
package/dist/index.mjs
CHANGED
|
@@ -185,7 +185,7 @@ ${code.split(/\n/g).slice(0, 15).join("\n").trim()}
|
|
|
185
185
|
throw error;
|
|
186
186
|
else
|
|
187
187
|
console.error(error);
|
|
188
|
-
|
|
188
|
+
removeTwoslashNotations(code);
|
|
189
189
|
};
|
|
190
190
|
const twoslash = createTransformerFactory(
|
|
191
191
|
createTwoslasher(options.twoslashOptions)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/vitepress-twoslash",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.17.
|
|
4
|
+
"version": "1.17.7",
|
|
5
5
|
"description": "Enable Twoslash support in VitePress",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"mdast-util-to-hast": "^13.2.0",
|
|
56
56
|
"twoslash": "^0.2.11",
|
|
57
57
|
"twoslash-vue": "^0.2.11",
|
|
58
|
-
"vue": "^3.5.
|
|
59
|
-
"shiki": "1.17.
|
|
58
|
+
"vue": "^3.5.5",
|
|
59
|
+
"shiki": "1.17.7"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "unbuild",
|