Merge pull request #251 from TriliumNext/feature/update_server_dependencies

Update server dependencies
This commit is contained in:
Elian Doran 2024-07-20 21:33:05 +03:00 committed by GitHub
commit 5b8148206d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 440 additions and 300 deletions

701
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,12 +34,12 @@
"postinstall": "rimraf ./node_modules/canvas"
},
"dependencies": {
"@braintree/sanitize-url": "6.0.4",
"@braintree/sanitize-url": "^7.1.0",
"@electron/remote": "2.1.2",
"@excalidraw/excalidraw": "^0.17.6",
"archiver": "7.0.0",
"async-mutex": "0.4.1",
"axios": "1.6.7",
"archiver": "^7.0.1",
"async-mutex": "^0.5.0",
"axios": "^1.7.2",
"better-sqlite3": "8.5.0",
"boxicons": "2.1.4",
"chokidar": "3.6.0",
@ -47,17 +47,17 @@
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"csurf": "1.11.0",
"dayjs": "1.11.10",
"dayjs": "^1.11.12",
"dayjs-plugin-utc": "0.1.2",
"debounce": "1.2.1",
"ejs": "3.1.9",
"debounce": "^2.1.0",
"ejs": "^3.1.10",
"electron-debug": "3.2.0",
"electron-dl": "3.5.2",
"electron-window-state": "5.0.3",
"escape-html": "1.0.3",
"express": "4.18.3",
"express": "^4.19.2",
"express-partial-content": "1.0.2",
"express-rate-limit": "7.2.0",
"express-rate-limit": "^7.3.1",
"express-session": "1.18.0",
"force-graph": "1.43.5",
"fs-extra": "11.2.0",
@ -65,18 +65,18 @@
"html": "1.0.0",
"html2plaintext": "2.1.4",
"http-proxy-agent": "7.0.2",
"https-proxy-agent": "7.0.4",
"https-proxy-agent": "^7.0.5",
"image-type": "4.1.0",
"ini": "3.0.1",
"ini": "^4.1.3",
"is-animated": "2.0.2",
"is-svg": "4.3.2",
"jimp": "0.22.12",
"joplin-turndown-plugin-gfm": "1.0.12",
"jquery": "3.7.1",
"jquery-hotkeys": "0.2.2",
"jsdom": "24.0.0",
"jsdom": "^24.1.0",
"katex": "^0.16.11",
"marked": "12.0.0",
"marked": "^13.0.2",
"mermaid": "^10.9.1",
"mime-types": "2.1.35",
"multer": "1.4.5-lts.1",
@ -91,9 +91,9 @@
"rimraf": "^6.0.1",
"safe-compare": "1.1.4",
"sanitize-filename": "1.6.3",
"sanitize-html": "2.12.1",
"sax": "1.3.0",
"semver": "7.6.0",
"sanitize-html": "^2.13.0",
"sax": "^1.4.1",
"semver": "^7.6.3",
"serve-favicon": "2.5.0",
"session-file-store": "1.5.0",
"split.js": "1.6.5",
@ -101,11 +101,11 @@
"striptags": "3.2.0",
"tmp": "0.2.3",
"tree-kill": "1.2.2",
"turndown": "7.1.2",
"turndown": "^7.2.0",
"unescape": "1.0.1",
"ws": "8.16.0",
"ws": "^8.18.0",
"xml2js": "0.6.2",
"yauzl": "3.1.2"
"yauzl": "^3.1.3"
},
"devDependencies": {
"@types/archiver": "^6.0.2",

View File

@ -5,7 +5,6 @@ import { JSDOM } from "jsdom";
import BNote = require('../../becca/entities/bnote');
import BAttribute = require('../../becca/entities/battribute');
import { Request } from 'express';
import ValidationError = require('../../errors/validation_error');
function buildDescendantCountMap(noteIdsToCount: string[]) {
if (!Array.isArray(noteIdsToCount)) {