mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-19 14:07:19 +02:00
chore: update dependencies
This commit is contained in:
1 parent
c792c863b6
commit
bc0c78d43e
15 files changed
+963
-1123
No files matched your search
@@ -18,8 +18,8 @@
|
||||
"test:e2e": "NODE_OPTIONS='--experimental-vm-modules' jest --config ./test/jest-e2e.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.1133.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.1133.0",
|
||||
"@aws-sdk/client-s3": "^3.1136.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.1136.0",
|
||||
"@nestjs/common": "^12.0.3",
|
||||
"@nestjs/config": "^12.0.0",
|
||||
"@nestjs/core": "^12.0.3",
|
||||
@@ -29,22 +29,22 @@
|
||||
"rxjs": "^7.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nestjs/cli": "^12.0.1",
|
||||
"@nestjs/schematics": "^12.0.2",
|
||||
"@nestjs/cli": "^12.0.3",
|
||||
"@nestjs/schematics": "^12.0.3",
|
||||
"@nestjs/testing": "^12.0.3",
|
||||
"@types/express": "^5.0.6",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"@types/node": "^26.6.1",
|
||||
"@types/node": "^26.6.2",
|
||||
"@types/supertest": "^7.2.1",
|
||||
"jest": "^30.5.1",
|
||||
"jest": "^30.5.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^7.2.2",
|
||||
"ts-jest": "^29.4.12",
|
||||
"ts-loader": "^9.6.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"typescript": "^7.0.2"
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"jest": {
|
||||
"moduleFileExtensions": [
|
||||
|
||||
Generated
+345
-362
File diff suppressed because it is too large.
Load diff
+6
-5
@@ -73,12 +73,13 @@
|
||||
"@radix-ui/react-tooltip": "^1.2.16",
|
||||
"@tanstack/react-table": "^9.2.4",
|
||||
"@tanstack/react-virtual": "^3.14.13",
|
||||
"@tanstack/table-core": "9.2.4",
|
||||
"@tauri-apps/api": "~2.11.1",
|
||||
"@tauri-apps/plugin-clipboard-manager": "^2.3.3",
|
||||
"@tauri-apps/plugin-deep-link": "^2.4.10",
|
||||
"@tauri-apps/plugin-dialog": "^2.7.3",
|
||||
"@tauri-apps/plugin-fs": "~2.5.2",
|
||||
"@tauri-apps/plugin-log": "^2.9.1",
|
||||
"@tauri-apps/plugin-log": "^2.9.2",
|
||||
"@tauri-apps/plugin-opener": "^2.5.5",
|
||||
"ahooks": "^3.10.0",
|
||||
"aria-hidden": "1.2.6",
|
||||
@@ -89,8 +90,8 @@
|
||||
"color": "^5.0.3",
|
||||
"flag-icons": "^7.5.0",
|
||||
"i18next": "^26.4.2",
|
||||
"lucide-react": "^1.46.0",
|
||||
"motion": "^13.3.0",
|
||||
"lucide-react": "^1.47.0",
|
||||
"motion": "^13.4.0",
|
||||
"next": "^16.3.5",
|
||||
"next-themes": "^0.4.6",
|
||||
"onborda": "^1.2.5",
|
||||
@@ -107,10 +108,10 @@
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.5.14",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"@tauri-apps/cli": "~2.11.4",
|
||||
"@tauri-apps/cli": "~2.11.5",
|
||||
"@types/canvas-confetti": "^1.9.0",
|
||||
"@types/color": "^4.2.1",
|
||||
"@types/node": "^26.6.1",
|
||||
"@types/node": "^26.6.2",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"husky": "^9.1.7",
|
||||
|
||||
Generated
+460
-629
File diff suppressed because it is too large.
Load diff
@@ -41,6 +41,7 @@ overrides:
|
||||
|
||||
allowBuilds:
|
||||
'@nestjs/core': true
|
||||
'@parcel/watcher': false
|
||||
sharp: true
|
||||
unrs-resolver: true
|
||||
|
||||
|
||||
@@ -36,6 +36,6 @@
|
||||
"directory": "sdk/node"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.9.0"
|
||||
"typescript": "^7.0.2"
|
||||
}
|
||||
}
|
||||
Generated
+54
-55
@@ -157,7 +157,7 @@ version = "1.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
||||
dependencies = [
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -168,7 +168,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
"once_cell_polyfill",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -978,9 +978,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.4"
|
||||
version = "1.0.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
||||
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
||||
|
||||
[[package]]
|
||||
name = "cfg_aliases"
|
||||
@@ -1663,7 +1663,7 @@ dependencies = [
|
||||
"libc",
|
||||
"option-ext",
|
||||
"redox_users",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1781,7 +1781,7 @@ dependencies = [
|
||||
"objc2-app-kit",
|
||||
"once_cell",
|
||||
"quick-xml 0.42.0",
|
||||
"rand 0.10.2",
|
||||
"rand 0.10.3",
|
||||
"regex-lite",
|
||||
"reqwest",
|
||||
"resvg",
|
||||
@@ -2054,7 +2054,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -3001,9 +3001,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hyper-rustls"
|
||||
version = "0.27.9"
|
||||
version = "0.27.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
|
||||
checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53"
|
||||
dependencies = [
|
||||
"http",
|
||||
"hyper",
|
||||
@@ -3068,7 +3068,7 @@ dependencies = [
|
||||
"js-sys",
|
||||
"log",
|
||||
"wasm-bindgen",
|
||||
"windows-core 0.61.2",
|
||||
"windows-core 0.62.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -3515,9 +3515,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
version = "0.3.104"
|
||||
version = "0.3.105"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
|
||||
checksum = "ce57d20d1ea864ce2ac172ab472d409214f4fd359f0b2a2775abdf522e2af99e"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"futures-util",
|
||||
@@ -3663,9 +3663,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
|
||||
|
||||
[[package]]
|
||||
name = "libredox"
|
||||
version = "0.1.24"
|
||||
version = "0.1.25"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6480ccc157a1389bb2e4891b24751b0f798ba640d22386f23143fbcc89da195a"
|
||||
checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
@@ -3921,7 +3921,7 @@ dependencies = [
|
||||
"png 0.18.1",
|
||||
"serde",
|
||||
"thiserror 2.0.20",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4518,7 +4518,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.45.0",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5061,9 +5061,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rand"
|
||||
version = "0.10.2"
|
||||
version = "0.10.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
|
||||
checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
|
||||
dependencies = [
|
||||
"chacha20 0.10.2",
|
||||
"getrandom 0.4.3",
|
||||
@@ -5217,11 +5217,10 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "redox_users"
|
||||
version = "0.5.2"
|
||||
version = "0.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
|
||||
checksum = "60dc65c0ff1a7ae1294b0c67b9f14baf70b644404010370171787bfac1038fc0"
|
||||
dependencies = [
|
||||
"getrandom 0.2.17",
|
||||
"libredox",
|
||||
"thiserror 2.0.20",
|
||||
]
|
||||
@@ -5455,15 +5454,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustix"
|
||||
version = "1.1.4"
|
||||
version = "1.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
|
||||
checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5987,7 +5986,7 @@ dependencies = [
|
||||
"chacha20poly1305 0.11.0",
|
||||
"hkdf",
|
||||
"md-5",
|
||||
"rand 0.10.2",
|
||||
"rand 0.10.3",
|
||||
"sha1 0.11.0",
|
||||
]
|
||||
|
||||
@@ -6127,7 +6126,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -6451,9 +6450,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
||||
|
||||
[[package]]
|
||||
name = "tauri"
|
||||
version = "2.11.5"
|
||||
version = "2.11.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "667b20e2726d572dea2de7370da16e188eb06008faf9a92fab7cdc46791190b5"
|
||||
checksum = "6fa5bacdb9bbad5954af3d1bd6cf6ae9192cab1b2e270f4a07f904610b9e85f4"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bytes",
|
||||
@@ -6659,9 +6658,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-plugin-log"
|
||||
version = "2.9.1"
|
||||
version = "2.9.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b4e8861142c21636b03ff6eb9682a073814112e35220435670738a8be7b49896"
|
||||
checksum = "86f2e3c40b77fd1eb7f8e1b6900fb036aee2da1ea2d3783c91255a82c636649d"
|
||||
dependencies = [
|
||||
"android_logger",
|
||||
"fern",
|
||||
@@ -6738,9 +6737,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-plugin-single-instance"
|
||||
version = "2.4.4"
|
||||
version = "2.4.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5cd0cb5c412a5071b69bab6a6df1583cbb89460d4a83b6a24769b08d15b6b1e1"
|
||||
checksum = "db817fe9295e19b7d8357e900af31edb93703dd9fb6de524b007b47b6afc63b0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -6849,7 +6848,7 @@ dependencies = [
|
||||
"serde_with",
|
||||
"swift-rs",
|
||||
"thiserror 2.0.20",
|
||||
"toml 0.9.12+spec-1.1.0",
|
||||
"toml 1.1.6+spec-1.1.0",
|
||||
"url",
|
||||
"urlpattern",
|
||||
"uuid",
|
||||
@@ -6874,10 +6873,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
||||
dependencies = [
|
||||
"fastrand",
|
||||
"getrandom 0.3.4",
|
||||
"getrandom 0.4.3",
|
||||
"once_cell",
|
||||
"rustix",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7387,7 +7386,7 @@ dependencies = [
|
||||
"png 0.18.1",
|
||||
"serde",
|
||||
"thiserror 2.0.20",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7435,7 +7434,7 @@ dependencies = [
|
||||
"httparse",
|
||||
"log",
|
||||
"native-tls",
|
||||
"rand 0.10.2",
|
||||
"rand 0.10.3",
|
||||
"sha1 0.11.0",
|
||||
"thiserror 2.0.20",
|
||||
]
|
||||
@@ -7466,7 +7465,7 @@ checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e"
|
||||
dependencies = [
|
||||
"memoffset",
|
||||
"tempfile",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7524,9 +7523,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.24"
|
||||
version = "1.0.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-script"
|
||||
@@ -7789,9 +7788,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen"
|
||||
version = "0.2.127"
|
||||
version = "0.2.128"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
|
||||
checksum = "aecb87a33d3b0c5e3b7aa46336eaf486cffafbd281b195e4c8b80d50df2351bf"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"once_cell",
|
||||
@@ -7802,9 +7801,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-futures"
|
||||
version = "0.4.77"
|
||||
version = "0.4.78"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950"
|
||||
checksum = "6ef4c5d3d2cdf5c54f4231181768f5510842e350db025faf1f7163b1030ed928"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
@@ -7812,9 +7811,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro"
|
||||
version = "0.2.127"
|
||||
version = "0.2.128"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
|
||||
checksum = "a690d511e3c1a8b3a55e33511e3c2c00c78415cd23650f32b808627f5696b9ed"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"wasm-bindgen-macro-support",
|
||||
@@ -7822,22 +7821,22 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro-support"
|
||||
version = "0.2.127"
|
||||
version = "0.2.128"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
|
||||
checksum = "411e4887f0071ef2d2164a9d5fdf2d20efbef78fccd3a78b0c10a1dc5295e48a"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.119",
|
||||
"syn 3.0.6",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-shared"
|
||||
version = "0.2.127"
|
||||
version = "0.2.128"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
|
||||
checksum = "81941cd78d0c92026c33e5e01312845a4cb1e9af3407f9134b100dd03144103e"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
@@ -7927,9 +7926,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "web-sys"
|
||||
version = "0.3.104"
|
||||
version = "0.3.105"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30"
|
||||
checksum = "9fbddc4a036f00ec4f18c83445bd3115cb306a91da554919a099d9222fe4a7f8"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
@@ -8055,7 +8054,7 @@ version = "0.1.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
||||
dependencies = [
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -8581,7 +8580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::browser::ProxySettings;
|
||||
use crate::events;
|
||||
use crate::group_manager::GROUP_MANAGER;
|
||||
use crate::log_redaction::ShortId;
|
||||
use crate::log_redaction::{Plain, ShortId};
|
||||
use crate::profile::manager::ProfileManager;
|
||||
use crate::proxy_manager::PROXY_MANAGER;
|
||||
use crate::tag_manager::TAG_MANAGER;
|
||||
@@ -1611,7 +1611,10 @@ async fn create_profile(
|
||||
if status == StatusCode::TOO_MANY_REQUESTS {
|
||||
let _ = crate::events::emit_empty("profile-generation-limit-reached");
|
||||
}
|
||||
log::warn!("[api] Could not create profile '{}': {body}", request.name);
|
||||
log::warn!(
|
||||
"[api] Could not create profile '{}': {body}",
|
||||
Plain(&request.name)
|
||||
);
|
||||
Err((status, body))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2182,7 +2182,7 @@ impl WayfernManager {
|
||||
);
|
||||
log::error!(
|
||||
"Wayfern refused to {what} for profile {}: {} (browser said: {})",
|
||||
profile.name,
|
||||
crate::log_redaction::Plain(&profile.name),
|
||||
coded,
|
||||
cdp_error_message(&detail)
|
||||
);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import type { Table } from "@tanstack/react-table";
|
||||
import type { RowData } from "@tanstack/react-table";
|
||||
import type { LegacyTable as Table } from "@tanstack/react-table/legacy";
|
||||
import { motion, useReducedMotion } from "motion/react";
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
@@ -16,14 +17,14 @@ import { useInputModality } from "@/hooks/use-input-modality";
|
||||
import { MOTION_EASE_OUT } from "@/lib/motion";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface DataTableActionBarProps<TData>
|
||||
interface DataTableActionBarProps<TData extends RowData>
|
||||
extends React.ComponentProps<typeof motion.div> {
|
||||
table: Table<TData>;
|
||||
visible?: boolean;
|
||||
portalContainer?: Element | DocumentFragment | null;
|
||||
}
|
||||
|
||||
function DataTableActionBar<TData>({
|
||||
function DataTableActionBar<TData extends RowData>({
|
||||
table,
|
||||
visible: visibleProp,
|
||||
portalContainer: portalContainerProp,
|
||||
@@ -136,11 +137,11 @@ function DataTableActionBarAction({
|
||||
);
|
||||
}
|
||||
|
||||
interface DataTableActionBarSelectionProps<TData> {
|
||||
interface DataTableActionBarSelectionProps<TData extends RowData> {
|
||||
table: Table<TData>;
|
||||
}
|
||||
|
||||
function DataTableActionBarSelection<TData>({
|
||||
function DataTableActionBarSelection<TData extends RowData>({
|
||||
table,
|
||||
}: DataTableActionBarSelectionProps<TData>) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
type ColumnDef,
|
||||
flexRender,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
type RowSelectionState,
|
||||
type SortingState,
|
||||
useReactTable,
|
||||
} from "@tanstack/react-table";
|
||||
import {
|
||||
type LegacyColumnDef as ColumnDef,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
useLegacyTable as useReactTable,
|
||||
} from "@tanstack/react-table/legacy";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { listen } from "@tauri-apps/api/event";
|
||||
import { open } from "@tauri-apps/plugin-dialog";
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
type ColumnDef,
|
||||
flexRender,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
type RowSelectionState,
|
||||
type SortingState,
|
||||
useReactTable,
|
||||
} from "@tanstack/react-table";
|
||||
import {
|
||||
type LegacyColumnDef as ColumnDef,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
useLegacyTable as useReactTable,
|
||||
} from "@tanstack/react-table/legacy";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { listen } from "@tauri-apps/api/event";
|
||||
import { useCallback, useEffect, useMemo, useState } from "react";
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
type ColumnDef,
|
||||
flexRender,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
type RowData,
|
||||
type RowSelectionState,
|
||||
type SortingState,
|
||||
useReactTable,
|
||||
type VisibilityState,
|
||||
type TableFeatures,
|
||||
type ColumnVisibilityState as VisibilityState,
|
||||
} from "@tanstack/react-table";
|
||||
import {
|
||||
type LegacyColumnDef as ColumnDef,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
useLegacyTable as useReactTable,
|
||||
} from "@tanstack/react-table/legacy";
|
||||
import { useVirtualizer } from "@tanstack/react-virtual";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { emit, listen } from "@tauri-apps/api/event";
|
||||
@@ -156,8 +159,12 @@ import { Input } from "./ui/input";
|
||||
import { RippleButton } from "./ui/ripple";
|
||||
import { Skeleton } from "./ui/skeleton";
|
||||
|
||||
declare module "@tanstack/react-table" {
|
||||
interface ColumnMeta<TData extends RowData, TValue> {
|
||||
declare module "@tanstack/table-core" {
|
||||
interface ColumnMeta<
|
||||
TFeatures extends TableFeatures,
|
||||
TData extends RowData,
|
||||
TValue,
|
||||
> {
|
||||
// Emit no width for this column so table-fixed hands it all remaining
|
||||
// space. Checking columnDef.size alone can't express this: TanStack
|
||||
// resolves an unspecified size to its 150px default.
|
||||
@@ -3021,7 +3028,7 @@ export function ProfilesDataTable({
|
||||
// creation-date sorting needs no visible column.
|
||||
header: ({ table }) => {
|
||||
const meta = table.options.meta as TableMeta;
|
||||
const sort = table.getState().sorting[0];
|
||||
const sort = table.options.state?.sorting?.[0];
|
||||
const isActive = (id: string, desc: boolean) =>
|
||||
sort?.id === id && !!sort.desc === desc;
|
||||
return (
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
type ColumnDef,
|
||||
flexRender,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
type RowSelectionState,
|
||||
type SortingState,
|
||||
useReactTable,
|
||||
} from "@tanstack/react-table";
|
||||
import {
|
||||
type LegacyColumnDef as ColumnDef,
|
||||
getCoreRowModel,
|
||||
getSortedRowModel,
|
||||
useLegacyTable as useReactTable,
|
||||
} from "@tanstack/react-table/legacy";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { emit, listen } from "@tauri-apps/api/event";
|
||||
import { useCallback, useEffect, useMemo, useState } from "react";
|
||||
|
||||
+44
-36
@@ -355,6 +355,10 @@
|
||||
"name": "@swc/helpers",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
{
|
||||
"name": "@tanstack/react-store",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@tanstack/react-table",
|
||||
"license": "MIT"
|
||||
@@ -363,6 +367,10 @@
|
||||
"name": "@tanstack/react-virtual",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@tanstack/store",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@tanstack/table-core",
|
||||
"license": "MIT"
|
||||
@@ -439,10 +447,6 @@
|
||||
"name": "@types/gensync",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@types/js-cookie",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@types/jsesc",
|
||||
"license": "MIT"
|
||||
@@ -463,6 +467,10 @@
|
||||
"name": "@types/use-sync-external-store",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "@typescript/typescript-darwin-arm64",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
{
|
||||
"name": "adler2",
|
||||
"license": "0BSD OR MIT OR Apache-2.0"
|
||||
@@ -623,6 +631,14 @@
|
||||
"name": "avif-serialize",
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
{
|
||||
"name": "aws-lc-rs",
|
||||
"license": "ISC AND (Apache-2.0 OR ISC)"
|
||||
},
|
||||
{
|
||||
"name": "aws-lc-sys",
|
||||
"license": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)"
|
||||
},
|
||||
{
|
||||
"name": "axum",
|
||||
"license": "MIT"
|
||||
@@ -915,6 +931,10 @@
|
||||
"name": "core-graphics-types",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "core_detect",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "cpubits",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -1083,10 +1103,6 @@
|
||||
"name": "defmt-parser",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "der",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "deranged",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -1191,10 +1207,6 @@
|
||||
"name": "dynosaur_derive",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "ed25519",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "either",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -1703,10 +1715,6 @@
|
||||
"name": "internmap",
|
||||
"license": "ISC"
|
||||
},
|
||||
{
|
||||
"name": "intersection-observer",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
{
|
||||
"name": "ip_network",
|
||||
"license": "BSD-2-Clause"
|
||||
@@ -1971,6 +1979,18 @@
|
||||
"name": "muda",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "multiversion",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "multiversion-macros",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "multiversion_no_op",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "nanoid",
|
||||
"license": "MIT"
|
||||
@@ -2263,10 +2283,6 @@
|
||||
"name": "piper",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "pkcs8",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "plist",
|
||||
"license": "MIT"
|
||||
@@ -2519,10 +2535,6 @@
|
||||
"name": "ring",
|
||||
"license": "Apache-2.0 AND ISC"
|
||||
},
|
||||
{
|
||||
"name": "ring-compat",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "roxmltree",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -2555,6 +2567,10 @@
|
||||
"name": "rustls-webpki",
|
||||
"license": "ISC"
|
||||
},
|
||||
{
|
||||
"name": "rustversion",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "ryu",
|
||||
"license": "Apache-2.0 OR BSL-1.0"
|
||||
@@ -2719,10 +2735,6 @@
|
||||
"name": "signal-hook-registry",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "signature",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "simd-adler32",
|
||||
"license": "MIT"
|
||||
@@ -2731,6 +2743,10 @@
|
||||
"name": "simd_helpers",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "simdutf8",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "simplecss",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -2787,10 +2803,6 @@
|
||||
"name": "spin",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "spki",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "stable_deref_trait",
|
||||
"license": "Apache-2.0 OR MIT"
|
||||
@@ -2987,10 +2999,6 @@
|
||||
"name": "tinyvec",
|
||||
"license": "Zlib OR Apache-2.0 OR MIT"
|
||||
},
|
||||
{
|
||||
"name": "tinyvec_macros",
|
||||
"license": "MIT OR Apache-2.0 OR Zlib"
|
||||
},
|
||||
{
|
||||
"name": "tokio",
|
||||
"license": "MIT"
|
||||
|
||||
Reference in new issue
Block a user