@lobehub/chat 1.74.3 → 1.74.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.74.4](https://github.com/lobehub/lobe-chat/compare/v1.74.3...v1.74.4)
6
+
7
+ <sup>Released on **2025-03-23**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Upgrade next to 15.2.3 to fix CVE-2025-29927.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Upgrade next to 15.2.3 to fix CVE-2025-29927, closes [#7105](https://github.com/lobehub/lobe-chat/issues/7105) ([187a655](https://github.com/lobehub/lobe-chat/commit/187a655))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.74.3](https://github.com/lobehub/lobe-chat/compare/v1.74.2...v1.74.3)
6
31
 
7
32
  <sup>Released on **2025-03-22**</sup>
package/README.md CHANGED
@@ -226,7 +226,7 @@ We have implemented support for the following model service providers:
226
226
  - **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI's Serverless API provides AI developers with an out of the box large model inference API service.
227
227
  - **[Taichu](https://lobechat.com/discover/provider/taichu)**: The Institute of Automation, Chinese Academy of Sciences, and Wuhan Artificial Intelligence Research Institute have launched a new generation of multimodal large models, supporting comprehensive question-answering tasks such as multi-turn Q\&A, text creation, image generation, 3D understanding, and signal analysis, with stronger cognitive, understanding, and creative abilities, providing a new interactive experience.
228
228
  - **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI is an AI model and service platform launched by 360 Company, offering various advanced natural language processing models, including 360GPT2 Pro, 360GPT Pro, 360GPT Turbo, and 360GPT Turbo Responsibility 8K. These models combine large-scale parameters and multimodal capabilities, widely applied in text generation, semantic understanding, dialogue systems, and code generation. With flexible pricing strategies, 360 AI meets diverse user needs, supports developer integration, and promotes the innovation and development of intelligent applications.
229
- - **[Search1API](https://lobechat.com/discover/provider/search1api)**:
229
+ - **[Search1API](https://lobechat.com/discover/provider/search1api)**: Search1API provides access to the DeepSeek series of models that can connect to the internet as needed, including standard and fast versions, supporting a variety of model sizes.
230
230
  - **[InfiniAI](https://lobechat.com/discover/provider/infiniai)**: Provides high-performance, easy-to-use, and secure large model services for application developers, covering the entire process from large model development to service deployment.
231
231
 
232
232
  </details>
package/README.zh-CN.md CHANGED
@@ -226,7 +226,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
226
226
  - **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI 的 Serverless API 为 AI 开发者提供开箱即用的大模型推理 API 服务。
227
227
  - **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自动化研究所和武汉人工智能研究院推出新一代多模态大模型,支持多轮问答、文本创作、图像生成、3D 理解、信号分析等全面问答任务,拥有更强的认知、理解、创作能力,带来全新互动体验。
228
228
  - **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。
229
- - **[Search1API](https://lobechat.com/discover/provider/search1api)**:
229
+ - **[Search1API](https://lobechat.com/discover/provider/search1api)**: Search1API 提供可根据需要自行联网的 DeepSeek 系列模型的访问,包括标准版和快速版本,支持多种参数规模的模型选择。
230
230
  - **[InfiniAI](https://lobechat.com/discover/provider/infiniai)**: 为应用开发者提供高性能、易上手、安全可靠的大模型服务,覆盖从大模型开发到大模型服务化部署的全流程。
231
231
 
232
232
  </details>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Upgrade next to 15.2.3 to fix CVE-2025-29927."
6
+ ]
7
+ },
8
+ "date": "2025-03-23",
9
+ "version": "1.74.4"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.74.3",
3
+ "version": "1.74.4",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -162,7 +162,7 @@
162
162
  "debug": "^4.4.0",
163
163
  "dexie": "^3.2.7",
164
164
  "diff": "^7.0.0",
165
- "drizzle-orm": "^0.40.0",
165
+ "drizzle-orm": "^0.41.0",
166
166
  "drizzle-zod": "^0.5.1",
167
167
  "epub2": "^3.0.2",
168
168
  "fast-deep-equal": "^3.1.3",
@@ -182,12 +182,12 @@
182
182
  "langfuse": "3.29.1",
183
183
  "langfuse-core": "3.29.1",
184
184
  "lodash-es": "^4.17.21",
185
- "lucide-react": "^0.482.0",
185
+ "lucide-react": "^0.483.0",
186
186
  "mammoth": "^1.9.0",
187
187
  "mdast-util-to-markdown": "^2.1.2",
188
188
  "modern-screenshot": "^4.5.5",
189
189
  "nanoid": "^5.0.9",
190
- "next": "^15.2.0",
190
+ "next": "^15.2.3",
191
191
  "next-auth": "beta",
192
192
  "next-mdx-remote": "^5.0.0",
193
193
  "nextjs-toploader": "^3.7.15",
@@ -218,7 +218,7 @@
218
218
  "react-lazy-load": "^4.0.1",
219
219
  "react-pdf": "^9.2.1",
220
220
  "react-rnd": "^10.4.14",
221
- "react-scan": "^0.2.0",
221
+ "react-scan": "^0.3.0",
222
222
  "react-virtuoso": "^4.12.3",
223
223
  "react-wrap-balancer": "^1.1.1",
224
224
  "remark": "^15.0.1",
@@ -981,21 +981,5 @@
981
981
 
982
982
  <i class="fi fi-close"></i>
983
983
  </div>
984
-
985
- <script src="//www.qiumiwu.com/static/pc/default/js/manifest.js?id=0d55e218a6cea212029bf84120f5827d"></script>
986
- <script src="//www.qiumiwu.com/static/pc/default/js/vendor.js?id=083d3c8483d62f6847a5d391d4e24f11"></script>
987
- <script src="//www.qiumiwu.com/static/pc/default/js/app.js?id=f1a291509f0d175a894051a7ab22c745"></script>
988
-
989
- <div style="display: none;">
990
- <script>
991
- var _hmt = _hmt || [];
992
- (function () {
993
- var hm = document.createElement('script');
994
- hm.src = 'https://hm.baidu.com/hm.js?62420aae5cf1333ec6c6ff58d318a990';
995
- var s = document.getElementsByTagName('script')[0];
996
- s.parentNode.insertBefore(hm, s);
997
- })();
998
- </script>
999
- </div>
1000
984
  </body>
1001
985
  </html>
@@ -30,6 +30,6 @@ describe('htmlToMarkdown', () => {
30
30
  const data = htmlToMarkdown(html, { url: item.url, filterOptions: item.filterOptions || {} });
31
31
 
32
32
  expect(data).toMatchSnapshot();
33
- }, 10000);
33
+ }, 20000);
34
34
  });
35
35
  });
@@ -19,8 +19,12 @@ export const GET = async (req: Request) => {
19
19
  res = await fetch(pluginStore.getPluginIndexUrl(DEFAULT_LANG));
20
20
  }
21
21
 
22
- const data = await res.json();
23
- return NextResponse.json(data);
22
+ if (res.ok) {
23
+ const data = await res.json();
24
+ return NextResponse.json(data);
25
+ }
26
+
27
+ return res;
24
28
  } catch (e) {
25
29
  console.error(e);
26
30
  return new Response(`failed to fetch agent market index`, {