diff --git a/_config.yml b/_config.yml index 9b3b154..9680f7f 100644 --- a/_config.yml +++ b/_config.yml @@ -184,7 +184,6 @@ menu: # https://twikoo.js.org twikoo: enable: false - link: "https://cdn.staticfile.org/twikoo/1.6.30/twikoo.all.min.js" mode: vercel # vercel或tencent envId: "https://example.com" # twikoo环境ID,vercel填地址 region: diff --git a/package.json b/package.json index 167a279..7f89df8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-shokax", - "version": "0.4.11", + "version": "0.4.12", "description": "a hexo theme based on shoka", "main": "index.js", "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX", @@ -16,20 +16,20 @@ "@types/jquery": "^3.5.30", "@types/js-yaml": "^4.0.9", "@types/katex": "^0.16.7", - "@types/node": "^20.14.11", + "@types/node": "^22.5.5", "@types/quicklink": "^2.3.4", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", - "eslint": "^9.7.0", + "@typescript-eslint/eslint-plugin": "^8.6.0", + "@typescript-eslint/parser": "^8.6.0", + "eslint": "^9.11.0", "eslint-config-standard": "~17", - "eslint-plugin-vue": "^9.27.0", - "typescript": "^5.5.3" + "eslint-plugin-vue": "^9.28.0", + "typescript": "^5.6.2" }, "dependencies": { - "@algolia/client-search": "^4.24.0", - "@waline/client": "^3.3.0", - "algoliasearch": "4.24.0", - "esbuild": "^0.23.0", + "@algolia/client-search": "^5.5.3", + "@waline/client": "^3.3.2", + "algoliasearch": "5.5.3", + "esbuild": "^0.23.1", "hexo": "^7.3.0", "hexo-algoliasearch": "^2.0.1", "hexo-feed": "^1.1.2", @@ -37,16 +37,16 @@ "hexo-pagination": "^4.0.0", "hexo-renderer-pug": "^3.0.0", "hexo-util": "^3.3.0", - "instantsearch.js": "^4.73.2", + "instantsearch.js": "^4.74.1", "js-yaml": "^4.1.0", "katex": "^0.16.11", "mouse-firework": "^0.0.6", "quicklink": "^2.3.0", "theme-shokax-anime": "^0.0.7", "theme-shokax-pjax": "^0.0.3", - "twikoo": "^1.6.38", + "twikoo": "^1.6.39", "unlazy": "^0.11.3", - "vue": "^3.4.32" + "vue": "^3.5.7" }, "engines": { "node": ">=18.0.0" diff --git a/source/js/_app/player.ts b/source/js/_app/player.ts index 808f2a6..aef43aa 100644 --- a/source/js/_app/player.ts +++ b/source/js/_app/player.ts @@ -476,7 +476,7 @@ export const mediaPlayer = (t, config?) => { fetch () { return new Promise((resolve, reject) => { if (playlist.data.length > 0) { - resolve(true) + resolve(false) } else { if (this.options.rawList) { const promises = []