mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	docs improvements
This commit is contained in:
		
							
								
								
									
										272
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										272
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,16 +1,18 @@ | |||||||
| { | { | ||||||
|   "name": "trilium", |   "name": "trilium", | ||||||
|   "version": "0.58.2-beta", |   "version": "0.58.4", | ||||||
|   "lockfileVersion": 2, |   "lockfileVersion": 2, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "version": "0.58.2-beta", |       "name": "trilium", | ||||||
|  |       "version": "0.58.4", | ||||||
|       "hasInstallScript": true, |       "hasInstallScript": true, | ||||||
|       "license": "AGPL-3.0-only", |       "license": "AGPL-3.0-only", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|  |         "@braintree/sanitize-url": "6.0.2", | ||||||
|         "@electron/remote": "2.0.9", |         "@electron/remote": "2.0.9", | ||||||
|         "@excalidraw/excalidraw": "0.13.0", |         "@excalidraw/excalidraw": "0.14.0", | ||||||
|         "archiver": "5.3.1", |         "archiver": "5.3.1", | ||||||
|         "async-mutex": "0.4.0", |         "async-mutex": "0.4.0", | ||||||
|         "axios": "1.2.2", |         "axios": "1.2.2", | ||||||
| @@ -45,17 +47,17 @@ | |||||||
|         "is-svg": "4.3.2", |         "is-svg": "4.3.2", | ||||||
|         "jimp": "0.16.2", |         "jimp": "0.16.2", | ||||||
|         "joplin-turndown-plugin-gfm": "1.0.12", |         "joplin-turndown-plugin-gfm": "1.0.12", | ||||||
|         "jsdom": "20.0.3", |         "jsdom": "21.0.0", | ||||||
|         "mime-types": "2.1.35", |         "mime-types": "2.1.35", | ||||||
|         "multer": "1.4.5-lts.1", |         "multer": "1.4.5-lts.1", | ||||||
|         "node-abi": "3.30.0", |         "node-abi": "3.31.0", | ||||||
|         "normalize-strings": "1.1.1", |         "normalize-strings": "1.1.1", | ||||||
|         "open": "8.4.0", |         "open": "8.4.0", | ||||||
|         "rand-token": "1.0.1", |         "rand-token": "1.0.1", | ||||||
|         "react": "17.0.2", |         "react": "17.0.2", | ||||||
|         "react-dom": "17.0.2", |         "react-dom": "17.0.2", | ||||||
|         "request": "2.88.2", |         "request": "2.88.2", | ||||||
|         "rimraf": "3.0.2", |         "rimraf": "4.0.4", | ||||||
|         "safe-compare": "1.1.4", |         "safe-compare": "1.1.4", | ||||||
|         "sanitize-filename": "1.6.3", |         "sanitize-filename": "1.6.3", | ||||||
|         "sanitize-html": "2.8.1", |         "sanitize-html": "2.8.1", | ||||||
| @@ -68,7 +70,7 @@ | |||||||
|         "tmp": "0.2.1", |         "tmp": "0.2.1", | ||||||
|         "turndown": "7.1.1", |         "turndown": "7.1.1", | ||||||
|         "unescape": "1.0.1", |         "unescape": "1.0.1", | ||||||
|         "ws": "8.11.0", |         "ws": "8.12.0", | ||||||
|         "yauzl": "2.10.0" |         "yauzl": "2.10.0" | ||||||
|       }, |       }, | ||||||
|       "bin": { |       "bin": { | ||||||
| @@ -115,6 +117,11 @@ | |||||||
|         "node": ">=6.9.0" |         "node": ">=6.9.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/@braintree/sanitize-url": { | ||||||
|  |       "version": "6.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-6.0.2.tgz", | ||||||
|  |       "integrity": "sha512-Tbsj02wXCbqGmzdnXNk0SOF19ChhRU70BsroIi4Pm6Ehp56in6vch94mfbdQ17DozxkL3BAVjbZ4Qc1a0HFRAg==" | ||||||
|  |     }, | ||||||
|     "node_modules/@develar/schema-utils": { |     "node_modules/@develar/schema-utils": { | ||||||
|       "version": "2.6.5", |       "version": "2.6.5", | ||||||
|       "resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz", |       "resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz", | ||||||
| @@ -372,9 +379,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@excalidraw/excalidraw": { |     "node_modules/@excalidraw/excalidraw": { | ||||||
|       "version": "0.13.0", |       "version": "0.14.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.13.0.tgz", |       "resolved": "https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.14.0.tgz", | ||||||
|       "integrity": "sha512-TTi1hiUczfIj/kLQshh1EHUrXziEa5cwLF74TrlFQWwW9jhJIF73HplmqEMrfwwqt7CrypXRZtMzH1hhmZ3vbg==", |       "integrity": "sha512-bQsaS8YFqmy5FF9Dk6QbCXESaU0xAU8JpdhjkQrr9NworPlz+3Ue/Aa2cchVOMMPbGNcYdybYrfWU4TV0mwdag==", | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "react": "^17.0.2 || ^18.2.0", |         "react": "^17.0.2 || ^18.2.0", | ||||||
|         "react-dom": "^17.0.2 || ^18.2.0" |         "react-dom": "^17.0.2 || ^18.2.0" | ||||||
| @@ -923,6 +930,21 @@ | |||||||
|         "node": ">=10" |         "node": ">=10" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/@npmcli/move-file/node_modules/rimraf": { | ||||||
|  |       "version": "3.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "glob": "^7.1.3" | ||||||
|  |       }, | ||||||
|  |       "bin": { | ||||||
|  |         "rimraf": "bin.js" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/@sindresorhus/is": { |     "node_modules/@sindresorhus/is": { | ||||||
|       "version": "0.14.0", |       "version": "0.14.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", |       "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", | ||||||
| @@ -2355,6 +2377,63 @@ | |||||||
|         "node": ">=10" |         "node": ">=10" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/cacache/node_modules/rimraf": { | ||||||
|  |       "version": "3.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "glob": "^7.1.3" | ||||||
|  |       }, | ||||||
|  |       "bin": { | ||||||
|  |         "rimraf": "bin.js" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/cacache/node_modules/rimraf/node_modules/brace-expansion": { | ||||||
|  |       "version": "1.1.11", | ||||||
|  |       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||||||
|  |       "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "balanced-match": "^1.0.0", | ||||||
|  |         "concat-map": "0.0.1" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/cacache/node_modules/rimraf/node_modules/glob": { | ||||||
|  |       "version": "7.2.3", | ||||||
|  |       "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", | ||||||
|  |       "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "fs.realpath": "^1.0.0", | ||||||
|  |         "inflight": "^1.0.4", | ||||||
|  |         "inherits": "2", | ||||||
|  |         "minimatch": "^3.1.1", | ||||||
|  |         "once": "^1.3.0", | ||||||
|  |         "path-is-absolute": "^1.0.0" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "*" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/cacache/node_modules/rimraf/node_modules/minimatch": { | ||||||
|  |       "version": "3.1.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", | ||||||
|  |       "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "brace-expansion": "^1.1.7" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "*" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/cacheable-lookup": { |     "node_modules/cacheable-lookup": { | ||||||
|       "version": "5.0.4", |       "version": "5.0.4", | ||||||
|       "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", |       "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", | ||||||
| @@ -6527,9 +6606,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/jsdom": { |     "node_modules/jsdom": { | ||||||
|       "version": "20.0.3", |       "version": "21.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", |       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-21.0.0.tgz", | ||||||
|       "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", |       "integrity": "sha512-AIw+3ZakSUtDYvhwPwWHiZsUi3zHugpMEKlNPaurviseYoBqo0zBd3zqoUi3LPCNtPFlEP8FiW9MqCZdjb2IYA==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "abab": "^2.0.6", |         "abab": "^2.0.6", | ||||||
|         "acorn": "^8.8.1", |         "acorn": "^8.8.1", | ||||||
| @@ -7345,9 +7424,9 @@ | |||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "node_modules/node-abi": { |     "node_modules/node-abi": { | ||||||
|       "version": "3.30.0", |       "version": "3.31.0", | ||||||
|       "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.30.0.tgz", |       "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.31.0.tgz", | ||||||
|       "integrity": "sha512-qWO5l3SCqbwQavymOmtTVuCWZE23++S+rxyoHjXqUmPyzRcaoI4lA2gO55/drddGnedAyjA7sk76SfQ5lfUMnw==", |       "integrity": "sha512-eSKV6s+APenqVh8ubJyiu/YhZgxQpGP66ntzUb3lY1xB9ukSRaGnx0AIxI+IM+1+IVYC1oWobgG5L3Lt9ARykQ==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "semver": "^7.3.5" |         "semver": "^7.3.5" | ||||||
|       }, |       }, | ||||||
| @@ -7467,6 +7546,21 @@ | |||||||
|         "node": ">= 6" |         "node": ">= 6" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/node-gyp/node_modules/rimraf": { | ||||||
|  |       "version": "3.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "glob": "^7.1.3" | ||||||
|  |       }, | ||||||
|  |       "bin": { | ||||||
|  |         "rimraf": "bin.js" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/node-releases": { |     "node_modules/node-releases": { | ||||||
|       "version": "2.0.1", |       "version": "2.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", |       "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", | ||||||
| @@ -8609,14 +8703,14 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/rimraf": { |     "node_modules/rimraf": { | ||||||
|       "version": "3.0.2", |       "version": "4.0.4", | ||||||
|       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.4.tgz", | ||||||
|       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", |       "integrity": "sha512-R0hoVr9xTwemarQjoWlNt/nb5dEGVTBhVdkRmEX2zEkT8T6onH0XKiGjuaC7rNNj/gYzY2p4NVRJ3sjO1ascHQ==", | ||||||
|       "dependencies": { |  | ||||||
|         "glob": "^7.1.3" |  | ||||||
|       }, |  | ||||||
|       "bin": { |       "bin": { | ||||||
|         "rimraf": "bin.js" |         "rimraf": "dist/cjs/src/bin.js" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": ">=14" | ||||||
|       }, |       }, | ||||||
|       "funding": { |       "funding": { | ||||||
|         "url": "https://github.com/sponsors/isaacs" |         "url": "https://github.com/sponsors/isaacs" | ||||||
| @@ -9715,6 +9809,20 @@ | |||||||
|         "tmp": "^0.2.0" |         "tmp": "^0.2.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/tmp/node_modules/rimraf": { | ||||||
|  |       "version": "3.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |       "dependencies": { | ||||||
|  |         "glob": "^7.1.3" | ||||||
|  |       }, | ||||||
|  |       "bin": { | ||||||
|  |         "rimraf": "bin.js" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/to-readable-stream": { |     "node_modules/to-readable-stream": { | ||||||
|       "version": "1.0.0", |       "version": "1.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", |       "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", | ||||||
| @@ -10341,15 +10449,15 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/ws": { |     "node_modules/ws": { | ||||||
|       "version": "8.11.0", |       "version": "8.12.0", | ||||||
|       "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", |       "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz", | ||||||
|       "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", |       "integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==", | ||||||
|       "engines": { |       "engines": { | ||||||
|         "node": ">=10.0.0" |         "node": ">=10.0.0" | ||||||
|       }, |       }, | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "bufferutil": "^4.0.1", |         "bufferutil": "^4.0.1", | ||||||
|         "utf-8-validate": "^5.0.2" |         "utf-8-validate": ">=5.0.2" | ||||||
|       }, |       }, | ||||||
|       "peerDependenciesMeta": { |       "peerDependenciesMeta": { | ||||||
|         "bufferutil": { |         "bufferutil": { | ||||||
| @@ -10552,6 +10660,11 @@ | |||||||
|         "regenerator-runtime": "^0.13.4" |         "regenerator-runtime": "^0.13.4" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "@braintree/sanitize-url": { | ||||||
|  |       "version": "6.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-6.0.2.tgz", | ||||||
|  |       "integrity": "sha512-Tbsj02wXCbqGmzdnXNk0SOF19ChhRU70BsroIi4Pm6Ehp56in6vch94mfbdQ17DozxkL3BAVjbZ4Qc1a0HFRAg==" | ||||||
|  |     }, | ||||||
|     "@develar/schema-utils": { |     "@develar/schema-utils": { | ||||||
|       "version": "2.6.5", |       "version": "2.6.5", | ||||||
|       "resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz", |       "resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz", | ||||||
| @@ -10749,9 +10862,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@excalidraw/excalidraw": { |     "@excalidraw/excalidraw": { | ||||||
|       "version": "0.13.0", |       "version": "0.14.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.13.0.tgz", |       "resolved": "https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.14.0.tgz", | ||||||
|       "integrity": "sha512-TTi1hiUczfIj/kLQshh1EHUrXziEa5cwLF74TrlFQWwW9jhJIF73HplmqEMrfwwqt7CrypXRZtMzH1hhmZ3vbg==", |       "integrity": "sha512-bQsaS8YFqmy5FF9Dk6QbCXESaU0xAU8JpdhjkQrr9NworPlz+3Ue/Aa2cchVOMMPbGNcYdybYrfWU4TV0mwdag==", | ||||||
|       "requires": {} |       "requires": {} | ||||||
|     }, |     }, | ||||||
|     "@gar/promisify": { |     "@gar/promisify": { | ||||||
| @@ -11166,6 +11279,15 @@ | |||||||
|           "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", |           "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", | ||||||
|           "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", |           "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", | ||||||
|           "dev": true |           "dev": true | ||||||
|  |         }, | ||||||
|  |         "rimraf": { | ||||||
|  |           "version": "3.0.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |           "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |           "dev": true, | ||||||
|  |           "requires": { | ||||||
|  |             "glob": "^7.1.3" | ||||||
|  |           } | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @@ -12375,6 +12497,50 @@ | |||||||
|           "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", |           "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", | ||||||
|           "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", |           "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", | ||||||
|           "dev": true |           "dev": true | ||||||
|  |         }, | ||||||
|  |         "rimraf": { | ||||||
|  |           "version": "3.0.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |           "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |           "dev": true, | ||||||
|  |           "requires": { | ||||||
|  |             "glob": "^7.1.3" | ||||||
|  |           }, | ||||||
|  |           "dependencies": { | ||||||
|  |             "brace-expansion": { | ||||||
|  |               "version": "1.1.11", | ||||||
|  |               "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||||||
|  |               "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||||||
|  |               "dev": true, | ||||||
|  |               "requires": { | ||||||
|  |                 "balanced-match": "^1.0.0", | ||||||
|  |                 "concat-map": "0.0.1" | ||||||
|  |               } | ||||||
|  |             }, | ||||||
|  |             "glob": { | ||||||
|  |               "version": "7.2.3", | ||||||
|  |               "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", | ||||||
|  |               "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", | ||||||
|  |               "dev": true, | ||||||
|  |               "requires": { | ||||||
|  |                 "fs.realpath": "^1.0.0", | ||||||
|  |                 "inflight": "^1.0.4", | ||||||
|  |                 "inherits": "2", | ||||||
|  |                 "minimatch": "^3.1.1", | ||||||
|  |                 "once": "^1.3.0", | ||||||
|  |                 "path-is-absolute": "^1.0.0" | ||||||
|  |               } | ||||||
|  |             }, | ||||||
|  |             "minimatch": { | ||||||
|  |               "version": "3.1.2", | ||||||
|  |               "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", | ||||||
|  |               "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", | ||||||
|  |               "dev": true, | ||||||
|  |               "requires": { | ||||||
|  |                 "brace-expansion": "^1.1.7" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           } | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @@ -15550,9 +15716,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "jsdom": { |     "jsdom": { | ||||||
|       "version": "20.0.3", |       "version": "21.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", |       "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-21.0.0.tgz", | ||||||
|       "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", |       "integrity": "sha512-AIw+3ZakSUtDYvhwPwWHiZsUi3zHugpMEKlNPaurviseYoBqo0zBd3zqoUi3LPCNtPFlEP8FiW9MqCZdjb2IYA==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "abab": "^2.0.6", |         "abab": "^2.0.6", | ||||||
|         "acorn": "^8.8.1", |         "acorn": "^8.8.1", | ||||||
| @@ -16188,9 +16354,9 @@ | |||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "node-abi": { |     "node-abi": { | ||||||
|       "version": "3.30.0", |       "version": "3.31.0", | ||||||
|       "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.30.0.tgz", |       "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.31.0.tgz", | ||||||
|       "integrity": "sha512-qWO5l3SCqbwQavymOmtTVuCWZE23++S+rxyoHjXqUmPyzRcaoI4lA2gO55/drddGnedAyjA7sk76SfQ5lfUMnw==", |       "integrity": "sha512-eSKV6s+APenqVh8ubJyiu/YhZgxQpGP66ntzUb3lY1xB9ukSRaGnx0AIxI+IM+1+IVYC1oWobgG5L3Lt9ARykQ==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "semver": "^7.3.5" |         "semver": "^7.3.5" | ||||||
|       } |       } | ||||||
| @@ -16277,6 +16443,15 @@ | |||||||
|             "string_decoder": "^1.1.1", |             "string_decoder": "^1.1.1", | ||||||
|             "util-deprecate": "^1.0.1" |             "util-deprecate": "^1.0.1" | ||||||
|           } |           } | ||||||
|  |         }, | ||||||
|  |         "rimraf": { | ||||||
|  |           "version": "3.0.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |           "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |           "dev": true, | ||||||
|  |           "requires": { | ||||||
|  |             "glob": "^7.1.3" | ||||||
|  |           } | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @@ -17179,12 +17354,9 @@ | |||||||
|       "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" |       "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" | ||||||
|     }, |     }, | ||||||
|     "rimraf": { |     "rimraf": { | ||||||
|       "version": "3.0.2", |       "version": "4.0.4", | ||||||
|       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", |       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.4.tgz", | ||||||
|       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", |       "integrity": "sha512-R0hoVr9xTwemarQjoWlNt/nb5dEGVTBhVdkRmEX2zEkT8T6onH0XKiGjuaC7rNNj/gYzY2p4NVRJ3sjO1ascHQ==" | ||||||
|       "requires": { |  | ||||||
|         "glob": "^7.1.3" |  | ||||||
|       } |  | ||||||
|     }, |     }, | ||||||
|     "rndm": { |     "rndm": { | ||||||
|       "version": "1.2.0", |       "version": "1.2.0", | ||||||
| @@ -18005,6 +18177,16 @@ | |||||||
|       "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", |       "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "rimraf": "^3.0.0" |         "rimraf": "^3.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "rimraf": { | ||||||
|  |           "version": "3.0.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||||
|  |           "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||||
|  |           "requires": { | ||||||
|  |             "glob": "^7.1.3" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "tmp-promise": { |     "tmp-promise": { | ||||||
| @@ -18494,9 +18676,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "ws": { |     "ws": { | ||||||
|       "version": "8.11.0", |       "version": "8.12.0", | ||||||
|       "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", |       "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz", | ||||||
|       "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", |       "integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==", | ||||||
|       "requires": {} |       "requires": {} | ||||||
|     }, |     }, | ||||||
|     "xhr": { |     "xhr": { | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @@ -27,9 +27,9 @@ | |||||||
|     "postinstall": "rimraf ./node_modules/canvas" |     "postinstall": "rimraf ./node_modules/canvas" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@braintree/sanitize-url": "^6.0.2", |     "@braintree/sanitize-url": "6.0.2", | ||||||
|     "@electron/remote": "2.0.9", |     "@electron/remote": "2.0.9", | ||||||
|     "@excalidraw/excalidraw": "0.13.0", |     "@excalidraw/excalidraw": "0.14.0", | ||||||
|     "archiver": "5.3.1", |     "archiver": "5.3.1", | ||||||
|     "async-mutex": "0.4.0", |     "async-mutex": "0.4.0", | ||||||
|     "axios": "1.2.2", |     "axios": "1.2.2", | ||||||
| @@ -64,17 +64,17 @@ | |||||||
|     "is-svg": "4.3.2", |     "is-svg": "4.3.2", | ||||||
|     "jimp": "0.16.2", |     "jimp": "0.16.2", | ||||||
|     "joplin-turndown-plugin-gfm": "1.0.12", |     "joplin-turndown-plugin-gfm": "1.0.12", | ||||||
|     "jsdom": "20.0.3", |     "jsdom": "21.0.0", | ||||||
|     "mime-types": "2.1.35", |     "mime-types": "2.1.35", | ||||||
|     "multer": "1.4.5-lts.1", |     "multer": "1.4.5-lts.1", | ||||||
|     "node-abi": "3.30.0", |     "node-abi": "3.31.0", | ||||||
|     "normalize-strings": "1.1.1", |     "normalize-strings": "1.1.1", | ||||||
|     "open": "8.4.0", |     "open": "8.4.0", | ||||||
|     "rand-token": "1.0.1", |     "rand-token": "1.0.1", | ||||||
|     "react": "17.0.2", |     "react": "17.0.2", | ||||||
|     "react-dom": "17.0.2", |     "react-dom": "17.0.2", | ||||||
|     "request": "2.88.2", |     "request": "2.88.2", | ||||||
|     "rimraf": "3.0.2", |     "rimraf": "4.0.4", | ||||||
|     "safe-compare": "1.1.4", |     "safe-compare": "1.1.4", | ||||||
|     "sanitize-filename": "1.6.3", |     "sanitize-filename": "1.6.3", | ||||||
|     "sanitize-html": "2.8.1", |     "sanitize-html": "2.8.1", | ||||||
| @@ -87,7 +87,7 @@ | |||||||
|     "tmp": "0.2.1", |     "tmp": "0.2.1", | ||||||
|     "turndown": "7.1.1", |     "turndown": "7.1.1", | ||||||
|     "unescape": "1.0.1", |     "unescape": "1.0.1", | ||||||
|     "ws": "8.11.0", |     "ws": "8.12.0", | ||||||
|     "yauzl": "2.10.0" |     "yauzl": "2.10.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|   | |||||||
| @@ -17,7 +17,27 @@ addNavigationAndStyle(rootNoteMeta, WEB_TMP_DIR); | |||||||
| fs.writeFileSync(WEB_TMP_DIR + '/style.css', getCss()); | fs.writeFileSync(WEB_TMP_DIR + '/style.css', getCss()); | ||||||
|  |  | ||||||
| function getCss() { | function getCss() { | ||||||
|     return '* { color: red }'; |     return ` | ||||||
|  | body { | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: row-reverse; | ||||||
|  |     width: 1000px; | ||||||
|  |     margin: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .note-tree-nav { | ||||||
|  |     width: 200px; | ||||||
|  |     margin-right: 20px; | ||||||
|  |     overflow-x: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .note-tree-nav ul { | ||||||
|  |     padding-left: 20px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .content { | ||||||
|  |     width: 780px; | ||||||
|  | }`; | ||||||
| } | } | ||||||
|  |  | ||||||
| function addNavigationAndStyle(noteMeta, parentDirPath) { | function addNavigationAndStyle(noteMeta, parentDirPath) { | ||||||
|   | |||||||
| @@ -255,9 +255,11 @@ async function exportToZip(taskContext, branch, format, res, setHeaders = true) | |||||||
|     <base target="_parent"> |     <base target="_parent"> | ||||||
| </head> | </head> | ||||||
| <body> | <body> | ||||||
|   <h1>${utils.escapeHtml(title)}</h1> |   <div class="content"> | ||||||
|  |       <h1>${utils.escapeHtml(title)}</h1> | ||||||
|        |        | ||||||
|   <div class="ck-content">${content}</div> |       <div class="ck-content">${content}</div> | ||||||
|  |   </div> | ||||||
| </body> | </body> | ||||||
| </html>`; | </html>`; | ||||||
|             } |             } | ||||||
|   | |||||||
| @@ -42,7 +42,7 @@ scriptApiDocsRoot.dirFileName = scriptApiDocsRoot.dataFileName.substr(0, scriptA | |||||||
| scriptApiDocsRoot.children = getScriptApiMeta(); | scriptApiDocsRoot.children = getScriptApiMeta(); | ||||||
|  |  | ||||||
| fs.writeFileSync(META_PATH, JSON.stringify(meta, null, 2)); | fs.writeFileSync(META_PATH, JSON.stringify(meta, null, 2)); | ||||||
| const scriptApiDocsRootDir =  USER_GUIDE_DIR + scriptApiDocsRootFilePath.substr(0, scriptApiDocsRootFilePath.length - 5); | const scriptApiDocsRootDir =  USER_GUIDE_DIR + scriptApiDocsRootFilePath; | ||||||
|  |  | ||||||
| fs.mkdirSync(scriptApiDocsRootDir, {recursive: true}); | fs.mkdirSync(scriptApiDocsRootDir, {recursive: true}); | ||||||
| fs.mkdirSync(scriptApiDocsRootDir + '/BackendScriptApi', {recursive: true}); | fs.mkdirSync(scriptApiDocsRootDir + '/BackendScriptApi', {recursive: true}); | ||||||
| @@ -55,12 +55,12 @@ fs.copyFileSync(TMP_BE_DOCS + '/BackendScriptApi.html', BE_ROOT); | |||||||
| fs.copyFileSync(TMP_FE_DOCS + '/FrontendScriptApi.html', FE_ROOT); | fs.copyFileSync(TMP_FE_DOCS + '/FrontendScriptApi.html', FE_ROOT); | ||||||
|  |  | ||||||
| for (const file of BE_FILES) { | for (const file of BE_FILES) { | ||||||
|     fs.copyFileSync(TMP_BE_DOCS + '/' + file + '.html', scriptApiDocsRootDir + '/BackendScriptApi/' + file + '.html'); |     fs.copyFileSync(TMP_BE_DOCS + '/' + file + '.html', `${scriptApiDocsRootDir}/BackendScriptApi/${file}.html`); | ||||||
| } | } | ||||||
| rewriteLinks(BE_ROOT, BE_FILES, 'BackendScriptApi'); | rewriteLinks(BE_ROOT, BE_FILES, 'BackendScriptApi'); | ||||||
|  |  | ||||||
| for (const file of FE_FILES) { | for (const file of FE_FILES) { | ||||||
|     fs.copyFileSync(TMP_FE_DOCS + '/' + file + '.html', scriptApiDocsRootDir + '/FrontendScriptApi/' + file + '.html'); |     fs.copyFileSync(TMP_FE_DOCS + '/' + file + '.html', `${scriptApiDocsRootDir}/FrontendScriptApi/${file}.html`); | ||||||
| } | } | ||||||
| rewriteLinks(FE_ROOT, FE_FILES, 'FrontendScriptApi'); | rewriteLinks(FE_ROOT, FE_FILES, 'FrontendScriptApi'); | ||||||
|  |  | ||||||
| @@ -141,7 +141,7 @@ function findNoteMeta(noteMeta, name, notePath) { | |||||||
|     if (noteMeta.title === name) { |     if (noteMeta.title === name) { | ||||||
|         return { |         return { | ||||||
|             noteMeta, |             noteMeta, | ||||||
|             filePath: '/' + noteMeta.dataFileName, |             filePath: '/' + noteMeta.dirFileName, | ||||||
|             notePath |             notePath | ||||||
|         }; |         }; | ||||||
|     } |     } | ||||||
| @@ -152,7 +152,7 @@ function findNoteMeta(noteMeta, name, notePath) { | |||||||
|         if (ret) { |         if (ret) { | ||||||
|             return { |             return { | ||||||
|                 noteMeta: ret.noteMeta, |                 noteMeta: ret.noteMeta, | ||||||
|                 filePath: '/' + noteMeta.dirFileName + ret.path, |                 filePath: '/' + noteMeta.dirFileName + ret.filePath, | ||||||
|                 notePath: ret.notePath |                 notePath: ret.notePath | ||||||
|             }; |             }; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user