chvndler / chvndler.ch

Personal.
https://chvndler.ch
MIT License
5 stars 0 forks source link

chore(deps): update dependency shikiji to ^0.10.0 #250

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
shikiji (source) ^0.9.12 -> ^0.10.0 age adoption passing confidence

Release Notes

antfu/shikiji (shikiji) ### [`v0.10.2`](https://togithub.com/antfu/shikiji/releases/tag/v0.10.2) [Compare Source](https://togithub.com/antfu/shikiji/compare/v0.10.1...v0.10.2) #####    🚀 Features - **vitepress**: Make classes configurable  -  by [@​antfu](https://togithub.com/antfu) [(4b61e)](https://togithub.com/antfu/shikiji/commit/4b61e33) #####    🐞 Bug Fixes - **twoslash**: Improve css variables definition  -  by [@​antfu](https://togithub.com/antfu) [(68429)](https://togithub.com/antfu/shikiji/commit/68429e4) - **vitepress**: Improve class handing, reduce html payload size  -  by [@​antfu](https://togithub.com/antfu) [(f54cb)](https://togithub.com/antfu/shikiji/commit/f54cbf6) #####     [View changes on GitHub](https://togithub.com/antfu/shikiji/compare/v0.10.1...v0.10.2) ### [`v0.10.1`](https://togithub.com/antfu/shikiji/releases/tag/v0.10.1) [Compare Source](https://togithub.com/antfu/shikiji/compare/v0.10.0...v0.10.1) #####    🚀 Features - Add a special `none` theme  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/115](https://togithub.com/antfu/shikiji/issues/115) [(32f8a)](https://togithub.com/antfu/shikiji/commit/32f8a6f) - **rehype-shikiji**: Support metastring from node.properties  -  by [@​zce](https://togithub.com/zce), **Anthony Fu** and [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/114](https://togithub.com/antfu/shikiji/issues/114) [(3b0cb)](https://togithub.com/antfu/shikiji/commit/3b0cb7b) #####    🐞 Bug Fixes - **rehype-shikiji**: Lazily initialize promise  -  by [@​jxom](https://togithub.com/jxom) in [https://github.com/antfu/shikiji/issues/112](https://togithub.com/antfu/shikiji/issues/112) [(3d5b4)](https://togithub.com/antfu/shikiji/commit/3d5b44a) - **transformers**: Word highlight support any symbol, fix [#​110](https://togithub.com/antfu/shikiji/issues/110)  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/110](https://togithub.com/antfu/shikiji/issues/110) [(38595)](https://togithub.com/antfu/shikiji/commit/38595dd) - **vitepress-twoslash**: Fix class override  -  by [@​antfu](https://togithub.com/antfu) [(7c5cd)](https://togithub.com/antfu/shikiji/commit/7c5cd11) #####     [View changes on GitHub](https://togithub.com/antfu/shikiji/compare/v0.10.0...v0.10.1) ### [`v0.10.0`](https://togithub.com/antfu/shikiji/releases/tag/v0.10.0) [Compare Source](https://togithub.com/antfu/shikiji/compare/v0.9.19...v0.10.0) This release migrated TwoSlash integrations from `@typescript/twoslash` into the successor [`twoslash`](https://togithub.com/twoslashes/twoslash) with quite many improvements, including more prosperous rendering results, more robust interfaces, and even optional Vue SFC support. Along the way, we also take the chance to remove the previously deprecated APIs to reduce the maintenance surface. Please go into each PR/commit to find the detailed changes. This release also includes a few new themes, inherited from [`tm-themes`](https://togithub.com/antfu/textmate-grammars-themes): - [Night Owl](https://togithub.com/sdras/night-owl-vscode-theme) - [Ayu Dark](https://togithub.com/ayu-theme/vscode-ayu) - [Synthwave '84](https://togithub.com/robb0wen/synthwave-vscode) - [Tokyo Night](https://togithub.com/enkia/tokyo-night-vscode-theme) The breaking changes mostly happen internally. Ideally, for high-level usages, they shouldn't be affected and can be upgraded seamlessly. ##### 🚨 Breaking Changes - **core**: - Remove deprecated APIs  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/75](https://togithub.com/antfu/shikiji/issues/75) [(97c96)](https://togithub.com/antfu/shikiji/commit/97c9636) - Rename transformer hook `token` to `span` to avoid confusion  -  by [@​antfu](https://togithub.com/antfu) [(eb3b8)](https://togithub.com/antfu/shikiji/commit/eb3b811) - Add `unwasm` condition in exports  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/72](https://togithub.com/antfu/shikiji/issues/72) [(96300)](https://togithub.com/antfu/shikiji/commit/9630092) - **markdown-it**: - Deprecate and disable `highlightLines` option  -  by [@​antfu](https://togithub.com/antfu) [(21e99)](https://togithub.com/antfu/shikiji/commit/21e9955) - **rehype**: - Deprecate and disable `highlightLines` option  -  by [@​antfu](https://togithub.com/antfu) [(fe0e4)](https://togithub.com/antfu/shikiji/commit/fe0e4cb) - **twoslash**: - Move to `twoslash` package for better performance and composablity  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/91](https://togithub.com/antfu/shikiji/issues/91) [(fc67e)](https://togithub.com/antfu/shikiji/commit/fc67e9d) - Rename renderer hook `nodeCompletions` to `nodeCompletion`  -  by [@​antfu](https://togithub.com/antfu) [(b7637)](https://togithub.com/antfu/shikiji/commit/b7637bc) - Support highlight  -  by [@​antfu](https://togithub.com/antfu) [(1ebe8)](https://togithub.com/antfu/shikiji/commit/1ebe8e0) - Fix highlight typos  -  by [@​jxom](https://togithub.com/jxom) in [https://github.com/antfu/shikiji/issues/102](https://togithub.com/antfu/shikiji/issues/102) [(b8c4c)](https://togithub.com/antfu/shikiji/commit/b8c4c88) - Consistent case of `Twoslash`  -  by [@​antfu](https://togithub.com/antfu) [(f740b)](https://togithub.com/antfu/shikiji/commit/f740b3e) #####    🚀 Features - Support `unwasm` condition for core  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/97](https://togithub.com/antfu/shikiji/issues/97) [(71249)](https://togithub.com/antfu/shikiji/commit/7124990) - Support configure `cache` option for twoslash transformer  -  by [@​antfu](https://togithub.com/antfu) [(d5773)](https://togithub.com/antfu/shikiji/commit/d57736e) - Upgrade to twoslash v0.1.0  -  by [@​antfu](https://togithub.com/antfu) [(b6cbf)](https://togithub.com/antfu/shikiji/commit/b6cbffa) - **core**: - Provide `offset` info in themed token  -  by [@​antfu](https://togithub.com/antfu) [(e9d1f)](https://togithub.com/antfu/shikiji/commit/e9d1f33) - Introduce `tokens` hook to transformers  -  by [@​antfu](https://togithub.com/antfu) [(35e8d)](https://togithub.com/antfu/shikiji/commit/35e8da0) - **transformers**: - Introduce `transformerMetaHighlight` transformer  -  by [@​antfu](https://togithub.com/antfu) [(aa81a)](https://togithub.com/antfu/shikiji/commit/aa81a47) - Two new transformers for word highlighting  -  by [@​fuma-nama](https://togithub.com/fuma-nama) and [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/92](https://togithub.com/antfu/shikiji/issues/92) [(ecf60)](https://togithub.com/antfu/shikiji/commit/ecf60cd) - **vitepress-twoslash**: - Support floating-vue for completions  -  by [@​antfu](https://togithub.com/antfu) [(42ab0)](https://togithub.com/antfu/shikiji/commit/42ab0f2) - Support rendering jsdoc tags  -  by [@​antfu](https://togithub.com/antfu) [(bd12c)](https://togithub.com/antfu/shikiji/commit/bd12cae) #####    🐞 Bug Fixes - **twoslash**: - Split tokens to match the twoslash nodes  -  by [@​antfu](https://togithub.com/antfu) [(9016d)](https://togithub.com/antfu/shikiji/commit/9016da6) - Support targeting multiple tokens a node, more accurate result  -  by [@​antfu](https://togithub.com/antfu) [(23ece)](https://togithub.com/antfu/shikiji/commit/23ece30) - Avoid genreate duplicate hovers  -  by [@​antfu](https://togithub.com/antfu) [(04352)](https://togithub.com/antfu/shikiji/commit/043524a) - Respect twoslash output lang  -  by [@​antfu](https://togithub.com/antfu) [(a5a8a)](https://togithub.com/antfu/shikiji/commit/a5a8aba) - Completion on string quotes and literals  -  by [@​jxom](https://togithub.com/jxom) and [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/99](https://togithub.com/antfu/shikiji/issues/99) [(c1e9c)](https://togithub.com/antfu/shikiji/commit/c1e9cc9) - Completion on multifile  -  by [@​jxom](https://togithub.com/jxom) and [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/shikiji/issues/100](https://togithub.com/antfu/shikiji/issues/100) [(ac629)](https://togithub.com/antfu/shikiji/commit/ac6298b) - Adjust styles  -  by [@​antfu](https://togithub.com/antfu) [(2602b)](https://togithub.com/antfu/shikiji/commit/2602b18) - Split tokens on completion  -  by [@​antfu](https://togithub.com/antfu) [(3f349)](https://togithub.com/antfu/shikiji/commit/3f34919) - **vitepress-twoslash**: - Popup arrow color  -  by [@​antfu](https://togithub.com/antfu) [(1e217)](https://togithub.com/antfu/shikiji/commit/1e21734) - Escape Vue syntax  -  by [@​antfu](https://togithub.com/antfu) [(ef7b6)](https://togithub.com/antfu/shikiji/commit/ef7b614) - Improve tabs experience  -  by [@​antfu](https://togithub.com/antfu) [(649c7)](https://togithub.com/antfu/shikiji/commit/649c7e9) #####    🏎 Performance - **cli**: Use Promise.all  -  by [@​Plumbiu](https://togithub.com/Plumbiu) in [https://github.com/antfu/shikiji/issues/104](https://togithub.com/antfu/shikiji/issues/104) [(ddb94)](https://togithub.com/antfu/shikiji/commit/ddb944c) #####     [View changes on GitHub](https://togithub.com/antfu/shikiji/compare/v0.9.19...v0.10.0)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

height[bot] commented 2 months ago

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: d8b52d62e46a7fbf06de26b2d9b0b4e7d550a95f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chvndler-ch ❌ Failed (Inspect) Apr 14, 2024 7:03pm