π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update desktop TypeScript dependencies
Manav Rathic6cc70ccb580
diff --git a/desktop/package-lock.json b/desktop/package-lock.jsonindex db18f65d4c..549e631863 100644--- a/desktop/package-lock.json+++ b/desktop/package-lock.json@@ -39,8 +39,8 @@"prettier-plugin-organize-imports": "4.3.0","prettier-plugin-packagejson": "2.5.19","shx": "0.4.0",- "typescript": "5.8.3",- "typescript-eslint": "8.35.1"+ "typescript": "6.0.3",+ "typescript-eslint": "8.59.3"}},"node_modules/@derhuerst/http-basic": {@@ -1369,21 +1369,20 @@}},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.35.1.tgz",- "integrity": "sha512-9XNTlo7P7RJxbVeICaIIIEipqxLKguyh+3UbXuT2XQuFp6d8VOeDEGuz5IiX0dgZo8CiI6aOFLg4e8cF71SFVg==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.3.tgz",+ "integrity": "sha512-PwFvSKsXGShKGW6n5bZOhGHEcCZXM8HofLK9fNsEwZXzFRjoY+XT1Vsf1zgyXdwTr0ZYz1/2tkZ0DBTT9jZjhw==","dev": true,"license": "MIT","dependencies": {- "@eslint-community/regexpp": "^4.10.0",- "@typescript-eslint/scope-manager": "8.35.1",- "@typescript-eslint/type-utils": "8.35.1",- "@typescript-eslint/utils": "8.35.1",- "@typescript-eslint/visitor-keys": "8.35.1",- "graphemer": "^1.4.0",- "ignore": "^7.0.0",+ "@eslint-community/regexpp": "^4.12.2",+ "@typescript-eslint/scope-manager": "8.59.3",+ "@typescript-eslint/type-utils": "8.59.3",+ "@typescript-eslint/utils": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3",+ "ignore": "^7.0.5","natural-compare": "^1.4.0",- "ts-api-utils": "^2.1.0"+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1393,9 +1392,9 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.35.1",- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <5.9.0"+ "@typescript-eslint/parser": "^8.59.3",+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {@@ -1409,17 +1408,17 @@}},"node_modules/@typescript-eslint/parser": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.35.1.tgz",- "integrity": "sha512-3MyiDfrfLeK06bi/g9DqJxP5pV74LNv4rFTyvGDmT3x2p1yp1lOd+qYZfiRPIOf/oON+WRZR5wxxuF85qOar+w==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.3.tgz",+ "integrity": "sha512-HPwA+hVkfcriajbNvTmZv4VRauibay+cWArYUYq7u7W7PmGShMxbPxLvrwDme55a6d5alG3nrYfhyJ/G28XlLg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.35.1",- "@typescript-eslint/types": "8.35.1",- "@typescript-eslint/typescript-estree": "8.35.1",- "@typescript-eslint/visitor-keys": "8.35.1",- "debug": "^4.3.4"+ "@typescript-eslint/scope-manager": "8.59.3",+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/typescript-estree": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3",+ "debug": "^4.4.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1429,20 +1428,20 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <5.9.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/project-service": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.35.1.tgz",- "integrity": "sha512-VYxn/5LOpVxADAuP3NrnxxHYfzVtQzLKeldIhDhzC8UHaiQvYlXvKuVho1qLduFbJjjy5U5bkGwa3rUGUb1Q6Q==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.3.tgz",+ "integrity": "sha512-ECiUWa/KYRGDFUqTNehaRgzDshnJfkTABJxVemHk4ko22gcr0ukloKjWvyQ64g8YCV/UI47kN1dbmjf/GaQYng==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.35.1",- "@typescript-eslint/types": "^8.35.1",- "debug": "^4.3.4"+ "@typescript-eslint/tsconfig-utils": "^8.59.3",+ "@typescript-eslint/types": "^8.59.3",+ "debug": "^4.4.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1452,18 +1451,18 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <5.9.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.35.1.tgz",- "integrity": "sha512-s/Bpd4i7ht2934nG+UoSPlYXd08KYz3bmjLEb7Ye1UVob0d1ENiT3lY8bsCmik4RqfSbPw9xJJHbugpPpP5JUg==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.3.tgz",+ "integrity": "sha512-t2LvZnoEfzKtnPjgeEu41xw5gxq9mQVfYy4OoZ4Vlt0sk3JwxmhCca/AR7DwOiHrjWgjAj6as4AhRLKSDfvZIA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.35.1",- "@typescript-eslint/visitor-keys": "8.35.1"+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1474,9 +1473,9 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.35.1.tgz",- "integrity": "sha512-K5/U9VmT9dTHoNowWZpz+/TObS3xqC5h0xAIjXPw+MNcKV9qg6eSatEnmeAwkjHijhACH0/N7bkhKvbt1+DXWQ==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.3.tgz",+ "integrity": "sha512-PcIJHjmaREXLgIAIzLnSY9VucEzz8FKXsRgFa1DmdGCK/5tJpW03TKJF01Q6VZd1lLdz2sIKPWaDUZN9dp//dw==","dev": true,"license": "MIT","engines": {@@ -1487,20 +1486,21 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <5.9.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.35.1.tgz",- "integrity": "sha512-HOrUBlfVRz5W2LIKpXzZoy6VTZzMu2n8q9C2V/cFngIC5U1nStJgv0tMV4sZPzdf4wQm9/ToWUFPMN9Vq9VJQQ==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.3.tgz",+ "integrity": "sha512-g71d8QD8UaiHGvrJwyIS1hCX5r63w6Jll+4VEYhEAHXTDIqX1JgxhTAbEHtKntL9kuc4jRo7/GWw5xfCepSccQ==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/typescript-estree": "8.35.1",- "@typescript-eslint/utils": "8.35.1",- "debug": "^4.3.4",- "ts-api-utils": "^2.1.0"+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/typescript-estree": "8.59.3",+ "@typescript-eslint/utils": "8.59.3",+ "debug": "^4.4.3",+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1510,14 +1510,14 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <5.9.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/types": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.35.1.tgz",- "integrity": "sha512-q/O04vVnKHfrrhNAscndAn1tuQhIkwqnaW+eu5waD5IPts2eX1dgJxgqcPx5BX109/qAz7IG6VrEPTOYKCNfRQ==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.3.tgz",+ "integrity": "sha512-ePFoH0g4ludssdRFqqDxQePCxU4WQyRa9+XVwjm7yLn0FKhMeoetC+qBEEI1Eyb1pGSDveTIT09Bvw2WhlGayg==","dev": true,"license": "MIT","engines": {@@ -1529,22 +1529,21 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.35.1.tgz",- "integrity": "sha512-Vvpuvj4tBxIka7cPs6Y1uvM7gJgdF5Uu9F+mBJBPY4MhvjrjWGK4H0lVgLJd/8PWZ23FTqsaJaLEkBCFUk8Y9g==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.3.tgz",+ "integrity": "sha512-CbRjVRAf7Lr9Kr8RopKcbY45p2VfmmHrm0ygOCYFi7oU8q19m0Fs/6iHS7kNOmwpp+ob07ZVcAqlxUod9lYdmg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.35.1",- "@typescript-eslint/tsconfig-utils": "8.35.1",- "@typescript-eslint/types": "8.35.1",- "@typescript-eslint/visitor-keys": "8.35.1",- "debug": "^4.3.4",- "fast-glob": "^3.3.2",- "is-glob": "^4.0.3",- "minimatch": "^9.0.4",- "semver": "^7.6.0",- "ts-api-utils": "^2.1.0"+ "@typescript-eslint/project-service": "8.59.3",+ "@typescript-eslint/tsconfig-utils": "8.59.3",+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3",+ "debug": "^4.4.3",+ "minimatch": "^10.2.2",+ "semver": "^7.7.3",+ "tinyglobby": "^0.2.15",+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1554,46 +1553,13 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <5.9.0"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",- "dev": true,- "license": "MIT"- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz",- "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==",- "dev": true,- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {- "version": "9.0.9",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",- "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",- "dev": true,- "license": "ISC",- "dependencies": {- "brace-expansion": "^2.0.2"- },- "engines": {- "node": ">=16 || 14 >=14.17"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {- "version": "7.8.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz",- "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",+ "version": "7.8.1",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.1.tgz",+ "integrity": "sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==","dev": true,"license": "ISC","bin": {@@ -1604,16 +1570,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.35.1.tgz",- "integrity": "sha512-lhnwatFmOFcazAsUm3ZnZFpXSxiwoa1Lj50HphnDe1Et01NF4+hrdXONSUHIcbVu2eFb1bAf+5yjXkGVkXBKAQ==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.3.tgz",+ "integrity": "sha512-JAvT14goBzRzzzZyqq3P9BLArIxTtQURUtFgQ/V7FO+eU+Gg6ES+5ymOPP1wRxXcxAYeivCk4uS3jCKWI1K8Zg==","dev": true,"license": "MIT","dependencies": {- "@eslint-community/eslint-utils": "^4.7.0",- "@typescript-eslint/scope-manager": "8.35.1",- "@typescript-eslint/types": "8.35.1",- "@typescript-eslint/typescript-estree": "8.35.1"+ "@eslint-community/eslint-utils": "^4.9.1",+ "@typescript-eslint/scope-manager": "8.59.3",+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/typescript-estree": "8.59.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1623,19 +1589,19 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <5.9.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.35.1.tgz",- "integrity": "sha512-VRwixir4zBWCSTP/ljEo091lbpypz57PoeAQ9imjG+vbeof9LplljsL1mos4ccG6H9IjfrVGM359RozUnuFhpw==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.3.tgz",+ "integrity": "sha512-f1UQF7ggd42YiwI5wGrRaPsa+P0CINBlrkLPmGfpq/u/I/oVtecoEIfFR9ag/oa1sLOsRNZ6xehf6qMZhQGBDg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.35.1",- "eslint-visitor-keys": "^4.2.1"+ "@typescript-eslint/types": "8.59.3",+ "eslint-visitor-keys": "^5.0.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1645,6 +1611,19 @@"url": "https://opencollective.com/typescript-eslint"}},+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=24"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"+ }+ },"node_modules/@xmldom/xmldom": {"version": "0.8.13","resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",@@ -2771,6 +2750,20 @@"node": ">=16 || 14 >=14.17"}},+ "node_modules/config-file-ts/node_modules/typescript": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },"node_modules/core-util-is": {"version": "1.0.2","resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",@@ -4557,13 +4550,6 @@"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==","license": "ISC"},- "node_modules/graphemer": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",- "dev": true,- "license": "MIT"- },"node_modules/has-flag": {"version": "4.0.0","resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",@@ -7315,9 +7301,9 @@"license": "MIT"},"node_modules/typescript": {- "version": "5.8.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",- "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==","dev": true,"license": "Apache-2.0","bin": {@@ -7329,15 +7315,16 @@}},"node_modules/typescript-eslint": {- "version": "8.35.1",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.35.1.tgz",- "integrity": "sha512-xslJjFzhOmHYQzSB/QTeASAHbjmxOGEP6Coh93TXmUBFQoJ1VU35UHIDmG06Jd6taf3wqqC1ntBnCMeymy5Ovw==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.3.tgz",+ "integrity": "sha512-KgusgyDgG4LI8Ih/sWaCtZ06tckLAS5CvT5A4D1Q7bYVoAAyzwiZvE4BmwDHkhRVkvhRBepKeASoFzQetha7Fg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/eslint-plugin": "8.35.1",- "@typescript-eslint/parser": "8.35.1",- "@typescript-eslint/utils": "8.35.1"+ "@typescript-eslint/eslint-plugin": "8.59.3",+ "@typescript-eslint/parser": "8.59.3",+ "@typescript-eslint/typescript-estree": "8.59.3",+ "@typescript-eslint/utils": "8.59.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -7347,8 +7334,8 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <5.9.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/uint8array-extras": {diff --git a/desktop/package.json b/desktop/package.jsonindex dfdfbdd372..ce72cd7093 100644--- a/desktop/package.json+++ b/desktop/package.json@@ -57,8 +57,8 @@"prettier-plugin-organize-imports": "4.3.0","prettier-plugin-packagejson": "2.5.19","shx": "0.4.0",- "typescript": "5.8.3",- "typescript-eslint": "8.35.1"+ "typescript": "6.0.3",+ "typescript-eslint": "8.59.3"},"packageManager": "[email protected]","productName": "ente"diff --git a/desktop/src/main/services/ffmpeg-worker.ts b/desktop/src/main/services/ffmpeg-worker.tsindex f7b94e455d..94cbd57353 100644--- a/desktop/src/main/services/ffmpeg-worker.ts+++ b/desktop/src/main/services/ffmpeg-worker.ts@@ -977,7 +977,12 @@ const uploadVideoSegmentsSingle = (// See: [Note: duplex param required for stream body]// @ts-expect-error ^see note aboveduplex: "half",- body: Readable.toWeb(fs_.createReadStream(videoFilePath)),+ // The cast is needed because TS checks this against DOM fetch, but+ // at runtime this utility process calls Node fetch.+ // See: [Note: Node and web stream type mismatch].+ body: Readable.toWeb(+ fs_.createReadStream(videoFilePath),+ ) as unknown as BodyInit,}),);@@ -1052,11 +1057,14 @@ const uploadVideoSegmentsMultipart = async (// See: [Note: duplex param required for stream body]// @ts-expect-error ^see note aboveduplex: "half",+ // The cast is needed because TS checks this against DOM fetch,+ // but at runtime this utility process calls Node fetch.+ // See: [Note: Node and web stream type mismatch].body: Readable.toWeb(// start and end are inclusive 0-indexed range of bytes to// read from the file.fs_.createReadStream(videoFilePath, { start, end }),- ),+ ) as unknown as BodyInit,}),);const eTag = res.headers.get("etag");diff --git a/desktop/tsconfig.json b/desktop/tsconfig.jsonindex 59673e7fa9..371155c42c 100644--- a/desktop/tsconfig.json+++ b/desktop/tsconfig.json@@ -12,9 +12,7 @@*//* TSConfig docs: https://aka.ms/tsconfig.json */"compilerOptions": {- /* Mirror the runtime baseline of Electron 41. We inline the- Node 24 preset here because our pinned TypeScript 5.8.3 does not- yet accept one of @tsconfig/node24's lib entries (ESNext.Error). */+ /* Mirror the runtime baseline of Electron 41. */"lib": ["ES2024","ESNext.Array",@@ -29,6 +27,7 @@"moduleResolution": "node16",/* Emit the generated JS into `app/` */+ "rootDir": "src","outDir": "app",/* Require the `type` modifier when importing types */