π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Upgrade
Manav Rathi066c41a6df9e
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.jsonindex b881b9ac6b..4b26ef8e6c 100644--- a/web/apps/photos/package.json+++ b/web/apps/photos/package.json@@ -7,16 +7,15 @@"@/base": "*","@/media": "*","@/new": "*",- "@date-io/date-fns": "^2.14.0","@ente/eslint-config": "*","@ente/shared": "*",- "@mui/x-date-pickers": "^5.0.0-alpha.6",+ "@mui/x-date-pickers": "^5.0.20","@stripe/stripe-js": "^1.13.2","@xmldom/xmldom": "^0.8.10","bip39": "^3.0.4","bs58": "^5.0.0","chrono-node": "^2.2.6",- "date-fns": "^2",+ "date-fns": "^3.6.0","debounce": "^2.0.0","exifr": "^7.1.3","exifreader": "^4",diff --git a/web/docs/dependencies.md b/web/docs/dependencies.mdindex 2411e0eb1f..a2a10f7793 100644--- a/web/docs/dependencies.md+++ b/web/docs/dependencies.md@@ -154,8 +154,9 @@ infelicity for now.used to get a date/time picker component. This is the community version of theDateTimePicker component provided by MUI.-For using `@mui/x-date-pickers`, we also need to choose and install a date-library that it will internally use to manipulate dates. For this end, we use [date-fns](https://github.com/date-fns/date-fns).+We also need to install a date library that that `@mui/x-date-pickers` will+internally use to manipulate dates. For this we use+[date-fns](https://github.com/date-fns/date-fns).### Translationsdiff --git a/web/packages/new/photos/components/EnteDateTimePicker.tsx b/web/packages/new/photos/components/EnteDateTimePicker.tsxindex 2cb0ddfaf1..fae5367d19 100644--- a/web/packages/new/photos/components/EnteDateTimePicker.tsx+++ b/web/packages/new/photos/components/EnteDateTimePicker.tsx@@ -2,7 +2,7 @@ import {LocalizationProvider,MobileDateTimePicker,} from "@mui/x-date-pickers";-import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns";+import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFnsV3";import React, { useState } from "react";interface EnteDateTimePickerProps {diff --git a/web/yarn.lock b/web/yarn.lockindex f55c0497dc..240be92c56 100644--- a/web/yarn.lock+++ b/web/yarn.lock@@ -243,7 +243,7 @@resolved "https://registry.yarnpkg.com/@date-io/core/-/core-2.17.0.tgz#360a4d0641f069776ed22e457876e8a8a58c205e"integrity sha512-+EQE8xZhRM/hsY0CDTVyayMDDY5ihc4MqXCrPxooKw19yAzUIC6uUqsZeaOFNL9YKTNxYKrJP5DFgE8o5xRCOw==-"@date-io/date-fns@^2.14.0", "@date-io/date-fns@^2.15.0":+"@date-io/date-fns@^2.15.0":version "2.17.0"resolved "https://registry.yarnpkg.com/@date-io/date-fns/-/date-fns-2.17.0.tgz#1d9d0a02e0137524331819c9576a4e8e19a6142b"integrity sha512-L0hWZ/mTpy3Gx/xXJ5tq5CzHo0L7ry6KEO9/w/JWiFWFLZgiNVo3ex92gOl3zmzjHqY/3Ev+5sehAr8UnGLEng==@@ -732,7 +732,7 @@prop-types "^15.8.1"react-is "^18.2.0"-"@mui/x-date-pickers@^5.0.0-alpha.6":+"@mui/x-date-pickers@^5.0.20":version "5.0.20"resolved "https://registry.yarnpkg.com/@mui/x-date-pickers/-/x-date-pickers-5.0.20.tgz#7b4e5b5a214a8095937ba7d82bb82acd6f270d72"integrity sha512-ERukSeHIoNLbI1C2XRhF9wRhqfsr+Q4B1SAw2ZlU7CWgcG8UBOxgqRKDEOVAIoSWL+DWT6GRuQjOKvj6UXZceA==@@ -1827,13 +1827,18 @@ data-view-byte-offset@^1.0.0:es-errors "^1.3.0"is-data-view "^1.0.1"-date-fns@^2, date-fns@^2.30.0:+date-fns@^2.30.0:version "2.30.0"resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0"integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==dependencies:"@babel/runtime" "^7.21.0"+date-fns@^3.6.0:+ version "3.6.0"+ resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-3.6.0.tgz#f20ca4fe94f8b754951b24240676e8618c0206bf"+ integrity sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==+dayjs@^1.10.0:version "1.11.10"resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0"