From a17efcf4d3ddaddc850678f79755749232b9308e Mon Sep 17 00:00:00 2001
From: Ren Amamiya <123083837+reyamir@users.noreply.github.com>
Date: Sat, 29 Jul 2023 07:26:51 +0700
Subject: [PATCH 01/34] update deps
---
package.json | 8 +-
pnpm-lock.yaml | 374 ++++++++++++++++++++++++-------------------
src-tauri/Cargo.lock | 48 +++---
3 files changed, 234 insertions(+), 196 deletions(-)
diff --git a/package.json b/package.json
index 0f8e53b8..fbe41d60 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"**/*.{ts, tsx, css, md, html, json}": "prettier --cache --write"
},
"dependencies": {
- "@headlessui/react": "^1.7.15",
+ "@headlessui/react": "^1.7.16",
"@nostr-dev-kit/ndk": "^0.7.7",
"@nostr-fetch/adapter-ndk": "^0.11.0",
"@radix-ui/react-dialog": "^1.0.4",
@@ -37,7 +37,7 @@
"cheerio": "1.0.0-rc.12",
"dayjs": "^1.11.9",
"destr": "^1.2.2",
- "framer-motion": "^10.13.1",
+ "framer-motion": "^10.15.0",
"get-urls": "^11.0.0",
"html-to-text": "^9.0.5",
"immer": "^10.0.2",
@@ -79,8 +79,8 @@
"cross-env": "^7.0.3",
"csstype": "^3.1.2",
"encoding": "^0.1.13",
- "eslint": "^8.45.0",
- "eslint-config-prettier": "^8.8.0",
+ "eslint": "^8.46.0",
+ "eslint-config-prettier": "^8.9.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9bd22ac2..2ec75f69 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2,8 +2,8 @@ lockfileVersion: '6.0'
dependencies:
'@headlessui/react':
- specifier: ^1.7.15
- version: 1.7.15(react-dom@18.2.0)(react@18.2.0)
+ specifier: ^1.7.16
+ version: 1.7.16(react-dom@18.2.0)(react@18.2.0)
'@nostr-dev-kit/ndk':
specifier: ^0.7.7
version: 0.7.7(typescript@4.9.5)
@@ -62,8 +62,8 @@ dependencies:
specifier: ^1.2.2
version: 1.2.2
framer-motion:
- specifier: ^10.13.1
- version: 10.13.1(react-dom@18.2.0)(react@18.2.0)
+ specifier: ^10.15.0
+ version: 10.15.0(react-dom@18.2.0)(react@18.2.0)
get-urls:
specifier: ^11.0.0
version: 11.0.0
@@ -120,16 +120,16 @@ dependencies:
version: 1.14.0
tauri-plugin-autostart-api:
specifier: github:tauri-apps/tauri-plugin-autostart#v1
- version: github.com/tauri-apps/tauri-plugin-autostart/5f6b99fda5afc1e38976307b1cbede15a572c57d
+ version: github.com/tauri-apps/tauri-plugin-autostart/0e474395d4990587ad5c1db25ed23220fe11764f
tauri-plugin-sql-api:
specifier: github:tauri-apps/tauri-plugin-sql
- version: github.com/tauri-apps/tauri-plugin-sql/a956efd2ddba019ceaebe4a38b7d0352bad19884
+ version: github.com/tauri-apps/tauri-plugin-sql/b8fd19dac907cc8c3d78681cd4803a326b8b861e
tauri-plugin-stronghold-api:
specifier: github:tauri-apps/tauri-plugin-stronghold#v1
- version: github.com/tauri-apps/tauri-plugin-stronghold/2e60980e85f6313a63c35e08a1b2078f3af9c724
+ version: github.com/tauri-apps/tauri-plugin-stronghold/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43
tauri-plugin-upload-api:
specifier: github:tauri-apps/tauri-plugin-upload#v1
- version: github.com/tauri-apps/tauri-plugin-upload/0323acf546ecb4121ff54dfccf6153c7715741a8
+ version: github.com/tauri-apps/tauri-plugin-upload/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb
tippy.js:
specifier: ^6.3.7
version: 6.3.7
@@ -164,10 +164,10 @@ devDependencies:
version: 5.5.7
'@typescript-eslint/eslint-plugin':
specifier: ^5.62.0
- version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.45.0)(typescript@4.9.5)
+ version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@4.9.5)
'@typescript-eslint/parser':
specifier: ^5.62.0
- version: 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ version: 5.62.0(eslint@8.46.0)(typescript@4.9.5)
'@vitejs/plugin-react-swc':
specifier: ^3.3.2
version: 3.3.2(vite@4.4.7)
@@ -184,20 +184,20 @@ devDependencies:
specifier: ^0.1.13
version: 0.1.13
eslint:
- specifier: ^8.45.0
- version: 8.45.0
+ specifier: ^8.46.0
+ version: 8.46.0
eslint-config-prettier:
- specifier: ^8.8.0
- version: 8.8.0(eslint@8.45.0)
+ specifier: ^8.9.0
+ version: 8.9.0(eslint@8.46.0)
eslint-plugin-jsx-a11y:
specifier: ^6.7.1
- version: 6.7.1(eslint@8.45.0)
+ version: 6.7.1(eslint@8.46.0)
eslint-plugin-react:
specifier: ^7.33.0
- version: 7.33.0(eslint@8.45.0)
+ version: 7.33.0(eslint@8.46.0)
eslint-plugin-simple-import-sort:
specifier: ^10.0.0
- version: 10.0.0(eslint@8.45.0)
+ version: 10.0.0(eslint@8.46.0)
husky:
specifier: ^8.0.3
version: 8.0.3
@@ -928,21 +928,21 @@ packages:
dev: true
optional: true
- /@eslint-community/eslint-utils@4.4.0(eslint@8.45.0):
+ /@eslint-community/eslint-utils@4.4.0(eslint@8.46.0):
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies:
- eslint: 8.45.0
- eslint-visitor-keys: 3.4.1
+ eslint: 8.46.0
+ eslint-visitor-keys: 3.4.2
/@eslint-community/regexpp@4.6.2:
resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- /@eslint/eslintrc@2.1.0:
- resolution: {integrity: sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==}
+ /@eslint/eslintrc@2.1.1:
+ resolution: {integrity: sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
@@ -957,18 +957,21 @@ packages:
transitivePeerDependencies:
- supports-color
- /@eslint/js@8.44.0:
- resolution: {integrity: sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==}
+ /@eslint/js@8.46.0:
+ resolution: {integrity: sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- /@floating-ui/core@1.3.1:
- resolution: {integrity: sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g==}
+ /@floating-ui/core@1.4.0:
+ resolution: {integrity: sha512-x5Ly1Eiyqt9aR38XzhraoWxgtQtvy3mVChWMZIr49XFyvIhNuqUxZKXBRoI5WiMRaaAZezCauJaEISu3z5y8sg==}
+ dependencies:
+ '@floating-ui/utils': 0.1.0
dev: false
- /@floating-ui/dom@1.4.5:
- resolution: {integrity: sha512-96KnRWkRnuBSSFbj0sFGwwOUd8EkiecINVl0O9wiZlZ64EkpyAOG3Xc2vKKNJmru0Z7RqWNymA+6b8OZqjgyyw==}
+ /@floating-ui/dom@1.5.0:
+ resolution: {integrity: sha512-9jPin5dTlcEN+nXzBRhdreCzlJBIYWeMXpJJ5VnO1l9dLcP7uQNPbmwmIoHpHpH6GPYMYtQA7GfkvsSj/CQPwg==}
dependencies:
- '@floating-ui/core': 1.3.1
+ '@floating-ui/core': 1.4.0
+ '@floating-ui/utils': 0.1.0
dev: false
/@floating-ui/react-dom@2.0.1(react-dom@18.2.0)(react@18.2.0):
@@ -977,13 +980,17 @@ packages:
react: '>=16.8.0'
react-dom: '>=16.8.0'
dependencies:
- '@floating-ui/dom': 1.4.5
+ '@floating-ui/dom': 1.5.0
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
dev: false
- /@headlessui/react@1.7.15(react-dom@18.2.0)(react@18.2.0):
- resolution: {integrity: sha512-OTO0XtoRQ6JPB1cKNFYBZv2Q0JMqMGNhYP1CjPvcJvjz8YGokz8oAj89HIYZGN0gZzn/4kk9iUpmMF4Q21Gsqw==}
+ /@floating-ui/utils@0.1.0:
+ resolution: {integrity: sha512-ZSlli/beGZdvoqT3/Y9oOW79XSEpBfxt8UY6vjyWJW0B8d/M+MKlkQ3kBzLKDXaSsB84IVj6QntQfHLzesB4mA==}
+ dev: false
+
+ /@headlessui/react@1.7.16(react-dom@18.2.0)(react@18.2.0):
+ resolution: {integrity: sha512-2MphIAZdSUacZBT6EXk8AJkj+EuvaaJbtCyHTJrPsz8inhzCl7qeNPI1uk1AUvCgWylVtdN8cVVmnhUDPxPy3g==}
engines: {node: '>=10'}
peerDependencies:
react: ^16 || ^17 || ^18
@@ -1153,14 +1160,14 @@ packages:
'@noble/hashes': 1.3.1
'@noble/secp256k1': 2.0.0
'@scure/base': 1.1.1
- '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.45.0)(typescript@4.9.5)
- '@typescript-eslint/parser': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@4.9.5)
+ '@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
debug: 4.3.4
esbuild: 0.17.19
esbuild-plugin-alias: 0.2.1
- eslint: 8.45.0
- eslint-config-prettier: 8.8.0(eslint@8.45.0)
- eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.62.0)(eslint@8.45.0)
+ eslint: 8.46.0
+ eslint-config-prettier: 8.9.0(eslint@8.46.0)
+ eslint-plugin-import: 2.28.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)
esm-loader-typescript: 1.0.5
eventemitter3: 5.0.1
light-bolt11-decoder: 3.0.0
@@ -1752,8 +1759,8 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: false
- /@swc/core-darwin-arm64@1.3.71:
- resolution: {integrity: sha512-xOm0hDbcO2ShwQu1CjLtq3fwrG9AvhuE0s8vtBc8AsamYExHmR8bo6GQHJUtfPG1FVPk5a8xoQSd1fs09FQjLg==}
+ /@swc/core-darwin-arm64@1.3.72:
+ resolution: {integrity: sha512-oNSI5hVfZ+1xpj+dH1g4kQqA0VsGtqd8S9S+cDqkHZiOOVOevw9KN6dzVtmLOcPtlULVypVc0TVvsB55KdVZhQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
@@ -1761,8 +1768,8 @@ packages:
dev: true
optional: true
- /@swc/core-darwin-x64@1.3.71:
- resolution: {integrity: sha512-9sbDXBWgM22w/3Ll5kPhXMPkOiHRoqwMOyxLJBfGtIMnFlh5O+NRN3umRerK3pe4Q6/7hj2M5V+crEHYrXmuxg==}
+ /@swc/core-darwin-x64@1.3.72:
+ resolution: {integrity: sha512-y5O/WQ1g0/VfTgeNahWIOutbdD5U2Gi703jaefdcoJo3FUx8WU108QQdbVGwGMgaqapo3iQB6Qs9paixYQAYsA==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
@@ -1770,8 +1777,8 @@ packages:
dev: true
optional: true
- /@swc/core-linux-arm-gnueabihf@1.3.71:
- resolution: {integrity: sha512-boKdMZsfKvhBs0FDeqH7KQj0lfYe0wCtrL1lv50oYMEeLajY9o4U5xSmc61Sg4HRXjlbR6dlM2cFfL84t7NpAA==}
+ /@swc/core-linux-arm-gnueabihf@1.3.72:
+ resolution: {integrity: sha512-05JdWcso0OomHF+7bk5MBDgI8MZ9skcQ/4nhSv5gboSgSiuBmKM15Bg3lZ5iAUwGByNj7pGkSmmd3YwTrXEB+g==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
@@ -1779,8 +1786,8 @@ packages:
dev: true
optional: true
- /@swc/core-linux-arm64-gnu@1.3.71:
- resolution: {integrity: sha512-yDatyHYMiOVwhyIA/LBwknPs2CUtLYWEMzPZjgLc+56PbgPs3oiEbNWeVUND5onPrfDQgK7NK1y8JeiXZqTgGQ==}
+ /@swc/core-linux-arm64-gnu@1.3.72:
+ resolution: {integrity: sha512-8qRELJaeYshhJgqvyOeXCKqBOpai+JYdWuouMbvvDUL85j3OcZhzR+bipexEbbJKcOCdRnoYB7Qg6mjqZ0t7VA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
@@ -1788,8 +1795,8 @@ packages:
dev: true
optional: true
- /@swc/core-linux-arm64-musl@1.3.71:
- resolution: {integrity: sha512-xAdCA0L/hoa0ULL5SR4sMZCxkWk7C90DOU7wJalNVG9qNWYICfq3G7AR0E9Ohphzqyahfb5QJED/nA7N0+XwbQ==}
+ /@swc/core-linux-arm64-musl@1.3.72:
+ resolution: {integrity: sha512-tOqAGZw+Pe7YrBHFrwFVyRiKqjgjzwYbJmY+UDxLrzWrZSVtC3eO2TPrp7kWmhirg40Og81BbdfRAl8ds48w0Q==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
@@ -1797,8 +1804,8 @@ packages:
dev: true
optional: true
- /@swc/core-linux-x64-gnu@1.3.71:
- resolution: {integrity: sha512-j94qLXP/yqhu2afnABAq/xrJIU8TEqcNkp1TlsAeO3R2nVLYL1w4XX8GW71SPnXmd2bwF102c3Cfv/2ilf2y2A==}
+ /@swc/core-linux-x64-gnu@1.3.72:
+ resolution: {integrity: sha512-U2W2xWR3s9nplGVWz376GiBlcLTgxyYKlpZPBNZk0w3OvTcjKC62gW1Pe7PUkk4NgJUnaQDBa/mb4V4Zl+GZPA==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
@@ -1806,8 +1813,8 @@ packages:
dev: true
optional: true
- /@swc/core-linux-x64-musl@1.3.71:
- resolution: {integrity: sha512-YiyU848ql6dLlmt0BHccGAaZ36Cf61VzCAMDKID/gd72snvzWcMCHrwSRW0gEFNXHsjBJrmNl+SLYZHfqoGwUA==}
+ /@swc/core-linux-x64-musl@1.3.72:
+ resolution: {integrity: sha512-3+2dUiZBsifKgvnFEHWdysXjInK8K+BfPBw2tTZJmq1+fZLt0rvuErYDVMLfIJnVWLCcJMnDtTXrvkFV1y/6iA==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
@@ -1815,8 +1822,8 @@ packages:
dev: true
optional: true
- /@swc/core-win32-arm64-msvc@1.3.71:
- resolution: {integrity: sha512-1UsJ+6hnIRe/PVdgDPexvgGaN4KpBncT/bAOqlWc9XC7KeBXAWcGA08LrPUz2Ei00DJXzR622IGZVEYOHNkUOw==}
+ /@swc/core-win32-arm64-msvc@1.3.72:
+ resolution: {integrity: sha512-ndI8xZ2AId806D25xgqw2SFJ9gc/jhg21+5hA8XPq9ZL+oDiaYDztaP3ijVmZ1G5xXKD9DpgB7xmylv/f6o6GA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
@@ -1824,8 +1831,8 @@ packages:
dev: true
optional: true
- /@swc/core-win32-ia32-msvc@1.3.71:
- resolution: {integrity: sha512-KnuI89+zojR9lDFELdQYZpxzPZ6pBfLwJfWTSGatnpL1ZHhIsV3tK1jwqIdJK1zkRxpBwc6p6FzSZdZwCSpnJw==}
+ /@swc/core-win32-ia32-msvc@1.3.72:
+ resolution: {integrity: sha512-F3TK8JHP3SRFjLRlzcRVZPnvvGm2CQ5/cwbIkaEq0Dla3kyctU8SiRqvtYwWCW4JuY10cUygIg93Ec/C9Lkk4g==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
@@ -1833,8 +1840,8 @@ packages:
dev: true
optional: true
- /@swc/core-win32-x64-msvc@1.3.71:
- resolution: {integrity: sha512-Pcw7fFirpaBOZsU8fhO48ZCb7NxIjuLnLRPrHqWQ4Mapx1+w9ZNdGya2DKP9n8EAiUrJO20WDsrBNMT2MQSWkA==}
+ /@swc/core-win32-x64-msvc@1.3.72:
+ resolution: {integrity: sha512-FXMnIUtLl0yEmGkw+xbUg/uUPExvUxUlLSHbX7CnbSuOIHqMHzvEd9skIueLAst4bvmJ8kT1hDyAIWQcTIAJYQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
@@ -1842,8 +1849,8 @@ packages:
dev: true
optional: true
- /@swc/core@1.3.71:
- resolution: {integrity: sha512-T8dqj+SV/S8laW/FGmKHhCGw1o4GRUvJ2jHfbYgEwiJpeutT9uavHvG02t39HJvObBJ52EZs/krGtni4U5928Q==}
+ /@swc/core@1.3.72:
+ resolution: {integrity: sha512-+AKjwLH3/STfPrd7CHzB9+NG1FVT0UKJMUChuWq9sQ8b9xlV8vUeRgZXgh/EHYvNQgl/OUTQKtL6xU2yOLuEuA==}
engines: {node: '>=10'}
requiresBuild: true
peerDependencies:
@@ -1852,16 +1859,16 @@ packages:
'@swc/helpers':
optional: true
optionalDependencies:
- '@swc/core-darwin-arm64': 1.3.71
- '@swc/core-darwin-x64': 1.3.71
- '@swc/core-linux-arm-gnueabihf': 1.3.71
- '@swc/core-linux-arm64-gnu': 1.3.71
- '@swc/core-linux-arm64-musl': 1.3.71
- '@swc/core-linux-x64-gnu': 1.3.71
- '@swc/core-linux-x64-musl': 1.3.71
- '@swc/core-win32-arm64-msvc': 1.3.71
- '@swc/core-win32-ia32-msvc': 1.3.71
- '@swc/core-win32-x64-msvc': 1.3.71
+ '@swc/core-darwin-arm64': 1.3.72
+ '@swc/core-darwin-x64': 1.3.72
+ '@swc/core-linux-arm-gnueabihf': 1.3.72
+ '@swc/core-linux-arm64-gnu': 1.3.72
+ '@swc/core-linux-arm64-musl': 1.3.72
+ '@swc/core-linux-x64-gnu': 1.3.72
+ '@swc/core-linux-x64-musl': 1.3.72
+ '@swc/core-win32-arm64-msvc': 1.3.72
+ '@swc/core-win32-ia32-msvc': 1.3.72
+ '@swc/core-win32-x64-msvc': 1.3.72
dev: true
/@tailwindcss/typography@0.5.9(tailwindcss@3.3.3):
@@ -2280,9 +2287,9 @@ packages:
prosemirror-schema-list: 1.3.0
prosemirror-state: 1.4.3
prosemirror-tables: 1.3.4
- prosemirror-trailing-node: 2.0.5(prosemirror-model@1.19.3)(prosemirror-state@1.4.3)(prosemirror-view@1.31.6)
- prosemirror-transform: 1.7.3
- prosemirror-view: 1.31.6
+ prosemirror-trailing-node: 2.0.5(prosemirror-model@1.19.3)(prosemirror-state@1.4.3)(prosemirror-view@1.31.7)
+ prosemirror-transform: 1.7.4
+ prosemirror-view: 1.31.7
transitivePeerDependencies:
- supports-color
dev: false
@@ -2465,7 +2472,7 @@ packages:
resolution: {integrity: sha512-W8F4eoTIvzXeNrT3JroQPimZLXnlJA8smYygHZUKFPVoYwgs/OhJkA1VBhL3iSs57OQkuINqHlY4SmMT5wtnJg==}
dev: true
- /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.45.0)(typescript@4.9.5):
+ /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@4.9.5):
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2477,12 +2484,12 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.6.2
- '@typescript-eslint/parser': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.62.0
- '@typescript-eslint/type-utils': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
- '@typescript-eslint/utils': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/type-utils': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
+ '@typescript-eslint/utils': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
debug: 4.3.4
- eslint: 8.45.0
+ eslint: 8.46.0
graphemer: 1.4.0
ignore: 5.2.4
natural-compare-lite: 1.4.0
@@ -2492,7 +2499,7 @@ packages:
transitivePeerDependencies:
- supports-color
- /@typescript-eslint/parser@5.62.0(eslint@8.45.0)(typescript@4.9.5):
+ /@typescript-eslint/parser@5.62.0(eslint@8.46.0)(typescript@4.9.5):
resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2506,7 +2513,7 @@ packages:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5)
debug: 4.3.4
- eslint: 8.45.0
+ eslint: 8.46.0
typescript: 4.9.5
transitivePeerDependencies:
- supports-color
@@ -2518,7 +2525,7 @@ packages:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/visitor-keys': 5.62.0
- /@typescript-eslint/type-utils@5.62.0(eslint@8.45.0)(typescript@4.9.5):
+ /@typescript-eslint/type-utils@5.62.0(eslint@8.46.0)(typescript@4.9.5):
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2529,9 +2536,9 @@ packages:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5)
- '@typescript-eslint/utils': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/utils': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
debug: 4.3.4
- eslint: 8.45.0
+ eslint: 8.46.0
tsutils: 3.21.0(typescript@4.9.5)
typescript: 4.9.5
transitivePeerDependencies:
@@ -2561,19 +2568,19 @@ packages:
transitivePeerDependencies:
- supports-color
- /@typescript-eslint/utils@5.62.0(eslint@8.45.0)(typescript@4.9.5):
+ /@typescript-eslint/utils@5.62.0(eslint@8.46.0)(typescript@4.9.5):
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0)
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0)
'@types/json-schema': 7.0.12
'@types/semver': 7.5.0
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5)
- eslint: 8.45.0
+ eslint: 8.46.0
eslint-scope: 5.1.1
semver: 7.5.4
transitivePeerDependencies:
@@ -2585,14 +2592,14 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.62.0
- eslint-visitor-keys: 3.4.1
+ eslint-visitor-keys: 3.4.2
/@vitejs/plugin-react-swc@3.3.2(vite@4.4.7):
resolution: {integrity: sha512-VJFWY5sfoZerQRvJrh518h3AcQt6f/yTuWn4/TRB+dqmYU0NX1qz7qM5Wfd+gOQqUzQW4gxKqKN3KpE/P3+zrA==}
peerDependencies:
vite: ^4
dependencies:
- '@swc/core': 1.3.71
+ '@swc/core': 1.3.72
vite: 4.4.7(@types/node@18.17.1)
transitivePeerDependencies:
- '@swc/helpers'
@@ -2748,6 +2755,17 @@ packages:
resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
engines: {node: '>=8'}
+ /array.prototype.findlastindex@1.2.2:
+ resolution: {integrity: sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==}
+ engines: {node: '>= 0.4'}
+ dependencies:
+ call-bind: 1.0.2
+ define-properties: 1.2.0
+ es-abstract: 1.22.1
+ es-shim-unscopables: 1.0.0
+ get-intrinsic: 1.2.1
+ dev: false
+
/array.prototype.flat@1.3.1:
resolution: {integrity: sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==}
engines: {node: '>= 0.4'}
@@ -2882,7 +2900,7 @@ packages:
hasBin: true
dependencies:
caniuse-lite: 1.0.30001517
- electron-to-chromium: 1.4.472
+ electron-to-chromium: 1.4.476
node-releases: 2.0.13
update-browserslist-db: 1.0.11(browserslist@4.21.9)
@@ -3355,8 +3373,8 @@ packages:
/eastasianwidth@0.2.0:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
- /electron-to-chromium@1.4.472:
- resolution: {integrity: sha512-JL+vQaO4/3mnE68YLaO6tS61YFTlQp8/9JJj1kMP0CL9GHjLYt8t3T0aA3sW3PvdiXjnVeaZ6Kf0mGtt9+2j+Q==}
+ /electron-to-chromium@1.4.476:
+ resolution: {integrity: sha512-gzWl1m8pNy+5Kj17XcziNcbOhripjTqR2wAQmtdlFUngPYuFy7zUpJScVQAvCvQSFHNk3mS5fetNKW6BSpytFg==}
/emoji-regex@8.0.0:
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
@@ -3565,13 +3583,13 @@ packages:
engines: {node: '>=12'}
dev: false
- /eslint-config-prettier@8.8.0(eslint@8.45.0):
- resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==}
+ /eslint-config-prettier@8.9.0(eslint@8.46.0):
+ resolution: {integrity: sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
- eslint: 8.45.0
+ eslint: 8.46.0
/eslint-formatter-pretty@4.1.0:
resolution: {integrity: sha512-IsUTtGxF1hrH6lMWiSl1WbGaiP01eT6kzywdY1U+zLc0MP+nwEnUiS9UI8IaOTUhTeQJLlCEWIbXINBH4YJbBQ==}
@@ -3592,12 +3610,12 @@ packages:
dependencies:
debug: 3.2.7
is-core-module: 2.12.1
- resolve: 1.22.2
+ resolve: 1.22.3
transitivePeerDependencies:
- supports-color
dev: false
- /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.7)(eslint@8.45.0):
+ /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.7)(eslint@8.46.0):
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'}
peerDependencies:
@@ -3618,16 +3636,16 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
debug: 3.2.7
- eslint: 8.45.0
+ eslint: 8.46.0
eslint-import-resolver-node: 0.3.7
transitivePeerDependencies:
- supports-color
dev: false
- /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.62.0)(eslint@8.45.0):
- resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
+ /eslint-plugin-import@2.28.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0):
+ resolution: {integrity: sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==}
engines: {node: '>=4'}
peerDependencies:
'@typescript-eslint/parser': '*'
@@ -3636,21 +3654,24 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
- '@typescript-eslint/parser': 5.62.0(eslint@8.45.0)(typescript@4.9.5)
+ '@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@4.9.5)
array-includes: 3.1.6
+ array.prototype.findlastindex: 1.2.2
array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1
debug: 3.2.7
doctrine: 2.1.0
- eslint: 8.45.0
+ eslint: 8.46.0
eslint-import-resolver-node: 0.3.7
- eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.7)(eslint@8.45.0)
+ eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.7)(eslint@8.46.0)
has: 1.0.3
is-core-module: 2.12.1
is-glob: 4.0.3
minimatch: 3.1.2
+ object.fromentries: 2.0.6
+ object.groupby: 1.0.0
object.values: 1.1.6
- resolve: 1.22.2
+ resolve: 1.22.3
semver: 6.3.1
tsconfig-paths: 3.14.2
transitivePeerDependencies:
@@ -3659,7 +3680,7 @@ packages:
- supports-color
dev: false
- /eslint-plugin-jsx-a11y@6.7.1(eslint@8.45.0):
+ /eslint-plugin-jsx-a11y@6.7.1(eslint@8.46.0):
resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
engines: {node: '>=4.0'}
peerDependencies:
@@ -3674,7 +3695,7 @@ packages:
axobject-query: 3.2.1
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
- eslint: 8.45.0
+ eslint: 8.46.0
has: 1.0.3
jsx-ast-utils: 3.3.4
language-tags: 1.0.5
@@ -3684,7 +3705,7 @@ packages:
semver: 6.3.1
dev: true
- /eslint-plugin-react@7.33.0(eslint@8.45.0):
+ /eslint-plugin-react@7.33.0(eslint@8.46.0):
resolution: {integrity: sha512-qewL/8P34WkY8jAqdQxsiL82pDUeT7nhs8IsuXgfgnsEloKCT4miAV9N9kGtx7/KM9NH/NCGUE7Edt9iGxLXFw==}
engines: {node: '>=4'}
peerDependencies:
@@ -3694,7 +3715,7 @@ packages:
array.prototype.flatmap: 1.3.1
array.prototype.tosorted: 1.1.1
doctrine: 2.1.0
- eslint: 8.45.0
+ eslint: 8.46.0
estraverse: 5.3.0
jsx-ast-utils: 3.3.4
minimatch: 3.1.2
@@ -3708,12 +3729,12 @@ packages:
string.prototype.matchall: 4.0.8
dev: true
- /eslint-plugin-simple-import-sort@10.0.0(eslint@8.45.0):
+ /eslint-plugin-simple-import-sort@10.0.0(eslint@8.46.0):
resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==}
peerDependencies:
eslint: '>=5.0.0'
dependencies:
- eslint: 8.45.0
+ eslint: 8.46.0
dev: true
/eslint-rule-docs@1.1.235:
@@ -3727,26 +3748,26 @@ packages:
esrecurse: 4.3.0
estraverse: 4.3.0
- /eslint-scope@7.2.1:
- resolution: {integrity: sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==}
+ /eslint-scope@7.2.2:
+ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
esrecurse: 4.3.0
estraverse: 5.3.0
- /eslint-visitor-keys@3.4.1:
- resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==}
+ /eslint-visitor-keys@3.4.2:
+ resolution: {integrity: sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- /eslint@8.45.0:
- resolution: {integrity: sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==}
+ /eslint@8.46.0:
+ resolution: {integrity: sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
- '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0)
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0)
'@eslint-community/regexpp': 4.6.2
- '@eslint/eslintrc': 2.1.0
- '@eslint/js': 8.44.0
+ '@eslint/eslintrc': 2.1.1
+ '@eslint/js': 8.46.0
'@humanwhocodes/config-array': 0.11.10
'@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8
@@ -3756,8 +3777,8 @@ packages:
debug: 4.3.4
doctrine: 3.0.0
escape-string-regexp: 4.0.0
- eslint-scope: 7.2.1
- eslint-visitor-keys: 3.4.1
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.2
espree: 9.6.1
esquery: 1.5.0
esutils: 2.0.3
@@ -3798,7 +3819,7 @@ packages:
dependencies:
acorn: 8.10.0
acorn-jsx: 5.3.2(acorn@8.10.0)
- eslint-visitor-keys: 3.4.1
+ eslint-visitor-keys: 3.4.2
/esquery@1.5.0:
resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==}
@@ -3950,8 +3971,8 @@ packages:
resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}
dev: true
- /framer-motion@10.13.1(react-dom@18.2.0)(react@18.2.0):
- resolution: {integrity: sha512-uiKsaLEoySeln3eOPy8wUB3FkNtRRiVga5xJOkgs7C0sHVyvpJajXJFSoabt+emBojgnMQY0epnjl0ppoYPxkQ==}
+ /framer-motion@10.15.0(react-dom@18.2.0)(react@18.2.0):
+ resolution: {integrity: sha512-HDjWrYWgbO5orKuhnXETLFzk7UUvwWur2HFs2elAZ8lVpI49ClHql31DNTVvVBcOrSHfAOS4eBDBedIvOx634w==}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
@@ -4057,8 +4078,8 @@ packages:
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
normalize-url: 7.2.0
- re2: 1.19.1
- url-regex-safe: 3.0.0(re2@1.19.1)
+ re2: 1.20.1
+ url-regex-safe: 3.0.0(re2@1.20.1)
transitivePeerDependencies:
- supports-color
dev: false
@@ -4541,14 +4562,14 @@ packages:
resolution: {integrity: sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==}
dev: true
- /jest-diff@29.6.1:
- resolution: {integrity: sha512-FsNCvinvl8oVxpNLttNQX7FAq7vR+gMDGj90tiP7siWw1UdakWUGqrylpsYrpvj908IYckm5Y0Q7azNAozU1Kg==}
+ /jest-diff@29.6.2:
+ resolution: {integrity: sha512-t+ST7CB9GX5F2xKwhwCf0TAR17uNDiaPTZnVymP9lw0lssa9vG+AFyDZoeIHStU3WowFFwT+ky+er0WVl2yGhA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
chalk: 4.1.2
diff-sequences: 29.4.3
jest-get-type: 29.4.3
- pretty-format: 29.6.1
+ pretty-format: 29.6.2
dev: false
/jest-get-type@29.4.3:
@@ -5611,7 +5632,15 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
- dev: true
+
+ /object.groupby@1.0.0:
+ resolution: {integrity: sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==}
+ dependencies:
+ call-bind: 1.0.2
+ define-properties: 1.2.0
+ es-abstract: 1.22.1
+ get-intrinsic: 1.2.1
+ dev: false
/object.hasown@1.1.2:
resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==}
@@ -5990,8 +6019,8 @@ packages:
hasBin: true
dev: true
- /pretty-format@29.6.1:
- resolution: {integrity: sha512-7jRj+yXO0W7e4/tSJKoR7HRIHLPPjtNaUGG2xxKQnGvPNRkgWcQ0AZX6P4KBRJN4FcTBWb3sa7DVUJmocYuoog==}
+ /pretty-format@29.6.2:
+ resolution: {integrity: sha512-1q0oC8eRveTg5nnBEWMXAU2qpv65Gnuf2eCQzSjxpWFkPaPARwqZZDGuNE0zPAZfTCHzIk3A8dIjwlQKKLphyg==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/schemas': 29.6.0
@@ -6021,7 +6050,7 @@ packages:
/prosemirror-changeset@2.2.1:
resolution: {integrity: sha512-J7msc6wbxB4ekDFj+n9gTW/jav/p53kdlivvuppHsrZXCaQdVgRghoZbSS3kwrRyAstRVQ4/+u5k7YfLgkkQvQ==}
dependencies:
- prosemirror-transform: 1.7.3
+ prosemirror-transform: 1.7.4
dev: false
/prosemirror-collab@1.3.1:
@@ -6035,15 +6064,15 @@ packages:
dependencies:
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
+ prosemirror-transform: 1.7.4
dev: false
/prosemirror-dropcursor@1.8.1:
resolution: {integrity: sha512-M30WJdJZLyXHi3N8vxN6Zh5O8ZBbQCz0gURTfPmTIBNQ5pxrdU7A58QkNqfa98YEjSAL1HUyyU34f6Pm5xBSGw==}
dependencies:
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
- prosemirror-view: 1.31.6
+ prosemirror-transform: 1.7.4
+ prosemirror-view: 1.31.7
dev: false
/prosemirror-gapcursor@1.3.2:
@@ -6052,15 +6081,15 @@ packages:
prosemirror-keymap: 1.2.2
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-view: 1.31.6
+ prosemirror-view: 1.31.7
dev: false
/prosemirror-history@1.3.2:
resolution: {integrity: sha512-/zm0XoU/N/+u7i5zepjmZAEnpvjDtzoPWW6VmKptcAnPadN/SStsBjMImdCEbb3seiNTpveziPTIrXQbHLtU1g==}
dependencies:
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
- prosemirror-view: 1.31.6
+ prosemirror-transform: 1.7.4
+ prosemirror-view: 1.31.7
rope-sequence: 1.3.4
dev: false
@@ -6068,7 +6097,7 @@ packages:
resolution: {integrity: sha512-3LrWJX1+ULRh5SZvbIQlwZafOXqp1XuV21MGBu/i5xsztd+9VD15x6OtN6mdqSFI7/8Y77gYUbQ6vwwJ4mr6QQ==}
dependencies:
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
+ prosemirror-transform: 1.7.4
dev: false
/prosemirror-keymap@1.2.2:
@@ -6111,15 +6140,15 @@ packages:
dependencies:
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
+ prosemirror-transform: 1.7.4
dev: false
/prosemirror-state@1.4.3:
resolution: {integrity: sha512-goFKORVbvPuAQaXhpbemJFRKJ2aixr+AZMGiquiqKxaucC6hlpHNZHWgz5R7dS4roHiwq9vDctE//CZ++o0W1Q==}
dependencies:
prosemirror-model: 1.19.3
- prosemirror-transform: 1.7.3
- prosemirror-view: 1.31.6
+ prosemirror-transform: 1.7.4
+ prosemirror-view: 1.31.7
dev: false
/prosemirror-tables@1.3.4:
@@ -6128,11 +6157,11 @@ packages:
prosemirror-keymap: 1.2.2
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
- prosemirror-view: 1.31.6
+ prosemirror-transform: 1.7.4
+ prosemirror-view: 1.31.7
dev: false
- /prosemirror-trailing-node@2.0.5(prosemirror-model@1.19.3)(prosemirror-state@1.4.3)(prosemirror-view@1.31.6):
+ /prosemirror-trailing-node@2.0.5(prosemirror-model@1.19.3)(prosemirror-state@1.4.3)(prosemirror-view@1.31.7):
resolution: {integrity: sha512-V3CJLAmlLr73N6rLVzuM1jU0wlbKFMA+I3DG3zTlFah651A9dDTkXWFGNKAo0uhPI7ajFmQLhlLC1lie/6d9sA==}
peerDependencies:
prosemirror-model: ^1.19.0
@@ -6144,23 +6173,23 @@ packages:
escape-string-regexp: 4.0.0
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-view: 1.31.6
+ prosemirror-view: 1.31.7
transitivePeerDependencies:
- supports-color
dev: false
- /prosemirror-transform@1.7.3:
- resolution: {integrity: sha512-qDapyx5lqYfxVeUWEw0xTGgeP2S8346QtE7DxkalsXlX89lpzkY6GZfulgfHyk1n4tf74sZ7CcXgcaCcGjsUtA==}
+ /prosemirror-transform@1.7.4:
+ resolution: {integrity: sha512-GO38mvqJ2yeI0BbL5E1CdHcly032Dlfn9nHqlnCHqlNf9e9jZwJixxp6VRtOeDZ1uTDpDIziezMKbA41LpAx3A==}
dependencies:
prosemirror-model: 1.19.3
dev: false
- /prosemirror-view@1.31.6:
- resolution: {integrity: sha512-wwgErp+EWnuW4kGAYKrt90hhOetaoWpYNdOpnuQMXo1m4x/+uhauFeQoCCm8J30ZqAa4LgIER4yzKSO545gRfA==}
+ /prosemirror-view@1.31.7:
+ resolution: {integrity: sha512-Pr7w93yOYmxQwzGIRSaNLZ/1uM6YjnenASzN2H6fO6kGekuzRbgZ/4bHbBTd1u4sIQmL33/TcGmzxxidyPwCjg==}
dependencies:
prosemirror-model: 1.19.3
prosemirror-state: 1.4.3
- prosemirror-transform: 1.7.3
+ prosemirror-transform: 1.7.4
dev: false
/punycode@2.3.0:
@@ -6183,8 +6212,8 @@ packages:
engines: {node: '>=8'}
dev: false
- /re2@1.19.1:
- resolution: {integrity: sha512-pML2LZvGdjESWAsufwlFwF+TBauIx7ItgcPIL0KiiZ9GrJ5OU3aJEc/EZvygB32nhjrRxe6QQFbie79QhT7gVA==}
+ /re2@1.20.1:
+ resolution: {integrity: sha512-JbzIoI5adNCqGUK8wHG1dMSyggvPyA4kx2hewt1lma5sP7/iWCfM15XKbCZlX2yvu5k80jSKAOQqJF7KC+2n8Q==}
requiresBuild: true
dependencies:
install-artifact-from-github: 1.3.3
@@ -6487,6 +6516,15 @@ packages:
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
+ /resolve@1.22.3:
+ resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==}
+ hasBin: true
+ dependencies:
+ is-core-module: 2.12.1
+ path-parse: 1.0.7
+ supports-preserve-symlinks-flag: 1.0.0
+ dev: false
+
/resolve@2.0.0-next.4:
resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==}
hasBin: true
@@ -6523,8 +6561,8 @@ packages:
dependencies:
glob: 7.2.3
- /rollup@3.26.3:
- resolution: {integrity: sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==}
+ /rollup@3.27.0:
+ resolution: {integrity: sha512-aOltLCrYZ0FhJDm7fCqwTjIUEVjWjcydKBV/Zeid6Mn8BWgDCUBBWT5beM5ieForYNo/1ZHuGJdka26kvQ3Gzg==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
@@ -7041,7 +7079,7 @@ packages:
'@tsd/typescript': 5.0.4
eslint-formatter-pretty: 4.1.0
globby: 11.1.0
- jest-diff: 29.6.1
+ jest-diff: 29.6.2
meow: 9.0.0
path-exists: 4.0.0
read-pkg-up: 7.0.1
@@ -7249,7 +7287,7 @@ packages:
dependencies:
punycode: 2.3.0
- /url-regex-safe@3.0.0(re2@1.19.1):
+ /url-regex-safe@3.0.0(re2@1.20.1):
resolution: {integrity: sha512-+2U40NrcmtWFVjuxXVt9bGRw6c7/MgkGKN9xIfPrT/2RX0LTkkae6CCEDp93xqUN0UKm/rr821QnHd2dHQmN3A==}
engines: {node: '>= 10.12.0'}
peerDependencies:
@@ -7259,7 +7297,7 @@ packages:
optional: true
dependencies:
ip-regex: 4.3.0
- re2: 1.19.1
+ re2: 1.20.1
tlds: 1.240.0
dev: false
@@ -7363,7 +7401,7 @@ packages:
vite: '>=2.8'
dependencies:
'@rollup/plugin-virtual': 3.0.1
- '@swc/core': 1.3.71
+ '@swc/core': 1.3.72
uuid: 9.0.0
vite: 4.4.7(@types/node@18.17.1)
transitivePeerDependencies:
@@ -7419,7 +7457,7 @@ packages:
'@types/node': 18.17.1
esbuild: 0.18.17
postcss: 8.4.27
- rollup: 3.26.3
+ rollup: 3.27.0
optionalDependencies:
fsevents: 2.3.2
dev: true
@@ -7571,32 +7609,32 @@ packages:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
dev: false
- github.com/tauri-apps/tauri-plugin-autostart/5f6b99fda5afc1e38976307b1cbede15a572c57d:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-autostart/tar.gz/5f6b99fda5afc1e38976307b1cbede15a572c57d}
+ github.com/tauri-apps/tauri-plugin-autostart/0e474395d4990587ad5c1db25ed23220fe11764f:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-autostart/tar.gz/0e474395d4990587ad5c1db25ed23220fe11764f}
name: tauri-plugin-autostart-api
version: 0.0.0
dependencies:
'@tauri-apps/api': 1.4.0
dev: false
- github.com/tauri-apps/tauri-plugin-sql/a956efd2ddba019ceaebe4a38b7d0352bad19884:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/a956efd2ddba019ceaebe4a38b7d0352bad19884}
+ github.com/tauri-apps/tauri-plugin-sql/b8fd19dac907cc8c3d78681cd4803a326b8b861e:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/b8fd19dac907cc8c3d78681cd4803a326b8b861e}
name: tauri-plugin-sql-api
version: 0.0.0
dependencies:
'@tauri-apps/api': 1.4.0
dev: false
- github.com/tauri-apps/tauri-plugin-stronghold/2e60980e85f6313a63c35e08a1b2078f3af9c724:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-stronghold/tar.gz/2e60980e85f6313a63c35e08a1b2078f3af9c724}
+ github.com/tauri-apps/tauri-plugin-stronghold/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-stronghold/tar.gz/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43}
name: tauri-plugin-stronghold-api
version: 0.0.0
dependencies:
'@tauri-apps/api': 1.4.0
dev: false
- github.com/tauri-apps/tauri-plugin-upload/0323acf546ecb4121ff54dfccf6153c7715741a8:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-upload/tar.gz/0323acf546ecb4121ff54dfccf6153c7715741a8}
+ github.com/tauri-apps/tauri-plugin-upload/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-upload/tar.gz/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb}
name: tauri-plugin-upload-api
version: 0.0.0
dependencies:
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 642cbee1..906a2b22 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -652,9 +652,9 @@ dependencies = [
[[package]]
name = "cfg-expr"
-version = "0.15.3"
+version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "215c0072ecc28f92eeb0eea38ba63ddfcb65c2828c46311d646f1a3ff5f9841c"
+checksum = "b40ccee03b5175c18cde8f37e7d2a33bcef6f8ec8f7cc0d81090d1bb380949c9"
dependencies = [
"smallvec",
"target-lexicon",
@@ -1837,9 +1837,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "globset"
-version = "0.4.11"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1391ab1f92ffcc08911957149833e682aa3fe252b9f45f966d2ef972274c97df"
+checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006"
dependencies = [
"aho-corasick",
"bstr",
@@ -2537,7 +2537,7 @@ dependencies = [
[[package]]
name = "lume"
-version = "1.1.0"
+version = "1.1.1"
dependencies = [
"cocoa",
"objc",
@@ -3649,7 +3649,7 @@ checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575"
dependencies = [
"aho-corasick",
"memchr",
- "regex-automata 0.3.3",
+ "regex-automata 0.3.4",
"regex-syntax 0.7.4",
]
@@ -3664,9 +3664,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310"
+checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294"
dependencies = [
"aho-corasick",
"memchr",
@@ -3875,9 +3875,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.101.1"
+version = "0.101.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e"
+checksum = "513722fd73ad80a71f72b61009ea1b584bcfa1483ca93949c8f290298837fa59"
dependencies = [
"ring",
"untrusted",
@@ -4019,18 +4019,18 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.175"
+version = "1.0.178"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d25439cd7397d044e2748a6fe2432b5e85db703d6d097bd014b3c0ad1ebff0b"
+checksum = "60363bdd39a7be0266a520dab25fdc9241d2f987b08a01e01f0ec6d06a981348"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.175"
+version = "1.0.178"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b23f7ade6f110613c0d63858ddb8b94c1041f550eab58a16b371bdf2c9c80ab4"
+checksum = "f28482318d6641454cb273da158647922d1be6b5a2fcc6165cd89ebdd7ed576b"
dependencies = [
"proc-macro2",
"quote",
@@ -4039,9 +4039,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.103"
+version = "1.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b"
+checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c"
dependencies = [
"itoa 1.0.9",
"ryu",
@@ -4050,9 +4050,9 @@ dependencies = [
[[package]]
name = "serde_repr"
-version = "0.1.15"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e168eaaf71e8f9bd6037feb05190485708e019f4fd87d161b3c0a0d37daf85e5"
+checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00"
dependencies = [
"proc-macro2",
"quote",
@@ -4729,7 +4729,7 @@ version = "6.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30c2de8a4d8f4b823d634affc9cd2a74ec98c53a756f317e529a48046cbf71f3"
dependencies = [
- "cfg-expr 0.15.3",
+ "cfg-expr 0.15.4",
"heck 0.4.1",
"pkg-config",
"toml 0.7.6",
@@ -4930,7 +4930,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-autostart"
version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#92514cca47bdc361257b623f6369ecf826e3ef4f"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
dependencies = [
"auto-launch",
"log",
@@ -4943,7 +4943,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#92514cca47bdc361257b623f6369ecf826e3ef4f"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
dependencies = [
"log",
"serde",
@@ -4957,7 +4957,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-sql"
version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#92514cca47bdc361257b623f6369ecf826e3ef4f"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
dependencies = [
"futures-core",
"log",
@@ -4973,7 +4973,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-stronghold"
version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#92514cca47bdc361257b623f6369ecf826e3ef4f"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
dependencies = [
"hex",
"iota-crypto 0.23.0",
@@ -4989,7 +4989,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-upload"
version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#92514cca47bdc361257b623f6369ecf826e3ef4f"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
dependencies = [
"futures-util",
"log",
From a1a5544789ae2ea19482cf63253d2905b83ec86b Mon Sep 17 00:00:00 2001
From: Ren Amamiya <123083837+reyamir@users.noreply.github.com>
Date: Sat, 29 Jul 2023 08:13:53 +0700
Subject: [PATCH 02/34] upgrade to tauri v2
---
package.json | 4 +-
pnpm-lock.yaml | 77 ++--
src-tauri/Cargo.lock | 856 ++++++++------------------------------
src-tauri/Cargo.toml | 34 +-
src-tauri/tauri.conf.json | 228 ++++------
5 files changed, 316 insertions(+), 883 deletions(-)
diff --git a/package.json b/package.json
index fbe41d60..aa9d57a3 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
"@tanstack/react-query": "^4.32.0",
"@tanstack/react-query-devtools": "^4.32.0",
"@tanstack/react-virtual": "3.0.0-beta.54",
- "@tauri-apps/api": "^1.4.0",
+ "@tauri-apps/api": "2.0.0-alpha.5",
"@tiptap/extension-image": "^2.0.4",
"@tiptap/extension-mention": "^2.0.4",
"@tiptap/extension-placeholder": "^2.0.4",
@@ -65,7 +65,7 @@
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
- "@tauri-apps/cli": "^1.4.0",
+ "@tauri-apps/cli": "2.0.0-alpha.10",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/html-to-text": "^9.0.1",
"@types/node": "^18.17.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2ec75f69..237b8969 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -29,8 +29,8 @@ dependencies:
specifier: 3.0.0-beta.54
version: 3.0.0-beta.54(react@18.2.0)
'@tauri-apps/api':
- specifier: ^1.4.0
- version: 1.4.0
+ specifier: 2.0.0-alpha.5
+ version: 2.0.0-alpha.5
'@tiptap/extension-image':
specifier: ^2.0.4
version: 2.0.4(@tiptap/core@2.0.4)
@@ -142,8 +142,8 @@ devDependencies:
specifier: ^0.5.9
version: 0.5.9(tailwindcss@3.3.3)
'@tauri-apps/cli':
- specifier: ^1.4.0
- version: 1.4.0
+ specifier: 2.0.0-alpha.10
+ version: 2.0.0-alpha.10
'@trivago/prettier-plugin-sort-imports':
specifier: ^4.2.0
version: 4.2.0(prettier@2.8.8)
@@ -1945,8 +1945,13 @@ packages:
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
dev: false
- /@tauri-apps/cli-darwin-arm64@1.4.0:
- resolution: {integrity: sha512-nA/ml0SfUt6/CYLVbHmT500Y+ijqsuv5+s9EBnVXYSLVg9kbPUZJJHluEYK+xKuOj6xzyuT/+rZFMRapmJD3jQ==}
+ /@tauri-apps/api@2.0.0-alpha.5:
+ resolution: {integrity: sha512-OqysC4c819itGxic50RoDMrmd+ofX+MMNkXKeRS0BV2rkKqrnuV17o3TrQXFI1xs/kXRmmPC+3Y42P9Y5uNvRg==}
+ engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
+ dev: false
+
+ /@tauri-apps/cli-darwin-arm64@2.0.0-alpha.10:
+ resolution: {integrity: sha512-z6DoKRUm1Yygu2Tpatu7Fej0eZejZQcsDKsHWc3b5yoIsrodxvKbko2SvYczUx4ecXWplJBTIfTZNo6ciIRRmw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -1954,8 +1959,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-darwin-x64@1.4.0:
- resolution: {integrity: sha512-ov/F6Zr+dg9B0PtRu65stFo2G0ow2TUlneqYYrkj+vA3n+moWDHfVty0raDjMLQbQt3rv3uayFMXGPMgble9OA==}
+ /@tauri-apps/cli-darwin-x64@2.0.0-alpha.10:
+ resolution: {integrity: sha512-xqPUC5uI6zo5+1IXSwZLj1uyRWCeZgQgpyaExGDOYBjcC8HUc2NRdFGsGVtGhFWE+HftppD9p8elJLQM90B02w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -1963,8 +1968,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-linux-arm-gnueabihf@1.4.0:
- resolution: {integrity: sha512-zwjbiMncycXDV7doovymyKD7sCg53ouAmfgpUqEBOTY3vgBi9TwijyPhJOqoG5vUVWhouNBC08akGmE4dja15g==}
+ /@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-alpha.10:
+ resolution: {integrity: sha512-UpjG9qpF/7fkfrBoM6N+Lo08HRAKR9k7LENAFU+zd81JestxOCs0hxuX2/lGkVydtOuSXfVvMn1W5YpGKkgp3A==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
@@ -1972,8 +1977,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-linux-arm64-gnu@1.4.0:
- resolution: {integrity: sha512-5MCBcziqXC72mMXnkZU68mutXIR6zavDxopArE2gQtK841IlE06bIgtLi0kUUhlFJk2nhPRgiDgdLbrPlyt7fw==}
+ /@tauri-apps/cli-linux-arm64-gnu@2.0.0-alpha.10:
+ resolution: {integrity: sha512-Pc8seZINcbHDgOC0ThZ5EPUqOYbL94wEUecKkiaKn7gCl3/ZyIlRte5gizBeLwmnG4fkSLZc0UMvRilu4hGK3g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1981,8 +1986,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-linux-arm64-musl@1.4.0:
- resolution: {integrity: sha512-7J3pRB6n6uNYgIfCeKt2Oz8J7oSaz2s8GGFRRH2HPxuTHrBNCinzVYm68UhVpJrL3bnGkU0ziVZLsW/iaOGfUg==}
+ /@tauri-apps/cli-linux-arm64-musl@2.0.0-alpha.10:
+ resolution: {integrity: sha512-ZlaBbJq5yXP6VmNOrUGgSDnM1JcDsYf7XfVOm/kLVVrZ3iEzYA18v4SZH2kR18bU7h5+YVCPwwnfD+B8ROGidA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1990,8 +1995,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-linux-x64-gnu@1.4.0:
- resolution: {integrity: sha512-Zh5gfAJxOv5AVWxcwuueaQ2vIAhlg0d6nZui6nMyfIJ8dbf3aZQ5ZzP38sYow5h/fbvgL+3GSQxZRBIa3c2E1w==}
+ /@tauri-apps/cli-linux-x64-gnu@2.0.0-alpha.10:
+ resolution: {integrity: sha512-7fo0u56URSFZwJpwPMeNiYypbgYcT8i5KPMe1CQgWW19sJLHBMK1Kd0L8SeAZDlCPpY2coNifAdEm3C7Ca7xMQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -1999,8 +2004,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-linux-x64-musl@1.4.0:
- resolution: {integrity: sha512-OLAYoICU3FaYiTdBsI+lQTKnDHeMmFMXIApN0M+xGiOkoIOQcV9CConMPjgmJQ867+NHRNgUGlvBEAh9CiJodQ==}
+ /@tauri-apps/cli-linux-x64-musl@2.0.0-alpha.10:
+ resolution: {integrity: sha512-9lY7YJmsm7SndlIxKzj/faX/bYX1q0dib88kpxT2xW4qNt9RihTI6PST1PDce5DmEoheLU9Xp9ere8SfoHgE2A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -2008,8 +2013,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-win32-arm64-msvc@1.4.0:
- resolution: {integrity: sha512-gZ05GENFbI6CB5MlOUsLlU0kZ9UtHn9riYtSXKT6MYs8HSPRffPHaHSL0WxsJweWh9nR5Hgh/TUU8uW3sYCzCg==}
+ /@tauri-apps/cli-win32-arm64-msvc@2.0.0-alpha.10:
+ resolution: {integrity: sha512-tJOHIy13vjYRkfw7++aRDQEb5CVzVQKDiJ35Zg4I8YcaPExgj6LKCpDo8N8AD4RXy4SnYKzqYTt8K9xcyIonzA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -2017,8 +2022,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-win32-ia32-msvc@1.4.0:
- resolution: {integrity: sha512-JsetT/lTx/Zq98eo8T5CiRyF1nKeX04RO8JlJrI3ZOYsZpp/A5RJvMd/szQ17iOzwiHdge+tx7k2jHysR6oBlQ==}
+ /@tauri-apps/cli-win32-ia32-msvc@2.0.0-alpha.10:
+ resolution: {integrity: sha512-DN4TlOU8e6cRRVXAnldHhfDDr0ER000fojJ/Vb33fgGvaXury3jBtNyKQuoscvg6T8fLUBc72O6+4tDnXlIBwQ==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -2026,8 +2031,8 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli-win32-x64-msvc@1.4.0:
- resolution: {integrity: sha512-z8Olcnwp5aYhzqUAarFjqF+oELCjuYWnB2HAJHlfsYNfDCAORY5kct3Fklz8PSsubC3U2EugWn8n42DwnThurg==}
+ /@tauri-apps/cli-win32-x64-msvc@2.0.0-alpha.10:
+ resolution: {integrity: sha512-H5Y+L7H24n9EVB/Dw5HHGo+wQZHTLVgWrkOwsxqssDhTPiM5CbEuyjEf/B1y8uqp4YoIlw5t7Db+GBg12KejAA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -2035,21 +2040,21 @@ packages:
dev: true
optional: true
- /@tauri-apps/cli@1.4.0:
- resolution: {integrity: sha512-VXYr2i2iVFl98etQSQsqLzXgX96bnWiNZd1YADgatqwy/qecbd6Kl5ZAPB5R4ynsgE8A1gU7Fbzh7dCEQYFfmA==}
+ /@tauri-apps/cli@2.0.0-alpha.10:
+ resolution: {integrity: sha512-8SkTAxg5J06f7BWgJjNt1NEBPRsffmj4X+PckHX3ZguZd8xqpGtACufUg0zVqaFZPmd+9OCvoEJSP5veO4utDQ==}
engines: {node: '>= 10'}
hasBin: true
optionalDependencies:
- '@tauri-apps/cli-darwin-arm64': 1.4.0
- '@tauri-apps/cli-darwin-x64': 1.4.0
- '@tauri-apps/cli-linux-arm-gnueabihf': 1.4.0
- '@tauri-apps/cli-linux-arm64-gnu': 1.4.0
- '@tauri-apps/cli-linux-arm64-musl': 1.4.0
- '@tauri-apps/cli-linux-x64-gnu': 1.4.0
- '@tauri-apps/cli-linux-x64-musl': 1.4.0
- '@tauri-apps/cli-win32-arm64-msvc': 1.4.0
- '@tauri-apps/cli-win32-ia32-msvc': 1.4.0
- '@tauri-apps/cli-win32-x64-msvc': 1.4.0
+ '@tauri-apps/cli-darwin-arm64': 2.0.0-alpha.10
+ '@tauri-apps/cli-darwin-x64': 2.0.0-alpha.10
+ '@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-alpha.10
+ '@tauri-apps/cli-linux-arm64-gnu': 2.0.0-alpha.10
+ '@tauri-apps/cli-linux-arm64-musl': 2.0.0-alpha.10
+ '@tauri-apps/cli-linux-x64-gnu': 2.0.0-alpha.10
+ '@tauri-apps/cli-linux-x64-musl': 2.0.0-alpha.10
+ '@tauri-apps/cli-win32-arm64-msvc': 2.0.0-alpha.10
+ '@tauri-apps/cli-win32-ia32-msvc': 2.0.0-alpha.10
+ '@tauri-apps/cli-win32-x64-msvc': 2.0.0-alpha.10
dev: true
/@tiptap/core@2.0.4(@tiptap/pm@2.0.4):
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 906a2b22..699750a0 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -311,9 +311,9 @@ dependencies = [
[[package]]
name = "atk"
-version = "0.15.1"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c3d816ce6f0e2909a96830d6911c2aff044370b1ef92d7f267b43bae5addedd"
+checksum = "39991bc421ddf72f70159011b323ff49b0f783cc676a7287c59453da2e2531cf"
dependencies = [
"atk-sys",
"bitflags 1.3.2",
@@ -323,14 +323,14 @@ dependencies = [
[[package]]
name = "atk-sys"
-version = "0.15.1"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58aeb089fb698e06db8089971c7ee317ab9644bade33383f63631437b03aafb6"
+checksum = "11ad703eb64dc058024f0e57ccfa069e15a413b98dbd50a1a950e743b7f11148"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
@@ -516,16 +516,6 @@ dependencies = [
"alloc-stdlib",
]
-[[package]]
-name = "bstr"
-version = "1.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05"
-dependencies = [
- "memchr",
- "serde",
-]
-
[[package]]
name = "bumpalo"
version = "3.13.0"
@@ -555,26 +545,27 @@ dependencies = [
[[package]]
name = "cairo-rs"
-version = "0.15.12"
+version = "0.16.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c76ee391b03d35510d9fa917357c7f1855bd9a6659c95a1b392e33f49b3369bc"
+checksum = "f3125b15ec28b84c238f6f476c6034016a5f6cc0221cb514ca46c532139fc97d"
dependencies = [
"bitflags 1.3.2",
"cairo-sys-rs",
"glib",
"libc",
+ "once_cell",
"thiserror",
]
[[package]]
name = "cairo-sys-rs"
-version = "0.15.1"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c55d429bef56ac9172d25fecb85dc8068307d17acd74b377866b7a1ef25d3c8"
+checksum = "7c48f4af05fabdcfa9658178e1326efa061853f040ce7d72e33af6885196f421"
dependencies = [
"glib-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
@@ -615,7 +606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "599aa35200ffff8f04c1925aa1acc92fa2e08874379ef42e210a80e527e60838"
dependencies = [
"serde",
- "toml 0.7.6",
+ "toml",
]
[[package]]
@@ -641,15 +632,6 @@ dependencies = [
"uuid",
]
-[[package]]
-name = "cfg-expr"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3431df59f28accaf4cb4eed4a9acc66bea3f3c3753aa6cdc2f024174ef232af7"
-dependencies = [
- "smallvec",
-]
-
[[package]]
name = "cfg-expr"
version = "0.15.4"
@@ -742,7 +724,7 @@ version = "4.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050"
dependencies = [
- "heck 0.4.1",
+ "heck",
"proc-macro2",
"quote",
"syn 2.0.27",
@@ -1255,7 +1237,7 @@ checksum = "f7f1e82a60222fc67bfd50d752a9c89da5cce4c39ed39decc84a443b07bbd69a"
dependencies = [
"cc",
"rustc_version",
- "toml 0.7.6",
+ "toml",
"vswhom",
"winreg 0.11.0",
]
@@ -1607,9 +1589,9 @@ dependencies = [
[[package]]
name = "gdk"
-version = "0.15.4"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6e05c1f572ab0e1f15be94217f0dc29088c248b14f792a5ff0af0d84bcda9e8"
+checksum = "aa9cb33da481c6c040404a11f8212d193889e9b435db2c14fd86987f630d3ce1"
dependencies = [
"bitflags 1.3.2",
"cairo-rs",
@@ -1623,9 +1605,9 @@ dependencies = [
[[package]]
name = "gdk-pixbuf"
-version = "0.15.11"
+version = "0.16.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad38dd9cc8b099cceecdf41375bb6d481b1b5a7cd5cd603e10a69a9383f8619a"
+checksum = "c3578c60dee9d029ad86593ed88cb40f35c1b83360e12498d055022385dd9a05"
dependencies = [
"bitflags 1.3.2",
"gdk-pixbuf-sys",
@@ -1636,22 +1618,22 @@ dependencies = [
[[package]]
name = "gdk-pixbuf-sys"
-version = "0.15.10"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "140b2f5378256527150350a8346dbdb08fadc13453a7a2d73aecd5fab3c402a7"
+checksum = "3092cf797a5f1210479ea38070d9ae8a5b8e9f8f1be9f32f4643c529c7d70016"
dependencies = [
"gio-sys",
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
name = "gdk-sys"
-version = "0.15.1"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32e7a08c1e8f06f4177fb7e51a777b8c1689f743a7bc11ea91d44d2226073a88"
+checksum = "d76354f97a913e55b984759a997b693aa7dc71068c9e98bcce51aa167a0a5c5a"
dependencies = [
"cairo-sys-rs",
"gdk-pixbuf-sys",
@@ -1661,33 +1643,33 @@ dependencies = [
"libc",
"pango-sys",
"pkg-config",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
name = "gdkwayland-sys"
-version = "0.15.3"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cca49a59ad8cfdf36ef7330fe7bdfbe1d34323220cc16a0de2679ee773aee2c2"
+checksum = "4511710212ed3020b61a8622a37aa6f0dd2a84516575da92e9b96928dcbe83ba"
dependencies = [
"gdk-sys",
"glib-sys",
"gobject-sys",
"libc",
"pkg-config",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
name = "gdkx11-sys"
-version = "0.15.1"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4b7f8c7a84b407aa9b143877e267e848ff34106578b64d1e0a24bf550716178"
+checksum = "9fa2bf8b5b8c414bc5d05e48b271896d0fd3ddb57464a3108438082da61de6af"
dependencies = [
"gdk-sys",
"glib-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
"x11",
]
@@ -1756,45 +1738,50 @@ checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"
[[package]]
name = "gio"
-version = "0.15.12"
+version = "0.16.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68fdbc90312d462781a395f7a16d96a2b379bb6ef8cd6310a2df272771c4283b"
+checksum = "2a1c84b4534a290a29160ef5c6eff2a9c95833111472e824fc5cb78b513dd092"
dependencies = [
"bitflags 1.3.2",
"futures-channel",
"futures-core",
"futures-io",
+ "futures-util",
"gio-sys",
"glib",
"libc",
"once_cell",
+ "pin-project-lite",
+ "smallvec",
"thiserror",
]
[[package]]
name = "gio-sys"
-version = "0.15.10"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32157a475271e2c4a023382e9cab31c4584ee30a97da41d3c4e9fdd605abcf8d"
+checksum = "e9b693b8e39d042a95547fc258a7b07349b1f0b48f4b2fa3108ba3c51c0b5229"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
"winapi",
]
[[package]]
name = "glib"
-version = "0.15.12"
+version = "0.16.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edb0306fbad0ab5428b0ca674a23893db909a98582969c9b537be4ced78c505d"
+checksum = "16aa2475c9debed5a32832cb5ff2af5a3f9e1ab9e69df58eaadc1ab2004d6eba"
dependencies = [
"bitflags 1.3.2",
"futures-channel",
"futures-core",
"futures-executor",
"futures-task",
+ "futures-util",
+ "gio-sys",
"glib-macros",
"glib-sys",
"gobject-sys",
@@ -1806,12 +1793,12 @@ dependencies = [
[[package]]
name = "glib-macros"
-version = "0.15.13"
+version = "0.16.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10c6ae9f6fa26f4fb2ac16b528d138d971ead56141de489f8111e259b9df3c4a"
+checksum = "fb1a9325847aa46f1e96ffea37611b9d51fc4827e67f79e7de502a297560a67b"
dependencies = [
"anyhow",
- "heck 0.4.1",
+ "heck",
"proc-macro-crate",
"proc-macro-error",
"proc-macro2",
@@ -1821,12 +1808,12 @@ dependencies = [
[[package]]
name = "glib-sys"
-version = "0.15.10"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4"
+checksum = "c61a4f46316d06bfa33a7ac22df6f0524c8be58e3db2d9ca99ccb1f357b62a65"
dependencies = [
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
@@ -1835,35 +1822,22 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
-[[package]]
-name = "globset"
-version = "0.4.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006"
-dependencies = [
- "aho-corasick",
- "bstr",
- "fnv",
- "log",
- "regex",
-]
-
[[package]]
name = "gobject-sys"
-version = "0.15.10"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d57ce44246becd17153bd035ab4d32cfee096a657fc01f2231c9278378d1e0a"
+checksum = "3520bb9c07ae2a12c7f2fbb24d4efc11231c8146a86956413fb1a79bb760a0f1"
dependencies = [
"glib-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
name = "gtk"
-version = "0.15.5"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92e3004a2d5d6d8b5057d2b57b3712c9529b62e82c77f25c1fecde1fd5c23bd0"
+checksum = "e4d3507d43908c866c805f74c9dd593c0ce7ba5c38e576e41846639cdcd4bee6"
dependencies = [
"atk",
"bitflags 1.3.2",
@@ -1884,9 +1858,9 @@ dependencies = [
[[package]]
name = "gtk-sys"
-version = "0.15.3"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5bc2f0587cba247f60246a0ca11fe25fb733eabc3de12d1965fc07efab87c84"
+checksum = "89b5f8946685d5fe44497007786600c2f368ff6b1e61a16251c89f72a97520a3"
dependencies = [
"atk-sys",
"cairo-sys-rs",
@@ -1897,14 +1871,14 @@ dependencies = [
"gobject-sys",
"libc",
"pango-sys",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
name = "gtk3-macros"
-version = "0.15.6"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "684c0456c086e8e7e9af73ec5b84e35938df394712054550e81558d21c44ab0d"
+checksum = "096eb63c6fedf03bafe65e5924595785eaf1bcb7200dac0f2cbe9c9738f05ad8"
dependencies = [
"anyhow",
"proc-macro-crate",
@@ -1961,15 +1935,6 @@ dependencies = [
"hashbrown 0.14.0",
]
-[[package]]
-name = "heck"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
-dependencies = [
- "unicode-segmentation",
-]
-
[[package]]
name = "heck"
version = "0.4.1"
@@ -2096,19 +2061,6 @@ dependencies = [
"want",
]
-[[package]]
-name = "hyper-tls"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
-dependencies = [
- "bytes",
- "hyper",
- "native-tls",
- "tokio",
- "tokio-native-tls",
-]
-
[[package]]
name = "iana-time-zone"
version = "0.1.57"
@@ -2158,23 +2110,6 @@ dependencies = [
"unicode-normalization",
]
-[[package]]
-name = "ignore"
-version = "0.4.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492"
-dependencies = [
- "globset",
- "lazy_static",
- "log",
- "memchr",
- "regex",
- "same-file",
- "thread_local",
- "walkdir",
- "winapi-util",
-]
-
[[package]]
name = "image"
version = "0.24.6"
@@ -2331,9 +2266,9 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
[[package]]
name = "javascriptcore-rs"
-version = "0.16.0"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf053e7843f2812ff03ef5afe34bb9c06ffee120385caad4f6b9967fcd37d41c"
+checksum = "110b9902c80c12bf113c432d0b71c7a94490b294a8234f326fd0abca2fac0b00"
dependencies = [
"bitflags 1.3.2",
"glib",
@@ -2342,14 +2277,14 @@ dependencies = [
[[package]]
name = "javascriptcore-rs-sys"
-version = "0.4.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "905fbb87419c5cde6e3269537e4ea7d46431f3008c5d057e915ef3f115e7793c"
+checksum = "98a216519a52cd941a733a0ad3f1023cfdb1cd47f3955e8e863ed56f558f916c"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 5.0.0",
+ "system-deps",
]
[[package]]
@@ -2414,46 +2349,12 @@ dependencies = [
"spin 0.5.2",
]
-[[package]]
-name = "libappindicator"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2d3cb96d092b4824cb306c9e544c856a4cb6210c1081945187f7f1924b47e8"
-dependencies = [
- "glib",
- "gtk",
- "gtk-sys",
- "libappindicator-sys",
- "log",
-]
-
-[[package]]
-name = "libappindicator-sys"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1b3b6681973cea8cc3bce7391e6d7d5502720b80a581c9a95c9cbaf592826aa"
-dependencies = [
- "gtk-sys",
- "libloading",
- "once_cell",
-]
-
[[package]]
name = "libc"
version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
-[[package]]
-name = "libloading"
-version = "0.7.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
-dependencies = [
- "cfg-if",
- "winapi",
-]
-
[[package]]
name = "libm"
version = "0.2.7"
@@ -2561,19 +2462,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
-[[package]]
-name = "mac-notification-sys"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abc434554ad0e640d772f7f262aa28e61d485212533d3673abe5f3d1729bd42a"
-dependencies = [
- "cc",
- "dirs-next",
- "objc-foundation",
- "objc_id",
- "time",
-]
-
[[package]]
name = "malloc_buf"
version = "0.0.6"
@@ -2660,28 +2548,12 @@ version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-[[package]]
-name = "mime_guess"
-version = "2.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
-dependencies = [
- "mime",
- "unicase",
-]
-
[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
-[[package]]
-name = "minisign-verify"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881"
-
[[package]]
name = "miniz_oxide"
version = "0.7.1"
@@ -2703,24 +2575,6 @@ dependencies = [
"windows-sys 0.48.0",
]
-[[package]]
-name = "native-tls"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
-dependencies = [
- "lazy_static",
- "libc",
- "log",
- "openssl",
- "openssl-probe",
- "openssl-sys",
- "schannel",
- "security-framework",
- "security-framework-sys",
- "tempfile",
-]
-
[[package]]
name = "ndk"
version = "0.6.0"
@@ -2818,19 +2672,6 @@ dependencies = [
"minimal-lexical",
]
-[[package]]
-name = "notify-rust"
-version = "4.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bfa211d18e360f08e36c364308f394b5eb23a6629150690e109a916dc6f610e"
-dependencies = [
- "log",
- "mac-notification-sys",
- "serde",
- "tauri-winrt-notification",
- "zbus",
-]
-
[[package]]
name = "nu-ansi-term"
version = "0.46.0"
@@ -2941,17 +2782,6 @@ dependencies = [
"objc_exception",
]
-[[package]]
-name = "objc-foundation"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
-dependencies = [
- "block",
- "objc",
- "objc_id",
-]
-
[[package]]
name = "objc_exception"
version = "0.1.2"
@@ -2991,60 +2821,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
-[[package]]
-name = "open"
-version = "3.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2078c0039e6a54a0c42c28faa984e115fb4c2d5bf2208f77d1961002df8576f8"
-dependencies = [
- "pathdiff",
- "windows-sys 0.42.0",
-]
-
-[[package]]
-name = "openssl"
-version = "0.10.55"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d"
-dependencies = [
- "bitflags 1.3.2",
- "cfg-if",
- "foreign-types",
- "libc",
- "once_cell",
- "openssl-macros",
- "openssl-sys",
-]
-
-[[package]]
-name = "openssl-macros"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.27",
-]
-
-[[package]]
-name = "openssl-probe"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
-
-[[package]]
-name = "openssl-sys"
-version = "0.9.90"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6"
-dependencies = [
- "cc",
- "libc",
- "pkg-config",
- "vcpkg",
-]
-
[[package]]
name = "ordered-stream"
version = "0.2.0"
@@ -3055,17 +2831,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "os_info"
-version = "3.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"
-dependencies = [
- "log",
- "serde",
- "winapi",
-]
-
[[package]]
name = "overload"
version = "0.1.1"
@@ -3074,11 +2839,12 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
[[package]]
name = "pango"
-version = "0.15.10"
+version = "0.16.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22e4045548659aee5313bde6c582b0d83a627b7904dd20dc2d9ef0895d414e4f"
+checksum = "cdff66b271861037b89d028656184059e03b0b6ccb36003820be19f7200b1e94"
dependencies = [
"bitflags 1.3.2",
+ "gio",
"glib",
"libc",
"once_cell",
@@ -3087,14 +2853,14 @@ dependencies = [
[[package]]
name = "pango-sys"
-version = "0.15.10"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2a00081cde4661982ed91d80ef437c20eacaf6aa1a5962c0279ae194662c3aa"
+checksum = "9e134909a9a293e04d2cc31928aa95679c5e4df954d0b85483159bd20d8f047f"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.1.1",
+ "system-deps",
]
[[package]]
@@ -3132,12 +2898,6 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
-[[package]]
-name = "pathdiff"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
-
[[package]]
name = "pbkdf2"
version = "0.11.0"
@@ -3328,7 +3088,7 @@ dependencies = [
"base64 0.21.2",
"indexmap 1.9.3",
"line-wrap",
- "quick-xml 0.29.0",
+ "quick-xml",
"serde",
"time",
]
@@ -3455,15 +3215,6 @@ dependencies = [
"rustyline",
]
-[[package]]
-name = "quick-xml"
-version = "0.23.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11bafc859c6815fbaffbbbf4229ecb767ac913fecb27f9ad4343662e9ef099ea"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "quick-xml"
version = "0.29.0"
@@ -3713,13 +3464,10 @@ dependencies = [
"http",
"http-body",
"hyper",
- "hyper-tls",
"ipnet",
"js-sys",
"log",
"mime",
- "mime_guess",
- "native-tls",
"once_cell",
"percent-encoding",
"pin-project-lite",
@@ -3727,7 +3475,6 @@ dependencies = [
"serde_json",
"serde_urlencoded",
"tokio",
- "tokio-native-tls",
"tokio-util",
"tower-service",
"url",
@@ -3738,30 +3485,6 @@ dependencies = [
"winreg 0.10.1",
]
-[[package]]
-name = "rfd"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0149778bd99b6959285b0933288206090c50e2327f47a9c463bfdbf45c8823ea"
-dependencies = [
- "block",
- "dispatch",
- "glib-sys",
- "gobject-sys",
- "gtk-sys",
- "js-sys",
- "lazy_static",
- "log",
- "objc",
- "objc-foundation",
- "objc_id",
- "raw-window-handle",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
- "windows 0.37.0",
-]
-
[[package]]
name = "ring"
version = "0.16.20"
@@ -3934,15 +3657,6 @@ dependencies = [
"winapi-util",
]
-[[package]]
-name = "schannel"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
-dependencies = [
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "scoped-tls"
version = "1.0.1"
@@ -3965,29 +3679,6 @@ dependencies = [
"untrusted",
]
-[[package]]
-name = "security-framework"
-version = "2.9.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "core-foundation-sys",
- "libc",
- "security-framework-sys",
-]
-
-[[package]]
-name = "security-framework-sys"
-version = "2.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
[[package]]
name = "selectors"
version = "0.22.0"
@@ -4251,31 +3942,31 @@ dependencies = [
]
[[package]]
-name = "soup2"
-version = "0.2.1"
+name = "soup3"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2b4d76501d8ba387cf0fefbe055c3e0a59891d09f0f995ae4e4b16f6b60f3c0"
+checksum = "82bc46048125fefd69d30b32b9d263d6556c9ffe82a7a7df181a86d912da5616"
dependencies = [
"bitflags 1.3.2",
+ "futures-channel",
"gio",
"glib",
"libc",
"once_cell",
- "soup2-sys",
+ "soup3-sys",
]
[[package]]
-name = "soup2-sys"
-version = "0.2.0"
+name = "soup3-sys"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "009ef427103fcb17f802871647a7fa6c60cbb654b4c4e4c0ac60a31c5f6dc9cf"
+checksum = "014bbeb1c4cdb30739dc181e8d98b7908f124d9555843afa89b5570aaf4ec62b"
dependencies = [
- "bitflags 1.3.2",
"gio-sys",
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 5.0.0",
+ "system-deps",
]
[[package]]
@@ -4418,7 +4109,7 @@ checksum = "8a4a8336d278c62231d87f24e8a7a74898156e34c1c18942857be2acb29c7dfc"
dependencies = [
"dotenvy",
"either",
- "heck 0.4.1",
+ "heck",
"hex",
"once_cell",
"proc-macro2",
@@ -4675,6 +4366,17 @@ version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
+[[package]]
+name = "swift-rs"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05e51d6f2b5fff4808614f429f8a7655ac8bcfe218185413f3a60c508482c2d6"
+dependencies = [
+ "base64 0.21.2",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "syn"
version = "1.0.109"
@@ -4697,50 +4399,24 @@ dependencies = [
"unicode-ident",
]
-[[package]]
-name = "sys-locale"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8a11bd9c338fdba09f7881ab41551932ad42e405f61d01e8406baea71c07aee"
-dependencies = [
- "js-sys",
- "libc",
- "wasm-bindgen",
- "web-sys",
- "windows-sys 0.45.0",
-]
-
-[[package]]
-name = "system-deps"
-version = "5.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18db855554db7bd0e73e06cf7ba3df39f97812cb11d3f75e71c39bf45171797e"
-dependencies = [
- "cfg-expr 0.9.1",
- "heck 0.3.3",
- "pkg-config",
- "toml 0.5.11",
- "version-compare 0.0.11",
-]
-
[[package]]
name = "system-deps"
version = "6.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30c2de8a4d8f4b823d634affc9cd2a74ec98c53a756f317e529a48046cbf71f3"
dependencies = [
- "cfg-expr 0.15.4",
- "heck 0.4.1",
+ "cfg-expr",
+ "heck",
"pkg-config",
- "toml 0.7.6",
- "version-compare 0.1.1",
+ "toml",
+ "version-compare",
]
[[package]]
name = "tao"
-version = "0.16.2"
+version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a6d198e01085564cea63e976ad1566c1ba2c2e4cc79578e35d9f05521505e31"
+checksum = "746ae5d0ca57ae275a792f109f6e992e0b41a443abdf3f5c6eff179ef5b3443a"
dependencies = [
"bitflags 1.3.2",
"cairo-rs",
@@ -4749,7 +4425,6 @@ dependencies = [
"core-foundation",
"core-graphics",
"crossbeam-channel",
- "dirs-next",
"dispatch",
"gdk",
"gdk-pixbuf",
@@ -4764,7 +4439,6 @@ dependencies = [
"instant",
"jni",
"lazy_static",
- "libappindicator",
"libc",
"log",
"ndk",
@@ -4780,7 +4454,7 @@ dependencies = [
"tao-macros",
"unicode-segmentation",
"uuid",
- "windows 0.39.0",
+ "windows 0.44.0",
"windows-implement",
"x11-dl",
]
@@ -4796,17 +4470,6 @@ dependencies = [
"syn 1.0.109",
]
-[[package]]
-name = "tar"
-version = "0.4.39"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec96d2ffad078296368d46ff1cb309be1c23c513b4ab0e22a45de0185275ac96"
-dependencies = [
- "filetime",
- "libc",
- "xattr",
-]
-
[[package]]
name = "target-lexicon"
version = "0.12.10"
@@ -4815,83 +4478,76 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e"
[[package]]
name = "tauri"
-version = "1.4.1"
+version = "2.0.0-alpha.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fbe522898e35407a8e60dc3870f7579fea2fc262a6a6072eccdd37ae1e1d91e"
+checksum = "2e18377a75e314aa1d476896af881ed63f57a78ca84889fe63e69067f0de158d"
dependencies = [
"anyhow",
- "base64 0.21.2",
"bytes",
"cocoa",
"dirs-next",
"embed_plist",
- "encoding_rs",
- "flate2",
"futures-util",
"glib",
"glob",
"gtk",
- "heck 0.4.1",
+ "heck",
"http",
- "ignore",
- "minisign-verify",
- "notify-rust",
+ "jni",
+ "libc",
+ "log",
"objc",
"once_cell",
- "open",
- "os_info",
"percent-encoding",
"rand 0.8.5",
"raw-window-handle",
- "regex",
"reqwest",
- "rfd",
"semver",
"serde",
"serde_json",
"serde_repr",
"serialize-to-javascript",
"state",
- "sys-locale",
- "tar",
+ "swift-rs",
+ "tauri-build",
"tauri-macros",
"tauri-runtime",
"tauri-runtime-wry",
"tauri-utils",
"tempfile",
"thiserror",
- "time",
"tokio",
"url",
"uuid",
"webkit2gtk",
"webview2-com",
- "windows 0.39.0",
- "zip",
+ "windows 0.44.0",
]
[[package]]
name = "tauri-build"
-version = "1.4.0"
+version = "2.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d2edd6a259b5591c8efdeb9d5702cb53515b82a6affebd55c7fd6d3a27b7d1b"
+checksum = "a52990870fd043f1d3bd6719ae713ef2e0c50431334d7249f6ae8509d1b8c326"
dependencies = [
"anyhow",
"cargo_toml",
- "heck 0.4.1",
+ "heck",
"json-patch",
"semver",
"serde",
"serde_json",
+ "swift-rs",
"tauri-utils",
"tauri-winres",
+ "walkdir",
]
[[package]]
name = "tauri-codegen"
-version = "1.4.0"
+version = "2.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54ad2d49fdeab4a08717f5b49a163bdc72efc3b1950b6758245fcde79b645e1a"
+checksum = "5c1f1611ab0896f2693163ba4e8f3e39c02a1b70cdca4314286b5e365a5e08c6"
dependencies = [
"base64 0.21.2",
"brotli",
@@ -4901,7 +4557,6 @@ dependencies = [
"png",
"proc-macro2",
"quote",
- "regex",
"semver",
"serde",
"serde_json",
@@ -4909,17 +4564,18 @@ dependencies = [
"tauri-utils",
"thiserror",
"time",
+ "url",
"uuid",
"walkdir",
]
[[package]]
name = "tauri-macros"
-version = "1.4.0"
+version = "2.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eb12a2454e747896929338d93b0642144bb51e0dddbb36e579035731f0d76b7"
+checksum = "22752425c6dd6f3a058f376db7371f1d5bac250e340d40ba6c97ecf7182eef29"
dependencies = [
- "heck 0.4.1",
+ "heck",
"proc-macro2",
"quote",
"syn 1.0.109",
@@ -4929,8 +4585,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-autostart"
-version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
dependencies = [
"auto-launch",
"log",
@@ -4942,8 +4598,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
-version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
dependencies = [
"log",
"serde",
@@ -4956,8 +4612,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-sql"
-version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
dependencies = [
"futures-core",
"log",
@@ -4972,8 +4628,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-stronghold"
-version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
dependencies = [
"hex",
"iota-crypto 0.23.0",
@@ -4988,8 +4644,8 @@ dependencies = [
[[package]]
name = "tauri-plugin-upload"
-version = "0.0.0"
-source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#d272bde2bb0ee105ba8c306f2c853118c49733f2"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
dependencies = [
"futures-util",
"log",
@@ -5005,13 +4661,14 @@ dependencies = [
[[package]]
name = "tauri-runtime"
-version = "0.14.0"
+version = "0.13.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "108683199cb18f96d2d4134187bb789964143c845d2d154848dda209191fd769"
+checksum = "d7ce19f1309299bbc38ee9236307fad4943bd8fb09dd3fea5e9dd93c1d0898d6"
dependencies = [
"gtk",
"http",
"http-range",
+ "jni",
"rand 0.8.5",
"raw-window-handle",
"serde",
@@ -5020,18 +4677,18 @@ dependencies = [
"thiserror",
"url",
"uuid",
- "webview2-com",
- "windows 0.39.0",
+ "windows 0.44.0",
]
[[package]]
name = "tauri-runtime-wry"
-version = "0.14.0"
+version = "0.13.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b7aa256a1407a3a091b5d843eccc1a5042289baf0a43d1179d9f0fcfea37c1b"
+checksum = "1231be42085f3a8b150e615601f8a070bd16bf579771a5dafe2931970a05b518"
dependencies = [
"cocoa",
"gtk",
+ "jni",
"percent-encoding",
"rand 0.8.5",
"raw-window-handle",
@@ -5040,21 +4697,21 @@ dependencies = [
"uuid",
"webkit2gtk",
"webview2-com",
- "windows 0.39.0",
+ "windows 0.44.0",
"wry",
]
[[package]]
name = "tauri-utils"
-version = "1.4.0"
+version = "2.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03fc02bb6072bb397e1d473c6f76c953cda48b4a2d0cce605df284aa74a12e84"
+checksum = "2e2812e0cdfffb892c654555b2f1b8c84a035b4c56eb1646cb3eb5a9d8164d8e"
dependencies = [
"brotli",
"ctor",
"dunce",
"glob",
- "heck 0.4.1",
+ "heck",
"html5ever",
"infer",
"json-patch",
@@ -5070,7 +4727,7 @@ dependencies = [
"thiserror",
"url",
"walkdir",
- "windows 0.39.0",
+ "windows 0.44.0",
]
[[package]]
@@ -5080,17 +4737,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5993dc129e544393574288923d1ec447c857f3f644187f4fbf7d9a875fbfc4fb"
dependencies = [
"embed-resource",
- "toml 0.7.6",
-]
-
-[[package]]
-name = "tauri-winrt-notification"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f5bff1d532fead7c43324a0fa33643b8621a47ce2944a633be4cb6c0240898f"
-dependencies = [
- "quick-xml 0.23.1",
- "windows 0.39.0",
+ "toml",
]
[[package]]
@@ -5224,16 +4871,6 @@ dependencies = [
"syn 2.0.27",
]
-[[package]]
-name = "tokio-native-tls"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
-dependencies = [
- "native-tls",
- "tokio",
-]
-
[[package]]
name = "tokio-stream"
version = "0.1.14"
@@ -5259,15 +4896,6 @@ dependencies = [
"tracing",
]
-[[package]]
-name = "toml"
-version = "0.5.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
-dependencies = [
- "serde",
-]
-
[[package]]
name = "toml"
version = "0.7.6"
@@ -5402,15 +5030,6 @@ dependencies = [
"winapi",
]
-[[package]]
-name = "unicase"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
-dependencies = [
- "version_check",
-]
-
[[package]]
name = "unicode-bidi"
version = "0.3.13"
@@ -5511,12 +5130,6 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
-[[package]]
-name = "version-compare"
-version = "0.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c18c859eead79d8b95d09e4678566e8d70105c4e7b251f707a03df32442661b"
-
[[package]]
name = "version-compare"
version = "0.1.1"
@@ -5677,9 +5290,9 @@ dependencies = [
[[package]]
name = "webkit2gtk"
-version = "0.18.2"
+version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8f859735e4a452aeb28c6c56a852967a8a76c8eb1cc32dbf931ad28a13d6370"
+checksum = "d8eea819afe15eb8dcdff4f19d8bfda540bae84d874c10e6f4b8faf2d6704bd1"
dependencies = [
"bitflags 1.3.2",
"cairo-rs",
@@ -5695,20 +5308,18 @@ dependencies = [
"javascriptcore-rs",
"libc",
"once_cell",
- "soup2",
+ "soup3",
"webkit2gtk-sys",
]
[[package]]
name = "webkit2gtk-sys"
-version = "0.18.0"
+version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d76ca6ecc47aeba01ec61e480139dda143796abcae6f83bcddf50d6b5b1dcf3"
+checksum = "d0ac7a95ddd3fdfcaf83d8e513b4b1ad101b95b413b6aa6662ed95f284fc3d5b"
dependencies = [
- "atk-sys",
"bitflags 1.3.2",
"cairo-sys-rs",
- "gdk-pixbuf-sys",
"gdk-sys",
"gio-sys",
"glib-sys",
@@ -5716,10 +5327,9 @@ dependencies = [
"gtk-sys",
"javascriptcore-rs-sys",
"libc",
- "pango-sys",
"pkg-config",
- "soup2-sys",
- "system-deps 6.1.1",
+ "soup3-sys",
+ "system-deps",
]
[[package]]
@@ -5733,13 +5343,13 @@ dependencies = [
[[package]]
name = "webview2-com"
-version = "0.19.1"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4a769c9f1a64a8734bde70caafac2b96cada12cd4aefa49196b3a386b8b4178"
+checksum = "11296e5daf3a653b79bf47d66c380e4143d5b9c975818871179a3bda79499562"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
- "windows 0.39.0",
+ "windows 0.44.0",
"windows-implement",
]
@@ -5756,15 +5366,15 @@ dependencies = [
[[package]]
name = "webview2-com-sys"
-version = "0.19.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aac48ef20ddf657755fdcda8dfed2a7b4fc7e4581acce6fe9b88c3d64f29dee7"
+checksum = "cde542bed28058a5b028d459689ee57f1d06685bb6c266da3b91b1be6703952f"
dependencies = [
"regex",
"serde",
"serde_json",
"thiserror",
- "windows 0.39.0",
+ "windows 0.44.0",
"windows-bindgen",
"windows-metadata",
]
@@ -5821,29 +5431,13 @@ dependencies = [
[[package]]
name = "windows"
-version = "0.37.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57b543186b344cc61c85b5aab0d2e3adf4e0f99bc076eff9aa5927bcc0b8a647"
-dependencies = [
- "windows_aarch64_msvc 0.37.0",
- "windows_i686_gnu 0.37.0",
- "windows_i686_msvc 0.37.0",
- "windows_x86_64_gnu 0.37.0",
- "windows_x86_64_msvc 0.37.0",
-]
-
-[[package]]
-name = "windows"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1c4bd0a50ac6020f65184721f758dba47bb9fbc2133df715ec74a237b26794a"
+checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"
dependencies = [
"windows-implement",
- "windows_aarch64_msvc 0.39.0",
- "windows_i686_gnu 0.39.0",
- "windows_i686_msvc 0.39.0",
- "windows_x86_64_gnu 0.39.0",
- "windows_x86_64_msvc 0.39.0",
+ "windows-interface",
+ "windows-targets 0.42.2",
]
[[package]]
@@ -5857,9 +5451,9 @@ dependencies = [
[[package]]
name = "windows-bindgen"
-version = "0.39.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68003dbd0e38abc0fb85b939240f4bce37c43a5981d3df37ccbaaa981b47cb41"
+checksum = "222204ecf46521382a4d88b4a1bbefca9f8855697b4ab7d20803901425e061a3"
dependencies = [
"windows-metadata",
"windows-tokens",
@@ -5867,34 +5461,31 @@ dependencies = [
[[package]]
name = "windows-implement"
-version = "0.39.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba01f98f509cb5dc05f4e5fc95e535f78260f15fea8fe1a8abdd08f774f1cee7"
+checksum = "6ce87ca8e3417b02dc2a8a22769306658670ec92d78f1bd420d6310a67c245c6"
dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.44.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "853f69a591ecd4f810d29f17e902d40e349fb05b0b11fff63b08b826bfe39c7f"
+dependencies = [
+ "proc-macro2",
+ "quote",
"syn 1.0.109",
- "windows-tokens",
]
[[package]]
name = "windows-metadata"
-version = "0.39.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ee5e275231f07c6e240d14f34e1b635bf1faa1c76c57cfd59a5cdb9848e4278"
-
-[[package]]
-name = "windows-sys"
-version = "0.42.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
-dependencies = [
- "windows_aarch64_gnullvm 0.42.2",
- "windows_aarch64_msvc 0.42.2",
- "windows_i686_gnu 0.42.2",
- "windows_i686_msvc 0.42.2",
- "windows_x86_64_gnu 0.42.2",
- "windows_x86_64_gnullvm 0.42.2",
- "windows_x86_64_msvc 0.42.2",
-]
+checksum = "ee78911e3f4ce32c1ad9d3c7b0bd95389662ad8d8f1a3155688fed70bd96e2b6"
[[package]]
name = "windows-sys"
@@ -5946,9 +5537,9 @@ dependencies = [
[[package]]
name = "windows-tokens"
-version = "0.39.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f838de2fe15fe6bac988e74b798f26499a8b21a9d97edec321e79b28d1d7f597"
+checksum = "fa4251900975a0d10841c5d4bde79c56681543367ef811f3fabb8d1803b0959b"
[[package]]
name = "windows_aarch64_gnullvm"
@@ -5968,18 +5559,6 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2623277cb2d1c216ba3b578c0f3cf9cdebeddb6e66b1b218bb33596ea7769c3a"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.42.2"
@@ -5998,18 +5577,6 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3925fd0b0b804730d44d4b6278c50f9699703ec49bcd628020f46f4ba07d9e1"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b"
-
[[package]]
name = "windows_i686_gnu"
version = "0.42.2"
@@ -6028,18 +5595,6 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce907ac74fe331b524c1298683efbf598bb031bc84d5e274db2083696d07c57c"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106"
-
[[package]]
name = "windows_i686_msvc"
version = "0.42.2"
@@ -6058,18 +5613,6 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2babfba0828f2e6b32457d5341427dcbb577ceef556273229959ac23a10af33d"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.42.2"
@@ -6100,18 +5643,6 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4dd6dc7df2d84cf7b33822ed5b86318fb1781948e9663bacd047fc9dd52259d"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.42.2"
@@ -6154,9 +5685,9 @@ dependencies = [
[[package]]
name = "wry"
-version = "0.24.3"
+version = "0.28.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33748f35413c8a98d45f7a08832d848c0c5915501803d1faade5a4ebcd258cea"
+checksum = "7d15f9f827d537cefe6d047be3930f5d89b238dfb85e08ba6a319153217635aa"
dependencies = [
"base64 0.13.1",
"block",
@@ -6170,6 +5701,7 @@ dependencies = [
"gtk",
"html5ever",
"http",
+ "javascriptcore-rs",
"kuchiki",
"libc",
"log",
@@ -6179,14 +5711,14 @@ dependencies = [
"serde",
"serde_json",
"sha2 0.10.7",
- "soup2",
+ "soup3",
"tao",
"thiserror",
"url",
"webkit2gtk",
"webkit2gtk-sys",
"webview2-com",
- "windows 0.39.0",
+ "windows 0.44.0",
"windows-implement",
]
@@ -6222,15 +5754,6 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "xattr"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "xdg-home"
version = "1.0.0"
@@ -6327,17 +5850,6 @@ dependencies = [
"syn 2.0.27",
]
-[[package]]
-name = "zip"
-version = "0.6.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
-dependencies = [
- "byteorder",
- "crc32fast",
- "crossbeam-utils",
-]
-
[[package]]
name = "zvariant"
version = "3.15.0"
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 915730c5..d88e1602 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -11,36 +11,16 @@ rust-version = "1.57"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
-tauri-build = { version = "1.2", features = [] }
+tauri-build = { version = "2.0.0-alpha.6", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-tauri = { version = "1.2", features = [
- "fs-remove-file",
- "fs-write-file",
- "window-create",
- "path-all",
- "fs-read-dir",
- "fs-read-file",
- "clipboard-read-text",
- "clipboard-write-text",
- "dialog-open",
- "http-all",
- "http-multipart",
- "notification-all",
- "os-all",
- "process-relaunch",
- "shell-open",
- "system-tray",
- "updater",
- "window-close",
- "window-start-dragging",
-] }
-tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
-tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
-tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
-tauri-plugin-upload = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
+tauri = { version = "2.0.0-alpha.10" }
+tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-upload = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
sqlx-cli = { version = "0.7.0", default-features = false, features = [
"sqlite",
] }
@@ -49,7 +29,7 @@ rand = "0.8.5"
[dependencies.tauri-plugin-sql]
git = "https://github.com/tauri-apps/plugins-workspace"
-branch = "v1"
+branch = "v2"
features = ["sqlite"]
[target.'cfg(target_os = "macos")'.dependencies]
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 51a334d4..0a1f9b1a 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,148 +1,84 @@
{
- "build": {
- "beforeDevCommand": "pnpm dev",
- "beforeBuildCommand": "pnpm build",
- "devPath": "http://localhost:3000",
- "distDir": "../dist",
- "withGlobalTauri": true
- },
- "package": {
- "productName": "Lume",
- "version": "1.1.1"
- },
- "tauri": {
- "allowlist": {
- "all": false,
- "app": {
- "all": false
- },
- "os": {
- "all": true
- },
- "http": {
- "all": true,
- "request": true,
- "scope": ["http://**", "https://**"]
- },
- "fs": {
- "all": false,
- "readFile": true,
- "readDir": true,
- "writeFile": true,
- "removeFile": true,
- "scope": [
- "$APPDATA/*",
- "$DATA/*",
- "$LOCALDATA/*",
- "$DESKTOP/*",
- "$DOCUMENT/*",
- "$DOWNLOAD/*",
- "$HOME/*",
- "$PICTURE/*",
- "$PUBLIC/*",
- "$VIDEO/*"
- ]
- },
- "path": {
- "all": true
- },
- "shell": {
- "all": false,
- "open": true
- },
- "clipboard": {
- "all": false,
- "writeText": true,
- "readText": true
- },
- "dialog": {
- "all": false,
- "open": true
- },
- "notification": {
- "all": true
- },
- "window": {
- "startDragging": true,
- "close": true,
- "create": true
- },
- "process": {
- "all": false,
- "exit": false,
- "relaunch": true,
- "relaunchDangerousAllowSymlinkMacos": false
- }
- },
- "bundle": {
- "active": true,
- "category": "SocialNetworking",
- "copyright": "",
- "appimage": {
- "bundleMediaFramework": true
- },
- "deb": {
- "depends": []
- },
- "externalBin": [],
- "icon": [
- "icons/32x32.png",
- "icons/128x128.png",
- "icons/128x128@2x.png",
- "icons/icon.icns",
- "icons/icon.ico"
- ],
- "identifier": "com.lume.nu",
- "longDescription": "",
- "macOS": {
- "entitlements": null,
- "exceptionDomain": "",
- "frameworks": [],
- "providerShortName": null,
- "signingIdentity": null
- },
- "resources": [],
- "shortDescription": "",
- "targets": "all",
- "windows": {
- "certificateThumbprint": null,
- "digestAlgorithm": "sha256",
- "timestampUrl": ""
- }
- },
- "security": {
- "csp": "upgrade-insecure-requests"
- },
- "updater": {
- "active": true,
- "dialog": true,
- "endpoints": [
- "https://lus.reya3772.workers.dev/v1/{{target}}/{{arch}}/{{current_version}}",
- "https://lus.reya3772.workers.dev/{{target}}/{{current_version}}"
- ],
- "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU4RjAzODFBREQ4MkM3RTEKUldUaHg0TGRHamp3NkI5bnhoOEVjanlHWFNzQ2Q3NDhubFFLUmJpSHJ1L2FqNnB3alF1Y2R3U3gK",
- "windows": {
- "installMode": "passive"
- }
- },
- "systemTray": {
- "iconPath": "icons/icon.png",
- "iconAsTemplate": true
- },
- "windows": [
- {
- "title": "Lume",
- "theme": "Dark",
- "titleBarStyle": "Overlay",
- "hiddenTitle": true,
- "transparent": false,
- "fullscreen": false,
- "resizable": true,
- "width": 1080,
- "height": 800,
- "minWidth": 1080,
- "minHeight": 720
- }
- ]
- }
+ "build": {
+ "beforeDevCommand": "pnpm dev",
+ "beforeBuildCommand": "pnpm build",
+ "devPath": "http://localhost:3000",
+ "distDir": "../dist",
+ "withGlobalTauri": true
+ },
+ "package": {
+ "productName": "Lume",
+ "version": "1.1.1"
+ },
+ "tauri": {
+ "bundle": {
+ "active": true,
+ "category": "SocialNetworking",
+ "copyright": "",
+ "appimage": {
+ "bundleMediaFramework": true
+ },
+ "deb": {
+ "depends": []
+ },
+ "externalBin": [],
+ "icon": [
+ "icons/32x32.png",
+ "icons/128x128.png",
+ "icons/128x128@2x.png",
+ "icons/icon.icns",
+ "icons/icon.ico"
+ ],
+ "identifier": "com.lume.nu",
+ "longDescription": "",
+ "macOS": {
+ "entitlements": null,
+ "exceptionDomain": "",
+ "frameworks": [],
+ "providerShortName": null,
+ "signingIdentity": null
+ },
+ "resources": [],
+ "shortDescription": "",
+ "targets": "all",
+ "windows": {
+ "certificateThumbprint": null,
+ "digestAlgorithm": "sha256",
+ "timestampUrl": ""
+ },
+ "updater": {
+ "active": true,
+ "endpoints": [
+ "https://lus.reya3772.workers.dev/v1/{{target}}/{{arch}}/{{current_version}}",
+ "https://lus.reya3772.workers.dev/{{target}}/{{current_version}}"
+ ],
+ "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU4RjAzODFBREQ4MkM3RTEKUldUaHg0TGRHamp3NkI5bnhoOEVjanlHWFNzQ2Q3NDhubFFLUmJpSHJ1L2FqNnB3alF1Y2R3U3gK",
+ "windows": {
+ "installMode": "passive"
+ }
+ },
+ },
+ "security": {
+ "csp": "upgrade-insecure-requests"
+ },
+ "systemTray": {
+ "iconPath": "icons/icon.png",
+ "iconAsTemplate": true
+ },
+ "windows": [
+ {
+ "title": "Lume",
+ "theme": "Dark",
+ "titleBarStyle": "Overlay",
+ "hiddenTitle": true,
+ "transparent": false,
+ "fullscreen": false,
+ "resizable": true,
+ "width": 1080,
+ "height": 800,
+ "minWidth": 1080,
+ "minHeight": 720
+ }
+ ]
+ }
}
From aca17f104e9cae718f1bab8fc9b0c774399d6493 Mon Sep 17 00:00:00 2001
From: Ren Amamiya <123083837+reyamir@users.noreply.github.com>
Date: Sat, 29 Jul 2023 09:28:15 +0700
Subject: [PATCH 03/34] fully support tauri v2
---
package.json | 16 +-
pnpm-lock.yaml | 163 +++++--
src-tauri/Cargo.lock | 504 +++++++++++++++++++++-
src-tauri/Cargo.toml | 11 +-
src-tauri/src/main.rs | 55 ++-
src-tauri/tauri.conf.json | 73 +++-
src/app.tsx | 3 +
src/app/auth/create/step-1.tsx | 2 +-
src/app/auth/create/step-4.tsx | 2 +-
src/app/channel/components/metadata.tsx | 2 +-
src/app/settings/components/autoStart.tsx | 2 +-
src/app/settings/components/version.tsx | 2 +-
src/libs/openGraph.tsx | 2 +-
src/libs/storage.tsx | 2 +-
src/shared/authLayout.tsx | 4 +-
src/shared/editProfileModal.tsx | 2 +-
src/shared/logout.tsx | 2 +-
src/shared/mediaUploader.tsx | 1 -
src/shared/notes/preview/image.tsx | 2 +-
src/utils/createBlobFromFile.tsx | 2 +-
src/utils/hooks/useSecureStorage.tsx | 4 +-
src/utils/hooks/useUploader.tsx | 4 +-
src/utils/notification.tsx | 2 +-
23 files changed, 751 insertions(+), 111 deletions(-)
diff --git a/package.json b/package.json
index aa9d57a3..2b140213 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,18 @@
"@tanstack/react-query-devtools": "^4.32.0",
"@tanstack/react-virtual": "3.0.0-beta.54",
"@tauri-apps/api": "2.0.0-alpha.5",
+ "@tauri-apps/plugin-app": "github:tauri-apps/tauri-plugin-app#v2",
+ "@tauri-apps/plugin-autostart": "github:tauri-apps/tauri-plugin-autostart#v2",
+ "@tauri-apps/plugin-clipboard-manager": "github:tauri-apps/tauri-plugin-clipboard-manager#v2",
+ "@tauri-apps/plugin-dialog": "github:tauri-apps/tauri-plugin-dialog#v2",
+ "@tauri-apps/plugin-fs": "github:tauri-apps/tauri-plugin-fs#v2",
+ "@tauri-apps/plugin-http": "github:tauri-apps/tauri-plugin-http#v2",
+ "@tauri-apps/plugin-notification": "github:tauri-apps/tauri-plugin-notification#v2",
+ "@tauri-apps/plugin-os": "github:tauri-apps/tauri-plugin-os#v2",
+ "@tauri-apps/plugin-process": "github:tauri-apps/tauri-plugin-process#v2",
+ "@tauri-apps/plugin-sql": "github:tauri-apps/tauri-plugin-sql#v2",
+ "@tauri-apps/plugin-stronghold": "github:tauri-apps/tauri-plugin-stronghold#v2",
+ "@tauri-apps/plugin-upload": "github:tauri-apps/tauri-plugin-upload#v2",
"@tiptap/extension-image": "^2.0.4",
"@tiptap/extension-mention": "^2.0.4",
"@tiptap/extension-placeholder": "^2.0.4",
@@ -56,10 +68,6 @@
"react-virtuoso": "^4.4.2",
"remark-gfm": "^3.0.1",
"tailwind-merge": "^1.14.0",
- "tauri-plugin-autostart-api": "github:tauri-apps/tauri-plugin-autostart#v1",
- "tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql",
- "tauri-plugin-stronghold-api": "github:tauri-apps/tauri-plugin-stronghold#v1",
- "tauri-plugin-upload-api": "github:tauri-apps/tauri-plugin-upload#v1",
"tippy.js": "^6.3.7",
"zustand": "^4.3.9"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 237b8969..0007751f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -31,6 +31,42 @@ dependencies:
'@tauri-apps/api':
specifier: 2.0.0-alpha.5
version: 2.0.0-alpha.5
+ '@tauri-apps/plugin-app':
+ specifier: github:tauri-apps/tauri-plugin-app#v2
+ version: github.com/tauri-apps/tauri-plugin-app/dbfef70e44dc82156e79301742b656fd797a1473
+ '@tauri-apps/plugin-autostart':
+ specifier: github:tauri-apps/tauri-plugin-autostart#v2
+ version: github.com/tauri-apps/tauri-plugin-autostart/33968b8b0aae857f045aeb17741bcff27440f6d3
+ '@tauri-apps/plugin-clipboard-manager':
+ specifier: github:tauri-apps/tauri-plugin-clipboard-manager#v2
+ version: github.com/tauri-apps/tauri-plugin-clipboard-manager/549ca993a47ae7aafff635d99fc3e6dc124b9181
+ '@tauri-apps/plugin-dialog':
+ specifier: github:tauri-apps/tauri-plugin-dialog#v2
+ version: github.com/tauri-apps/tauri-plugin-dialog/80325934b699f02bea9abe4fe1311dfba793a2bb
+ '@tauri-apps/plugin-fs':
+ specifier: github:tauri-apps/tauri-plugin-fs#v2
+ version: github.com/tauri-apps/tauri-plugin-fs/60e8dec66d2582cc39ebdd7b7101e9c96c23e52a
+ '@tauri-apps/plugin-http':
+ specifier: github:tauri-apps/tauri-plugin-http#v2
+ version: github.com/tauri-apps/tauri-plugin-http/b23c48592e1b6f1924feb273e1754944063e4ee8
+ '@tauri-apps/plugin-notification':
+ specifier: github:tauri-apps/tauri-plugin-notification#v2
+ version: github.com/tauri-apps/tauri-plugin-notification/6d8c193765f7fcf97429c0106bc5699d41870cef
+ '@tauri-apps/plugin-os':
+ specifier: github:tauri-apps/tauri-plugin-os#v2
+ version: github.com/tauri-apps/tauri-plugin-os/d235fbf70c53812c501f1d86a6b8c790bdf6bc8b
+ '@tauri-apps/plugin-process':
+ specifier: github:tauri-apps/tauri-plugin-process#v2
+ version: github.com/tauri-apps/tauri-plugin-process/ed3f8f78ddecc72c926239f5a10ec6ce1b8c353e
+ '@tauri-apps/plugin-sql':
+ specifier: github:tauri-apps/tauri-plugin-sql#v2
+ version: github.com/tauri-apps/tauri-plugin-sql/0591e9f63e0f86be79c209f4bcb564ccce4bd05c
+ '@tauri-apps/plugin-stronghold':
+ specifier: github:tauri-apps/tauri-plugin-stronghold#v2
+ version: github.com/tauri-apps/tauri-plugin-stronghold/a87861766f3520b5fc1ea1f34665d814bbee9b06
+ '@tauri-apps/plugin-upload':
+ specifier: github:tauri-apps/tauri-plugin-upload#v2
+ version: github.com/tauri-apps/tauri-plugin-upload/3c17e7170f54aa3bad3ee4c534f423ace2b06552
'@tiptap/extension-image':
specifier: ^2.0.4
version: 2.0.4(@tiptap/core@2.0.4)
@@ -118,18 +154,6 @@ dependencies:
tailwind-merge:
specifier: ^1.14.0
version: 1.14.0
- tauri-plugin-autostart-api:
- specifier: github:tauri-apps/tauri-plugin-autostart#v1
- version: github.com/tauri-apps/tauri-plugin-autostart/0e474395d4990587ad5c1db25ed23220fe11764f
- tauri-plugin-sql-api:
- specifier: github:tauri-apps/tauri-plugin-sql
- version: github.com/tauri-apps/tauri-plugin-sql/b8fd19dac907cc8c3d78681cd4803a326b8b861e
- tauri-plugin-stronghold-api:
- specifier: github:tauri-apps/tauri-plugin-stronghold#v1
- version: github.com/tauri-apps/tauri-plugin-stronghold/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43
- tauri-plugin-upload-api:
- specifier: github:tauri-apps/tauri-plugin-upload#v1
- version: github.com/tauri-apps/tauri-plugin-upload/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb
tippy.js:
specifier: ^6.3.7
version: 6.3.7
@@ -1940,11 +1964,6 @@ packages:
resolution: {integrity: sha512-jtkwqdP2rY2iCCDVAFuaNBH3fiEi29aTn2RhtIoky8DTTiCdc48plpHHreLwmv1PICJ4AJUUESaq3xa8fZH8+g==}
dev: false
- /@tauri-apps/api@1.4.0:
- resolution: {integrity: sha512-Jd6HPoTM1PZSFIzq7FB8VmMu3qSSyo/3lSwLpoapW+lQ41CL5Dow2KryLg+gyazA/58DRWI9vu/XpEeHK4uMdw==}
- engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
- dev: false
-
/@tauri-apps/api@2.0.0-alpha.5:
resolution: {integrity: sha512-OqysC4c819itGxic50RoDMrmd+ofX+MMNkXKeRS0BV2rkKqrnuV17o3TrQXFI1xs/kXRmmPC+3Y42P9Y5uNvRg==}
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
@@ -3962,7 +3981,7 @@ packages:
engines: {node: '>=14'}
dependencies:
cross-spawn: 7.0.3
- signal-exit: 4.0.2
+ signal-exit: 4.0.3
dev: false
/formdata-polyfill@4.0.10:
@@ -6687,8 +6706,8 @@ packages:
/signal-exit@3.0.7:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
- /signal-exit@4.0.2:
- resolution: {integrity: sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==}
+ /signal-exit@4.0.3:
+ resolution: {integrity: sha512-U97H1k7QQ8OQJ18ryc5lSI16ouK1a43nSNRkXz16OMcc5dTVz5TlQxgf2NbX+cF0luukRuy3/womPZqfpIucbw==}
engines: {node: '>=14'}
dev: false
@@ -7614,34 +7633,98 @@ packages:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
dev: false
- github.com/tauri-apps/tauri-plugin-autostart/0e474395d4990587ad5c1db25ed23220fe11764f:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-autostart/tar.gz/0e474395d4990587ad5c1db25ed23220fe11764f}
- name: tauri-plugin-autostart-api
- version: 0.0.0
+ github.com/tauri-apps/tauri-plugin-app/dbfef70e44dc82156e79301742b656fd797a1473:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-app/tar.gz/dbfef70e44dc82156e79301742b656fd797a1473}
+ name: '@tauri-apps/plugin-app'
+ version: 2.0.0-alpha.0
dependencies:
- '@tauri-apps/api': 1.4.0
+ '@tauri-apps/api': 2.0.0-alpha.5
dev: false
- github.com/tauri-apps/tauri-plugin-sql/b8fd19dac907cc8c3d78681cd4803a326b8b861e:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/b8fd19dac907cc8c3d78681cd4803a326b8b861e}
- name: tauri-plugin-sql-api
- version: 0.0.0
+ github.com/tauri-apps/tauri-plugin-autostart/33968b8b0aae857f045aeb17741bcff27440f6d3:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-autostart/tar.gz/33968b8b0aae857f045aeb17741bcff27440f6d3}
+ name: '@tauri-apps/plugin-autostart'
+ version: 2.0.0-alpha.0
dependencies:
- '@tauri-apps/api': 1.4.0
+ '@tauri-apps/api': 2.0.0-alpha.5
dev: false
- github.com/tauri-apps/tauri-plugin-stronghold/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-stronghold/tar.gz/2c9e7820b4b8a6a14d9445fa338e94fdac4d9e43}
- name: tauri-plugin-stronghold-api
- version: 0.0.0
+ github.com/tauri-apps/tauri-plugin-clipboard-manager/549ca993a47ae7aafff635d99fc3e6dc124b9181:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-clipboard-manager/tar.gz/549ca993a47ae7aafff635d99fc3e6dc124b9181}
+ name: '@tauri-apps/plugin-clipboard-manager'
+ version: 2.0.0-alpha.0
dependencies:
- '@tauri-apps/api': 1.4.0
+ '@tauri-apps/api': 2.0.0-alpha.5
dev: false
- github.com/tauri-apps/tauri-plugin-upload/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb:
- resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-upload/tar.gz/b53ebc6c2e716d95fd94b64d3b4b87cd57ae4feb}
- name: tauri-plugin-upload-api
- version: 0.0.0
+ github.com/tauri-apps/tauri-plugin-dialog/80325934b699f02bea9abe4fe1311dfba793a2bb:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-dialog/tar.gz/80325934b699f02bea9abe4fe1311dfba793a2bb}
+ name: '@tauri-apps/plugin-dialog'
+ version: 2.0.0-alpha.0
dependencies:
- '@tauri-apps/api': 1.4.0
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-fs/60e8dec66d2582cc39ebdd7b7101e9c96c23e52a:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-fs/tar.gz/60e8dec66d2582cc39ebdd7b7101e9c96c23e52a}
+ name: '@tauri-apps/plugin-fs'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-http/b23c48592e1b6f1924feb273e1754944063e4ee8:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-http/tar.gz/b23c48592e1b6f1924feb273e1754944063e4ee8}
+ name: '@tauri-apps/plugin-http'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-notification/6d8c193765f7fcf97429c0106bc5699d41870cef:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-notification/tar.gz/6d8c193765f7fcf97429c0106bc5699d41870cef}
+ name: '@tauri-apps/plugin-notification'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-os/d235fbf70c53812c501f1d86a6b8c790bdf6bc8b:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-os/tar.gz/d235fbf70c53812c501f1d86a6b8c790bdf6bc8b}
+ name: '@tauri-apps/plugin-os'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-process/ed3f8f78ddecc72c926239f5a10ec6ce1b8c353e:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-process/tar.gz/ed3f8f78ddecc72c926239f5a10ec6ce1b8c353e}
+ name: '@tauri-apps/plugin-process'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-sql/0591e9f63e0f86be79c209f4bcb564ccce4bd05c:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/0591e9f63e0f86be79c209f4bcb564ccce4bd05c}
+ name: '@tauri-apps/plugin-sql'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-stronghold/a87861766f3520b5fc1ea1f34665d814bbee9b06:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-stronghold/tar.gz/a87861766f3520b5fc1ea1f34665d814bbee9b06}
+ name: '@tauri-apps/plugin-stronghold'
+ version: 2.0.0-alpha.1
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
+ dev: false
+
+ github.com/tauri-apps/tauri-plugin-upload/3c17e7170f54aa3bad3ee4c534f423ace2b06552:
+ resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-upload/tar.gz/3c17e7170f54aa3bad3ee4c534f423ace2b06552}
+ name: '@tauri-apps/plugin-upload'
+ version: 2.0.0-alpha.0
+ dependencies:
+ '@tauri-apps/api': 2.0.0-alpha.5
dev: false
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 699750a0..bfa43dcd 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -175,6 +175,26 @@ version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854"
+[[package]]
+name = "arboard"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6041616acea41d67c4a984709ddab1587fd0b10efe5cc563fee954d2f011854"
+dependencies = [
+ "clipboard-win",
+ "core-graphics",
+ "image",
+ "log",
+ "objc",
+ "objc-foundation",
+ "objc_id",
+ "once_cell",
+ "parking_lot",
+ "thiserror",
+ "winapi",
+ "x11rb",
+]
+
[[package]]
name = "arrayref"
version = "0.3.7"
@@ -516,6 +536,16 @@ dependencies = [
"alloc-stdlib",
]
+[[package]]
+name = "bstr"
+version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05"
+dependencies = [
+ "memchr",
+ "serde",
+]
+
[[package]]
name = "bumpalo"
version = "3.13.0"
@@ -1696,6 +1726,26 @@ dependencies = [
"version_check",
]
+[[package]]
+name = "gethostname"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1ebd34e35c46e00bb73e81363248d627782724609fe1b6396f553f68fe3862e"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "gethostname"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0176e0459c2e4a1fe232f984bca6890e681076abb9934f6cea7c326f3fc47818"
+dependencies = [
+ "libc",
+ "windows-targets 0.48.1",
+]
+
[[package]]
name = "getrandom"
version = "0.1.16"
@@ -1822,6 +1872,19 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+[[package]]
+name = "globset"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006"
+dependencies = [
+ "aho-corasick",
+ "bstr",
+ "fnv",
+ "log",
+ "regex",
+]
+
[[package]]
name = "gobject-sys"
version = "0.16.3"
@@ -2110,6 +2173,23 @@ dependencies = [
"unicode-normalization",
]
+[[package]]
+name = "ignore"
+version = "0.4.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492"
+dependencies = [
+ "globset",
+ "lazy_static",
+ "log",
+ "memchr",
+ "regex",
+ "same-file",
+ "thread_local",
+ "walkdir",
+ "winapi-util",
+]
+
[[package]]
name = "image"
version = "0.24.6"
@@ -2121,6 +2201,8 @@ dependencies = [
"color_quant",
"num-rational",
"num-traits",
+ "png",
+ "tiff",
]
[[package]]
@@ -2307,6 +2389,12 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
+[[package]]
+name = "jpeg-decoder"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
+
[[package]]
name = "js-sys"
version = "0.3.64"
@@ -2349,12 +2437,46 @@ dependencies = [
"spin 0.5.2",
]
+[[package]]
+name = "libappindicator"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89e1edfdc9b0853358306c6dfb4b77c79c779174256fe93d80c0b5ebca451a2f"
+dependencies = [
+ "glib",
+ "gtk",
+ "gtk-sys",
+ "libappindicator-sys",
+ "log",
+]
+
+[[package]]
+name = "libappindicator-sys"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08fcb2bea89cee9613982501ec83eaa2d09256b24540ae463c52a28906163918"
+dependencies = [
+ "gtk-sys",
+ "libloading",
+ "once_cell",
+]
+
[[package]]
name = "libc"
version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
+[[package]]
+name = "libloading"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
+dependencies = [
+ "cfg-if",
+ "winapi",
+]
+
[[package]]
name = "libm"
version = "0.2.7"
@@ -2449,10 +2571,19 @@ dependencies = [
"sqlx-cli",
"tauri",
"tauri-build",
+ "tauri-plugin-app",
"tauri-plugin-autostart",
+ "tauri-plugin-clipboard-manager",
+ "tauri-plugin-dialog",
+ "tauri-plugin-fs",
+ "tauri-plugin-http",
+ "tauri-plugin-notification",
+ "tauri-plugin-os",
+ "tauri-plugin-process",
"tauri-plugin-single-instance",
"tauri-plugin-sql",
"tauri-plugin-stronghold",
+ "tauri-plugin-updater",
"tauri-plugin-upload",
]
@@ -2462,6 +2593,19 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
+[[package]]
+name = "mac-notification-sys"
+version = "0.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "abc434554ad0e640d772f7f262aa28e61d485212533d3673abe5f3d1729bd42a"
+dependencies = [
+ "cc",
+ "dirs-next",
+ "objc-foundation",
+ "objc_id",
+ "time",
+]
+
[[package]]
name = "malloc_buf"
version = "0.0.6"
@@ -2554,6 +2698,12 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+[[package]]
+name = "minisign-verify"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881"
+
[[package]]
name = "miniz_oxide"
version = "0.7.1"
@@ -2672,6 +2822,19 @@ dependencies = [
"minimal-lexical",
]
+[[package]]
+name = "notify-rust"
+version = "4.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2bfa211d18e360f08e36c364308f394b5eb23a6629150690e109a916dc6f610e"
+dependencies = [
+ "log",
+ "mac-notification-sys",
+ "serde",
+ "tauri-winrt-notification",
+ "zbus",
+]
+
[[package]]
name = "nu-ansi-term"
version = "0.46.0"
@@ -2782,6 +2945,17 @@ dependencies = [
"objc_exception",
]
+[[package]]
+name = "objc-foundation"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
+dependencies = [
+ "block",
+ "objc",
+ "objc_id",
+]
+
[[package]]
name = "objc_exception"
version = "0.1.2"
@@ -2831,6 +3005,17 @@ dependencies = [
"pin-project-lite",
]
+[[package]]
+name = "os_info"
+version = "3.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"
+dependencies = [
+ "log",
+ "serde",
+ "winapi",
+]
+
[[package]]
name = "overload"
version = "0.1.1"
@@ -3088,7 +3273,7 @@ dependencies = [
"base64 0.21.2",
"indexmap 1.9.3",
"line-wrap",
- "quick-xml",
+ "quick-xml 0.29.0",
"serde",
"time",
]
@@ -3215,6 +3400,15 @@ dependencies = [
"rustyline",
]
+[[package]]
+name = "quick-xml"
+version = "0.23.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11bafc859c6815fbaffbbbf4229ecb767ac913fecb27f9ad4343662e9ef099ea"
+dependencies = [
+ "memchr",
+]
+
[[package]]
name = "quick-xml"
version = "0.29.0"
@@ -3485,6 +3679,31 @@ dependencies = [
"winreg 0.10.1",
]
+[[package]]
+name = "rfd"
+version = "0.11.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fe664af397d2b6a13a8ba1d172a2b5c87c6c5149039edbf8fa122b98c9ed96f"
+dependencies = [
+ "async-io",
+ "block",
+ "dispatch",
+ "futures-util",
+ "glib-sys",
+ "gobject-sys",
+ "gtk-sys",
+ "js-sys",
+ "log",
+ "objc",
+ "objc-foundation",
+ "objc_id",
+ "raw-window-handle",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows 0.44.0",
+]
+
[[package]]
name = "ring"
version = "0.16.20"
@@ -4399,6 +4618,16 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "sys-locale"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea0b9eefabb91675082b41eb94c3ecd91af7656caee3fb4961a07c0ec8c7ca6f"
+dependencies = [
+ "libc",
+ "windows-sys 0.45.0",
+]
+
[[package]]
name = "system-deps"
version = "6.1.1"
@@ -4425,6 +4654,7 @@ dependencies = [
"core-foundation",
"core-graphics",
"crossbeam-channel",
+ "dirs-next",
"dispatch",
"gdk",
"gdk-pixbuf",
@@ -4439,6 +4669,7 @@ dependencies = [
"instant",
"jni",
"lazy_static",
+ "libappindicator",
"libc",
"log",
"ndk",
@@ -4470,6 +4701,17 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "tar"
+version = "0.4.39"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec96d2ffad078296368d46ff1cb309be1c23c513b4ab0e22a45de0185275ac96"
+dependencies = [
+ "filetime",
+ "libc",
+ "xattr",
+]
+
[[package]]
name = "target-lexicon"
version = "0.12.10"
@@ -4583,6 +4825,14 @@ dependencies = [
"tauri-utils",
]
+[[package]]
+name = "tauri-plugin-app"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "tauri",
+]
+
[[package]]
name = "tauri-plugin-autostart"
version = "2.0.0-alpha.0"
@@ -4596,6 +4846,110 @@ dependencies = [
"thiserror",
]
+[[package]]
+name = "tauri-plugin-clipboard-manager"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "arboard",
+ "log",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-build",
+ "thiserror",
+]
+
+[[package]]
+name = "tauri-plugin-dialog"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "glib",
+ "log",
+ "raw-window-handle",
+ "rfd",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-build",
+ "tauri-plugin-fs",
+ "thiserror",
+]
+
+[[package]]
+name = "tauri-plugin-fs"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "anyhow",
+ "glob",
+ "serde",
+ "tauri",
+ "thiserror",
+ "uuid",
+]
+
+[[package]]
+name = "tauri-plugin-http"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "bytes",
+ "glob",
+ "http",
+ "rand 0.8.5",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "tauri",
+ "tauri-plugin-fs",
+ "thiserror",
+]
+
+[[package]]
+name = "tauri-plugin-notification"
+version = "2.0.0-alpha.1"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "log",
+ "notify-rust",
+ "rand 0.8.5",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "tauri",
+ "tauri-build",
+ "thiserror",
+ "time",
+ "url",
+]
+
+[[package]]
+name = "tauri-plugin-os"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "gethostname 0.4.3",
+ "log",
+ "os_info",
+ "serde",
+ "serde_json",
+ "serialize-to-javascript",
+ "sys-locale",
+ "tauri",
+ "thiserror",
+]
+
+[[package]]
+name = "tauri-plugin-process"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "tauri",
+]
+
[[package]]
name = "tauri-plugin-single-instance"
version = "2.0.0-alpha.0"
@@ -4642,6 +4996,33 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "tauri-plugin-updater"
+version = "2.0.0-alpha.0"
+source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#6f01bc11ab5be762d6cbe0ca924f15cdde47ce0d"
+dependencies = [
+ "base64 0.21.2",
+ "dirs-next",
+ "flate2",
+ "futures-util",
+ "http",
+ "ignore",
+ "minisign-verify",
+ "percent-encoding",
+ "reqwest",
+ "semver",
+ "serde",
+ "serde_json",
+ "tar",
+ "tauri",
+ "tempfile",
+ "thiserror",
+ "time",
+ "tokio",
+ "url",
+ "zip",
+]
+
[[package]]
name = "tauri-plugin-upload"
version = "2.0.0-alpha.0"
@@ -4740,6 +5121,16 @@ dependencies = [
"toml",
]
+[[package]]
+name = "tauri-winrt-notification"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4f5bff1d532fead7c43324a0fa33643b8621a47ce2944a633be4cb6c0240898f"
+dependencies = [
+ "quick-xml 0.23.1",
+ "windows 0.39.0",
+]
+
[[package]]
name = "tempfile"
version = "3.7.0"
@@ -4800,6 +5191,17 @@ dependencies = [
"once_cell",
]
+[[package]]
+name = "tiff"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7449334f9ff2baf290d55d73983a7d6fa15e01198faef72af07e2a8db851e471"
+dependencies = [
+ "flate2",
+ "jpeg-decoder",
+ "weezl",
+]
+
[[package]]
name = "time"
version = "0.3.23"
@@ -5379,6 +5781,12 @@ dependencies = [
"windows-metadata",
]
+[[package]]
+name = "weezl"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
+
[[package]]
name = "whoami"
version = "1.4.1"
@@ -5410,6 +5818,15 @@ dependencies = [
"winapi",
]
+[[package]]
+name = "winapi-wsapoll"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44c17110f57155602a80dca10be03852116403c9ff3cd25b079d666f2aa3df6e"
+dependencies = [
+ "winapi",
+]
+
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
@@ -5429,6 +5846,19 @@ dependencies = [
"windows_x86_64_msvc 0.36.1",
]
+[[package]]
+name = "windows"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1c4bd0a50ac6020f65184721f758dba47bb9fbc2133df715ec74a237b26794a"
+dependencies = [
+ "windows_aarch64_msvc 0.39.0",
+ "windows_i686_gnu 0.39.0",
+ "windows_i686_msvc 0.39.0",
+ "windows_x86_64_gnu 0.39.0",
+ "windows_x86_64_msvc 0.39.0",
+]
+
[[package]]
name = "windows"
version = "0.44.0"
@@ -5559,6 +5989,12 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2"
+
[[package]]
name = "windows_aarch64_msvc"
version = "0.42.2"
@@ -5577,6 +6013,12 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
+[[package]]
+name = "windows_i686_gnu"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b"
+
[[package]]
name = "windows_i686_gnu"
version = "0.42.2"
@@ -5595,6 +6037,12 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
+[[package]]
+name = "windows_i686_msvc"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106"
+
[[package]]
name = "windows_i686_msvc"
version = "0.42.2"
@@ -5613,6 +6061,12 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65"
+
[[package]]
name = "windows_x86_64_gnu"
version = "0.42.2"
@@ -5643,6 +6097,12 @@ version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809"
+
[[package]]
name = "windows_x86_64_msvc"
version = "0.42.2"
@@ -5743,6 +6203,28 @@ dependencies = [
"pkg-config",
]
+[[package]]
+name = "x11rb"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "592b4883219f345e712b3209c62654ebda0bb50887f330cbd018d0f654bfd507"
+dependencies = [
+ "gethostname 0.2.3",
+ "nix 0.24.3",
+ "winapi",
+ "winapi-wsapoll",
+ "x11rb-protocol",
+]
+
+[[package]]
+name = "x11rb-protocol"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56b245751c0ac9db0e006dc812031482784e434630205a93c73cfefcaabeac67"
+dependencies = [
+ "nix 0.24.3",
+]
+
[[package]]
name = "x25519-dalek"
version = "1.1.1"
@@ -5754,6 +6236,15 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "xattr"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc"
+dependencies = [
+ "libc",
+]
+
[[package]]
name = "xdg-home"
version = "1.0.0"
@@ -5850,6 +6341,17 @@ dependencies = [
"syn 2.0.27",
]
+[[package]]
+name = "zip"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
+dependencies = [
+ "byteorder",
+ "crc32fast",
+ "crossbeam-utils",
+]
+
[[package]]
name = "zvariant"
version = "3.15.0"
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index d88e1602..534ed670 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -16,11 +16,20 @@ tauri-build = { version = "2.0.0-alpha.6", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-tauri = { version = "2.0.0-alpha.10" }
+tauri = { version = "2.0.0-alpha.10", features = ["system-tray"] }
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-upload = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-updater = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-dialog = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-http = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-clipboard-manager = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-notification = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-app = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
+tauri-plugin-os = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
sqlx-cli = { version = "0.7.0", default-features = false, features = [
"sqlite",
] }
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index da734335..2606d7c4 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -25,29 +25,6 @@ struct Payload {
fn main() {
tauri::Builder::default()
- .setup(|app| {
- #[cfg(target_os = "macos")]
- let main_window = app.get_window("main").unwrap();
-
- #[cfg(target_os = "macos")]
- main_window.position_traffic_lights(13.0, 17.0); // set inset for traffic lights (macos)
-
- Ok(())
- })
- .on_window_event(|e| {
- #[cfg(target_os = "macos")]
- let apply_offset = || {
- let win = e.window();
- // keep inset for traffic lights when window resize (macos)
- win.position_traffic_lights(13.0, 17.0);
- };
- #[cfg(target_os = "macos")]
- match e.event() {
- WindowEvent::Resized(..) => apply_offset(),
- WindowEvent::ThemeChanged(..) => apply_offset(),
- _ => {}
- }
- })
.plugin(
tauri_plugin_sql::Builder::default()
.add_migrations(
@@ -156,7 +133,39 @@ fn main() {
.emit_all("single-instance", Payload { args: argv, cwd })
.unwrap();
}))
+ .plugin(tauri_plugin_updater::Builder::new().build())
.plugin(tauri_plugin_upload::init())
+ .plugin(tauri_plugin_dialog::init())
+ .plugin(tauri_plugin_http::init())
+ .plugin(tauri_plugin_fs::init())
+ .plugin(tauri_plugin_clipboard_manager::init())
+ .plugin(tauri_plugin_notification::init())
+ .plugin(tauri_plugin_app::init())
+ .plugin(tauri_plugin_process::init())
+ .plugin(tauri_plugin_os::init())
+ .setup(|app| {
+ #[cfg(target_os = "macos")]
+ let main_window = app.get_window("main").unwrap();
+
+ #[cfg(target_os = "macos")]
+ main_window.position_traffic_lights(13.0, 17.0); // set inset for traffic lights (macos)
+
+ Ok(())
+ })
+ .on_window_event(|e| {
+ #[cfg(target_os = "macos")]
+ let apply_offset = || {
+ let win = e.window();
+ // keep inset for traffic lights when window resize (macos)
+ win.position_traffic_lights(13.0, 17.0);
+ };
+ #[cfg(target_os = "macos")]
+ match e.event() {
+ WindowEvent::Resized(..) => apply_offset(),
+ WindowEvent::ThemeChanged(..) => apply_offset(),
+ _ => {}
+ }
+ })
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 0a1f9b1a..a9b2dd38 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"build": {
- "beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
+ "beforeDevCommand": "pnpm dev",
"devPath": "http://localhost:3000",
"distDir": "../dist",
"withGlobalTauri": true
@@ -10,14 +10,45 @@
"productName": "Lume",
"version": "1.1.1"
},
+ "plugins": {
+ "fs": {
+ "scope": [
+ "$APPDATA/*",
+ "$DATA/*",
+ "$LOCALDATA/*",
+ "$DESKTOP/*",
+ "$DOCUMENT/*",
+ "$DOWNLOAD/*",
+ "$HOME/*",
+ "$PICTURE/*",
+ "$PUBLIC/*",
+ "$VIDEO/*"
+ ]
+ },
+ "http": {
+ "scope": [
+ "http://**/",
+ "https://**/"
+ ]
+ },
+ "shell": {
+ "open": true
+ },
+ "updater": {
+ "endpoints": [
+ "https://lus.reya3772.workers.dev/v1/{{target}}/{{arch}}/{{current_version}}",
+ "https://lus.reya3772.workers.dev/{{target}}/{{current_version}}"
+ ]
+ }
+ },
"tauri": {
"bundle": {
"active": true,
- "category": "SocialNetworking",
- "copyright": "",
"appimage": {
"bundleMediaFramework": true
},
+ "category": "SocialNetworking",
+ "copyright": "",
"deb": {
"depends": []
},
@@ -41,44 +72,40 @@
"resources": [],
"shortDescription": "",
"targets": "all",
- "windows": {
- "certificateThumbprint": null,
- "digestAlgorithm": "sha256",
- "timestampUrl": ""
- },
"updater": {
"active": true,
- "endpoints": [
- "https://lus.reya3772.workers.dev/v1/{{target}}/{{arch}}/{{current_version}}",
- "https://lus.reya3772.workers.dev/{{target}}/{{current_version}}"
- ],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU4RjAzODFBREQ4MkM3RTEKUldUaHg0TGRHamp3NkI5bnhoOEVjanlHWFNzQ2Q3NDhubFFLUmJpSHJ1L2FqNnB3alF1Y2R3U3gK",
"windows": {
"installMode": "passive"
}
},
+ "windows": {
+ "certificateThumbprint": null,
+ "digestAlgorithm": "sha256",
+ "timestampUrl": ""
+ }
},
"security": {
"csp": "upgrade-insecure-requests"
},
"systemTray": {
- "iconPath": "icons/icon.png",
- "iconAsTemplate": true
+ "iconAsTemplate": true,
+ "iconPath": "icons/icon.png"
},
"windows": [
{
- "title": "Lume",
- "theme": "Dark",
- "titleBarStyle": "Overlay",
- "hiddenTitle": true,
- "transparent": false,
"fullscreen": false,
- "resizable": true,
- "width": 1080,
"height": 800,
+ "hiddenTitle": true,
+ "minHeight": 720,
"minWidth": 1080,
- "minHeight": 720
+ "resizable": true,
+ "theme": "Dark",
+ "title": "Lume",
+ "titleBarStyle": "Overlay",
+ "transparent": false,
+ "width": 1080
}
]
}
-}
+}
\ No newline at end of file
diff --git a/src/app.tsx b/src/app.tsx
index 0c32dfed..997d6c97 100644
--- a/src/app.tsx
+++ b/src/app.tsx
@@ -38,6 +38,7 @@ const router = createBrowserRouter([
{
path: '/',
element: (
+ // @ts-expect-error, todo
@@ -78,6 +79,7 @@ const router = createBrowserRouter([
{
path: '/app',
element: (
+ // @ts-expect-error, todo
@@ -94,6 +96,7 @@ const router = createBrowserRouter([
{
path: '/settings',
element: (
+ // @ts-expect-error, todo
diff --git a/src/app/auth/create/step-1.tsx b/src/app/auth/create/step-1.tsx
index 20a99dc9..d59b2538 100644
--- a/src/app/auth/create/step-1.tsx
+++ b/src/app/auth/create/step-1.tsx
@@ -1,5 +1,5 @@
import { useMutation, useQueryClient } from '@tanstack/react-query';
-import { BaseDirectory, writeTextFile } from '@tauri-apps/api/fs';
+import { BaseDirectory, writeTextFile } from '@tauri-apps/plugin-fs';
import { generatePrivateKey, getPublicKey, nip19 } from 'nostr-tools';
import { useMemo, useState } from 'react';
import { useNavigate } from 'react-router-dom';
diff --git a/src/app/auth/create/step-4.tsx b/src/app/auth/create/step-4.tsx
index 21356b8a..75d01cc5 100644
--- a/src/app/auth/create/step-4.tsx
+++ b/src/app/auth/create/step-4.tsx
@@ -1,4 +1,4 @@
-import { Body, fetch } from '@tauri-apps/api/http';
+import { Body, fetch } from '@tauri-apps/plugin-http';
import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
diff --git a/src/app/channel/components/metadata.tsx b/src/app/channel/components/metadata.tsx
index 16fd591a..ba770cbf 100644
--- a/src/app/channel/components/metadata.tsx
+++ b/src/app/channel/components/metadata.tsx
@@ -12,7 +12,7 @@ export function ChannelMetadata({ id }: { id: string }) {
const noteID = id ? nip19.noteEncode(id) : null;
const copyNoteID = async () => {
- const { writeText } = await import('@tauri-apps/api/clipboard');
+ const { writeText } = await import('@tauri-apps/plugin-clipboard-manager');
if (noteID) {
await writeText(noteID);
}
diff --git a/src/app/settings/components/autoStart.tsx b/src/app/settings/components/autoStart.tsx
index da370111..eab74df0 100644
--- a/src/app/settings/components/autoStart.tsx
+++ b/src/app/settings/components/autoStart.tsx
@@ -1,7 +1,7 @@
import { Switch } from '@headlessui/react';
+import { disable, enable, isEnabled } from '@tauri-apps/plugin-autostart';
import { useEffect, useState } from 'react';
import { twMerge } from 'tailwind-merge';
-import { disable, enable, isEnabled } from 'tauri-plugin-autostart-api';
import { getSetting, updateSetting } from '@libs/storage';
diff --git a/src/app/settings/components/version.tsx b/src/app/settings/components/version.tsx
index ee0c0a20..dfc7e98c 100644
--- a/src/app/settings/components/version.tsx
+++ b/src/app/settings/components/version.tsx
@@ -1,4 +1,4 @@
-import { getVersion } from '@tauri-apps/api/app';
+import { getVersion } from '@tauri-apps/plugin-app';
import { RefreshIcon } from '@shared/icons';
diff --git a/src/libs/openGraph.tsx b/src/libs/openGraph.tsx
index 528db73e..14c3b6e5 100644
--- a/src/libs/openGraph.tsx
+++ b/src/libs/openGraph.tsx
@@ -1,4 +1,4 @@
-import { FetchOptions, ResponseType, fetch } from '@tauri-apps/api/http';
+import { FetchOptions, ResponseType, fetch } from '@tauri-apps/plugin-http';
import * as cheerio from 'cheerio';
import { OPENGRAPH } from '@stores/constants';
diff --git a/src/libs/storage.tsx b/src/libs/storage.tsx
index 69dd8dab..51e6157f 100644
--- a/src/libs/storage.tsx
+++ b/src/libs/storage.tsx
@@ -1,5 +1,5 @@
+import Database from '@tauri-apps/plugin-sql';
import destr from 'destr';
-import Database from 'tauri-plugin-sql-api';
import { parser } from '@utils/parser';
import { getParentID } from '@utils/transform';
diff --git a/src/shared/authLayout.tsx b/src/shared/authLayout.tsx
index b217de1b..6af60868 100644
--- a/src/shared/authLayout.tsx
+++ b/src/shared/authLayout.tsx
@@ -1,4 +1,4 @@
-import { platform } from '@tauri-apps/api/os';
+import { platform } from '@tauri-apps/plugin-os';
import { Outlet, useNavigate } from 'react-router-dom';
import { ArrowLeftIcon, ArrowRightIcon } from '@shared/icons';
@@ -29,7 +29,7 @@ export function AuthLayout() {
>