chore(deps): upgrade algoliasearch from v4 to v5 lite client

- Update CDN paths to dist/lite/builds/browser.umd.js in jsdelivr.yml and unpkg.yml
- Replace local assets/lib/algoliasearch/algoliasearch-lite.umd.min.js with browser.umd.js
- Update librarybot.yml sync source to dist/lite/builds/browser.umd.js
- Update Hugo template fallback path to lib/algoliasearch/browser.umd.js
- Rewrite search.ts algolia integration to use window['algoliasearch/lite'].liteClient (v5 API, removes initIndex compat)
- Update window type declaration in ui.ts to match v5 UMD global
This commit is contained in:
Cell
2026-06-11 11:42:37 +08:00
parent 53620404e4
commit 9ed063f32d
9 changed files with 90 additions and 57 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v1.0.0-mq7w5yzw" -}}
{{- hugo.Store.Set "version" "v1.0.0-mq8yc9xg" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}