@lobehub/chat 1.20.7 → 1.20.8
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,23 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.20.8](https://github.com/lobehub/lobe-chat/compare/v1.20.7...v1.20.8)
|
6
|
+
|
7
|
+
<sup>Released on **2024-09-30**</sup>
|
8
|
+
|
9
|
+
<br/>
|
10
|
+
|
11
|
+
<details>
|
12
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
13
|
+
|
14
|
+
</details>
|
15
|
+
|
16
|
+
<div align="right">
|
17
|
+
|
18
|
+
[](#readme-top)
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
5
22
|
### [Version 1.20.7](https://github.com/lobehub/lobe-chat/compare/v1.20.6...v1.20.7)
|
6
23
|
|
7
24
|
<sup>Released on **2024-09-29**</sup>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.20.
|
3
|
+
"version": "1.20.8",
|
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",
|
@@ -209,7 +209,7 @@
|
|
209
209
|
"rtl-detect": "^1.1.2",
|
210
210
|
"semver": "^7.6.3",
|
211
211
|
"sharp": "^0.33.5",
|
212
|
-
"shiki": "1.
|
212
|
+
"shiki": "^1.21.0",
|
213
213
|
"stripe": "^15.8.0",
|
214
214
|
"superjson": "^2.2.1",
|
215
215
|
"svix": "^1.30.0",
|
@@ -41,12 +41,12 @@ const isValidTLS = (url = '') => {
|
|
41
41
|
const options = { host, port, servername: host };
|
42
42
|
return new Promise((resolve, reject) => {
|
43
43
|
const socket = tls.connect(options, () => {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
resolve();
|
48
|
-
}
|
44
|
+
console.log(`✅ TLS Check: Valid certificate for ${host}:${port}.`);
|
45
|
+
console.log('-------------------------------------');
|
46
|
+
|
49
47
|
socket.end();
|
48
|
+
|
49
|
+
resolve();
|
50
50
|
});
|
51
51
|
|
52
52
|
socket.on('error', (err) => {
|
@@ -54,6 +54,7 @@ const isValidTLS = (url = '') => {
|
|
54
54
|
switch (err.code) {
|
55
55
|
case 'CERT_HAS_EXPIRED':
|
56
56
|
case 'DEPTH_ZERO_SELF_SIGNED_CERT':
|
57
|
+
case 'ERR_TLS_CERT_ALTNAME_INVALID':
|
57
58
|
console.error(`${errMsg} Certificate is not valid. Consider setting NODE_TLS_REJECT_UNAUTHORIZED="0" or mapping /etc/ssl/certs/ca-certificates.crt.`);
|
58
59
|
break;
|
59
60
|
case 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY':
|