mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
fix(server): HTTP streaming notes with unicode names (closes #757)
This commit is contained in:
parent
0ca2d5e0b0
commit
f96a3ce32e
19
package-lock.json
generated
19
package-lock.json
generated
@ -15,6 +15,7 @@
|
||||
"@highlightjs/cdn-assets": "11.10.0",
|
||||
"@mermaid-js/layout-elk": "0.1.7",
|
||||
"@mind-elixir/node-menu": "1.0.3",
|
||||
"@triliumnext/express-partial-content": "1.0.1",
|
||||
"archiver": "7.0.1",
|
||||
"async-mutex": "0.5.0",
|
||||
"autocomplete.js": "0.38.1",
|
||||
@ -40,7 +41,6 @@
|
||||
"escape-html": "1.0.3",
|
||||
"eslint": "9.16.0",
|
||||
"express": "4.21.2",
|
||||
"express-partial-content": "1.0.2",
|
||||
"express-rate-limit": "7.4.1",
|
||||
"express-session": "1.18.1",
|
||||
"force-graph": "1.47.0",
|
||||
@ -3184,6 +3184,15 @@
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@triliumnext/express-partial-content": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@triliumnext/express-partial-content/-/express-partial-content-1.0.1.tgz",
|
||||
"integrity": "sha512-WQipyCd3AHnKRhkMGUjgvi75L8kRjCyvCituvtdkNt5GLUQeHRyMwEokYJ8uoBgPoJNPLPCjXV1Ig0WE37N7KA==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"express": "^4.16.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@tsconfig/node10": {
|
||||
"version": "1.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
|
||||
@ -8547,14 +8556,6 @@
|
||||
"url": "https://opencollective.com/express"
|
||||
}
|
||||
},
|
||||
"node_modules/express-partial-content": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/express-partial-content/-/express-partial-content-1.0.2.tgz",
|
||||
"integrity": "sha512-o1JrraDGpMFaPtkuvtZ4cIBC/xuJn90KBGlxRrm3FxcfER1bPaBnBsTnypF65p+CMTXul2KrZodb3Vv3MScB4A==",
|
||||
"peerDependencies": {
|
||||
"express": "^4.16.4"
|
||||
}
|
||||
},
|
||||
"node_modules/express-rate-limit": {
|
||||
"version": "7.4.1",
|
||||
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.4.1.tgz",
|
||||
|
@ -83,7 +83,7 @@
|
||||
"escape-html": "1.0.3",
|
||||
"eslint": "9.16.0",
|
||||
"express": "4.21.2",
|
||||
"express-partial-content": "1.0.2",
|
||||
"@triliumnext/express-partial-content": "1.0.1",
|
||||
"express-rate-limit": "7.4.1",
|
||||
"express-session": "1.18.1",
|
||||
"force-graph": "1.47.0",
|
||||
|
@ -10,7 +10,7 @@ import cls from "../services/cls.js";
|
||||
import sql from "../services/sql.js";
|
||||
import entityChangesService from "../services/entity_changes.js";
|
||||
import csurf from "csurf";
|
||||
import { createPartialContentHandler } from "express-partial-content";
|
||||
import { createPartialContentHandler } from "@triliumnext/express-partial-content";
|
||||
import rateLimit from "express-rate-limit";
|
||||
import AbstractBeccaEntity from "../becca/entities/abstract_becca_entity.js";
|
||||
import NotFoundError from "../errors/not_found_error.js";
|
||||
|
Loading…
x
Reference in New Issue
Block a user