-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 fix: pin shiki@1.17.7
to fix code highlight
#4047
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4047 +/- ##
========================================
Coverage 91.73% 91.73%
========================================
Files 481 481
Lines 34215 34215
Branches 2235 3147 +912
========================================
Hits 31388 31388
Misses 2827 2827
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
shiki@1.17.7
to fix highlight issueshiki@1.17.7
to fix code highlight
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.19.14](v1.19.13...v1.19.14) <sup>Released on **2024-09-20**</sup> #### 🐛 Bug Fixes - **misc**: Pin `shiki@1.17.7` to fix code highlight. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Pin `shiki@1.17.7` to fix code highlight, closes [#4047](#4047) ([d12bf4c](d12bf4c)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.19.14 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.62.4](v1.62.3...v1.62.4) <sup>Released on **2024-09-20**</sup> #### 🐛 Bug Fixes - **misc**: Pin `shiki@1.17.7` to fix code highlight, try to implement better ssrf-protect. #### 💄 Styles - **misc**: Improve i18n in discover. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Pin `shiki@1.17.7` to fix code highlight, closes [lobehub#4047](https://github.com/bentwnghk/lobe-chat/issues/4047) ([d12bf4c](d12bf4c)) * **misc**: Try to implement better ssrf-protect, closes [lobehub#4044](https://github.com/bentwnghk/lobe-chat/issues/4044) ([e960a23](e960a23)) #### Styles * **misc**: Improve i18n in discover, closes [lobehub#4049](https://github.com/bentwnghk/lobe-chat/issues/4049) ([8170889](8170889)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
### [Version 1.19.14](lobehub/lobe-chat@v1.19.13...v1.19.14) <sup>Released on **2024-09-20**</sup> #### 🐛 Bug Fixes - **misc**: Pin `shiki@1.17.7` to fix code highlight. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Pin `shiki@1.17.7` to fix code highlight, closes [lobehub#4047](lobehub#4047) ([d12bf4c](lobehub@d12bf4c)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
upgrade to
shiki@1.18.0
, we lost the highlight in code.if downgrade to 1.17.7, it works well.
📝 补充信息 | Additional Information
refs: https://discord.com/channels/1127171173982154893/1286700039049183293
reproduce branch: https://github.com/lobehub/lobe-chat/tree/reproduction/shiki-1.18.0