Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

(start) Switch to a more maintained library

Manav Rathi941b02f75021
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.json
index 8909c48836..50596df9ca 100644
--- a/web/apps/photos/package.json
+++ b/web/apps/photos/package.json
@@ -19,6 +19,7 @@
"debounce": "^2.0.0",
"eventemitter3": "^4.0.7",
"exifr": "^7.1.3",
+ "exifreader": "^4",
"fast-srp-hap": "^2.0.4",
"ffmpeg-wasm": "file:./thirdparty/ffmpeg-wasm",
"hdbscan": "0.0.1-alpha.5",
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index 8df2ce387b..31ab0e29e8 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -26,7 +26,7 @@ package:
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin/)
\- which provides the TypeScript rules and presets).
-- [eslint-plugin-react-hooks](https://github.com/jsx-eslint/eslint-plugin-react),
+- [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react),
[eslint-plugin-react-hooks](https://reactjs.org/) \- Some React specific
ESLint rules and configurations that are used by the workspaces that have
React code.
@@ -87,7 +87,8 @@ particularly tied to Next.js.
For some of our newer code, we have started to use [Vite](https://vitejs.dev).
It is likely the future (both generally, and for our code) since Next.js is
-becoming less suitable for SSR and SPAs with their push towards RSC/SSG.
+becoming less suitable for SPAs and static SSR with their push towards RSC and
+dynamic SSR.
## UI
@@ -190,8 +191,12 @@ For more details, see [translations.md](translations.md).
## Media
-- [jszip](https://github.com/Stuk/jszip) is used for reading zip files in
- JavaScript (Live photos are zip files under the hood).
+- [ExifReader](https://github.com/mattiasw/ExifReader) is used for Exif
+ parsing.
+
+- [jszip](https://github.com/Stuk/jszip) is used for reading zip files in the
+ web code (Live photos are zip files under the hood). Note that the desktop
+ app uses also has a ZIP parser (that one supports streaming).
- [file-type](https://github.com/sindresorhus/file-type) is used for MIME type
detection. We are at an old version 16.5.4 because v17 onwards the package
diff --git a/web/yarn.lock b/web/yarn.lock
index 64220ae645..400dc92135 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -1305,6 +1305,11 @@
"@types/babel__core" "^7.20.5"
react-refresh "^0.14.2"
+"@xmldom/xmldom@^0.8.10":
+ version "0.8.10"
+ resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.10.tgz#a1337ca426aa61cef9fe15b5b28e340a72f6fa99"
+ integrity sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==
+
acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
@@ -2482,6 +2487,13 @@ exifr@^7.1.3:
resolved "https://registry.yarnpkg.com/exifr/-/exifr-7.1.3.tgz#f6218012c36dbb7d843222011b27f065fddbab6f"
integrity sha512-g/aje2noHivrRSLbAUtBPWFbxKdKhgj/xr1vATDdUXPOFYJlQ62Ft0oy+72V6XLIpDJfHs6gXLbBLAolqOXYRw==
+exifreader@^4:
+ version "4.23.3"
+ resolved "https://registry.yarnpkg.com/exifreader/-/exifreader-4.23.3.tgz#3389c2dab3ab2501562ebdef4115ea34ab9d9aa4"
+ integrity sha512-/Ii4jiNp/5BXdKOiWXZYrWmZFn/ANu3bMVGO7GFQufao5M52/fK2OsAPMH34PL4S79z1eZBzAoaYyBXit0zzVA==
+ optionalDependencies:
+ "@xmldom/xmldom" "^0.8.10"
+
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"