This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| shiki (source) | ^3.13.0 → ^4.0.1 |
Release Notes
shikijs/shiki (shiki)
v4.0.1
🐞 Bug Fixes
- Try fix dts bundle, thanks @sxzz - by @antfu <samp>(1f26c)</samp>
View changes on GitHub
v4.0.0
🚨 Breaking Changes
- Drop Node v18 support, remove deprecated APIs - by @antfu in #1249 <samp>(cdca9)</samp>
🚀 Features
- A leaner
@shikijs/primitivepackage - by @antfu in #1251 <samp>(05a77)</samp> - New
@shikijs/markdown-exitpackage - by @antfu <samp>(d1257)</samp>
View changes on GitHub
v3.23.0
🚀 Features
- Update grammar and themes - by @antfu <samp>(9b4ca)</samp>
- cli:
- Add stdin support and list commands - by @Divyapahuja31 and DIVYA PAHUJA in #1241 <samp>(213f1)</samp>
- transformers:
- Add 'leading' position to transformerRenderWhitespace - by @Divyapahuja31 and DIVYA PAHUJA in #1236 <samp>(49cbb)</samp>
- Add support for [!code info] notation - by @Divyapahuja31 and DIVYA PAHUJA in #1237 <samp>(cd2a6)</samp>
🐞 Bug Fixes
- Add
declaremodifier to top level declarations in.d.ts- by @KazariEX in #1242 <samp>(142d5)</samp> - cli: Normalize language/extension casing for CLI inputs - by @Nandann018-ux and @antfu in #1245 <samp>(4bea1)</samp>
View changes on GitHub
v3.22.0
🚀 Features
- Update grammar and themes - by @antfu <samp>(40676)</samp>
View changes on GitHub
v3.21.0
🚀 Features
- Update grammar - by @antfu <samp>(6d109)</samp>
- core: Preserve HAST data and properties in codeToHast - by @AmanCrafts in #1204 <samp>(747ea)</samp>
🐞 Bug Fixes
- vitepress-twoslash: Fix scroll blocking on mobile viewports - by @dahlia in #1235 <samp>(8e931)</samp>
View changes on GitHub
v3.20.0
🚀 Features
- cli: Add --format option for html output - by @Divyapahuja31 in #1211 <samp>(28dd0)</samp>
🐞 Bug Fixes
- rehype: Handle promise rejections in lazy language loading - by @ambujvashistha in #1221 <samp>(99654)</samp>
- vitepress-twoslash: Fix popper positions being recomputed too early within vitepress code groups - by @Dschungelabenteuer, charles.gruenais and @antfu in #1116 <samp>(19ea5)</samp>
🏎 Performance
- core: Eliminate redundant tokenization call in tokenizeWithTheme - by @ShivanshBhargava and @NssGourav in #1216 <samp>(c78b1)</samp>
View changes on GitHub
v3.19.0
🚀 Features
- Support
rootStyle: falseoption - by @khushthecoder and @antfu in #1184 <samp>(baf9a)</samp> - transformers:
- Add
classActiveCodeoption to notation transformers - by @GreenHacker420 in #1171 <samp>(a6a44)</samp> - Add transformerRemoveComments - by @Bitshifter-9, Copilot, @crazylogic03 and @antfu in #1144 <samp>(f2ee3)</samp>
- Add
- twoslash:
- Add context parameter to filter option - by @siddu-09 in #1173 <samp>(ac7f5)</samp>
🐞 Bug Fixes
- Add typesVersions for legacy resolution support - by @khushthecoder in #1179 <samp>(100b7)</samp>
- core: Check embeddedLanguages in registry dependency check - by @vamsi2246 in #1178 <samp>(6ad16)</samp>
- monaco: Correctly handle sparse color map updates - by @wcr-karan in #1169 <samp>(38c7f)</samp>
View changes on GitHub
v3.18.0
🚀 Features
- transformers: Support
zeroIndexedoption totransformerMetaHighlight- by @manak-sharma20 in #1149 <samp>(c39ff)</samp>
🐞 Bug Fixes
- core:
- Correct offset calculation in mergeWhitespaceTokens - by @Karthikeya1500 in #1162 <samp>(15e73)</samp>
- Allow
langAliasto special languages, close #1164 - by @antfu in #1164 <samp>(45ab1)</samp>
View changes on GitHub
v3.17.1
🚀 Features
- core: Enhance string utils with robust edge case handling - by @shekhar-narayan-mishra in #1154 <samp>(a2b68)</samp>
🐞 Bug Fixes
- core: Correctly parse 4-digit hex colors in dimColor - by @shalini-saloni in #1151 <samp>(fcdd3)</samp>
- monaco: Ensure correct color map update when switching themes - by @shivank-1011 in #1155 <samp>(d2e94)</samp>
View changes on GitHub
v3.17.0
🚀 Features
- cli: Support passing remote file url - by @o-az in #1139 <samp>(fb05a)</samp>
- core: Support embeddedLanguages alias for backwards compatibility - by @Ipshita29 in #1044 and #1145 <samp>(3a367)</samp>
- monaco: Normalize theme tokenScopes and tighten monaco type import - by @Simon-He95 in #1140 <samp>(dc792)</samp>
🐞 Bug Fixes
- monaco: Preserve Markdown font styles - by @prempyla and @antfu in #1107 <samp>(e4dec)</samp>
- shiki: Rename
createdBundledHighlightertocreateBundledHighlighter- by @tushar73-jet, Tushar and @antfu in #1135 <samp>(e6d21)</samp> - transformers: Handle multi-token comments in rose-pine theme - by @ish1416 and @antfu in #1118 <samp>(3e1bd)</samp>
- twoslash: Fix typo in
twoslash-query-persisted, close #1130, close #981 - by @antfu in #1130 and #981 <samp>(55a17)</samp> - types: Add 'plain' to PlainTextLanguage type - by @kevinkucharczyk in #1133 <samp>(156c5)</samp>
View changes on GitHub
v3.16.0
🚀 Features
- Update grammars - by @antfu <samp>(02dab)</samp>
🐞 Bug Fixes
- Enable decorations for structure: inline - by @Aashish-Jha-11 and Aashish_Jha_1107 in #1103 <samp>(8806b)</samp>
- Resolve vitest alias for wasm-inlined - by @sahilsharda <samp>(2d7b3)</samp>
- transformers: Support comment-prefixed [code . highlight] markers in v3 notation matcher - by @Hariksh in #1102 <samp>(5068b)</samp>
View changes on GitHub
v3.15.0
🚀 Features
- lang-ansi: Fallback for missing theme ANSI colors - by @Chanakyasinde and @antfu in #1095 <samp>(f36ea)</samp>
- transformers: Support
meta.indentfor indent guides - by @L33Z22L11 in #1087 <samp>(d8f89)</samp>
🐞 Bug Fixes
- Allow singleton highlighter recovery after invalid language error - by @Maxiemad in #1091 <samp>(218c9)</samp>
- vitepress-twoslash: Prevent popper show/hide on dragging - by @bluwy in #1090 <samp>(29522)</samp>
View changes on GitHub
v3.14.0
🚀 Features
- Update grammars and themes - by @antfu <samp>(26372)</samp>
🐞 Bug Fixes
- colorized-brackets: Fix default color does not work with colorized-brackets - by @oatmealproblem in #1082 <samp>(f4d3f)</samp>
View changes on GitHub
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.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.