Skip to content

armgit / ente

Public Imported from GitHub
0

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

checkpoint

Manav Rathib59e97cb6c87
diff --git a/web/apps/payments/package.json b/web/apps/payments/package.json
index 02e87ceaa1..a602959f8d 100644
--- a/web/apps/payments/package.json
+++ b/web/apps/payments/package.json
@@ -10,14 +10,14 @@
},
"dependencies": {
"@stripe/stripe-js": "^1.17.0",
- "react": "^18",
- "react-dom": "^18"
+ "react": "^19",
+ "react-dom": "^19"
},
"devDependencies": {
"@/build-config": "*",
- "@types/react": "^18",
- "@types/react-dom": "^18",
+ "@types/react": "^19",
+ "@types/react-dom": "^19",
"@vitejs/plugin-react": "^4.3",
- "vite": "^5.4.11"
+ "vite": "^6.0.7"
}
}
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.json
index 0dd24968ca..f1174e49f6 100644
--- a/web/apps/photos/package.json
+++ b/web/apps/photos/package.json
@@ -11,34 +11,33 @@
"@ente/shared": "*",
"@stripe/stripe-js": "^1.13.2",
"bip39": "^3.0.4",
- "chrono-node": "^2.7.6",
- "debounce": "^2.1.1",
+ "chrono-node": "^2.7.7",
+ "debounce": "^2.2.0",
"exifreader": "^4",
"fast-srp-hap": "^2.0.4",
"leaflet": "^1.9.4",
- "leaflet-defaulticon-compatibility": "^0.1.1",
+ "leaflet-defaulticon-compatibility": "^0.1.2",
"localforage": "^1.9.0",
"memoize-one": "^6.0.0",
- "ml-matrix": "^6.11",
+ "ml-matrix": "^6.12.0",
"p-debounce": "^4.0.0",
"photoswipe": "file:./thirdparty/photoswipe",
- "pure-react-carousel": "^1.30.1",
- "react-dropzone": "^14.2",
- "react-select": "^5.8.0",
- "react-top-loading-bar": "^2.3.1",
- "react-virtualized-auto-sizer": "^1.0",
- "react-window": "^1.8.10",
+ "pure-react-carousel": "^1.32.0",
+ "react-dropzone": "^14.3.5",
+ "react-select": "^5.9.0",
+ "react-top-loading-bar": "^3.0.2",
+ "react-virtualized-auto-sizer": "^1.0.25",
+ "react-window": "^1.8.11",
"sanitize-filename": "^1.6.3",
"similarity-transformation": "^0.0.1",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@/build-config": "*",
- "@next/bundle-analyzer": "^14.1",
- "@types/leaflet": "^1.9",
+ "@types/leaflet": "^1.9.15",
"@types/node": "^20",
"@types/photoswipe": "^4.1.1",
- "@types/react-virtualized-auto-sizer": "^1.0",
+ "@types/react-virtualized-auto-sizer": "^1.0.4",
"@types/react-window": "^1.8.8"
}
}
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index 85bface438..203790f1fd 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -97,11 +97,6 @@ MUI uses [Emotion](https://emotion.sh/) as its preferred CSS-in-JS library, for
which we need to install install two Emotion packages (`@emotion/react` and
`@emotion/styled`) as peer dependencies.
-We need to pin the emotion version (using the "resolutions" field in
-`package.json`) to those used by MUI since react-select (another package we use)
-specify a different emotion version directly instead of as a peer dependency,
-and we end up with two emotions at runtime otherwise.
-
We also use MUI's
[@mui/material-icons](https://mui.com/material-ui/material-icons/) package,
which provides Material icons exported as React components (a `SvgIcon`).
@@ -132,7 +127,14 @@ with Next.js.
For more details, see [translations.md](translations.md).
-### Other UI components
+### UI components
+
+- [react-window](https://github.com/bvaughn/react-window) is used for lazy-ily
+ rendering large lists of dynamically created content, each item being of a
+ variable height. It is usually used in tandem with its sibling package,
+ [react-virtualized-auto-sizer](https://github.com/bvaughn/react-virtualized-auto-sizer)
+ which allows the lazy list to resize itself automatically to fill the entire
+ remaining space available in the container.
- [formik](https://github.com/jaredpalmer/formik) provides an easier to use
abstraction for dealing with form state, validation and submission states when