@waline/vercel 1.26.0 → 1.26.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waline/vercel",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.2",
|
|
4
4
|
"description": "vercel server for waline comment system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"waline",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dy-node-ip2region": "1.0.1",
|
|
24
24
|
"fast-csv": "4.3.6",
|
|
25
25
|
"form-data": "4.0.0",
|
|
26
|
-
"jsdom": "21.
|
|
26
|
+
"jsdom": "21.1.0",
|
|
27
27
|
"jsonwebtoken": "9.0.0",
|
|
28
28
|
"katex": "0.16.4",
|
|
29
29
|
"leancloud-storage": "4.14.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"markdown-it-sub": "1.0.0",
|
|
33
33
|
"markdown-it-sup": "1.0.0",
|
|
34
34
|
"mathjax-full": "3.2.2",
|
|
35
|
-
"node-fetch": "2.6.
|
|
36
|
-
"nodemailer": "6.9.
|
|
35
|
+
"node-fetch": "2.6.8",
|
|
36
|
+
"nodemailer": "6.9.1",
|
|
37
37
|
"nunjucks": "3.2.3",
|
|
38
38
|
"phpass": "0.1.1",
|
|
39
39
|
"prismjs": "1.29.0",
|
|
@@ -42,12 +42,13 @@
|
|
|
42
42
|
"think-logger3": "1.3.1",
|
|
43
43
|
"think-model": "1.5.4",
|
|
44
44
|
"think-model-mysql": "1.1.7",
|
|
45
|
+
"think-model-mysql2": "^2.0.0",
|
|
45
46
|
"think-model-postgresql": "1.1.7",
|
|
46
47
|
"think-model-sqlite": "1.3.0",
|
|
47
48
|
"think-mongo": "2.2.1",
|
|
48
49
|
"think-router-rest": "1.0.5",
|
|
49
50
|
"thinkjs": "3.2.14",
|
|
50
|
-
"ua-parser-js": "1.0.
|
|
51
|
+
"ua-parser-js": "1.0.33"
|
|
51
52
|
},
|
|
52
53
|
"engines": {
|
|
53
54
|
"node": ">=14"
|
package/src/config/adapter.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { Console } = require('think-logger3');
|
|
2
2
|
const Mysql = require('think-model-mysql');
|
|
3
|
+
const Mysql2 = require('think-model-mysql2');
|
|
3
4
|
const Postgresql = require('think-model-postgresql');
|
|
4
5
|
|
|
5
6
|
let Sqlite = class {};
|
|
@@ -141,7 +142,7 @@ exports.model = {
|
|
|
141
142
|
},
|
|
142
143
|
|
|
143
144
|
tidb: {
|
|
144
|
-
handle:
|
|
145
|
+
handle: Mysql2,
|
|
145
146
|
dateStrings: true,
|
|
146
147
|
host: TIDB_HOST || '127.0.0.1',
|
|
147
148
|
port: TIDB_PORT || '4000',
|