update express-fileupload minus the unnecessary timer changes, and small fix in post mixin:

merge-requests/208/head
fatchan 5 years ago
parent e1ac3b6d0f
commit 9e5e57cc3b
  1. 2
      gulp/res/js/post.js
  2. 4
      package-lock.json
  3. 2
      package.json

@ -62,7 +62,7 @@ pug_html = pug_html + "\u003Cspan" + (" class=\"user-id\""+pug_attr("style", pug
}
pug_html = pug_html + "\u003C\u002Flabel\u003E\u003Cspan class=\"post-links\"\u003E\u003Ca" + (" class=\"no-decoration\""+pug_attr("href", `${postURL}#${post.postId}`, true, false)) + "\u003ENo.\u003C\u002Fa\u003E\u003Cspan class=\"post-quoters\"\u003E\u003Ca" + (" class=\"no-decoration\""+pug_attr("href", `${postURL}#postform`, true, false)) + "\u003E" + (pug_escape(null == (pug_interp = post.postId) ? "" : pug_interp)) + "\u003C\u002Fa\u003E";
if (!post.thread) {
pug_html = pug_html + " \u003Cspan\u003E\u003Ca" + (pug_attr("href", `/${post.board}/thread/${post.thread || post.postId}.html#postform`, true, false)) + "\u003E[Reply]\u003C\u002Fa\u003E\u003C\u002Fspan\u003E";
pug_html = pug_html + " \u003Cspan\u003E\u003Ca" + (pug_attr("href", `${postURL}#postform`, true, false)) + "\u003E[Reply]\u003C\u002Fa\u003E\u003C\u002Fspan\u003E";
}
pug_html = pug_html + "\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fheader\u003E\u003Cdiv class=\"post-data\"\u003E";
if (post.files.length > 0) {

4
package-lock.json generated

@ -2287,8 +2287,8 @@
}
},
"express-fileupload": {
"version": "github:fatchan/express-fileupload#f9382a126b4bb3686572895c45ecc05fa6d49391",
"from": "github:fatchan/express-fileupload",
"version": "git+https://github.com/fatchan/express-fileupload.git#ffe891ba1a97b392dc1ce5ec9e8316d8d5352d9b",
"from": "git+https://github.com/fatchan/express-fileupload.git",
"requires": {
"busboy": "^0.2.14",
"mkdirp": "^0.5.1"

@ -13,7 +13,7 @@
"csurf": "^1.10.0",
"del": "^4.1.1",
"express": "^4.17.1",
"express-fileupload": "github:fatchan/express-fileupload",
"express-fileupload": "git+https://github.com/fatchan/express-fileupload.git",
"express-session": "^1.16.2",
"fluent-ffmpeg": "^2.1.2",
"fs": "0.0.1-security",

Loading…
Cancel
Save