[Snyk] Upgrade shiki from 0.14.7 to 1.0.0 #11
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade shiki from 0.14.7 to 1.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: shiki
-
1.0.0 - 2024-02-07
-
1.0.0-rc.0 - 2024-02-06
- Remove all deprecated APIs - by @ antfu (1a39f)
- Refactor internal context - by @ antfu (5ba2a)
- twoslash:
- Support extend
- Wrap tokens in a single span for errors - by @ antfu (efea5)
- twoslash:
- Improve types - by @ antfu (5a177)
- vitepress:
- Fix types - by @ antfu (61b87)
- Support custom explicitTrigger - by @ antfu (bd38e)
-
1.0.0-beta.6 - 2024-02-05
- twoslash:
- Allow provide custom trigger - by @ antfu (6b177)
- Allow lossy custom twoslash implementation - by @ antfu (38a9f)
- Support
- vitepress:
- Support errorRendering hover - by @ antfu (2c528)
- Stricter types - by @ antfu (1b3dc)
- SplitLines extra new lines, fix #576 - by @ antfu in #576 (0bb28)
-
1.0.0-beta.5 - 2024-02-02
- Update grammar registry, fix html in markdown highlighting - by @ antfu (502ed)
-
1.0.0-beta.4 - 2024-02-02
- Apply full line decoration when possible - by @ antfu (52f6a)
- Improve error handling - by @ antfu (d9fcd)
- vitepress: Css style - by @ antfu (d8c07)
-
1.0.0-beta.3 - 2024-02-01
- Introduce Decorations API - by @ antfu in #574 (e0fcf)
- MergeWhitespaceTokens offset calculation - by @ antfu (3cf46)
-
1.0.0-beta.2 - 2024-01-31
- Add
- Add
-
1.0.0-beta.1 - 2024-01-29
- Support ansi background color, fix #432 - by @ antfu in #432 (19455)
- Add fortran support - by @ antfu (55706)
- Export
- Support passing
- transformers: Support word highlighting across multiple tokens - by @ fuma-nama and @ antfu in #561 (70fdc)
- Improve css variable handling for background - by @ antfu (2964d)
- core: Sub export types, fix #566 - by @ antfu in #566 (72824)
-
1.0.0-beta.0 - 2024-01-26
- #557
- Migration Guide
-
0.14.7 - 2023-12-15
from shiki GitHub release notesRead more
🚨 Breaking Changes
🚀 Features
popupError- by @ antfu (df62d)🐞 Bug Fixes
View changes on GitHub
🚀 Features
errorRenderingto render error in hover style - by @ antfu (28e32)🐞 Bug Fixes
View changes on GitHub
🐞 Bug Fixes
View changes on GitHub
🚀 Features
🐞 Bug Fixes
View changes on GitHub
🚀 Features
🐞 Bug Fixes
View changes on GitHub
🚀 Features
codeToTokensAPI, renamecodeToThemedTokenstocodeToTokensBase- by @ antfu in #572 (d123b)addClassToHastto transformer context - by @ antfu in #573 (6dfcd)View changes on GitHub
🚀 Features
tokensToHast- by @ antfu (e959e)includeExplanation, close #568 - by @ antfu in #568 (cebf1)🐞 Bug Fixes
View changes on GitHub
In v1.0, we migrated Shikiji back to Shiki, which brings a lot of improvements and fixes, for more details, check:
v0.14.7
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs