Socket
Socket
Sign inDemoInstall

hexo-shiki-twoslash

Package Overview
Dependencies
2
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.13 to 1.0.14

8

CHANGELOG.md
# hexo-shiki-twoslash
## 1.0.14
### Patch Changes
- 8a0fcc0: Switch to use a new package which we've extracted out from Shiki Twoslash for handling parsing the different potential formats for codefence attributes: [fenceparser](https://www.npmjs.com/package/fenceparser) which means a breaking change in the remark plugin API. The semver major shouldn't affect anyone using the library via another tool (e.g. via the docusaurus plugins etc).
- Updated dependencies [8a0fcc0]
- remark-shiki-twoslash@2.0.0
## 1.0.12

@@ -4,0 +12,0 @@

5

index.js

@@ -26,7 +26,4 @@ const { sleep } = require("deasync")

renderer.code = function (code, infostring) {
const [lang, ...rest] = infostring.split(" ")
const fence = rest.join(" ")
return transformAttributesToHTML(code, lang, fence, highlighters, config.shikiTwoslash)
return transformAttributesToHTML(code, infostring, highlighters, config.shikiTwoslash)
}
})

4

package.json
{
"name": "hexo-shiki-twoslash",
"version": "1.0.13",
"version": "1.0.14",
"license": "MIT",

@@ -24,5 +24,5 @@ "homepage": "https://github.com/shikijs/twoslash",

"dependencies": {
"remark-shiki-twoslash": "1.5.7",
"remark-shiki-twoslash": "2.0.0",
"typescript": ">3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc