koishi-plugin-chat-analyse 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -477,13 +477,12 @@ var Renderer = class {
477
477
  <div class="time-label">${time.toLocaleString("zh-CN", { hour12: false })}</div>
478
478
  </div>
479
479
  <div id="wordcloud-container" style="width: 800px; height: 600px; margin: auto;"></div>
480
- <script src="https://cdn.jsdelivr.net/npm/wordcloud@1.2.2/src/wordcloud2.js"></script>
480
+ <script src="https://unpkg.com/wordcloud@1.2.2/src/wordcloud2.js"></script>
481
481
  <script>
482
482
  WordCloud(document.getElementById('wordcloud-container'), {
483
483
  list: ${wordListJson},
484
484
  gridSize: 16,
485
485
  weightFactor: (size) => Math.pow(size, 1.2) * 2.5,
486
- fontFamily: "'Noto Sans SC', sans-serif",
487
486
  color: 'random-dark',
488
487
  backgroundColor: 'transparent',
489
488
  rotateRatio: 0.5,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chat-analyse",
3
3
  "description": "强大而全面的聊天数据分析,支持统计命令,发言,消息类型,活跃度,支持发言排行和生成词云",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "contributors": [
6
6
  "Yis_Rime <yis_rime@outlook.com>"
7
7
  ],