@waline/vercel 1.18.5 → 1.18.6
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.18.
|
|
3
|
+
"version": "1.18.6",
|
|
4
4
|
"description": "vercel server for waline comment system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"waline",
|
|
@@ -15,38 +15,39 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": "lizheming <i@imnerd.org>",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cloudbase/node-sdk": "
|
|
19
|
-
"@koa/cors": "
|
|
20
|
-
"akismet": "
|
|
21
|
-
"deta": "
|
|
22
|
-
"dompurify": "
|
|
23
|
-
"dy-node-ip2region": "
|
|
24
|
-
"fast-csv": "
|
|
25
|
-
"jsdom": "
|
|
26
|
-
"jsonwebtoken": "
|
|
27
|
-
"katex": "
|
|
28
|
-
"leancloud-storage": "
|
|
29
|
-
"markdown-it": "
|
|
30
|
-
"markdown-it-emoji": "
|
|
31
|
-
"markdown-it-sub": "
|
|
32
|
-
"markdown-it-sup": "
|
|
33
|
-
"mathjax-full": "
|
|
34
|
-
"nodemailer": "
|
|
35
|
-
"nunjucks": "
|
|
36
|
-
"phpass": "
|
|
37
|
-
"prismjs": "
|
|
38
|
-
"request": "
|
|
39
|
-
"request-promise-native": "
|
|
40
|
-
"speakeasy": "
|
|
41
|
-
"think-
|
|
42
|
-
"think-
|
|
43
|
-
"think-model
|
|
18
|
+
"@cloudbase/node-sdk": "2.9.1",
|
|
19
|
+
"@koa/cors": "3.3.0",
|
|
20
|
+
"akismet": "2.0.7",
|
|
21
|
+
"deta": "1.1.0",
|
|
22
|
+
"dompurify": "2.3.8",
|
|
23
|
+
"dy-node-ip2region": "1.0.1",
|
|
24
|
+
"fast-csv": "4.3.6",
|
|
25
|
+
"jsdom": "19.0.0",
|
|
26
|
+
"jsonwebtoken": "8.5.1",
|
|
27
|
+
"katex": "0.15.6",
|
|
28
|
+
"leancloud-storage": "4.12.2",
|
|
29
|
+
"markdown-it": "13.0.1",
|
|
30
|
+
"markdown-it-emoji": "2.0.2",
|
|
31
|
+
"markdown-it-sub": "1.0.0",
|
|
32
|
+
"markdown-it-sup": "1.0.0",
|
|
33
|
+
"mathjax-full": "3.2.1",
|
|
34
|
+
"nodemailer": "6.7.5",
|
|
35
|
+
"nunjucks": "3.2.3",
|
|
36
|
+
"phpass": "0.1.1",
|
|
37
|
+
"prismjs": "1.28.0",
|
|
38
|
+
"request": "2.88.2",
|
|
39
|
+
"request-promise-native": "1.0.9",
|
|
40
|
+
"speakeasy": "2.0.0",
|
|
41
|
+
"think-helper": "^1.1.3",
|
|
42
|
+
"think-logger3": "1.3.1",
|
|
43
|
+
"think-model": "1.5.4",
|
|
44
|
+
"think-model-mysql": "1.1.7",
|
|
44
45
|
"think-model-postgresql": "1.1.6",
|
|
45
|
-
"think-model-sqlite": "
|
|
46
|
-
"think-mongo": "
|
|
47
|
-
"think-router-rest": "
|
|
48
|
-
"thinkjs": "
|
|
49
|
-
"ua-parser-js": "
|
|
46
|
+
"think-model-sqlite": "1.2.3",
|
|
47
|
+
"think-mongo": "2.2.1",
|
|
48
|
+
"think-router-rest": "1.0.5",
|
|
49
|
+
"thinkjs": "3.2.14",
|
|
50
|
+
"ua-parser-js": "1.0.2"
|
|
50
51
|
},
|
|
51
52
|
"engines": {
|
|
52
53
|
"node": ">=14"
|
|
@@ -640,7 +640,14 @@ module.exports = class extends BaseRest {
|
|
|
640
640
|
return this.fail(preDeleteResp);
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
-
await this.modelInstance.delete({
|
|
643
|
+
await this.modelInstance.delete({
|
|
644
|
+
_complex: {
|
|
645
|
+
_logic: 'or',
|
|
646
|
+
objectId: this.id,
|
|
647
|
+
pid: this.id,
|
|
648
|
+
rid: this.id,
|
|
649
|
+
},
|
|
650
|
+
});
|
|
644
651
|
await this.hook('postDelete', this.id);
|
|
645
652
|
|
|
646
653
|
return this.success();
|