yz-yuki-plugin 2.0.6-1 → 2.0.6-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,6 +8,28 @@
8
8
 
9
9
  [![访问量](https://profile-counter.glitch.me/yuki-plugin/count.svg)](https://github.com/snowtafir/yuki-plugin)
10
10
 
11
+
12
+ # 🚩运行环境:
13
+ 1. 系统:
14
+ * windows 10/11+,
15
+ * Linux推荐:Ubuntu 24.04.1 LTS+, CentOS Stream 8 +, Debian 12+, Fedora 35+
16
+
17
+ 2. node v22+ 下载地址:https://nodejs.org/zh-cn/download/
18
+
19
+ 3. 推荐使用chrome或chromium浏览器,其他浏览器可能存在兼容性问题。
20
+ * chrome 浏览器 v131+ win_x64下载地址:https://www.google.cn/chrome/
21
+ * chromium 浏览器 v128+ Linux/win手动下载安装:https://download-chromium.appspot.com
22
+
23
+ > linux命令行安装chromiun浏览器:
24
+ ```sh
25
+ sudo apt-get install chromium-browser # Ubuntu/Debian
26
+ sudo dnf install chromium # Fedora
27
+ sudo yum install chromium # CentOS Stream 8
28
+
29
+ #查看版本
30
+ chromium-browser --version
31
+ ```
32
+
11
33
  # 🌰一、安装插件
12
34
 
13
35
  ## 选择安装方式
package/lib/apps/weibo.js CHANGED
@@ -58,7 +58,7 @@ message.use(async (e) => {
58
58
  }
59
59
  const userInfo = data.userInfo || {};
60
60
  let name = uid;
61
- if (userInfo && userInfo.length !== 0) {
61
+ if (userInfo.length !== 0) {
62
62
  name = userInfo.screen_name || uid;
63
63
  }
64
64
  // 添加新的推送数据
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yz-yuki-plugin",
3
- "version": "2.0.6-1",
3
+ "version": "2.0.6-2",
4
4
  "description": "优纪插件,yunzaijs 关于 微博推送、B站推送 等功能的拓展插件",
5
5
  "author": "snowtafir",
6
6
  "type": "module",
@@ -31,12 +31,12 @@
31
31
  "debug": "^4.3.6",
32
32
  "jsdom": "^25.0.1",
33
33
  "json5": "^2.2.3",
34
- "jsxp": "^1.0.4",
34
+ "jsxp": "^1.0.8",
35
35
  "lodash": "^4.17.21",
36
36
  "md5": "^2.3.0",
37
37
  "moment": "^2.30.1",
38
38
  "node-fetch": "^3.3.2",
39
- "puppeteer": "^23.10.1",
39
+ "puppeteer": "^23.11.1",
40
40
  "qrcode": "^1.5.4",
41
41
  "react": "^18.3.1",
42
42
  "react-dom": "^18.3.1",
@@ -62,21 +62,21 @@
62
62
  "husky": "^9.1.6",
63
63
  "jsdom": "^24.1.1",
64
64
  "json5": "^2.2.3",
65
- "jsxp": "^1.0.4",
65
+ "jsxp": "^1.0.8",
66
66
  "lodash": "^4.17.21",
67
- "lvyjs": "^0.2.6",
67
+ "lvyjs": "^0.2.14",
68
68
  "md5": "^2.3.0",
69
69
  "node-fetch": "^3.3.2",
70
70
  "postcss": "^8.4.47",
71
71
  "prettier": "^3.4.2",
72
- "puppeteer": "^23.10.1",
72
+ "puppeteer": "^23.11.1",
73
73
  "qrcode": "^1.5.4",
74
74
  "react": "^18.3.1",
75
75
  "react-dom": "^18.3.1",
76
76
  "redis": "^4.7.0",
77
77
  "tailwindcss": "^3.4.14",
78
78
  "ts-node": "^10.9.2",
79
- "tsx": "^4.19.0",
79
+ "tsx": "^4.19.2",
80
80
  "typescript": "^5.5.4",
81
81
  "yaml": "^2.6.1",
82
82
  "yunzaijs": "^1.0.0-rc.5"