@shikijs/vitepress-twoslash 1.2.0 → 1.2.1

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 +5 -5
package/dist/index.mjs CHANGED
@@ -182,7 +182,7 @@ ${code.split(/\n/g).slice(0, 15).join("\n").trim()}
182
182
  return removeTwoslashNotations(code);
183
183
  };
184
184
  const twoslash = createTransformerFactory(
185
- createTwoslasher()
185
+ createTwoslasher(options.twoslashOptions)
186
186
  )({
187
187
  langs: ["ts", "tsx", "js", "jsx", "json", "vue"],
188
188
  renderer: rendererFloatingVue(options),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/vitepress-twoslash",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "Enable Twoslash support in VitePress",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -52,11 +52,11 @@
52
52
  "mdast-util-from-markdown": "^2.0.0",
53
53
  "mdast-util-gfm": "^3.0.0",
54
54
  "mdast-util-to-hast": "^13.1.0",
55
- "twoslash": "^0.2.4",
56
- "twoslash-vue": "^0.2.4",
55
+ "twoslash": "^0.2.5",
56
+ "twoslash-vue": "^0.2.5",
57
57
  "vue": "^3.4.21",
58
- "shiki": "1.2.0",
59
- "@shikijs/twoslash": "1.2.0"
58
+ "@shikijs/twoslash": "1.2.1",
59
+ "shiki": "1.2.1"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "unbuild",