chore: bump version to 5.5.1 and update dependencies

- Upgrade version from 5.5.0 to 5.5.1
- Update third-party dependencies: algolia, disqusjs, docsearch, fancybox, fontawesome, mermaid
- Replace Twitter with X in share configurations
- Enable CDN version numbers by default
- Fix shuoshuo page JSON security with safeJSON helper
- Improve image lazy loading regex to handle minified HTML
- Fix search result HTML structure and styling
- Add margin-top to search result numbering for better alignment
This commit is contained in:
Jerry
2025-10-02 14:32:08 +08:00
parent 4226c95818
commit 5e766ac40a
9 changed files with 38 additions and 32 deletions

View File

@@ -290,10 +290,10 @@ module.exports = {
share: {
use: 'sharejs',
sharejs: {
sites: 'facebook,twitter,wechat,weibo,qq'
sites: 'facebook,x,wechat,weibo,qq'
},
addtoany: {
item: 'facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link'
item: 'facebook,x,wechat,sina_weibo,facebook_messenger,email,copy_link'
}
},
comments: {
@@ -591,7 +591,7 @@ module.exports = {
CDN: {
internal_provider: 'local',
third_party_provider: 'jsdelivr',
version: false,
version: true,
custom_format: null,
option: null
}