karin-plugin-kkk 2.23.0 → 2.23.1
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 +12 -0
- package/lib/apps/admin.js +2 -2
- package/lib/apps/help.js +2 -2
- package/lib/apps/push.js +2 -2
- package/lib/apps/qrlogin.js +2 -2
- package/lib/apps/statistics.js +2 -2
- package/lib/apps/tools.js +2 -2
- package/lib/apps/update.js +2 -2
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/{main-CbBLeLbT.js → main-BdZy8WYB.js} +3 -3
- package/lib/core_chunk/{template-Bc4MfVnM.js → template-CnW8M_F0.js} +2 -2
- package/lib/core_chunk/template.js +1 -1
- package/lib/index.js +2 -2
- package/lib/karin-plugin-kkk.css +9 -19
- package/lib/root.js +1 -1
- package/lib/web.config.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.23.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.23.0...v2.23.1) (2026-03-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 错误修复
|
|
9
|
+
|
|
10
|
+
* 抖音登录二维码加载不出来 ([6d966ec](https://github.com/ikenxuan/karin-plugin-kkk/commit/6d966ec6446f2f29d07912e55bfd229e0c8b9932))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 💄 UI 优化
|
|
14
|
+
|
|
15
|
+
* **douyin:** 视频信息显示优化 ([c9cb1da](https://github.com/ikenxuan/karin-plugin-kkk/commit/c9cb1da6430ab975ea1bc64c0a08325f203cbf5a))
|
|
16
|
+
|
|
5
17
|
## [2.23.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.22.0...v2.23.0) (2026-03-07)
|
|
6
18
|
|
|
7
19
|
|
package/lib/apps/admin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { C as biLogin, E as task, T as removeOldFiles, w as dylogin } from "../core_chunk/main-
|
|
2
|
+
import { C as biLogin, E as task, T as removeOldFiles, w as dylogin } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { biLogin, dylogin, removeOldFiles, task };
|
package/lib/apps/help.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { S as version, x as help } from "../core_chunk/main-
|
|
2
|
+
import { S as version, x as help } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { help, version };
|
package/lib/apps/push.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { _ as forcePush, b as testDouyinPush, f as bilibiliPush, g as douyinPushList, h as douyinPush, m as changeBotID, p as bilibiliPushList, v as setbiliPush, y as setdyPush } from "../core_chunk/main-
|
|
2
|
+
import { _ as forcePush, b as testDouyinPush, f as bilibiliPush, g as douyinPushList, h as douyinPush, m as changeBotID, p as bilibiliPushList, v as setbiliPush, y as setdyPush } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, setbiliPush, setdyPush, testDouyinPush };
|
package/lib/apps/qrlogin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { d as qrLogin } from "../core_chunk/main-
|
|
2
|
+
import { d as qrLogin } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { qrLogin };
|
package/lib/apps/statistics.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { l as globalStatistics, u as groupStatistics } from "../core_chunk/main-
|
|
2
|
+
import { l as globalStatistics, u as groupStatistics } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { globalStatistics, groupStatistics };
|
package/lib/apps/tools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-
|
|
2
|
+
import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { bilibiliAPP, douyinAPP, kuaishouAPP, prefix, xiaohongshuAPP };
|
package/lib/apps/update.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-
|
|
2
|
+
import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "../core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "../core_chunk/template-
|
|
4
|
+
import "../core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { kkkUpdate, kkkUpdateCommand, update };
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.23.
|
|
3
|
-
"buildTime": "2026-03-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.23.1",
|
|
3
|
+
"buildTime": "2026-03-09T16:21:53.700Z",
|
|
4
|
+
"buildTimestamp": 1773073313701,
|
|
5
5
|
"name": "karin-plugin-kkk",
|
|
6
6
|
"description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
|
|
7
7
|
"homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
|
|
8
|
-
"commitHash": "
|
|
9
|
-
"shortCommitHash": "
|
|
8
|
+
"commitHash": "3c5a21ee25d05d410878aebfb0f52b71ba7dc7f2",
|
|
9
|
+
"shortCommitHash": "3c5a21ee"
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin, o as __toESM, r as __export } from "./rolldown-runtime-BMXAG3ag.js";
|
|
2
2
|
import { A as init_locale, An as init_zod, Cn as Chalk, Dn as axios_default, En as init_axios, On as Xhshow, Sn as require_protobufjs, Tn as AxiosError$1, _n as require_png, a as Window, bn as require_heic_decode, dt as init_date_fns, ft as fromUnixTime, ht as differenceInSeconds, i as init_lib, j as zhCN, jn as zod_default, kn as init_dist, mt as format, n as require_lib, pt as formatDistanceToNow, r as require_qr_code_styling, t as require_dist, vn as require_jsQR, wn as init_source, xn as require_express, yn as require_jpeg_js } from "./vendor-DxfKHvj-.js";
|
|
3
|
-
import { n as init_client, r as reactServerRender } from "./template-
|
|
3
|
+
import { n as init_client, r as reactServerRender } from "./template-CnW8M_F0.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import karin$1, { BOT_CONNECT, app, authMiddleware, checkPkgUpdate, checkPort, common, components, config, copyConfigSync, createBadRequestResponse, createNotFoundResponse, createServerErrorResponse, createSuccessResponse, db, defineConfig, ffmpeg, ffprobe, filesByExt, getBot, hooks, karin, karinPathHtml, karinPathTemp, logger, logs, mkdirSync, range, render, requireFileSync, restart, segment, updatePkg, watch } from "node-karin";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -6621,7 +6621,7 @@ var init_QRCodeScanner = __esmMin(() => {
|
|
|
6621
6621
|
}
|
|
6622
6622
|
static async parseHEIC(buffer) {
|
|
6623
6623
|
try {
|
|
6624
|
-
const decoded = await (0, import_heic_decode$1.default)({ buffer });
|
|
6624
|
+
const decoded = await (0, import_heic_decode$1.default)({ buffer: buffer.buffer });
|
|
6625
6625
|
logger.debug(`HEIC 解析成功: ${decoded.width}x${decoded.height}`);
|
|
6626
6626
|
return {
|
|
6627
6627
|
width: decoded.width,
|
|
@@ -20480,7 +20480,7 @@ var waitQrcode = async (page) => {
|
|
|
20480
20480
|
const response = await fetch(originalImage);
|
|
20481
20481
|
imageBuffer = Buffer.from(await response.arrayBuffer());
|
|
20482
20482
|
}
|
|
20483
|
-
const qrContent = QRCodeScanner.scanFromBuffer(imageBuffer);
|
|
20483
|
+
const qrContent = await QRCodeScanner.scanFromBuffer(imageBuffer);
|
|
20484
20484
|
if (qrContent) {
|
|
20485
20485
|
logger.mark("二维码解码成功:", qrContent);
|
|
20486
20486
|
return {
|
|
@@ -4623,10 +4623,10 @@ var init_videoInfo$1 = __esmMin(() => {
|
|
|
4623
4623
|
children: [(0, import_jsx_runtime$24.jsxs)("div", {
|
|
4624
4624
|
className: "flex items-center justify-between mb-10",
|
|
4625
4625
|
children: [duration ? (0, import_jsx_runtime$24.jsx)("div", {
|
|
4626
|
-
className: "px-6 py-4 rounded-2xl bg-default-200/
|
|
4626
|
+
className: "px-6 py-4 rounded-2xl bg-default-200/20 backdrop-blur-2xl border border-default-300 shadow-lg text-default-900 text-3xl tracking-wider",
|
|
4627
4627
|
children: duration
|
|
4628
4628
|
}) : (0, import_jsx_runtime$24.jsx)("div", {}), props.data.music && (0, import_jsx_runtime$24.jsxs)("div", {
|
|
4629
|
-
className: "flex items-center gap-6 p-4 rounded-3xl bg-default-200/
|
|
4629
|
+
className: "flex items-center gap-6 p-4 rounded-3xl bg-default-200/20 backdrop-blur-2xl border border-default-300 shadow-lg overflow-hidden",
|
|
4630
4630
|
children: [(0, import_jsx_runtime$24.jsxs)("div", {
|
|
4631
4631
|
className: "relative w-24 h-24",
|
|
4632
4632
|
children: [(0, import_jsx_runtime$24.jsx)("img", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./rolldown-runtime-BMXAG3ag.js";
|
|
2
2
|
import "./vendor-DxfKHvj-.js";
|
|
3
|
-
import { r as reactServerRender, t as template_default } from "./template-
|
|
3
|
+
import { r as reactServerRender, t as template_default } from "./template-CnW8M_F0.js";
|
|
4
4
|
export { template_default as default, reactServerRender };
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import "./core_chunk/main-
|
|
2
|
+
import "./core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "./core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "./core_chunk/template-
|
|
4
|
+
import "./core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export {};
|
package/lib/karin-plugin-kkk.css
CHANGED
|
@@ -4838,33 +4838,33 @@
|
|
|
4838
4838
|
}
|
|
4839
4839
|
}
|
|
4840
4840
|
|
|
4841
|
-
.bg-default-200, .bg-default-200\/
|
|
4841
|
+
.bg-default-200, .bg-default-200\/20 {
|
|
4842
4842
|
background-color: hsl(var(--heroui-default-200) / 1);
|
|
4843
4843
|
}
|
|
4844
4844
|
|
|
4845
4845
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4846
|
-
.bg-default-200\/
|
|
4847
|
-
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1)
|
|
4846
|
+
.bg-default-200\/20 {
|
|
4847
|
+
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1) 20%, transparent);
|
|
4848
4848
|
}
|
|
4849
4849
|
}
|
|
4850
4850
|
|
|
4851
|
-
.bg-default-200\/
|
|
4851
|
+
.bg-default-200\/30 {
|
|
4852
4852
|
background-color: hsl(var(--heroui-default-200) / 1);
|
|
4853
4853
|
}
|
|
4854
4854
|
|
|
4855
4855
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4856
|
-
.bg-default-200\/
|
|
4857
|
-
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1)
|
|
4856
|
+
.bg-default-200\/30 {
|
|
4857
|
+
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1) 30%, transparent);
|
|
4858
4858
|
}
|
|
4859
4859
|
}
|
|
4860
4860
|
|
|
4861
|
-
.bg-default-200\/
|
|
4861
|
+
.bg-default-200\/60 {
|
|
4862
4862
|
background-color: hsl(var(--heroui-default-200) / 1);
|
|
4863
4863
|
}
|
|
4864
4864
|
|
|
4865
4865
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4866
|
-
.bg-default-200\/
|
|
4867
|
-
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1)
|
|
4866
|
+
.bg-default-200\/60 {
|
|
4867
|
+
background-color: color-mix(in oklab, hsl(var(--heroui-default-200) / 1) 60%, transparent);
|
|
4868
4868
|
}
|
|
4869
4869
|
}
|
|
4870
4870
|
|
|
@@ -13153,16 +13153,6 @@
|
|
|
13153
13153
|
}
|
|
13154
13154
|
}
|
|
13155
13155
|
|
|
13156
|
-
.dark\:bg-default-900\/70:is(.dark *) {
|
|
13157
|
-
background-color: hsl(var(--heroui-default-900) / 1);
|
|
13158
|
-
}
|
|
13159
|
-
|
|
13160
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
13161
|
-
.dark\:bg-default-900\/70:is(.dark *) {
|
|
13162
|
-
background-color: color-mix(in oklab, hsl(var(--heroui-default-900) / 1) 70%, transparent);
|
|
13163
|
-
}
|
|
13164
|
-
}
|
|
13165
|
-
|
|
13166
13156
|
.dark\:bg-primary-50:is(.dark *), .dark\:bg-primary-50\/50:is(.dark *) {
|
|
13167
13157
|
background-color: hsl(var(--heroui-primary-50) / 1);
|
|
13168
13158
|
}
|
package/lib/root.js
CHANGED
package/lib/web.config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { D as webConfig, O as web_config_default } from "./core_chunk/main-
|
|
2
|
+
import { D as webConfig, O as web_config_default } from "./core_chunk/main-BdZy8WYB.js";
|
|
3
3
|
import "./core_chunk/vendor-DxfKHvj-.js";
|
|
4
|
-
import "./core_chunk/template-
|
|
4
|
+
import "./core_chunk/template-CnW8M_F0.js";
|
|
5
5
|
export { web_config_default as default, webConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "karin-plugin-kkk",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.1",
|
|
4
4
|
"description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"karin-plugin",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"web": "./lib/web.config.js",
|
|
77
77
|
"ts-web": "./src/web.config.ts"
|
|
78
78
|
},
|
|
79
|
-
"timestamp": "2026-03-
|
|
79
|
+
"timestamp": "2026-03-08T12:56:59.360Z",
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "cross-env NODE_ENV=production vite build && tsdown && vitest run",
|
|
82
82
|
"build:check": "tsc --noEmit && pnpm build",
|