mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	server: Update jsdom
This commit is contained in:
		
							parent
							
								
									abd860754f
								
							
						
					
					
						commit
						af726eff6c
					
				
							
								
								
									
										98
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										98
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -50,7 +50,7 @@ | |||||||
|         "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": "^13.0.2", |         "marked": "^13.0.2", | ||||||
|         "mermaid": "^10.9.1", |         "mermaid": "^10.9.1", | ||||||
| @ -8233,30 +8233,30 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/jsdom": { |     "node_modules/jsdom": { | ||||||
|       "version": "24.0.0", |       "version": "24.1.0", | ||||||
|       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.0.0.tgz", |       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.1.0.tgz", | ||||||
|       "integrity": "sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==", |       "integrity": "sha512-6gpM7pRXCwIOKxX47cgOyvyQDN/Eh0f1MeKySBV2xGdKtqJBLj8P25eY3EVCWo2mglDDzozR2r2MW4T+JiNUZA==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "cssstyle": "^4.0.1", |         "cssstyle": "^4.0.1", | ||||||
|         "data-urls": "^5.0.0", |         "data-urls": "^5.0.0", | ||||||
|         "decimal.js": "^10.4.3", |         "decimal.js": "^10.4.3", | ||||||
|         "form-data": "^4.0.0", |         "form-data": "^4.0.0", | ||||||
|         "html-encoding-sniffer": "^4.0.0", |         "html-encoding-sniffer": "^4.0.0", | ||||||
|         "http-proxy-agent": "^7.0.0", |         "http-proxy-agent": "^7.0.2", | ||||||
|         "https-proxy-agent": "^7.0.2", |         "https-proxy-agent": "^7.0.4", | ||||||
|         "is-potential-custom-element-name": "^1.0.1", |         "is-potential-custom-element-name": "^1.0.1", | ||||||
|         "nwsapi": "^2.2.7", |         "nwsapi": "^2.2.10", | ||||||
|         "parse5": "^7.1.2", |         "parse5": "^7.1.2", | ||||||
|         "rrweb-cssom": "^0.6.0", |         "rrweb-cssom": "^0.7.0", | ||||||
|         "saxes": "^6.0.0", |         "saxes": "^6.0.0", | ||||||
|         "symbol-tree": "^3.2.4", |         "symbol-tree": "^3.2.4", | ||||||
|         "tough-cookie": "^4.1.3", |         "tough-cookie": "^4.1.4", | ||||||
|         "w3c-xmlserializer": "^5.0.0", |         "w3c-xmlserializer": "^5.0.0", | ||||||
|         "webidl-conversions": "^7.0.0", |         "webidl-conversions": "^7.0.0", | ||||||
|         "whatwg-encoding": "^3.1.1", |         "whatwg-encoding": "^3.1.1", | ||||||
|         "whatwg-mimetype": "^4.0.0", |         "whatwg-mimetype": "^4.0.0", | ||||||
|         "whatwg-url": "^14.0.0", |         "whatwg-url": "^14.0.0", | ||||||
|         "ws": "^8.16.0", |         "ws": "^8.17.0", | ||||||
|         "xml-name-validator": "^5.0.0" |         "xml-name-validator": "^5.0.0" | ||||||
|       }, |       }, | ||||||
|       "engines": { |       "engines": { | ||||||
| @ -8306,6 +8306,31 @@ | |||||||
|         "url": "https://github.com/inikulin/parse5?sponsor=1" |         "url": "https://github.com/inikulin/parse5?sponsor=1" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/jsdom/node_modules/rrweb-cssom": { | ||||||
|  |       "version": "0.7.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz", | ||||||
|  |       "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==" | ||||||
|  |     }, | ||||||
|  |     "node_modules/jsdom/node_modules/ws": { | ||||||
|  |       "version": "8.18.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", | ||||||
|  |       "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", | ||||||
|  |       "engines": { | ||||||
|  |         "node": ">=10.0.0" | ||||||
|  |       }, | ||||||
|  |       "peerDependencies": { | ||||||
|  |         "bufferutil": "^4.0.1", | ||||||
|  |         "utf-8-validate": ">=5.0.2" | ||||||
|  |       }, | ||||||
|  |       "peerDependenciesMeta": { | ||||||
|  |         "bufferutil": { | ||||||
|  |           "optional": true | ||||||
|  |         }, | ||||||
|  |         "utf-8-validate": { | ||||||
|  |           "optional": true | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/json-buffer": { |     "node_modules/json-buffer": { | ||||||
|       "version": "3.0.1", |       "version": "3.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", |       "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", | ||||||
| @ -9959,9 +9984,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/nwsapi": { |     "node_modules/nwsapi": { | ||||||
|       "version": "2.2.7", |       "version": "2.2.12", | ||||||
|       "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz", |       "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.12.tgz", | ||||||
|       "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==" |       "integrity": "sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==" | ||||||
|     }, |     }, | ||||||
|     "node_modules/oauth-sign": { |     "node_modules/oauth-sign": { | ||||||
|       "version": "0.9.0", |       "version": "0.9.0", | ||||||
| @ -12486,9 +12511,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/tough-cookie": { |     "node_modules/tough-cookie": { | ||||||
|       "version": "4.1.3", |       "version": "4.1.4", | ||||||
|       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", |       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", | ||||||
|       "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", |       "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "psl": "^1.1.33", |         "psl": "^1.1.33", | ||||||
|         "punycode": "^2.1.1", |         "punycode": "^2.1.1", | ||||||
| @ -19829,30 +19854,30 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "jsdom": { |     "jsdom": { | ||||||
|       "version": "24.0.0", |       "version": "24.1.0", | ||||||
|       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.0.0.tgz", |       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.1.0.tgz", | ||||||
|       "integrity": "sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==", |       "integrity": "sha512-6gpM7pRXCwIOKxX47cgOyvyQDN/Eh0f1MeKySBV2xGdKtqJBLj8P25eY3EVCWo2mglDDzozR2r2MW4T+JiNUZA==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "cssstyle": "^4.0.1", |         "cssstyle": "^4.0.1", | ||||||
|         "data-urls": "^5.0.0", |         "data-urls": "^5.0.0", | ||||||
|         "decimal.js": "^10.4.3", |         "decimal.js": "^10.4.3", | ||||||
|         "form-data": "^4.0.0", |         "form-data": "^4.0.0", | ||||||
|         "html-encoding-sniffer": "^4.0.0", |         "html-encoding-sniffer": "^4.0.0", | ||||||
|         "http-proxy-agent": "^7.0.0", |         "http-proxy-agent": "^7.0.2", | ||||||
|         "https-proxy-agent": "^7.0.2", |         "https-proxy-agent": "^7.0.4", | ||||||
|         "is-potential-custom-element-name": "^1.0.1", |         "is-potential-custom-element-name": "^1.0.1", | ||||||
|         "nwsapi": "^2.2.7", |         "nwsapi": "^2.2.10", | ||||||
|         "parse5": "^7.1.2", |         "parse5": "^7.1.2", | ||||||
|         "rrweb-cssom": "^0.6.0", |         "rrweb-cssom": "^0.7.0", | ||||||
|         "saxes": "^6.0.0", |         "saxes": "^6.0.0", | ||||||
|         "symbol-tree": "^3.2.4", |         "symbol-tree": "^3.2.4", | ||||||
|         "tough-cookie": "^4.1.3", |         "tough-cookie": "^4.1.4", | ||||||
|         "w3c-xmlserializer": "^5.0.0", |         "w3c-xmlserializer": "^5.0.0", | ||||||
|         "webidl-conversions": "^7.0.0", |         "webidl-conversions": "^7.0.0", | ||||||
|         "whatwg-encoding": "^3.1.1", |         "whatwg-encoding": "^3.1.1", | ||||||
|         "whatwg-mimetype": "^4.0.0", |         "whatwg-mimetype": "^4.0.0", | ||||||
|         "whatwg-url": "^14.0.0", |         "whatwg-url": "^14.0.0", | ||||||
|         "ws": "^8.16.0", |         "ws": "^8.17.0", | ||||||
|         "xml-name-validator": "^5.0.0" |         "xml-name-validator": "^5.0.0" | ||||||
|       }, |       }, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
| @ -19878,6 +19903,17 @@ | |||||||
|           "requires": { |           "requires": { | ||||||
|             "entities": "^4.4.0" |             "entities": "^4.4.0" | ||||||
|           } |           } | ||||||
|  |         }, | ||||||
|  |         "rrweb-cssom": { | ||||||
|  |           "version": "0.7.1", | ||||||
|  |           "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz", | ||||||
|  |           "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==" | ||||||
|  |         }, | ||||||
|  |         "ws": { | ||||||
|  |           "version": "8.18.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", | ||||||
|  |           "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", | ||||||
|  |           "requires": {} | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @ -21057,9 +21093,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nwsapi": { |     "nwsapi": { | ||||||
|       "version": "2.2.7", |       "version": "2.2.12", | ||||||
|       "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz", |       "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.12.tgz", | ||||||
|       "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==" |       "integrity": "sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==" | ||||||
|     }, |     }, | ||||||
|     "oauth-sign": { |     "oauth-sign": { | ||||||
|       "version": "0.9.0", |       "version": "0.9.0", | ||||||
| @ -23010,9 +23046,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "tough-cookie": { |     "tough-cookie": { | ||||||
|       "version": "4.1.3", |       "version": "4.1.4", | ||||||
|       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", |       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", | ||||||
|       "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", |       "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "psl": "^1.1.33", |         "psl": "^1.1.33", | ||||||
|         "punycode": "^2.1.1", |         "punycode": "^2.1.1", | ||||||
|  | |||||||
| @ -74,7 +74,7 @@ | |||||||
|     "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": "^13.0.2", |     "marked": "^13.0.2", | ||||||
|     "mermaid": "^10.9.1", |     "mermaid": "^10.9.1", | ||||||
|  | |||||||
| @ -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