mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	Merge pull request #251 from TriliumNext/feature/update_server_dependencies
Update server dependencies
This commit is contained in:
		
						commit
						5b8148206d
					
				
							
								
								
									
										701
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										701
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										38
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								package.json
									
									
									
									
									
								
							| @ -34,12 +34,12 @@ | |||||||
|     "postinstall": "rimraf ./node_modules/canvas" |     "postinstall": "rimraf ./node_modules/canvas" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@braintree/sanitize-url": "6.0.4", |     "@braintree/sanitize-url": "^7.1.0", | ||||||
|     "@electron/remote": "2.1.2", |     "@electron/remote": "2.1.2", | ||||||
|     "@excalidraw/excalidraw": "^0.17.6", |     "@excalidraw/excalidraw": "^0.17.6", | ||||||
|     "archiver": "7.0.0", |     "archiver": "^7.0.1", | ||||||
|     "async-mutex": "0.4.1", |     "async-mutex": "^0.5.0", | ||||||
|     "axios": "1.6.7", |     "axios": "^1.7.2", | ||||||
|     "better-sqlite3": "8.5.0", |     "better-sqlite3": "8.5.0", | ||||||
|     "boxicons": "2.1.4", |     "boxicons": "2.1.4", | ||||||
|     "chokidar": "3.6.0", |     "chokidar": "3.6.0", | ||||||
| @ -47,17 +47,17 @@ | |||||||
|     "compression": "1.7.4", |     "compression": "1.7.4", | ||||||
|     "cookie-parser": "1.4.6", |     "cookie-parser": "1.4.6", | ||||||
|     "csurf": "1.11.0", |     "csurf": "1.11.0", | ||||||
|     "dayjs": "1.11.10", |     "dayjs": "^1.11.12", | ||||||
|     "dayjs-plugin-utc": "0.1.2", |     "dayjs-plugin-utc": "0.1.2", | ||||||
|     "debounce": "1.2.1", |     "debounce": "^2.1.0", | ||||||
|     "ejs": "3.1.9", |     "ejs": "^3.1.10", | ||||||
|     "electron-debug": "3.2.0", |     "electron-debug": "3.2.0", | ||||||
|     "electron-dl": "3.5.2", |     "electron-dl": "3.5.2", | ||||||
|     "electron-window-state": "5.0.3", |     "electron-window-state": "5.0.3", | ||||||
|     "escape-html": "1.0.3", |     "escape-html": "1.0.3", | ||||||
|     "express": "4.18.3", |     "express": "^4.19.2", | ||||||
|     "express-partial-content": "1.0.2", |     "express-partial-content": "1.0.2", | ||||||
|     "express-rate-limit": "7.2.0", |     "express-rate-limit": "^7.3.1", | ||||||
|     "express-session": "1.18.0", |     "express-session": "1.18.0", | ||||||
|     "force-graph": "1.43.5", |     "force-graph": "1.43.5", | ||||||
|     "fs-extra": "11.2.0", |     "fs-extra": "11.2.0", | ||||||
| @ -65,18 +65,18 @@ | |||||||
|     "html": "1.0.0", |     "html": "1.0.0", | ||||||
|     "html2plaintext": "2.1.4", |     "html2plaintext": "2.1.4", | ||||||
|     "http-proxy-agent": "7.0.2", |     "http-proxy-agent": "7.0.2", | ||||||
|     "https-proxy-agent": "7.0.4", |     "https-proxy-agent": "^7.0.5", | ||||||
|     "image-type": "4.1.0", |     "image-type": "4.1.0", | ||||||
|     "ini": "3.0.1", |     "ini": "^4.1.3", | ||||||
|     "is-animated": "2.0.2", |     "is-animated": "2.0.2", | ||||||
|     "is-svg": "4.3.2", |     "is-svg": "4.3.2", | ||||||
|     "jimp": "0.22.12", |     "jimp": "0.22.12", | ||||||
|     "joplin-turndown-plugin-gfm": "1.0.12", |     "joplin-turndown-plugin-gfm": "1.0.12", | ||||||
|     "jquery": "3.7.1", |     "jquery": "3.7.1", | ||||||
|     "jquery-hotkeys": "0.2.2", |     "jquery-hotkeys": "0.2.2", | ||||||
|     "jsdom": "24.0.0", |     "jsdom": "^24.1.0", | ||||||
|     "katex": "^0.16.11", |     "katex": "^0.16.11", | ||||||
|     "marked": "12.0.0", |     "marked": "^13.0.2", | ||||||
|     "mermaid": "^10.9.1", |     "mermaid": "^10.9.1", | ||||||
|     "mime-types": "2.1.35", |     "mime-types": "2.1.35", | ||||||
|     "multer": "1.4.5-lts.1", |     "multer": "1.4.5-lts.1", | ||||||
| @ -91,9 +91,9 @@ | |||||||
|     "rimraf": "^6.0.1", |     "rimraf": "^6.0.1", | ||||||
|     "safe-compare": "1.1.4", |     "safe-compare": "1.1.4", | ||||||
|     "sanitize-filename": "1.6.3", |     "sanitize-filename": "1.6.3", | ||||||
|     "sanitize-html": "2.12.1", |     "sanitize-html": "^2.13.0", | ||||||
|     "sax": "1.3.0", |     "sax": "^1.4.1", | ||||||
|     "semver": "7.6.0", |     "semver": "^7.6.3", | ||||||
|     "serve-favicon": "2.5.0", |     "serve-favicon": "2.5.0", | ||||||
|     "session-file-store": "1.5.0", |     "session-file-store": "1.5.0", | ||||||
|     "split.js": "1.6.5", |     "split.js": "1.6.5", | ||||||
| @ -101,11 +101,11 @@ | |||||||
|     "striptags": "3.2.0", |     "striptags": "3.2.0", | ||||||
|     "tmp": "0.2.3", |     "tmp": "0.2.3", | ||||||
|     "tree-kill": "1.2.2", |     "tree-kill": "1.2.2", | ||||||
|     "turndown": "7.1.2", |     "turndown": "^7.2.0", | ||||||
|     "unescape": "1.0.1", |     "unescape": "1.0.1", | ||||||
|     "ws": "8.16.0", |     "ws": "^8.18.0", | ||||||
|     "xml2js": "0.6.2", |     "xml2js": "0.6.2", | ||||||
|     "yauzl": "3.1.2" |     "yauzl": "^3.1.3" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/archiver": "^6.0.2", |     "@types/archiver": "^6.0.2", | ||||||
|  | |||||||
| @ -5,7 +5,6 @@ import { JSDOM } from "jsdom"; | |||||||
| import BNote = require('../../becca/entities/bnote'); | import BNote = require('../../becca/entities/bnote'); | ||||||
| import BAttribute = require('../../becca/entities/battribute'); | import BAttribute = require('../../becca/entities/battribute'); | ||||||
| import { Request } from 'express'; | import { Request } from 'express'; | ||||||
| import ValidationError = require('../../errors/validation_error'); |  | ||||||
| 
 | 
 | ||||||
| function buildDescendantCountMap(noteIdsToCount: string[]) { | function buildDescendantCountMap(noteIdsToCount: string[]) { | ||||||
|     if (!Array.isArray(noteIdsToCount)) { |     if (!Array.isArray(noteIdsToCount)) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran