hexo-theme-shokax 0.4.16 → 0.4.17

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,7 +1,3 @@
1
- # 📣 公告
2
- [你的 ShokaX 和 Shoka 站点可能正在遭遇供应链攻击](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/293) \
3
- [关于 ShokaX 部署平台和 Astro 迁移的调查](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/229)
4
-
5
1
  # hexo-theme-shokaX
6
2
  ![LICENSE]( https://img.shields.io/github/license/theme-shoka-x/hexo-theme-shokaX)
7
3
  ![stars](https://img.shields.io/github/stars/theme-shoka-x/hexo-theme-shokaX)
@@ -9,16 +5,10 @@
9
5
  ![build](https://img.shields.io/github/actions/workflow/status/theme-shoka-x/hexo-theme-shokaX/build-theme.yml)
10
6
 
11
7
  #### 语言(language): 简体中文 | [English](./README_en.MD) \
12
- 此项目是shoka的一个二次开发版(算精神续作),致力于提高性能和优化魔改体验 \
13
- 诞生原因是目前shoka已经三年没有更新了,积压了大量BUG和功能请求。
8
+ 此项目是shoka的一个二次开发版(算精神续作),致力于提高性能和优化魔改体验
14
9
 
15
10
  shokaX的社区资源导航和插件仓库为[awesome-shokaX](https://github.com/theme-shoka-x/awesome-shokaX)
16
11
 
17
- ## 💬 和shoka的区别
18
- 原先shoka使用了javascript+Native+nunjucks的技术 \
19
- 而shokaX则使用了typescript+Vue 3+Pug的技术搭配 \
20
- 更改了大量难以访问的CDN链接
21
-
22
12
  ## ✨ 功能清单
23
13
 
24
14
  | 功能名称 | 实现状态 | 功能名称 | 实现状态 |
package/README_en.MD CHANGED
@@ -1,7 +1,3 @@
1
- # 📣 Announcement
2
- [Your ShokaX and Shoka sites might be under a supply chain attack](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/293) \
3
- [Survey on ShokaX deployment platform and Astro migration](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/229)
4
-
5
1
  # hexo-theme-shokaX
6
2
  ![LICENSE](https://img.shields.io/github/license/theme-shoka-x/hexo-theme-shokaX)
7
3
  ![stars](https://img.shields.io/github/stars/theme-shoka-x/hexo-theme-shokaX)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.4.16",
3
+ "version": "0.4.17",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
@@ -29,12 +29,12 @@
29
29
  "dependencies": {
30
30
  "@algolia/client-search": "^5.5.3",
31
31
  "@waline/client": "^3.3.2",
32
- "algoliasearch": "5.5.3",
32
+ "algoliasearch": "5.18.0",
33
33
  "esbuild": "^0.24.0",
34
34
  "hexo": "^7.3.0",
35
35
  "hexo-algoliasearch": "^2.0.1",
36
36
  "hexo-feed": "^1.1.2",
37
- "hexo-fs": "^4.1.3",
37
+ "hexo-fs": "^5.0.0",
38
38
  "hexo-pagination": "^4.0.0",
39
39
  "hexo-renderer-pug": "^3.0.0",
40
40
  "hexo-util": "^3.3.0",
@@ -46,7 +46,7 @@
46
46
  "theme-shokax-anime": "^0.0.7",
47
47
  "theme-shokax-pjax": "^0.0.3",
48
48
  "twikoo": "^1.6.39",
49
- "unlazy": "^0.11.3"
49
+ "unlazy": "^0.12.1"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=18.0.0"
@@ -42,8 +42,8 @@ hexo.on("generateBefore", () => {
42
42
  }
43
43
  });
44
44
  hexo.on("generateAfter", () => {
45
- fetch("https://api.shokax.top/version/hexo", { headers: {
46
- "User-Agent": "Mozilla/5.0 ShokaX Client (hexo-theme-shokax)"
45
+ fetch("https://registry.npmmirror.com/hexo-theme-shokax/latest", { headers: {
46
+ "User-Agent": "ShokaX Client (hexo-theme-shokax)"
47
47
  } }).then((res) => {
48
48
  res.json().then((resp) => {
49
49
  try {