@waline/vercel 1.17.2 → 1.17.3
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.17.
|
|
3
|
+
"version": "1.17.3",
|
|
4
4
|
"description": "vercel server for waline comment system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"waline",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"markdown-it-sub": "^1.0.0",
|
|
32
32
|
"markdown-it-sup": "^1.0.0",
|
|
33
33
|
"mathjax-full": "^3.2.0",
|
|
34
|
-
"nodemailer": "^6.7.
|
|
34
|
+
"nodemailer": "^6.7.5",
|
|
35
35
|
"nunjucks": "^3.2.3",
|
|
36
36
|
"phpass": "^0.1.1",
|
|
37
37
|
"prismjs": "^1.28.0",
|
|
@@ -365,7 +365,7 @@ module.exports = class extends BaseRest {
|
|
|
365
365
|
});
|
|
366
366
|
comments.forEach((cmt) => {
|
|
367
367
|
const countItem = (counts || []).find(({ mail, user_id }) => {
|
|
368
|
-
if (user_id) {
|
|
368
|
+
if (cmt.user_id) {
|
|
369
369
|
return user_id === cmt.user_id;
|
|
370
370
|
}
|
|
371
371
|
return mail === cmt.mail;
|
package/src/logic/base.js
CHANGED