karin-plugin-kkk 2.42.1 → 2.42.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 CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [2.42.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.42.1...v2.42.2) (2026-08-21)
6
+
7
+
8
+ ### 🐛 错误修复
9
+
10
+ * 更新 @karinjs/template-react 版本至 0.1.1,并调整相关依赖,修复部分功能被抢指令的问题 ([4d14521](https://github.com/ikenxuan/karin-plugin-kkk/commit/4d145219fdff36e11feded2dbd71d3808ee3afbf))
11
+
12
+
13
+ ### 📦 依赖更新
14
+
15
+ * update @ikenxuan/watermark to v1.3.1 ([ee7ad27](https://github.com/ikenxuan/karin-plugin-kkk/commit/ee7ad27aca069dba258c6f587261b231451ad0c8))
16
+ * 更新部分开发依赖 ([111609f](https://github.com/ikenxuan/karin-plugin-kkk/commit/111609fa95986da4aa8f6fded737a71435c330e3))
17
+
5
18
  ## [2.42.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.42.0...v2.42.1) (2026-08-18)
6
19
 
7
20
 
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.42.1",
3
- "buildTime": "2026-08-18T10:54:05.050Z",
4
- "buildTimestamp": 1787050445050,
2
+ "version": "2.42.2",
3
+ "buildTime": "2026-08-21T19:22:03.725Z",
4
+ "buildTimestamp": 1787340123725,
5
5
  "name": "karin-plugin-kkk",
6
6
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
7
7
  "homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
8
- "commitHash": "1499f0cd9fc7bfdee75f8bea09fc4831b2e890c0",
9
- "shortCommitHash": "1499f0cd"
8
+ "commitHash": "2579497894c72c42b5b2cb78827595fd59ddcf92",
9
+ "shortCommitHash": "25794978"
10
10
  }
@@ -41969,8 +41969,9 @@ var reg = {
41969
41969
  kuaishou: /(快手.*快手|v\.kuaishou\.com|kuaishou\.com)/,
41970
41970
  xiaohongshu: /(xiaohongshu\.com|xhslink\.(?:com|cn))/
41971
41971
  };
41972
+ var passthroughCommandReg = /^#kkk推送全局忽略/;
41972
41973
  var handleDouyin = wrapWithErrorHandler(async (e, next) => {
41973
- if (e.msg.startsWith("#测试")) return next();
41974
+ if (e.msg.startsWith("#测试") || passthroughCommandReg.test(e.msg)) return next();
41974
41975
  const forceBurnDanmaku = /^#?弹幕解析/.test(e.msg);
41975
41976
  const urlMatch = e.msg.match(/(https?:\/\/[^\s]*\.(douyin|iesdouyin)\.com[^\s]*)/gi);
41976
41977
  if (!urlMatch) {
@@ -41988,6 +41989,7 @@ var handleDouyin = wrapWithErrorHandler(async (e, next) => {
41988
41989
  }
41989
41990
  }, { businessName: "抖音视频解析" });
41990
41991
  var handleBilibili = wrapWithErrorHandler(async (e, next) => {
41992
+ if (passthroughCommandReg.test(e.msg)) return next();
41991
41993
  e.msg = e.msg.replace(/\\/g, "");
41992
41994
  const forceBurnDanmaku = /^#?弹幕解析/.test(e.msg);
41993
41995
  const urlRegex = /(https?:\/\/(?:(?:www\.|m\.|t\.)?bilibili\.com|b23\.tv|bili2233\.cn)\/[a-zA-Z0-9_\-.~:/?#[\]@!$&'()*+,;=]+)/;