Skip to content

Commit

Permalink
update: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
canwdev committed Jul 4, 2023
1 parent 54bc146 commit 9d0d5c4
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 347 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# KeeNote V4

A safe note editor server & web client, powered by KeePass (kdbxweb) + Nest.js / Electron + Vue 3 (NaiveUI)
A secure note-editing web & desktop client, powered by KeePass (kdbxweb) + Nest.js + Vue 3 (NaiveUI)

![screenshot](./nest/test/screenshot1.jpg)
![screenshot](./nest/test/screenshot2.jpg)

## Directory Structure

- `electron` App based backend, communicate frontend with IPC
- `nest` Web based backend, communicate frontend with HTTP (Support encryption)
- `vue` Frontend folder, adapt backend(Election or Nest) automatically
- `electron` App based backend, front end communicates with IPC
- `nest` Web-based backend, front-end communicates via HTTP (supports encryption)
- `vue` Frontend folder, automatically adapt backend (Election or Nest)

## Quick Start Development

Expand Down
18 changes: 9 additions & 9 deletions electron/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "kee-note",
"appName": "KeeNote",
"version": "4.0.5",
"description": "A encrypted note editor, powered by KeePass.",
"version": "4.0.6",
"description": "An encrypted note editor powered by KeePass.",
"license": "GPLV3",
"author": "canwdev",
"main": "dist-src/main.js",
Expand All @@ -15,21 +15,21 @@
"build": "npm run build-src && electron-builder --dir"
},
"devDependencies": {
"@babel/eslint-parser": "^7.21.3",
"@babel/eslint-parser": "^7.22.5",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.16.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"electron": "^24.1.2",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"electron": "^24.6.1",
"electron-builder": "^23.6.0",
"eslint": "8.22.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.8.8",
"typescript": "^5.0.4"
"typescript": "^5.1.6"
},
"dependencies": {
"@electron/remote": "^2.0.9",
"@electron/remote": "^2.0.10",
"cross-env": "^7.0.3",
"electron-store": "^8.1.0",
"fs-extra": "^10.1.0",
Expand Down
142 changes: 76 additions & 66 deletions electron/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
resolved "https://registry.npmmirror.com/7zip-bin/-/7zip-bin-5.1.1.tgz#9274ec7460652f9c632c59addf24efb1684ef876"
integrity sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==

"@babel/eslint-parser@^7.21.3":
version "7.21.3"
resolved "https://registry.npmmirror.com/@babel/eslint-parser/-/eslint-parser-7.21.3.tgz#d79e822050f2de65d7f368a076846e7184234af7"
integrity sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==
"@babel/eslint-parser@^7.22.5":
version "7.22.5"
resolved "https://registry.npmmirror.com/@babel/eslint-parser/-/eslint-parser-7.22.5.tgz#fa032503b9e2d188e25b1b95d29e8b8431042d78"
integrity sha512-C69RWYNYtrgIRE5CmTd77ZiLDXqgBipahJc/jHP3sLcAGj6AJzxNIuKNpVnICqbyK7X3pFUfEvL++rvtbQpZkQ==
dependencies:
"@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1"
eslint-visitor-keys "^2.1.0"
Expand Down Expand Up @@ -39,10 +39,10 @@
optionalDependencies:
global-agent "^3.0.0"

"@electron/remote@^2.0.9":
version "2.0.9"
resolved "https://registry.npmmirror.com/@electron/remote/-/remote-2.0.9.tgz#092ff085407bc907f45b89a72c36faa773ccf2d9"
integrity sha512-LR0W0ID6WAKHaSs0x5LX9aiG+5pFBNAJL6eQAJfGkCuZPUa6nZz+czZLdlTDETG45CgF/0raSvCtYOYUpr6c+A==
"@electron/remote@^2.0.10":
version "2.0.10"
resolved "https://registry.npmmirror.com/@electron/remote/-/remote-2.0.10.tgz#133e2f607b1861ac249bd78b5abd1e961feed713"
integrity sha512-3SFKKaQXcyWgwmibud+UqJl/XlHOgLcI3fwtB9pNelPSJAcTxocOJrF6FaxBIQaj1+R05Di6xuAswZpXAW7xhA==

"@electron/universal@1.2.1":
version "1.2.1"
Expand Down Expand Up @@ -229,11 +229,16 @@
resolved "https://registry.npmmirror.com/@types/node/-/node-18.7.18.tgz#633184f55c322e4fb08612307c274ee6d5ed3154"
integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==

"@types/node@^18.11.18", "@types/node@^18.16.0":
"@types/node@^18.11.18":
version "18.16.0"
resolved "https://registry.npmmirror.com/@types/node/-/node-18.16.0.tgz#4668bc392bb6938637b47e98b1f2ed5426f33316"
integrity sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ==

"@types/node@^20.3.3":
version "20.3.3"
resolved "https://registry.npmmirror.com/@types/node/-/node-20.3.3.tgz#329842940042d2b280897150e023e604d11657d6"
integrity sha512-wheIYdr4NYML61AjC8MKj/2jrR/kDQri/CIpVoZwldwhnIrD/j9jIU5bJ8yBKuB2VhpFV7Ab6G2XkBjv9r9Zzw==

"@types/plist@^3.0.1":
version "3.0.2"
resolved "https://registry.npmmirror.com/@types/plist/-/plist-3.0.2.tgz#61b3727bba0f5c462fe333542534a0c3e19ccb01"
Expand Down Expand Up @@ -278,88 +283,88 @@
dependencies:
"@types/node" "*"

"@typescript-eslint/eslint-plugin@^5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.0.tgz#c0e10eeb936debe5d1c3433cf36206a95befefd0"
integrity sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==
"@typescript-eslint/eslint-plugin@^5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz#a1a5290cf33863b4db3fb79350b3c5275a7b1223"
integrity sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==
dependencies:
"@eslint-community/regexpp" "^4.4.0"
"@typescript-eslint/scope-manager" "5.59.0"
"@typescript-eslint/type-utils" "5.59.0"
"@typescript-eslint/utils" "5.59.0"
"@typescript-eslint/scope-manager" "5.61.0"
"@typescript-eslint/type-utils" "5.61.0"
"@typescript-eslint/utils" "5.61.0"
debug "^4.3.4"
grapheme-splitter "^1.0.4"
graphemer "^1.4.0"
ignore "^5.2.0"
natural-compare-lite "^1.4.0"
semver "^7.3.7"
tsutils "^3.21.0"

"@typescript-eslint/parser@^5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.59.0.tgz#0ad7cd019346cc5d150363f64869eca10ca9977c"
integrity sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==
"@typescript-eslint/parser@^5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.61.0.tgz#7fbe3e2951904bb843f8932ebedd6e0635bffb70"
integrity sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==
dependencies:
"@typescript-eslint/scope-manager" "5.59.0"
"@typescript-eslint/types" "5.59.0"
"@typescript-eslint/typescript-estree" "5.59.0"
"@typescript-eslint/scope-manager" "5.61.0"
"@typescript-eslint/types" "5.61.0"
"@typescript-eslint/typescript-estree" "5.61.0"
debug "^4.3.4"

"@typescript-eslint/scope-manager@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz#86501d7a17885710b6716a23be2e93fc54a4fe8c"
integrity sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==
"@typescript-eslint/scope-manager@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz#b670006d069c9abe6415c41f754b1b5d949ef2b2"
integrity sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==
dependencies:
"@typescript-eslint/types" "5.59.0"
"@typescript-eslint/visitor-keys" "5.59.0"
"@typescript-eslint/types" "5.61.0"
"@typescript-eslint/visitor-keys" "5.61.0"

"@typescript-eslint/type-utils@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.59.0.tgz#8e8d1420fc2265989fa3a0d897bde37f3851e8c9"
integrity sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==
"@typescript-eslint/type-utils@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz#e90799eb2045c4435ea8378cb31cd8a9fddca47a"
integrity sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==
dependencies:
"@typescript-eslint/typescript-estree" "5.59.0"
"@typescript-eslint/utils" "5.59.0"
"@typescript-eslint/typescript-estree" "5.61.0"
"@typescript-eslint/utils" "5.61.0"
debug "^4.3.4"
tsutils "^3.21.0"

"@typescript-eslint/types@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.59.0.tgz#3fcdac7dbf923ec5251545acdd9f1d42d7c4fe32"
integrity sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==
"@typescript-eslint/types@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.61.0.tgz#e99ff11b5792d791554abab0f0370936d8ca50c0"
integrity sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==

"@typescript-eslint/typescript-estree@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz#8869156ee1dcfc5a95be3ed0e2809969ea28e965"
integrity sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==
"@typescript-eslint/typescript-estree@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz#4c7caca84ce95bb41aa585d46a764bcc050b92f3"
integrity sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==
dependencies:
"@typescript-eslint/types" "5.59.0"
"@typescript-eslint/visitor-keys" "5.59.0"
"@typescript-eslint/types" "5.61.0"
"@typescript-eslint/visitor-keys" "5.61.0"
debug "^4.3.4"
globby "^11.1.0"
is-glob "^4.0.3"
semver "^7.3.7"
tsutils "^3.21.0"

"@typescript-eslint/utils@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.59.0.tgz#063d066b3bc4850c18872649ed0da9ee72d833d5"
integrity sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==
"@typescript-eslint/utils@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.61.0.tgz#5064838a53e91c754fffbddd306adcca3fe0af36"
integrity sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@types/json-schema" "^7.0.9"
"@types/semver" "^7.3.12"
"@typescript-eslint/scope-manager" "5.59.0"
"@typescript-eslint/types" "5.59.0"
"@typescript-eslint/typescript-estree" "5.59.0"
"@typescript-eslint/scope-manager" "5.61.0"
"@typescript-eslint/types" "5.61.0"
"@typescript-eslint/typescript-estree" "5.61.0"
eslint-scope "^5.1.1"
semver "^7.3.7"

"@typescript-eslint/visitor-keys@5.59.0":
version "5.59.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz#a59913f2bf0baeb61b5cfcb6135d3926c3854365"
integrity sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==
"@typescript-eslint/visitor-keys@5.61.0":
version "5.61.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz#c79414fa42158fd23bd2bb70952dc5cdbb298140"
integrity sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==
dependencies:
"@typescript-eslint/types" "5.59.0"
"@typescript-eslint/types" "5.61.0"
eslint-visitor-keys "^3.3.0"

"@xmldom/xmldom@^0.7.4":
Expand Down Expand Up @@ -986,10 +991,10 @@ electron-store@^8.1.0:
conf "^10.2.0"
type-fest "^2.17.0"

electron@^24.1.2:
version "24.1.2"
resolved "https://registry.npmmirror.com/electron/-/electron-24.1.2.tgz#8dd0b4928a08236be4791d39535d1d35cc05f04b"
integrity sha512-V0isWbyLYiXrSCcB4lrSVhS/U56NFGfuqHyc+yEPkyhhvY+h4F85cYGdEiZlXp6XjHT+/CLHmw0ltK54g9lvDw==
electron@^24.6.1:
version "24.6.1"
resolved "https://registry.npmmirror.com/electron/-/electron-24.6.1.tgz#f3577a553c9b50295395f1688dd84f96affae289"
integrity sha512-SXbRtatpvBqtOwlOiEbaI47Repspz5a/qoaNZ+GB3DLhi9Z0r28t14pu+a9nXgX5tXj8lOfN8D9wmwVYdo4TAg==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^18.11.18"
Expand Down Expand Up @@ -1446,6 +1451,11 @@ grapheme-splitter@^1.0.4:
resolved "https://registry.npmmirror.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e"
integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==

graphemer@^1.4.0:
version "1.4.0"
resolved "https://registry.npmmirror.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==

has-flag@^4.0.0:
version "4.0.0"
resolved "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
Expand Down Expand Up @@ -2349,10 +2359,10 @@ type-fest@^2.17.0:
resolved "https://registry.npmmirror.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b"
integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==

typescript@^5.0.4:
version "5.0.4"
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==
typescript@^5.1.6:
version "5.1.6"
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==

universalify@^0.1.0:
version "0.1.2"
Expand Down
32 changes: 16 additions & 16 deletions vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,45 @@
"preview": "vite preview"
},
"dependencies": {
"@popperjs/core": "^2.0.0",
"@popperjs/core": "^2.11.8",
"@vueuse/core": "^9.13.0",
"axios": "^0.27.2",
"bcryptjs": "^2.4.3",
"codemirror": "5.65.8",
"crypto-js": "^4.1.1",
"file-type": "^18.4.0",
"file-type": "^18.5.0",
"hypermd": "^0.3.11",
"js-cookie": "^3.0.4",
"js-cookie": "^3.0.5",
"marked": "^4.3.0",
"mime": "^3.0.0",
"mitt": "^3.0.0",
"normalize.css": "^8.0.1",
"pinia": "^2.0.35",
"pinia": "^2.1.4",
"solarlunar": "^2.0.7",
"v-calendar": "^3.0.3",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
"vue": "^3.3.4",
"vue-router": "^4.2.2"
},
"devDependencies": {
"@types/codemirror": "^5.60.7",
"@types/codemirror": "^5.60.8",
"@types/js-cookie": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vicons/fluent": "^0.12.0",
"@vitejs/plugin-vue": "^4.1.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"eslint": "^8.39.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.11.0",
"naive-ui": "^2.34.3",
"eslint-plugin-vue": "^9.15.1",
"naive-ui": "^2.34.4",
"prettier": "^2.8.8",
"sass": "^1.62.0",
"typescript": "^5.0.4",
"sass": "^1.63.6",
"typescript": "^5.1.6",
"unplugin-auto-import": "^0.15.3",
"unplugin-vue-components": "^0.24.1",
"vfonts": "^0.0.3",
"vite": "^4.3.1",
"vite": "^4.3.9",
"vue-tsc": "^0.38.4"
},
"resolutions": {
Expand Down
Loading

0 comments on commit 9d0d5c4

Please sign in to comment.