fix(deps): update dependency shiki to v1 #458
Open
+124
−32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.14.0
->^1.0.0
Release Notes
shikijs/shiki (shiki)
v1.22.2
Compare Source
🐞 Bug Fixes
createdBundledHighlighter
cause wasm engine to be loaded - by @fuma-nama in https://github.com/shikijs/shiki/issues/819 (e2692)View changes on GitHub
v1.22.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.22.0
Compare Source
🚀 Features
View changes on GitHub
v1.21.1
Compare Source
🚀 Features
View changes on GitHub
v1.21.0
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.20.0
Compare Source
🚀 Features
createWasmOnigEngine
tocreateOnigurumaEngine
- by @antfu (2335d)createCssVariablesTheme
to core - by @antfu (989af)🐞 Bug Fixes
View changes on GitHub
v1.19.0
Compare Source
🚀 Features
transformer.span
api - by @zzuu666 in https://github.com/shikijs/shiki/issues/782 (bba45)htmlStyle
in themed token, support newhtmlAttrs
- by @antfu (85a4f)View changes on GitHub
v1.18.0
Compare Source
🚀 Features
JSON.parse
to speed up rebundling - by @antfu in https://github.com/shikijs/shiki/issues/781 (bbfce)disableTriggers
, close #780 - by @antfu in https://github.com/shikijs/shiki/issues/780 (dca6a)View changes on GitHub
v1.17.7
Compare Source
🚀 Features
tabindex
, close #778 - by @antfu in https://github.com/shikijs/shiki/issues/778 (52b05)View changes on GitHub
v1.17.6
Compare Source
🚀 Features
🐞 Bug Fixes
shiki/wasm
and@shikijs/wasm-inlined
- by @antfu (3f226)View changes on GitHub
v1.17.5
Compare Source
🚀 Features
simulation
option - by @antfu (adf99)View changes on GitHub
v1.17.4
Compare Source
No significant changes
View changes on GitHub
v1.17.0
Compare Source
Refactor the monorepo and separate engines into each own package.
View changes on GitHub
v1.16.3
Compare Source
🚀 Features
createCssVariablesTheme
no longer experimental - by @antfu (ac10b)regex
to enhance js engine support - by @antfu in https://github.com/shikijs/shiki/issues/762 (ed362)View changes on GitHub
v1.16.2
Compare Source
🚀 Features
oniguruma-to-js
, support more languages - by @antfu (4ddfd)View changes on GitHub
v1.16.1
Compare Source
🏎 Performance
@shikijs/vscode-textmate
- by @antfu (a1e15)View changes on GitHub
v1.16.0
Compare Source
🚀 Features
createdBundledHighlighter
for custom engine bundle, deprecate old signature - by @antfu (51322)🐞 Bug Fixes
createdBundledHighlighter
allow user to override engine - by @antfu (b59e4)View changes on GitHub
v1.15.2
Compare Source
🐞 Bug Fixes
@shikijs/twoslash
version specifier, close #763 - by @antfu in https://github.com/shikijs/shiki/issues/763 (c7998)View changes on GitHub
v1.15.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.15.0
Compare Source
🚀 Features
plastic
theme - by @antfu (04bb6)🐞 Bug Fixes
meta
should not pass to popup highlighting - by @fuma-nama in https://github.com/shikijs/shiki/issues/748 (bbf37)View changes on GitHub
v1.14.1
Compare Source
🚀 Features
View changes on GitHub
v1.14.0
Compare Source
🚀 Features
@includes
- by @ap0nia and @antfu in https://github.com/shikijs/shiki/issues/737 (c4cb1)🐞 Bug Fixes
View changes on GitHub
v1.13.0
Compare Source
🚀 Features
scopeName
- by @antfu in https://github.com/shikijs/shiki/issues/739 (efbb7)View changes on GitHub
v1.12.1
Compare Source
🚀 Features
dotenv
grammar, neweverforest
theme - by @antfu (29b1d)View changes on GitHub
v1.12.0
Compare Source
🚀 Features
initial
method forGrammarState
, #715 - by @antfu in https://github.com/shikijs/shiki/issues/715 (be07d)ts-tags
grammar, lit support, close #725 - by @antfu in https://github.com/shikijs/shiki/issues/725 (3107a)🐞 Bug Fixes
View changes on GitHub
v1.11.2
Compare Source
🐞 Bug Fixes
CodeToHastOptionsCommon
toRehypeShikiCoreOptions
forrehype
plugin - by @fwqaaq in https://github.com/shikijs/shiki/issues/726 (c8c14)View changes on GitHub
v1.11.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.11.0
Compare Source
🚀 Features
View changes on GitHub
v1.10.3
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.10.2
Compare Source
🚀 Features
🐞 Bug Fixes
@types/hast
dep - by @antfu (65b20)View changes on GitHub
v1.10.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.10.0
Compare Source
🚀 Features
GrammarState
- by @antfu in https://github.com/shikijs/shiki/issues/712 (8a8fa)getLastGrammarState
shorthand - by @antfu (f2b39)🐞 Bug Fixes
createCssVariablesTheme
inshiki/core
to avoid side-effects - by @antfu (abe63)View changes on GitHub
v1.9.1
Compare Source
🚀 Features
View changes on GitHub
v1.9.0
Compare Source
🚨 Breaking Changes
getHighlighter
tocreateHighlighter
- by @antfu in https://github.com/shikijs/shiki/issues/702 (faf3b)View changes on GitHub
v1.8.0
Compare Source
🚀 Features
dispose
function - by @antfu in https://github.com/shikijs/shiki/issues/707 (2c5b3)View changes on GitHub
v1.7.0
Compare Source
🚀 Features
🐞 Bug Fixes
UTF8ToString
function, close #693 - by @antfu in https://github.com/shikijs/shiki/issues/693 (0c891)View changes on GitHub
v1.6.5
Compare Source
🐞 Bug Fixes
🏎 Performance
includeExplanation
option - by @thetarnav in https://github.com/shikijs/shiki/issues/701 (966e7)View changes on GitHub
v1.6.4
Compare Source
🚀 Features
View changes on GitHub
v1.6.3
Compare Source
🚀 Features
View changes on GitHub
v1.6.2
Compare Source
🚀 Features
View changes on GitHub
v1.6.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.6.0
Compare Source
🚀 Features
regexp
grammar - by @antfu (8ea85)View changes on GitHub
v1.5.2
Compare Source
🚀 Features
View changes on GitHub
v1.5.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.0
Compare Source
🚀 Features
View changes on GitHub
v1.4.0
Compare Source
🚀 Features
🐞 Bug Fixes
Buffer.isBuffer
, fix #664 - by @NullVoxPopuli in https://github.com/shikijs/shiki/issues/666 and https://github.com/shikijs/shiki/issues/664 (86d52)View changes on GitHub
v1.3.0
Compare Source
🚀 Features
structure: inline
option forcodeToHast
- by @antfu in https://github.com/shikijs/shiki/issues/653 (ae516)View changes on GitHub
v1.2.4
Compare Source
No significant changes
View changes on GitHub
v1.2.3
Compare Source
🐞 Bug Fixes
colorReplacements
also forbg
andfg
, close #641 - by @antfu in https://github.com/shikijs/shiki/issues/641 (bb47a)View changes on GitHub
v1.2.2
Compare Source
🚀 Features
tsv
grammar - by @antfu (a7ca7)🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v1.2.1
Compare Source
🐞 Bug Fixes
options.twoslashOptions
tocreateTwoslasher
- by @sapphi-red in https://github.com/shikijs/shiki/issues/637 (75832)View changes on GitHub
v1.2.0
Compare Source
🚀 Features
Gleam
, new themeHouston
- by @antfu (163d8)🏎 Performance
shiki/wasm
and@shikijs/core/wasm-inlined
- by @antfu in https://github.com/shikijs/shiki/issues/624 (56d1a)View changes on GitHub
v1.1.7
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.1.6
Compare Source
🚀 Features
Typst
grammar - by @antfu (9f70e)🐞 Bug Fixes
:shown
prop for query, fix #595 - by @antfu in https://github.com/shikijs/shiki/issues/595 (b667b)View changes on GitHub
v1.1.5
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.1.4
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.1.3
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.1.2
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.1.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.1.0
Compare Source
🚀 Features
🐞 Bug Fixes
getHighlighter
that requireslangs
andthemes
to be set, close #583 - by @antfu in https://github.com/shikijs/shiki/issues/583 (8515a)View changes on GitHub
v1.0.0
Compare Source
Shiki v1.0 is a major rewrite that solves most of the long-lasting issues. Previously known as Shikiji, now it's merged back to Shiki.
👉 Migration Guide
Notable Highlights
Generated Changelog
🚨 Breaking Changes
languages/
tolangs/
- by @antfu (2f4fe)codeToThemedTokens
options - by @antfu (5d8cf)codeToHtmlDualThemes
tocodeToHtmlThemes
- by @antfu (57daa)codeToHtmlThemes
tocodeToHtml
- by @antfu in https://github.com/shikijs/shiki/issues/9 (26cd5)hastTransform
totransforms
- by @antfu (3d245)codeToTokensWithThemes
, close #37 - by @antfu in https://github.com/shikijs/shiki/issues/37 (3acf1)unwasm
condition in exports - by @antfu in https://github.com/shikijs/shiki/issues/72 (96300)Twoslash
- by @antfu (f740b)token
tospan
to avoid confusion - by @antfu (eb3b8)highlightLines
option - by @antfu (21e99)highlightLines
option - by @antfu (fe0e4)twoslash
package for better performance and composablity - by @antfu in https://github.com/shikijs/shiki/issues/91 (fc67e)nodeCompletions
tonodeCompletion
- by @antfu (b7637)🚀 Features
default
resolution - by @antfu (de847)codeToHtmlDualThemes
- by @antfu in https://github.com/shikijs/shiki/issues/5 (751f9)renderToHtmlDualThemes
- by @antfu (cedad)codeToTokensWithThemes
, fix #7 - by @antfu and starknt in https://github.com/shikijs/shiki/issues/7 (b3cb0)shikiji-compact
package - by @antfu (ea2d6)Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.