π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update web dev dependencies
Manav Rathi334b59405bfb
diff --git a/web/apps/albums/src/public-album/components/FileListWithViewer.tsx b/web/apps/albums/src/public-album/components/FileListWithViewer.tsxindex 913aecd8db..2a02f9aa26 100644--- a/web/apps/albums/src/public-album/components/FileListWithViewer.tsx+++ b/web/apps/albums/src/public-album/components/FileListWithViewer.tsx@@ -164,9 +164,8 @@ export const FileListWithViewer: React.FC<FileListWithViewerProps> = ({const handleDownload = useCallback(async (file: EnteFile) => {- const { downloadAndSaveFiles } = await import(- "@/public-album/download/services/save"- );+ const { downloadAndSaveFiles } =+ await import("@/public-album/download/services/save");return downloadAndSaveFiles([file],fileFileName(file),diff --git a/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts b/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.tsindex 2f31dff511..e840713cec 100644--- a/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts@@ -71,17 +71,12 @@ export const handleTimelineScroll = ({// Calculate scroll progress (0 to 1)const isAtBottom = scrollTop + clientHeight >= scrollHeight - 10;- let progress = 0;- if (isAtBottom) {- progress = 1;- } else {- const maxScrollableDistance = scrollHeight - clientHeight;- if (maxScrollableDistance > 0) {- progress = scrollTop / maxScrollableDistance;- } else {- progress = 0;- }- }+ const maxScrollableDistance = scrollHeight - clientHeight;+ const progress = isAtBottom+ ? 1+ : maxScrollableDistance > 0+ ? scrollTop / maxScrollableDistance+ : 0;const clampedProgress = Math.min(1, Math.max(0, progress));if (isClusterClickScrollingRef.current) {diff --git a/web/apps/albums/src/public-album/download/services/save.ts b/web/apps/albums/src/public-album/download/services/save.tsindex 3f80ceb414..d6dd3a9c56 100644--- a/web/apps/albums/src/public-album/download/services/save.ts+++ b/web/apps/albums/src/public-album/download/services/save.ts@@ -26,13 +26,13 @@ type JSZipConstructor = new () => JSZip;let jsZipConstructorPromise: Promise<JSZipConstructor> | undefined;const createJSZip = async (): Promise<JSZip> => {- const JSZipConstructor = await (jsZipConstructorPromise ??= import(- "jszip"- ).then((module) => {- const candidate = (module as unknown as { default?: JSZipConstructor })- .default;- return candidate ?? (module as unknown as JSZipConstructor);- }));+ const JSZipConstructor = await (jsZipConstructorPromise ??=+ import("jszip").then((module) => {+ const candidate = (+ module as unknown as { default?: JSZipConstructor }+ ).default;+ return candidate ?? (module as unknown as JSZipConstructor);+ }));return new JSZipConstructor();};diff --git a/web/apps/albums/src/public-album/media/utils/detect-type.ts b/web/apps/albums/src/public-album/media/utils/detect-type.tsindex fd6e385e41..819c43dbfc 100644--- a/web/apps/albums/src/public-album/media/utils/detect-type.ts+++ b/web/apps/albums/src/public-album/media/utils/detect-type.ts@@ -85,7 +85,10 @@ export const detectFileTypeInfoFromChunk = async (if (extension && KnownNonMediaFileExtensions.includes(extension)) {// This string should satisfy `isFileTypeNotSupportedError`.- throw new Error(`Unsupported file format (extension ${extension})`);+ throw new Error(+ `Unsupported file format (extension ${extension})`,+ { cause: e },+ );}throw e;diff --git a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsxindex 3d6d3cd0cb..2687c4736c 100644--- a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx+++ b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx@@ -96,9 +96,7 @@ import { type FileWithPath } from "react-dropzone";const LazyPublicAlbumSingleFileViewer =dynamic<PublicAlbumSingleFileViewerProps>(() =>- import(- "@/public-album/viewer/components/PublicAlbumSingleFileViewer"- ).then(+ import("@/public-album/viewer/components/PublicAlbumSingleFileViewer").then(({ PublicAlbumSingleFileViewer }) =>PublicAlbumSingleFileViewer,),@@ -544,9 +542,7 @@ export default function PublicAlbumPage() {{ verifyPublicAlbumPassword },{ savePublicCollectionAccessTokenJWT },] = await Promise.all([- import(- "@/public-album/access/services/verify-public-album-password"- ),+ import("@/public-album/access/services/verify-public-album-password"),loadPublicAlbumsFDB(),]);const accessTokenJWT = await verifyPublicAlbumPassword(@@ -586,9 +582,8 @@ export default function PublicAlbumPage() {const downloadFilesHelper = async () => {try {- const { downloadAndSaveFiles } = await import(- "@/public-album/download/services/save"- );+ const { downloadAndSaveFiles } =+ await import("@/public-album/download/services/save");const selectedFiles = getSelectedFiles(selected, publicFiles!);const singleFile =selectedFiles.length === 1 ? selectedFiles[0] : undefined;@@ -1459,7 +1454,7 @@ const PublicAlbumCoverHero: React.FC<PublicAlbumCoverHeroProps> = ({return false;};- let didSetThumbnail = false;+ let didSetThumbnail: boolean;try {const cachedURL = await thumbnailManager.renderableThumbnailURL(coverFile,diff --git a/web/apps/albums/src/public-album/upload/pipeline/upload-service.ts b/web/apps/albums/src/public-album/upload/pipeline/upload-service.tsindex 295dff5583..fd60b6b1ea 100644--- a/web/apps/albums/src/public-album/upload/pipeline/upload-service.ts+++ b/web/apps/albums/src/public-album/upload/pipeline/upload-service.ts@@ -1633,9 +1633,6 @@ const uploadStreamUsingMultipart = async (const { stream } = dataStream;const streamReader = stream.getReader();- let uploadPartCount = Math.ceil(- dataStream.chunkCount / multipartChunksPerPart,- );// Public album uploads always request metadata-aware multipart URLs, so we// first materialize each part to compute its checksum.const parts: Uint8Array<ArrayBuffer>[] = [];@@ -1652,7 +1649,7 @@ const uploadStreamUsingMultipart = async (const { done } = await streamReader.read();if (!done) throw new Error("More chunks than expected");- uploadPartCount = parts.length;+ const uploadPartCount = parts.length;if (uploadPartCount == 0) {throw new Error("Multipart upload produced no parts");}diff --git a/web/apps/albums/src/public-album/viewer/components/PublicAlbumSingleFileViewer.tsx b/web/apps/albums/src/public-album/viewer/components/PublicAlbumSingleFileViewer.tsxindex 0caa5a9719..2e147ba945 100644--- a/web/apps/albums/src/public-album/viewer/components/PublicAlbumSingleFileViewer.tsx+++ b/web/apps/albums/src/public-album/viewer/components/PublicAlbumSingleFileViewer.tsx@@ -394,9 +394,8 @@ export const PublicAlbumSingleFileViewer: React.FC<const handleDownload = useCallback(async (targetFile: EnteFile) => {- const { downloadAndSaveFiles } = await import(- "@/public-album/download/services/save"- );+ const { downloadAndSaveFiles } =+ await import("@/public-album/download/services/save");return downloadAndSaveFiles([targetFile],fileFileName(targetFile),diff --git a/web/apps/embed/src/pages/index.tsx b/web/apps/embed/src/pages/index.tsxindex 34c6e7609a..af9e6ae4c9 100644--- a/web/apps/embed/src/pages/index.tsx+++ b/web/apps/embed/src/pages/index.tsx@@ -215,7 +215,7 @@ export default function EmbedGallery() {} catch (e) {log.error("Failed to verify password", e);if (isHTTP401Error(e)) {- throw new Error(t("incorrect_password"));+ throw new Error(t("incorrect_password"), { cause: e });}throw e;}diff --git a/web/apps/ensu/src/components/chat/ChatDialogs.tsx b/web/apps/ensu/src/components/chat/ChatDialogs.tsxindex 69b4bcaa37..8c6aec460d 100644--- a/web/apps/ensu/src/components/chat/ChatDialogs.tsx+++ b/web/apps/ensu/src/components/chat/ChatDialogs.tsx@@ -177,9 +177,8 @@ export const ChatDialogs = memo(const openExternalUrl = async (url: string) => {if (isTauriRuntime || detectTauriAppRuntime()) {try {- const { openUrl } = await import(- "@tauri-apps/plugin-opener"- );+ const { openUrl } =+ await import("@tauri-apps/plugin-opener");await openUrl(url);return;} catch {diff --git a/web/apps/ensu/src/pages/chat.tsx b/web/apps/ensu/src/pages/chat.tsxindex 3bf93670c7..11b2c24cd6 100644--- a/web/apps/ensu/src/pages/chat.tsx+++ b/web/apps/ensu/src/pages/chat.tsx@@ -293,8 +293,9 @@ const parseDocumentBlocks = (text: string) => {const normalized = text.replace(/\r\n/g, "\n");const regex = createDocumentBlockRegex();const documents: DocumentAttachment[] = [];- let match: RegExpExecArray | null = null;- while ((match = regex.exec(normalized)) !== null) {+ while (true) {+ const match = regex.exec(normalized);+ if (!match) break;const name = match[1]?.trim() || "Document";const content = match[2] ?? "";const size = new TextEncoder().encode(content).length;@@ -3702,9 +3703,8 @@ const Page: React.FC = () => {closeAttachmentMenu();if (imageAttachmentSlotsRemaining <= 0) return;try {- const { open: openFileDialog } = await import(- "@tauri-apps/plugin-dialog"- );+ const { open: openFileDialog } =+ await import("@tauri-apps/plugin-dialog");const selection = await openFileDialog({directory: false,multiple: true,@@ -3980,7 +3980,6 @@ const Page: React.FC = () => {trimmed.replace(/\u0000/g, ""),pendingDocuments,);- let promptText = messageText;let inferenceImagePaths: string[] = [];let attachments: ChatAttachment[] = [];@@ -4056,7 +4055,7 @@ const Page: React.FC = () => {}}- promptText = buildPromptWithImages(+ const promptText = buildPromptWithImages(messageText,inferenceImagePaths.length,);diff --git a/web/apps/ensu/src/services/chat/store.ts b/web/apps/ensu/src/services/chat/store.tsindex 9aff15a867..3cab9142b1 100644--- a/web/apps/ensu/src/services/chat/store.ts+++ b/web/apps/ensu/src/services/chat/store.ts@@ -686,7 +686,7 @@ const migrateLegacyIndexedDbChatStore = async () => {chatDb(),]);- let migratedAnyEntries = false;+ let migratedAnyEntries: boolean;try {const [sessions, messages, attachmentBytes] = await Promise.all([legacyDb.getAll("sessions"),diff --git a/web/apps/ensu/src/services/chat/sync.ts b/web/apps/ensu/src/services/chat/sync.tsindex 15b9edc106..dd08f44eaa 100644--- a/web/apps/ensu/src/services/chat/sync.ts+++ b/web/apps/ensu/src/services/chat/sync.ts@@ -556,7 +556,7 @@ const applyDiff = async (response: DiffResponse, chatKey: string) => {continue;}- let decrypted: { title?: string } = {};+ let decrypted: { title?: string };try {decrypted = (await decryptChatPayload({diff --git a/web/apps/legacy/src/features/legacy-kit/scan.ts b/web/apps/legacy/src/features/legacy-kit/scan.tsindex 47762e8f50..ae471e80d7 100644--- a/web/apps/legacy/src/features/legacy-kit/scan.ts+++ b/web/apps/legacy/src/features/legacy-kit/scan.ts@@ -301,9 +301,8 @@ const renderPDFPage = async (page: PDFPageProxy) => {};const decodeQrFromPDFBytes = async (bytes: Uint8Array) => {- const pdfjs = (await import(- "pdfjs-dist/legacy/webpack.mjs"- )) as unknown as typeof import("pdfjs-dist");+ const pdfjs =+ (await import("pdfjs-dist/legacy/webpack.mjs")) as unknown as typeof import("pdfjs-dist");const loadingTask = pdfjs.getDocument({ data: bytes.slice() });let pdf: PDFDocumentProxy;try {diff --git a/web/apps/paste/src/features/paste/components/PasteQrCode.tsx b/web/apps/paste/src/features/paste/components/PasteQrCode.tsxindex 2ecc00ece4..a0422d04fe 100644--- a/web/apps/paste/src/features/paste/components/PasteQrCode.tsx+++ b/web/apps/paste/src/features/paste/components/PasteQrCode.tsx@@ -64,9 +64,8 @@ export const PasteQrCode = ({const renderQr = async () => {try {- const qrCodeStylingModule = (await import(- "qr-code-styling"- )) as unknown;+ const qrCodeStylingModule =+ (await import("qr-code-styling")) as unknown;if (!isActive) return;const container = qrContainerRef.current;diff --git a/web/apps/photos/src/components/Collections/AllPeople.tsx b/web/apps/photos/src/components/Collections/AllPeople.tsxindex 6ce3e6d0e2..c01ae85be6 100644--- a/web/apps/photos/src/components/Collections/AllPeople.tsx+++ b/web/apps/photos/src/components/Collections/AllPeople.tsx@@ -451,17 +451,16 @@ type PeopleListItem =| { type: "people"; people: Person[]; topSpacing?: boolean }| { type: "showMoreButton" };-interface ItemData- extends Pick<- AllPeopleContentProps,- | "showingAllPeople"- | "onToggleShowingAllPeople"- | "onSelectPerson"- | "onRenamePerson"- | "onPinPerson"- | "onAddName"- | "onIgnorePerson"- > {+interface ItemData extends Pick<+ AllPeopleContentProps,+ | "showingAllPeople"+ | "onToggleShowingAllPeople"+ | "onSelectPerson"+ | "onRenamePerson"+ | "onPinPerson"+ | "onAddName"+ | "onIgnorePerson"+> {items: PeopleListItem[];}diff --git a/web/apps/photos/src/components/Collections/CollectionHeader.tsx b/web/apps/photos/src/components/Collections/CollectionHeader.tsxindex 3afda3c816..564e03fe94 100644--- a/web/apps/photos/src/components/Collections/CollectionHeader.tsx+++ b/web/apps/photos/src/components/Collections/CollectionHeader.tsx@@ -81,19 +81,18 @@ import { Trans } from "react-i18next";import type { FileListWithViewerProps } from "../FileListWithViewer";import { CollectionMapDialog } from "./CollectionMapDialog";-export interface CollectionHeaderProps- extends Pick<- FileListWithViewerProps,- | "onMarkTempDeleted"- | "onAddFileToCollection"- | "onRemoteFilesPull"- | "onVisualFeedback"- | "fileNormalCollectionIDs"- | "collectionNameByID"- | "emailByUserID"- | "onSelectCollection"- | "onSelectPerson"- > {+export interface CollectionHeaderProps extends Pick<+ FileListWithViewerProps,+ | "onMarkTempDeleted"+ | "onAddFileToCollection"+ | "onRemoteFilesPull"+ | "onVisualFeedback"+ | "fileNormalCollectionIDs"+ | "collectionNameByID"+ | "emailByUserID"+ | "onSelectCollection"+ | "onSelectPerson"+> {collectionSummary: CollectionSummary;activeCollection: Collection | undefined;files: EnteFile[];diff --git a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsxindex 13383a97a5..edf573f2eb 100644--- a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx+++ b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx@@ -56,7 +56,8 @@ import type { FileListWithViewerProps } from "../FileListWithViewer";import { FileListWithViewer } from "../FileListWithViewer";interface CollectionMapDialogProps- extends ModalVisibilityProps,+ extends+ ModalVisibilityProps,Pick<FileListWithViewerProps,| "onAddSaveGroup"diff --git a/web/apps/photos/src/components/Upload.tsx b/web/apps/photos/src/components/Upload.tsxindex 4701091a8e..2af32f82da 100644--- a/web/apps/photos/src/components/Upload.tsx+++ b/web/apps/photos/src/components/Upload.tsx@@ -598,16 +598,12 @@ export const Upload: React.FC<UploadProps> = ({}}- // eslint-disable-next-line @typescript-eslint/no-empty-function- let showNextModal = () => {};- if (importSuggestion.hasNestedFolders) {- showNextModal = () => setOpenCollectionMappingChoice(true);- } else {- showNextModal = () => {- setPrefilledNewAlbumName(importSuggestion.rootFolderName);- showNewAlbumNameInput();- };- }+ const showNextModal = importSuggestion.hasNestedFolders+ ? () => setOpenCollectionMappingChoice(true)+ : () => {+ setPrefilledNewAlbumName(importSuggestion.rootFolderName);+ showNewAlbumNameInput();+ };onOpenCollectionSelector?.({action: "upload",diff --git a/web/package-lock.json b/web/package-lock.jsonindex e57e2be583..31478035d1 100644--- a/web/package-lock.json+++ b/web/package-lock.json@@ -12,9 +12,9 @@"packages/*"],"devDependencies": {- "concurrently": "9.2.1",- "eslint": "9.39.4",- "prettier": "3.6.2",+ "concurrently": "10.0.3",+ "eslint": "10.4.1",+ "prettier": "3.8.3","typescript": "6.0.3"}},@@ -1284,106 +1284,150 @@"node": "^12.0.0 || ^14.0.0 || >=16.0.0"}},- "node_modules/@eslint/config-array": {- "version": "0.21.2",- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",- "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",+ "node_modules/@eslint/compat": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-2.1.0.tgz",+ "integrity": "sha512-LgaSCymEpw7tF53xvDw9SNsraPb1IBHxpdABIOM0hW8UAlP8znrjYtuxfR58FSJ3L9BhwD+FaPRFQpZq84Nh6g==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/object-schema": "^2.1.7",- "debug": "^4.3.1",- "minimatch": "^3.1.5"+ "@eslint/core": "^1.2.1"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"+ },+ "peerDependencies": {+ "eslint": "^8.40 || 9 || 10"+ },+ "peerDependenciesMeta": {+ "eslint": {+ "optional": true+ }}},- "node_modules/@eslint/config-helpers": {- "version": "0.4.2",- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",- "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",+ "node_modules/@eslint/config-array": {+ "version": "0.23.5",+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz",+ "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/core": "^0.17.0"+ "@eslint/object-schema": "^3.0.5",+ "debug": "^4.3.1",+ "minimatch": "^10.2.4"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"}},- "node_modules/@eslint/core": {- "version": "0.17.0",- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",- "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",+ "node_modules/@eslint/config-array/node_modules/balanced-match": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==","dev": true,- "license": "Apache-2.0",+ "license": "MIT",+ "engines": {+ "node": "18 || 20 || >=22"+ }+ },+ "node_modules/@eslint/config-array/node_modules/brace-expansion": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",+ "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",+ "dev": true,+ "license": "MIT","dependencies": {- "@types/json-schema": "^7.0.15"+ "balanced-match": "^4.0.2"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "18 || 20 || >=22"}},- "node_modules/@eslint/eslintrc": {- "version": "3.3.5",- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",- "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",+ "node_modules/@eslint/config-array/node_modules/minimatch": {+ "version": "10.2.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==","dev": true,- "license": "MIT",+ "license": "BlueOak-1.0.0","dependencies": {- "ajv": "^6.14.0",- "debug": "^4.3.2",- "espree": "^10.0.1",- "globals": "^14.0.0",- "ignore": "^5.2.0",- "import-fresh": "^3.2.1",- "js-yaml": "^4.1.1",- "minimatch": "^3.1.5",- "strip-json-comments": "^3.1.1"+ "brace-expansion": "^5.0.5"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "18 || 20 || >=22"},"funding": {- "url": "https://opencollective.com/eslint"+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/@eslint/config-helpers": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz",+ "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@eslint/core": "^1.2.1"+ },+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=24"+ }+ },+ "node_modules/@eslint/core": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz",+ "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@types/json-schema": "^7.0.15"+ },+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=24"}},"node_modules/@eslint/js": {- "version": "9.39.4",- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",- "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",+ "version": "10.0.1",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz",+ "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==","dev": true,"license": "MIT","engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://eslint.org/donate"+ },+ "peerDependencies": {+ "eslint": "^10.0.0"+ },+ "peerDependenciesMeta": {+ "eslint": {+ "optional": true+ }}},"node_modules/@eslint/object-schema": {- "version": "2.1.7",- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",- "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz",+ "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==","dev": true,"license": "Apache-2.0","engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"}},"node_modules/@eslint/plugin-kit": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",- "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",+ "version": "0.7.2",+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz",+ "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/core": "^0.17.0",+ "@eslint/core": "^1.2.1","levn": "^0.4.1"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"}},"node_modules/@ffmpeg/ffmpeg": {@@ -3504,6 +3548,13 @@"dev": true,"license": "MIT"},+ "node_modules/@types/esrecurse": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz",+ "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==",+ "dev": true,+ "license": "MIT"+ },"node_modules/@types/estree": {"version": "1.0.9","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",@@ -3964,19 +4015,6 @@"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/@ungap/structured-clone": {"version": "1.3.1","resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.1.tgz",@@ -4192,38 +4230,31 @@"link": true},"node_modules/ansi-regex": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "version": "6.2.2",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==","dev": true,"license": "MIT","engines": {- "node": ">=8"+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"}},"node_modules/ansi-styles": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "version": "6.2.3",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==","dev": true,"license": "MIT",- "dependencies": {- "color-convert": "^2.0.1"- },"engines": {- "node": ">=8"+ "node": ">=12"},"funding": {"url": "https://github.com/chalk/ansi-styles?sponsor=1"}},- "node_modules/argparse": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",- "dev": true,- "license": "Python-2.0"- },"node_modules/array-buffer-byte-length": {"version": "1.0.2","resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",@@ -4637,35 +4668,18 @@}},"node_modules/chalk": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "version": "5.6.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==","dev": true,"license": "MIT",- "dependencies": {- "ansi-styles": "^4.1.0",- "supports-color": "^7.1.0"- },"engines": {- "node": ">=10"+ "node": "^12.17.0 || ^14.13 || >=16.0.0"},"funding": {"url": "https://github.com/chalk/chalk?sponsor=1"}},- "node_modules/chalk/node_modules/supports-color": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",- "dev": true,- "license": "MIT",- "dependencies": {- "has-flag": "^4.0.0"- },- "engines": {- "node": ">=8"- }- },"node_modules/character-entities": {"version": "2.0.2","resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",@@ -4732,18 +4746,18 @@"license": "MIT"},"node_modules/cliui": {- "version": "8.0.1",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",+ "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==","dev": true,"license": "ISC","dependencies": {- "string-width": "^4.2.0",- "strip-ansi": "^6.0.1",- "wrap-ansi": "^7.0.0"+ "string-width": "^7.2.0",+ "strip-ansi": "^7.1.0",+ "wrap-ansi": "^9.0.0"},"engines": {- "node": ">=12"+ "node": ">=20"}},"node_modules/clsx": {@@ -4755,26 +4769,6 @@"node": ">=6"}},- "node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "color-name": "~1.1.4"- },- "engines": {- "node": ">=7.0.0"- }- },- "node_modules/color-name": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",- "dev": true,- "license": "MIT"- },"node_modules/comlink": {"version": "4.4.2","resolved": "https://registry.npmjs.org/comlink/-/comlink-4.4.2.tgz",@@ -4808,25 +4802,25 @@"license": "MIT"},"node_modules/concurrently": {- "version": "9.2.1",- "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.1.tgz",- "integrity": "sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==",+ "version": "10.0.3",+ "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.3.tgz",+ "integrity": "sha512-hc3LH4UaKWd/bbyDK/IGVa4RB6PtQ3CUYwtrkzqHn+wIG3Hr5fhpRlk0L/gCa8ZE1L/Ufj50Zho69cI5w8SQBA==","dev": true,"license": "MIT","dependencies": {- "chalk": "4.1.2",+ "chalk": "5.6.2","rxjs": "7.8.2",- "shell-quote": "1.8.3",- "supports-color": "8.1.1",+ "shell-quote": "1.8.4",+ "supports-color": "10.2.2","tree-kill": "1.2.2",- "yargs": "17.7.2"+ "yargs": "18.0.0"},"bin": {- "conc": "dist/bin/concurrently.js",- "concurrently": "dist/bin/concurrently.js"+ "conc": "dist/bin/index.js",+ "concurrently": "dist/bin/index.js"},"engines": {- "node": ">=18"+ "node": ">=22"},"funding": {"url": "https://github.com/open-cli-tools/concurrently?sponsor=1"@@ -5158,9 +5152,9 @@"link": true},"node_modules/emoji-regex": {- "version": "8.0.0",- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "version": "10.6.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==","dev": true,"license": "MIT"},@@ -5477,33 +5471,30 @@}},"node_modules/eslint": {- "version": "9.39.4",- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",- "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",+ "version": "10.4.1",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.1.tgz",+ "integrity": "sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==","dev": true,"license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.8.0",- "@eslint-community/regexpp": "^4.12.1",- "@eslint/config-array": "^0.21.2",- "@eslint/config-helpers": "^0.4.2",- "@eslint/core": "^0.17.0",- "@eslint/eslintrc": "^3.3.5",- "@eslint/js": "9.39.4",- "@eslint/plugin-kit": "^0.4.1",+ "@eslint-community/regexpp": "^4.12.2",+ "@eslint/config-array": "^0.23.5",+ "@eslint/config-helpers": "^0.6.0",+ "@eslint/core": "^1.2.1",+ "@eslint/plugin-kit": "^0.7.2","@humanfs/node": "^0.16.6","@humanwhocodes/module-importer": "^1.0.1","@humanwhocodes/retry": "^0.4.2","@types/estree": "^1.0.6","ajv": "^6.14.0",- "chalk": "^4.0.0","cross-spawn": "^7.0.6","debug": "^4.3.2","escape-string-regexp": "^4.0.0",- "eslint-scope": "^8.4.0",- "eslint-visitor-keys": "^4.2.1",- "espree": "^10.4.0",- "esquery": "^1.5.0",+ "eslint-scope": "^9.1.2",+ "eslint-visitor-keys": "^5.0.1",+ "espree": "^11.2.0",+ "esquery": "^1.7.0","esutils": "^2.0.2","fast-deep-equal": "^3.1.3","file-entry-cache": "^8.0.0",@@ -5513,8 +5504,7 @@"imurmurhash": "^0.1.4","is-glob": "^4.0.0","json-stable-stringify-without-jsonify": "^1.0.1",- "lodash.merge": "^4.6.2",- "minimatch": "^3.1.5",+ "minimatch": "^10.2.4","natural-compare": "^1.4.0","optionator": "^0.9.3"},@@ -5522,7 +5512,7 @@"eslint": "bin/eslint.js"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://eslint.org/donate"@@ -5570,16 +5560,23 @@}},"node_modules/eslint-plugin-react-hooks": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",- "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz",+ "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==","dev": true,"license": "MIT",+ "dependencies": {+ "@babel/core": "^7.24.4",+ "@babel/parser": "^7.24.4",+ "hermes-parser": "^0.25.1",+ "zod": "^3.25.0 || ^4.0.0",+ "zod-validation-error": "^3.5.0 || ^4.0.0"+ },"engines": {- "node": ">=10"+ "node": ">=18"},"peerDependencies": {- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"}},"node_modules/eslint-plugin-react-refresh": {@@ -5617,48 +5614,89 @@}},"node_modules/eslint-scope": {- "version": "8.4.0",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",- "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",+ "version": "9.1.2",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz",+ "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==","dev": true,"license": "BSD-2-Clause","dependencies": {+ "@types/esrecurse": "^4.3.1",+ "@types/estree": "^1.0.8","esrecurse": "^4.3.0","estraverse": "^5.2.0"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://opencollective.com/eslint"}},"node_modules/eslint-visitor-keys": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",- "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",+ "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": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://opencollective.com/eslint"}},+ "node_modules/eslint/node_modules/balanced-match": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "18 || 20 || >=22"+ }+ },+ "node_modules/eslint/node_modules/brace-expansion": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",+ "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^4.0.2"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ }+ },+ "node_modules/eslint/node_modules/minimatch": {+ "version": "10.2.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "dependencies": {+ "brace-expansion": "^5.0.5"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/espree": {- "version": "10.4.0",- "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",- "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",+ "version": "11.2.0",+ "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",+ "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==","dev": true,"license": "BSD-2-Clause","dependencies": {- "acorn": "^8.15.0",+ "acorn": "^8.16.0","acorn-jsx": "^5.3.2",- "eslint-visitor-keys": "^4.2.1"+ "eslint-visitor-keys": "^5.0.1"},"engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://opencollective.com/eslint"@@ -6017,6 +6055,19 @@"node": "6.* || 8.* || >= 10.*"}},+ "node_modules/get-east-asian-width": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz",+ "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/get-intrinsic": {"version": "1.3.0","resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",@@ -6109,19 +6160,6 @@"node": ">=10.13.0"}},- "node_modules/globals": {- "version": "14.0.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",- "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/globalthis": {"version": "1.0.4","resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",@@ -6165,16 +6203,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/has-flag": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },"node_modules/has-property-descriptors": {"version": "1.0.2","resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",@@ -6439,6 +6467,23 @@"node": ">=8.0.0"}},+ "node_modules/hermes-estree": {+ "version": "0.25.1",+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",+ "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/hermes-parser": {+ "version": "0.25.1",+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",+ "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "hermes-estree": "0.25.1"+ }+ },"node_modules/hls-video-element": {"version": "1.5.11","resolved": "https://registry.npmjs.org/hls-video-element/-/hls-video-element-1.5.11.tgz",@@ -6828,16 +6873,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/is-fullwidth-code-point": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },"node_modules/is-generator-function": {"version": "1.1.2","resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz",@@ -7124,29 +7159,6 @@"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==","license": "MIT"},- "node_modules/js-yaml": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",- "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/puzrin"- },- {- "type": "github",- "url": "https://github.com/sponsors/nodeca"- }- ],- "license": "MIT",- "dependencies": {- "argparse": "^2.0.1"- },- "bin": {- "js-yaml": "bin/js-yaml.js"- }- },"node_modules/jsesc": {"version": "3.1.0","resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",@@ -7363,13 +7375,6 @@"integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==","license": "MIT"},- "node_modules/lodash.merge": {- "version": "4.6.2",- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",- "dev": true,- "license": "MIT"- },"node_modules/longest-streak": {"version": "3.1.0","resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",@@ -9020,9 +9025,9 @@}},"node_modules/prettier": {- "version": "3.6.2",- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",- "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",+ "version": "3.8.3",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz",+ "integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==","dev": true,"license": "MIT","bin": {@@ -9053,16 +9058,16 @@}},"node_modules/prettier-plugin-packagejson": {- "version": "2.5.22",- "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.22.tgz",- "integrity": "sha512-G6WalmoUssKF8ZXkni0+n4324K+gG143KPysSQNW+FrR0XyNb3BdRxchGC/Q1FE/F702p7/6KU7r4mv0WSWbzA==",+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-3.0.2.tgz",+ "integrity": "sha512-kmoj3hEynXwoHDo8ZhmWAIjRBoQWCDUVackiWfSDWdgD0rS3LGB61T9zoVbume/cotYdCoadUh4sqViAmXvpBQ==","dev": true,"license": "MIT","dependencies": {- "sort-package-json": "3.6.0"+ "sort-package-json": "^3.6.0"},"peerDependencies": {- "prettier": ">= 1.16.0"+ "prettier": "^3"},"peerDependenciesMeta": {"prettier": {@@ -9530,16 +9535,6 @@"url": "https://opencollective.com/unified"}},- "node_modules/require-directory": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },"node_modules/reselect": {"version": "5.2.0","resolved": "https://registry.npmjs.org/reselect/-/reselect-5.2.0.tgz",@@ -9872,9 +9867,9 @@}},"node_modules/shell-quote": {- "version": "1.8.3",- "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz",- "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==",+ "version": "1.8.4",+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.4.tgz",+ "integrity": "sha512-VsC6n6vz1ihYYyZZwX7YZSF5l5x36ca17OC+a69h94YqB7X6XLwf+5MOgynYir2SLFUbl8gIYvBo8K8RoNQ6bQ==","dev": true,"license": "MIT","engines": {@@ -10084,18 +10079,21 @@}},"node_modules/string-width": {- "version": "4.2.3",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==","dev": true,"license": "MIT","dependencies": {- "emoji-regex": "^8.0.0",- "is-fullwidth-code-point": "^3.0.0",- "strip-ansi": "^6.0.1"+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"},"engines": {- "node": ">=8"+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/string.prototype.matchall": {@@ -10211,29 +10209,19 @@}},"node_modules/strip-ansi": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==","dev": true,"license": "MIT","dependencies": {- "ansi-regex": "^5.0.1"+ "ansi-regex": "^6.2.2"},"engines": {- "node": ">=8"- }- },- "node_modules/strip-json-comments": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"+ "node": ">=12"},"funding": {- "url": "https://github.com/sponsors/sindresorhus"+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"}},"node_modules/strtok3": {@@ -10309,16 +10297,13 @@}},"node_modules/supports-color": {- "version": "8.1.1",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "version": "10.2.2",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",+ "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==","dev": true,"license": "MIT",- "dependencies": {- "has-flag": "^4.0.0"- },"engines": {- "node": ">=10"+ "node": ">=18"},"funding": {"url": "https://github.com/chalk/supports-color?sponsor=1"@@ -11305,18 +11290,18 @@}},"node_modules/wrap-ansi": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",+ "version": "9.0.2",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",+ "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==","dev": true,"license": "MIT","dependencies": {- "ansi-styles": "^4.0.0",- "string-width": "^4.1.0",- "strip-ansi": "^6.0.0"+ "ansi-styles": "^6.2.1",+ "string-width": "^7.0.0",+ "strip-ansi": "^7.1.0"},"engines": {- "node": ">=10"+ "node": ">=18"},"funding": {"url": "https://github.com/chalk/wrap-ansi?sponsor=1"@@ -11340,32 +11325,31 @@"license": "ISC"},"node_modules/yargs": {- "version": "17.7.2",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",+ "version": "18.0.0",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz",+ "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==","dev": true,"license": "MIT","dependencies": {- "cliui": "^8.0.1",+ "cliui": "^9.0.1","escalade": "^3.1.1","get-caller-file": "^2.0.5",- "require-directory": "^2.1.1",- "string-width": "^4.2.3",+ "string-width": "^7.2.0","y18n": "^5.0.5",- "yargs-parser": "^21.1.1"+ "yargs-parser": "^22.0.0"},"engines": {- "node": ">=12"+ "node": "^20.19.0 || ^22.12.0 || >=23"}},"node_modules/yargs-parser": {- "version": "21.1.1",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",+ "version": "22.0.0",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",+ "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==","dev": true,"license": "ISC","engines": {- "node": ">=12"+ "node": "^20.19.0 || ^22.12.0 || >=23"}},"node_modules/yocto-queue": {@@ -11390,6 +11374,19 @@"url": "https://github.com/sponsors/colinhacks"}},+ "node_modules/zod-validation-error": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ },+ "peerDependencies": {+ "zod": "^3.25.0 || ^4.0.0"+ }+ },"node_modules/zwitch": {"version": "2.0.4","resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",@@ -11496,14 +11493,15 @@"name": "ente-build-config","version": "0.0.0","devDependencies": {- "@eslint/js": "9.39.4",- "eslint": "9.39.4",+ "@eslint/compat": "2.1.0",+ "@eslint/js": "10.0.1",+ "eslint": "10.4.1","eslint-plugin-react": "7.37.5",- "eslint-plugin-react-hooks": "5.2.0",+ "eslint-plugin-react-hooks": "7.1.1","eslint-plugin-react-refresh": "0.5.2",- "prettier": "3.6.2",+ "prettier": "3.8.3","prettier-plugin-organize-imports": "4.3.0",- "prettier-plugin-packagejson": "2.5.22",+ "prettier-plugin-packagejson": "3.0.2","typescript": "6.0.3","typescript-eslint": "8.60.1"}diff --git a/web/package.json b/web/package.jsonindex 5494942df1..15788450aa 100644--- a/web/package.json+++ b/web/package.json@@ -48,9 +48,9 @@"base-x": "5.0.1"},"devDependencies": {- "concurrently": "9.2.1",- "eslint": "9.39.4",- "prettier": "3.6.2",+ "concurrently": "10.0.3",+ "eslint": "10.4.1",+ "prettier": "3.8.3","typescript": "6.0.3"},"packageManager": "[email protected]"diff --git a/web/packages/build-config/eslintrc-react.mjs b/web/packages/build-config/eslintrc-react.mjsindex 759f8ca4e7..e2d58e74a8 100644--- a/web/packages/build-config/eslintrc-react.mjs+++ b/web/packages/build-config/eslintrc-react.mjs@@ -1,3 +1,4 @@+import { fixupConfigRules } from "@eslint/compat";import reactPlugin from "eslint-plugin-react";import hooksPlugin from "eslint-plugin-react-hooks";import reactRefreshPlugin from "eslint-plugin-react-refresh";@@ -5,8 +6,14 @@ import config from "./eslintrc-base.mjs";export default [...config,- { files: ["**/*.{jsx,tsx}"], ...reactPlugin.configs.flat.recommended },- { files: ["**/*.{jsx,tsx}"], ...reactPlugin.configs.flat["jsx-runtime"] },+ // eslint-plugin-react does not support ESLint 10 yet, so wrap its configs.+ ...fixupConfigRules([+ { files: ["**/*.{jsx,tsx}"], ...reactPlugin.configs.flat.recommended },+ {+ files: ["**/*.{jsx,tsx}"],+ ...reactPlugin.configs.flat["jsx-runtime"],+ },+ ]),{files: ["**/*.{jsx,tsx}"],settings: { react: { version: "detect" } },@@ -28,7 +35,29 @@ export default ["react-refresh": reactRefreshPlugin,},rules: {- ...hooksPlugin.configs.recommended.rules,+ // The current eslint-plugin-react-hooks recommended preset is:+ //+ // ...hooksPlugin.configs.recommended.rules,+ //+ // Keep the old effective rule set for now. In v7, recommended also+ // enables React Compiler rules, which is a separate policy change.+ "react-hooks/rules-of-hooks": "error",+ "react-hooks/exhaustive-deps": "warn",+ // "react-hooks/static-components": "error",+ // "react-hooks/use-memo": "error",+ // "react-hooks/preserve-manual-memoization": "error",+ // "react-hooks/incompatible-library": "warn",+ // "react-hooks/immutability": "error",+ // "react-hooks/globals": "error",+ // "react-hooks/refs": "error",+ // "react-hooks/set-state-in-effect": "error",+ // "react-hooks/error-boundaries": "error",+ // "react-hooks/purity": "error",+ // "react-hooks/set-state-in-render": "error",+ // "react-hooks/unsupported-syntax": "warn",+ // "react-hooks/config": "error",+ // "react-hooks/gating": "error",+ //// Apparently Fast refresh only works if a file only exports// components, and this rule warns if we break that that.//diff --git a/web/packages/build-config/package.json b/web/packages/build-config/package.jsonindex c85f305c10..e19bc6f5b3 100644--- a/web/packages/build-config/package.json+++ b/web/packages/build-config/package.json@@ -4,14 +4,15 @@"private": true,"type": "module","devDependencies": {- "@eslint/js": "9.39.4",- "eslint": "9.39.4",+ "@eslint/compat": "2.1.0",+ "@eslint/js": "10.0.1",+ "eslint": "10.4.1","eslint-plugin-react": "7.37.5",- "eslint-plugin-react-hooks": "5.2.0",+ "eslint-plugin-react-hooks": "7.1.1","eslint-plugin-react-refresh": "0.5.2",- "prettier": "3.6.2",+ "prettier": "3.8.3","prettier-plugin-organize-imports": "4.3.0",- "prettier-plugin-packagejson": "2.5.22",+ "prettier-plugin-packagejson": "3.0.2","typescript": "6.0.3","typescript-eslint": "8.60.1"}diff --git a/web/packages/contacts/legacy/components/LegacyDrawerContent.tsx b/web/packages/contacts/legacy/components/LegacyDrawerContent.tsxindex e72190e936..f0cad3b605 100644--- a/web/packages/contacts/legacy/components/LegacyDrawerContent.tsx+++ b/web/packages/contacts/legacy/components/LegacyDrawerContent.tsx@@ -265,8 +265,8 @@ export const LegacyDrawerContent: React.FC<LegacyDrawerContentProps> = ({const hasOverviewEntries = Boolean(info?.recoverSessions.length ||- info?.contacts.length ||- info?.othersEmergencyContact.length,+ info?.contacts.length ||+ info?.othersEmergencyContact.length,);const refreshAfterMutation = useCallback(async () => {diff --git a/web/packages/gallery/utils/detect-type.ts b/web/packages/gallery/utils/detect-type.tsindex fd6e385e41..819c43dbfc 100644--- a/web/packages/gallery/utils/detect-type.ts+++ b/web/packages/gallery/utils/detect-type.ts@@ -85,7 +85,10 @@ export const detectFileTypeInfoFromChunk = async (if (extension && KnownNonMediaFileExtensions.includes(extension)) {// This string should satisfy `isFileTypeNotSupportedError`.- throw new Error(`Unsupported file format (extension ${extension})`);+ throw new Error(+ `Unsupported file format (extension ${extension})`,+ { cause: e },+ );}throw e;diff --git a/web/packages/new/photos/components/DevSettings.tsx b/web/packages/new/photos/components/DevSettings.tsxindex fb27d928f7..dcb33790cb 100644--- a/web/packages/new/photos/components/DevSettings.tsx+++ b/web/packages/new/photos/components/DevSettings.tsx@@ -214,7 +214,7 @@ const updateAPIOrigin = async (origin: string) => {PingResponse.parse(await res.json());} catch (e) {log.error("Invalid response", e);- throw new Error("Invalid response");+ throw new Error("Invalid response", { cause: e });}await setKV("apiOrigin", origin);diff --git a/web/packages/new/photos/components/sidebar/AppLockSettings.tsx b/web/packages/new/photos/components/sidebar/AppLockSettings.tsxindex 5ea6f85fa8..6cdc953354 100644--- a/web/packages/new/photos/components/sidebar/AppLockSettings.tsx+++ b/web/packages/new/photos/components/sidebar/AppLockSettings.tsx@@ -873,8 +873,7 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({// -- Auto-lock nested drawer ---interface AutoLockOptionsDrawerProps- extends NestedSidebarDrawerVisibilityProps {+interface AutoLockOptionsDrawerProps extends NestedSidebarDrawerVisibilityProps {currentValue: number;}diff --git a/web/packages/new/photos/services/export.ts b/web/packages/new/photos/services/export.tsindex 9ec257b1a8..b1ab98812e 100644--- a/web/packages/new/photos/services/export.ts+++ b/web/packages/new/photos/services/export.ts@@ -1008,7 +1008,9 @@ class ExportService {throw e;}log.error("error updating Export Record", e);- throw Error(CustomError.UPDATE_EXPORTED_RECORD_FAILED);+ throw new Error(CustomError.UPDATE_EXPORTED_RECORD_FAILED, {+ cause: e,+ });}}