karin-plugin-kkk 1.6.1 → 1.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/CHANGELOG.md +7 -0
- package/lib/apps/admin.js +2 -2
- package/lib/apps/help.js +1 -1
- package/lib/apps/push.js +2 -2
- package/lib/apps/tools.js +2 -2
- package/lib/chunk/{index-Kq2bIEmh.js → index-Dp9gQN2I.js} +3 -3
- package/lib/chunk/{push-CzZHS5pO.js → push-BIWMkxj6.js} +1 -1
- package/lib/index.js +1 -1
- package/lib/web.config.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 变更日志
|
|
2
2
|
|
|
3
|
+
## [1.6.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v1.6.1...v1.6.2) (2025-05-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* vipStatus ([f7f1a80](https://github.com/ikenxuan/karin-plugin-kkk/commit/f7f1a8096acaa01388b8e2b04137c8d60f95c683))
|
|
9
|
+
|
|
3
10
|
## [1.6.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v1.6.0...v1.6.1) (2025-05-14)
|
|
4
11
|
|
|
5
12
|
|
package/lib/apps/admin.js
CHANGED
|
@@ -2,12 +2,12 @@ import fs from "node:fs";
|
|
|
2
2
|
import karin, { segment, common, handler, logger } from "node-karin";
|
|
3
3
|
import require$$1 from "path";
|
|
4
4
|
import "sequelize";
|
|
5
|
-
import { g as getBilibiliData, f as browserExports, C as Common, a as Config } from "../chunk/index-
|
|
5
|
+
import { g as getBilibiliData, f as browserExports, C as Common, a as Config } from "../chunk/index-Dp9gQN2I.js";
|
|
6
6
|
import { Version } from "../Version.js";
|
|
7
7
|
import "node-karin/axios";
|
|
8
8
|
import "stream/promises";
|
|
9
9
|
import "node:path";
|
|
10
|
-
import "../chunk/push-
|
|
10
|
+
import "../chunk/push-BIWMkxj6.js";
|
|
11
11
|
import "../chunk/index-BDlGFCbK.js";
|
|
12
12
|
import { execSync, spawn } from "node:child_process";
|
|
13
13
|
import { chromium } from "playwright";
|
package/lib/apps/help.js
CHANGED
|
@@ -4,7 +4,7 @@ import { m as markdown } from "../chunk/index-BDlGFCbK.js";
|
|
|
4
4
|
import karin, { mkdirSync, render, segment, isPackaged, updatePkg, updateGitPlugin, logger, common, restart } from "node-karin";
|
|
5
5
|
import { karinPathTemp } from "node-karin/root";
|
|
6
6
|
import "sequelize";
|
|
7
|
-
import { R as Render, a as Config, C as Common } from "../chunk/index-
|
|
7
|
+
import { R as Render, a as Config, C as Common } from "../chunk/index-Dp9gQN2I.js";
|
|
8
8
|
import { Version } from "../Version.js";
|
|
9
9
|
import "node-karin/axios";
|
|
10
10
|
import "stream/promises";
|
package/lib/apps/push.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Config, B as Bilibilipush, h as getDouyinData, g as getBilibiliData } from "../chunk/index-
|
|
1
|
+
import { a as Config, B as Bilibilipush, h as getDouyinData, g as getBilibiliData } from "../chunk/index-Dp9gQN2I.js";
|
|
2
2
|
import karin from "node-karin";
|
|
3
3
|
import "sequelize";
|
|
4
4
|
import "../Version.js";
|
|
@@ -6,7 +6,7 @@ import "node:fs";
|
|
|
6
6
|
import "node-karin/axios";
|
|
7
7
|
import "stream/promises";
|
|
8
8
|
import "node:path";
|
|
9
|
-
import { D as DouYinpush } from "../chunk/push-
|
|
9
|
+
import { D as DouYinpush } from "../chunk/push-BIWMkxj6.js";
|
|
10
10
|
import "../chunk/index-BDlGFCbK.js";
|
|
11
11
|
import "node:child_process";
|
|
12
12
|
import "playwright";
|
package/lib/apps/tools.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import karin, { logger } from "node-karin";
|
|
2
2
|
import "sequelize";
|
|
3
|
-
import { N as Networks, a as Config, e as Client, i as Base, R as Render, j as downloadVideo, k as Bilibili, C as Common } from "../chunk/index-
|
|
3
|
+
import { N as Networks, a as Config, e as Client, i as Base, R as Render, j as downloadVideo, k as Bilibili, C as Common } from "../chunk/index-Dp9gQN2I.js";
|
|
4
4
|
import "../Version.js";
|
|
5
5
|
import "node:fs";
|
|
6
6
|
import "node-karin/axios";
|
|
7
7
|
import "stream/promises";
|
|
8
8
|
import "node:path";
|
|
9
|
-
import { g as getDouyinID, a as DouYin } from "../chunk/push-
|
|
9
|
+
import { g as getDouyinID, a as DouYin } from "../chunk/push-BIWMkxj6.js";
|
|
10
10
|
import "node:child_process";
|
|
11
11
|
import "playwright";
|
|
12
12
|
async function getBilibiliID(url) {
|
|
@@ -30850,7 +30850,7 @@ ${line3}`;
|
|
|
30850
30850
|
}
|
|
30851
30851
|
}
|
|
30852
30852
|
function checkvip$2(member) {
|
|
30853
|
-
return member.vip.
|
|
30853
|
+
return member.vip.status === 1 ? `<span style="color: ${member.vip.nickname_color ?? "#FB7299"}; font-weight: 700;">${member.name}</span>` : `<span style="color: ${Common.useDarkTheme() ? "#e9e9e9" : "#313131"}; font-weight: 700;">${member.name}</span>`;
|
|
30854
30854
|
}
|
|
30855
30855
|
function br$2(data2) {
|
|
30856
30856
|
return data2 = data2.replace(/\n/g, "<br>");
|
|
@@ -31157,7 +31157,7 @@ function checklevel(obj) {
|
|
|
31157
31157
|
return obj;
|
|
31158
31158
|
}
|
|
31159
31159
|
function checkvip$1(member) {
|
|
31160
|
-
return member.vip.
|
|
31160
|
+
return member.vip.status === 1 ? `<span style="color: ${member.vip.nickname_color ?? "#FB7299"}; font-weight: 700;">${member.uname}</span>` : `<span style="color: #888">${member.uname}</span>`;
|
|
31161
31161
|
}
|
|
31162
31162
|
function getRelativeTimeFromTimestamp(timestamp) {
|
|
31163
31163
|
const now2 = Math.floor(Date.now() / 1e3);
|
|
@@ -34001,7 +34001,7 @@ function br(data2) {
|
|
|
34001
34001
|
return data2 = data2.replace(/\n/g, "<br>");
|
|
34002
34002
|
}
|
|
34003
34003
|
function checkvip(member) {
|
|
34004
|
-
return member.vip.
|
|
34004
|
+
return member.vip.status === 1 ? `<span style="color: ${member.vip.nickname_color ?? "#FB7299"}; font-weight: 700;">${member.name}</span>` : `<span style="color: ${Common.useDarkTheme() ? "#EDEDED" : "#606060"}">${member.name}</span>`;
|
|
34005
34005
|
}
|
|
34006
34006
|
function extractEmojisData(data2) {
|
|
34007
34007
|
const emojisData = [];
|
|
@@ -3,7 +3,7 @@ import { dirname } from "node:path";
|
|
|
3
3
|
const __filename = fileURLToPath(import.meta.url);
|
|
4
4
|
const __dirname = dirname(__filename);
|
|
5
5
|
import { logger, segment, render, common, mkdirSync, karin } from "node-karin";
|
|
6
|
-
import { h as getDouyinData, a as Config, C as Common, N as Networks, i as Base, R as Render, m as Count, f as browserExports, n as downloadFile, o as mergeFile, j as downloadVideo, p as cleanOldDynamicCache, q as douyinDB, s as baseHeaders } from "./index-
|
|
6
|
+
import { h as getDouyinData, a as Config, C as Common, N as Networks, i as Base, R as Render, m as Count, f as browserExports, n as downloadFile, o as mergeFile, j as downloadVideo, p as cleanOldDynamicCache, q as douyinDB, s as baseHeaders } from "./index-Dp9gQN2I.js";
|
|
7
7
|
import { Version } from "../Version.js";
|
|
8
8
|
import require$$0 from "util";
|
|
9
9
|
import require$$1 from "stream";
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Common, a as Config, l as logMiddleware, r as registerBilibiliRoutes, b as registerDouyinRoutes, c as registerKuaishouRoutes, d as logger$2, e as Client } from "./chunk/index-
|
|
1
|
+
import { C as Common, a as Config, l as logMiddleware, r as registerBilibiliRoutes, b as registerDouyinRoutes, c as registerKuaishouRoutes, d as logger$2, e as Client } from "./chunk/index-Dp9gQN2I.js";
|
|
2
2
|
import require$$0 from "util";
|
|
3
3
|
import require$$0$1 from "url";
|
|
4
4
|
import require$$0$2 from "http";
|
package/lib/web.config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig, components } from "node-karin";
|
|
2
2
|
import _ from "node-karin/lodash";
|
|
3
3
|
import "sequelize";
|
|
4
|
-
import { a as Config } from "./chunk/index-
|
|
4
|
+
import { a as Config } from "./chunk/index-Dp9gQN2I.js";
|
|
5
5
|
import "./Version.js";
|
|
6
6
|
import "node:fs";
|
|
7
7
|
import "node-karin/axios";
|