π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Freeze app dependencies and enforce lockfiles
Neeraj Gupta3b73c190936f
diff --git a/.github/workflows/auth-internal-release.yml b/.github/workflows/auth-internal-release.ymlindex f5ebeaff9d..963f04a108 100644--- a/.github/workflows/auth-internal-release.yml+++ b/.github/workflows/auth-internal-release.yml@@ -39,6 +39,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Setup keysuses: timheuer/base64-to-file@v1with:diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.ymlindex 4e3b0abb6e..6cd8b7b420 100644--- a/.github/workflows/auth-lint.yml+++ b/.github/workflows/auth-lint.yml@@ -25,6 +25,9 @@ jobs:with:submodules: recursive+ - name: Verify frozen mobile pubspecs+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/auth+- name: Verify custom icons are lowercase including optional understores, and end with .svgrun: |find assets/custom-icons -type f -name "*.svg" | while read -r file; do@@ -72,6 +75,6 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings- - run: flutter pub get+ - run: flutter pub get --enforce-lockfile- run: flutter analyze --no-fatal-infosdiff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.ymlindex e200b314c4..4a63b4f7a5 100644--- a/.github/workflows/auth-release.yml+++ b/.github/workflows/auth-release.yml@@ -96,6 +96,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Update Linux AppData metadatarun: |APPDATA_FILE="linux/packaging/enteauth.appdata.xml"@@ -224,6 +227,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Create artifacts directoryrun: mkdir artifacts@@ -298,6 +304,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Install code signing dependenciesrun: |pip3 install codemagic-cli-tools --break-system-packagesdiff --git a/.github/workflows/locker-internal-release.yml b/.github/workflows/locker-internal-release.ymlindex 440c38beb0..de092a65e4 100644--- a/.github/workflows/locker-internal-release.yml+++ b/.github/workflows/locker-internal-release.yml@@ -39,6 +39,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Increment version code for buildrun: |CURRENT_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')diff --git a/.github/workflows/locker-lint.yml b/.github/workflows/locker-lint.ymlindex 1a97cbe2f7..ec87cf532f 100644--- a/.github/workflows/locker-lint.yml+++ b/.github/workflows/locker-lint.yml@@ -25,6 +25,9 @@ jobs:with:submodules: recursive+ - name: Verify frozen mobile pubspecs+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/locker+- name: Install Flutter ${{ env.FLUTTER_VERSION }}uses: subosito/flutter-action@v2with:@@ -36,6 +39,6 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings- - run: flutter pub get+ - run: flutter pub get --enforce-lockfile- run: flutter analyze --no-fatal-infosdiff --git a/.github/workflows/locker-release.yml b/.github/workflows/locker-release.ymlindex 7907df8026..f3af2718a1 100644--- a/.github/workflows/locker-release.yml+++ b/.github/workflows/locker-release.yml@@ -76,6 +76,9 @@ jobs:run: flutter gen-l10nworking-directory: mobile/packages/strings+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Setup keysuses: timheuer/base64-to-file@v1with:diff --git a/.github/workflows/mobile-daily-internal.yml b/.github/workflows/mobile-daily-internal.ymlindex e952c88314..4bd811887b 100644--- a/.github/workflows/mobile-daily-internal.yml+++ b/.github/workflows/mobile-daily-internal.yml@@ -55,6 +55,9 @@ jobs:with:toolchain: ${{ env.RUST_VERSION }}+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Install Flutter Rust Bridgerun: cargo install flutter_rust_bridge_codegendiff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.ymlindex 6d0241aba8..b19284d25f 100644--- a/.github/workflows/mobile-lint.yml+++ b/.github/workflows/mobile-lint.yml@@ -30,6 +30,9 @@ jobs:with:submodules: recursive+ - name: Verify frozen mobile pubspecs+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/photos+- name: Install Flutter ${{ env.FLUTTER_VERSION }}uses: subosito/flutter-action@v2with:@@ -53,7 +56,7 @@ jobs:mobile/apps/photos/rust/targetkey: ${{ runner.os }}-cargo-mobile-${{ hashFiles('mobile/**/Cargo.lock') }}- - run: flutter pub get+ - run: flutter pub get --enforce-lockfile- name: Install Flutter Rust Bridgerun: cargo install flutter_rust_bridge_codegendiff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.ymlindex ca7fa09d51..8f6bb6d499 100644--- a/.github/workflows/mobile-release.yml+++ b/.github/workflows/mobile-release.yml@@ -78,6 +78,9 @@ jobs:with:toolchain: ${{ env.RUST_VERSION }}+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+- name: Install Flutter Rust Bridgerun: cargo install flutter_rust_bridge_codegendiff --git a/.github/workflows/photos-internal-release.yml b/.github/workflows/photos-internal-release.ymlindex 4806983051..ece7ca2498 100644--- a/.github/workflows/photos-internal-release.yml+++ b/.github/workflows/photos-internal-release.yml@@ -42,6 +42,9 @@ jobs:with:toolchain: ${{ env.RUST_VERSION }}+ - name: Resolve dependencies with lockfile enforcement+ run: flutter pub get --enforce-lockfile+# Android Build- name: Setup Android signing keyuses: timheuer/base64-to-file@v1diff --git a/.github/workflows/security-check-workflows.yml b/.github/workflows/security-check-workflows.ymlindex 4f163e337a..b8af96914a 100644--- a/.github/workflows/security-check-workflows.yml+++ b/.github/workflows/security-check-workflows.yml@@ -20,7 +20,7 @@ jobs:with:fetch-depth: 0- - name: Check for new privileged workflow triggers+ - name: Check workflow security guardrailsshell: bashrun: |extract_sensitive_triggers() {@@ -63,6 +63,27 @@ jobs:'}+ extract_unpinned_third_party_actions() {+ local revision=$1+ local file=$2++ if ! git cat-file -e "${revision}:${file}" 2>/dev/null; then+ return 0+ fi++ git show "${revision}:${file}" | ruby -e '+ FULL_SHA = /\A[0-9a-f]{40}\z/++ refs = STDIN.read.scan(/^\s*uses:\s*([A-Za-z0-9._-]+\/[A-Za-z0-9._-]+)@([^\s#]+)/)+ refs.each do |action, ref|+ next if action.start_with?("actions/")+ next if ref.match?(FULL_SHA)++ puts "#{action}@#{ref}"+ end+ ' | sort -u+ }+mapfile -t modified_workflows < <(git diff --name-only --diff-filter=AMR "origin/${{ github.base_ref }}...HEAD" |grep -E '^\.github/workflows/.*\.ya?ml$' || true@@ -84,6 +105,7 @@ jobs:"workflow_run")violations=()+ unpinned_violations=()for file in "${modified_workflows[@]}"; doif ! current_triggers=$(extract_sensitive_triggers HEAD "$file"); then@@ -106,6 +128,27 @@ jobs:fifidone++ if ! current_unpinned=$(extract_unpinned_third_party_actions HEAD "$file"); then+ echo "β ERROR: Failed to parse action refs in HEAD:$file"+ exit 1+ fi++ if ! base_unpinned=$(extract_unpinned_third_party_actions "origin/${{ github.base_ref }}" "$file"); then+ echo "β ERROR: Failed to parse action refs in origin/${{ github.base_ref }}:$file"+ exit 1+ fi++ while IFS= read -r action_ref; do+ [ -z "$action_ref" ] && continue++ if grep -Fxq "$action_ref" <<< "$base_unpinned"; then+ echo "β $file: ${action_ref} already existed unpinned (allowed for now)"+ else+ echo "β $file: NEW unpinned third-party action ${action_ref} detected!"+ unpinned_violations+=("$file:${action_ref}")+ fi+ done <<< "$current_unpinned"doneif [ "${#violations[@]}" -gt 0 ]; then@@ -123,4 +166,13 @@ jobs:exit 1fi- echo "β No new privileged workflow triggers detected"+ if [ "${#unpinned_violations[@]}" -gt 0 ]; then+ echo ""+ echo "β ERROR: New unpinned third-party workflow actions detected:"+ printf ' - %s\n' "${unpinned_violations[@]}"+ echo ""+ echo "Pin third-party actions to a full commit SHA before merging."+ exit 1+ fi++ echo "β No new privileged triggers or unpinned third-party actions detected"diff --git a/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh b/mobile/apps/auth/ios/ci_scripts/ci_post_clone.shindex 55d687fde6..a8881f9862 100755--- a/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh+++ b/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh@@ -13,7 +13,7 @@ echo "π© Flutter Precache"time flutter precache --iosecho "π© Install Flutter Dependencies"-time flutter pub get+time flutter pub get --enforce-lockfileecho "π© Install CocoaPods via Homebrew"time HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapodsdiff --git a/mobile/apps/auth/plugins/qr/pubspec.yaml b/mobile/apps/auth/plugins/qr/pubspec.yamlindex df3470e018..d80ddcf471 100644--- a/mobile/apps/auth/plugins/qr/pubspec.yaml+++ b/mobile/apps/auth/plugins/qr/pubspec.yaml@@ -10,10 +10,10 @@ environment:dependencies:flutter:sdk: flutter- plugin_platform_interface: ^2.0.2+ plugin_platform_interface: 2.1.8dev_dependencies:- flutter_lints: ^3.0.0+ flutter_lints: 3.0.2flutter_test:sdk: flutterdiff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lockindex bd101c5fb5..0544a7a438 100644--- a/mobile/apps/auth/pubspec.lock+++ b/mobile/apps/auth/pubspec.lock@@ -1189,7 +1189,7 @@ packages:dependency: "direct main"description:path: "."- ref: v2-only+ ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"resolved-ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"url: "https://github.com/ente-io/move_to_background.git"source: gitdiff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yamlindex 1e87d95bd5..f3ffdef81b 100644--- a/mobile/apps/auth/pubspec.yaml+++ b/mobile/apps/auth/pubspec.yaml@@ -7,25 +7,25 @@ environment:sdk: ">=3.0.0 <4.0.0"dependencies:- adaptive_theme: ^3.1.0- app_links: ^6.3.3- archive: ^4.0.7- auto_size_text: ^3.0.0+ adaptive_theme: 3.7.0+ app_links: 6.4.0+ archive: 4.0.7+ auto_size_text: 3.0.0backup_exclusion:path: ../../packages/backup_exclusion- base32: ^2.1.3- bip39: ^1.0.6- clipboard: ^0.1.3- collection: ^1.18.0- confetti: ^0.8.0- connectivity_plus: ^6.0.5- convert: ^3.1.1- device_info_plus: ^11.5.0- dio: ^5.8.0+1- dots_indicator: ^3.0.0- dotted_border: ^3.1.0- dropdown_button2: ^2.3.9- email_validator: ^3.0.0+ base32: 2.1.3+ bip39: 1.0.6+ clipboard: 0.1.3+ collection: 1.19.1+ confetti: 0.8.0+ connectivity_plus: 6.1.4+ convert: 3.1.2+ device_info_plus: 11.5.0+ dio: 5.8.0+1+ dots_indicator: 3.1.0+ dotted_border: 3.1.0+ dropdown_button2: 2.3.9+ email_validator: 3.0.0ente_accounts:path: ../../packages/accountsente_base:@@ -54,36 +54,36 @@ dependencies:path: ../../packages/uiente_utils:path: ../../packages/utils- event_bus: ^2.0.0- expandable: ^5.0.1- expansion_tile_card: ^3.0.0- ffi: ^2.1.0- figma_squircle: ^0.6.3- file_picker: ^10.3.2- file_saver: ^0.3.1- fixnum: ^1.1.0+ event_bus: 2.0.1+ expandable: 5.0.1+ expansion_tile_card: 3.0.0+ ffi: 2.1.4+ figma_squircle: 0.6.3+ file_picker: 10.3.2+ file_saver: 0.3.1+ fixnum: 1.1.1fk_user_agent: # no package updates on pub.devgit:url: https://github.com/flutter-fast-kit/fk_user_agentref: 458046cd9a88924e5074d96ba45397219d53b230flutter:sdk: flutter- flutter_animate: ^4.1.0- flutter_context_menu: ^0.2.0- flutter_displaymode: ^0.6.0- flutter_email_sender: ^7.0.0+ flutter_animate: 4.5.2+ flutter_context_menu: 0.2.4+ flutter_displaymode: 0.6.0+ flutter_email_sender: 7.0.0# revert to pub.dev when merged# https://github.com/pichillilorenzo/flutter_inappwebview/pull/2548- flutter_inappwebview: ^6.1.4- flutter_launcher_icons: ^0.14.1+ flutter_inappwebview: 6.1.5+ flutter_launcher_icons: 0.14.4flutter_local_authentication: # linux fprintd fix is not published on pub.devgit:url: https://github.com/eaceto/flutter_local_authenticationref: 1ac346a04592a05fd75acccf2e01fa3c7e955d96- flutter_local_notifications: ^18.0.1+ flutter_local_notifications: 18.0.1flutter_localizations:sdk: flutter- flutter_native_splash: ^2.2.13+ flutter_native_splash: 2.4.6# Do not upgrade this package unless this issue is resolved:# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870# On v9.2.4, keys related to lockscreen persist even after reintsall. For context see:@@ -91,74 +91,74 @@ dependencies:# Let's wait till the issue is resolved by the package maintainer.# If not resolved and we need to upgrade, write a migration script.flutter_secure_storage: 9.0.0- flutter_speed_dial: ^7.0.0- flutter_staggered_grid_view: ^0.7.0- flutter_svg: ^2.0.16- fluttertoast: ^8.1.1- google_nav_bar: ^5.0.5 #supported- gradient_borders: ^1.0.0- http: ^1.1.0- hugeicons: ^1.1.0- image: ^4.5.4- intl: ^0.20.2- io: ^1.0.4- json_annotation: ^4.5.0- launcher_icon_switcher: ^0.0.2- local_auth: ^2.3.0- local_auth_android: ^1.0.37- local_auth_darwin: ^1.2.2- logging: ^1.0.1- modal_bottom_sheet: ^3.0.0+ flutter_speed_dial: 7.0.0+ flutter_staggered_grid_view: 0.7.0+ flutter_svg: 2.2.0+ fluttertoast: 8.2.12+ google_nav_bar: 5.0.7 #supported+ gradient_borders: 1.0.1+ http: 1.4.0+ hugeicons: 1.1.1+ image: 4.5.4+ intl: 0.20.2+ io: 1.0.5+ json_annotation: 4.9.0+ launcher_icon_switcher: 0.0.2+ local_auth: 2.3.0+ local_auth_android: 1.0.49+ local_auth_darwin: 1.5.0+ logging: 1.3.0+ modal_bottom_sheet: 3.0.0move_to_background: # no updates in git, replace packagegit:url: https://github.com/ente-io/move_to_background.git- ref: v2-only- native_dio_adapter: ^1.4.0- otp: ^3.1.1- package_info_plus: ^8.0.2- password_strength: ^0.2.0- path: ^1.8.3- path_provider: ^2.0.11- pinput: ^5.0.0- pointycastle: ^3.7.3- privacy_screen: ^0.0.6- protobuf: ^4.1.0+ ref: 0cdfeed654d79636eff0c57110f3f6ad5801ba2f+ native_dio_adapter: 1.4.0+ otp: 3.1.4+ package_info_plus: 8.3.0+ password_strength: 0.2.0+ path: 1.9.1+ path_provider: 2.1.5+ pinput: 5.0.1+ pointycastle: 3.9.1+ privacy_screen: 0.0.8+ protobuf: 4.1.0qr_code_scanner: # no package updates on pub.devgit:url: https://github.com/juliuscanute/qr_code_scannerref: a2d31633d4744f72ada87cfa85d221358ab082af- qr_flutter: ^4.1.0- saf_stream: any- saf_util: any+ qr_flutter: 4.1.0+ saf_stream: 0.12.3+ saf_util: 0.11.0scoped_dir_access:path: ../../packages/scoped_dir_access- sentry: ^8.14.2- sentry_flutter: ^8.14.2- share_plus: ^11.0.0- shared_preferences: ^2.0.5- sqflite: ^2.4.2- sqflite_common_ffi: ^2.3.0+4- sqlite3: ^2.4.3- sqlite3_flutter_libs: ^0.5.24- steam_totp: ^0.0.1- step_progress_indicator: ^1.0.2- styled_text: ^8.1.0- tray_manager: ^0.5.0- tuple: ^2.0.0- url_launcher: ^6.3.1- url_launcher_ios: ^6.3.1- uuid: ^4.2.2- win32: ^5.1.1- window_manager: ^0.5.0- xdg_directories: ^1.0.4+ sentry: 8.14.2+ sentry_flutter: 8.14.2+ share_plus: 11.0.0+ shared_preferences: 2.5.3+ sqflite: 2.4.2+ sqflite_common_ffi: 2.3.6+ sqlite3: 2.7.6+ sqlite3_flutter_libs: 0.5.34+ steam_totp: 0.0.2+ step_progress_indicator: 1.0.2+ styled_text: 8.1.0+ tray_manager: 0.5.0+ tuple: 2.0.2+ url_launcher: 6.3.2+ url_launcher_ios: 6.3.3+ uuid: 4.5.1+ win32: 5.13.0+ window_manager: 0.5.0+ xdg_directories: 1.1.0dev_dependencies:- build_runner: ^2.1.11+ build_runner: 2.5.4flutter_test:sdk: flutter- json_serializable: ^6.2.0- lints: ^5.1.1- mocktail: ^1.0.3+ json_serializable: 6.9.5+ lints: 5.1.1+ mocktail: 1.0.4# The following section is specific to Flutter.flutter:diff --git a/mobile/apps/locker/pubspec.yaml b/mobile/apps/locker/pubspec.yamlindex e5336ab6c4..dadbdf9739 100644--- a/mobile/apps/locker/pubspec.yaml+++ b/mobile/apps/locker/pubspec.yaml@@ -6,16 +6,16 @@ environment:sdk: ">=3.0.0 <4.0.0"dependencies:- adaptive_theme: ^3.6.0- app_links: ^6.3.3- bip39: ^1.0.6- collection: ^1.18.0- convert: ^3.1.1- crypto: ^3.0.6- dio: ^5.8.0+1- dots_indicator: ^3.0.0- dotted_border: ^3.1.0- email_validator: ^3.0.0+ adaptive_theme: 3.7.2+ app_links: 6.4.1+ bip39: 1.0.6+ collection: 1.19.1+ convert: 3.1.2+ crypto: 3.0.7+ dio: 5.9.0+ dots_indicator: 3.1.0+ dotted_border: 3.1.0+ email_validator: 3.0.0ente_accounts:path: ../../packages/accountsente_base:@@ -48,43 +48,43 @@ dependencies:path: ../../packages/uiente_utils:path: ../../packages/utils- event_bus: ^2.0.1- expandable: ^5.0.1- fast_base58: ^0.2.1- file_picker: ^10.2.0- file_saver: ^0.3.1+ event_bus: 2.0.1+ expandable: 5.0.1+ fast_base58: 0.2.1+ file_picker: 10.3.8+ file_saver: 0.3.1flutter:sdk: flutter- flutter_displaymode: ^0.6.0+ flutter_displaymode: 0.6.0flutter_local_authentication:git:url: https://github.com/eaceto/flutter_local_authenticationref: 1ac346a04592a05fd75acccf2e01fa3c7e955d96flutter_localizations:- sdk: flutter- flutter_svg: ^2.2.1- hugeicons: ^1.1.1- intl: ^0.20.2- io: ^1.0.5- listen_sharing_intent: ^1.9.2- logging: ^1.3.0- open_file: ^3.5.10- package_info_plus: ^8.3.0- path: ^1.9.0- path_provider: ^2.1.5- share_plus: ^11.0.0- shared_preferences: ^2.5.3- sqflite: ^2.4.1- tray_manager: ^0.5.0- tuple: ^2.0.2- url_launcher: ^6.3.2- uuid: ^4.5.1- window_manager: ^0.5.1+ sdk: flutter+ flutter_svg: 2.2.3+ hugeicons: 1.1.5+ intl: 0.20.2+ io: 1.0.5+ listen_sharing_intent: 1.9.2+ logging: 1.3.0+ open_file: 3.5.11+ package_info_plus: 8.3.1+ path: 1.9.1+ path_provider: 2.1.5+ share_plus: 11.1.0+ shared_preferences: 2.5.3+ sqflite: 2.4.2+ tray_manager: 0.5.2+ tuple: 2.0.2+ url_launcher: 6.3.2+ uuid: 4.5.2+ window_manager: 0.5.1dev_dependencies:- flutter_launcher_icons: ^0.14.3- flutter_lints: ^4.0.0- flutter_native_splash: ^2.2.13+ flutter_launcher_icons: 0.14.4+ flutter_lints: 4.0.0+ flutter_native_splash: 2.4.7flutter_test:sdk: flutterdiff --git a/mobile/apps/photos/build-apk.sh b/mobile/apps/photos/build-apk.shindex 2961ed6487..d679adcdae 100755--- a/mobile/apps/photos/build-apk.sh+++ b/mobile/apps/photos/build-apk.sh@@ -2,6 +2,6 @@ cd thirdparty/transistor-background-fetch/androidgradle :tsbackgroundfetch:publishReleasecd ../../../flutter config --no-analytics-flutter packages pub get+flutter pub get --enforce-lockfileflutter packages pub run flutter_launcher_icons:mainflutter build apkdiff --git a/mobile/apps/photos/plugins/ente_cast/pubspec.lock b/mobile/apps/photos/plugins/ente_cast/pubspec.lockindex c44871342f..15b99a8e37 100644--- a/mobile/apps/photos/plugins/ente_cast/pubspec.lock+++ b/mobile/apps/photos/plugins/ente_cast/pubspec.lock@@ -159,18 +159,18 @@ packages:dependency: "direct main"description:name: shared_preferences- sha256: c272f9cabca5a81adc9b0894381e9c1def363e980f960fa903c604c471b22f68+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"url: "https://pub.dev"source: hosted- version: "2.3.1"+ version: "2.5.3"shared_preferences_android:dependency: transitivedescription:name: shared_preferences_android- sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9eurl: "https://pub.dev"source: hosted- version: "2.3.1"+ version: "2.4.13"shared_preferences_foundation:dependency: transitivedescription:@@ -228,10 +228,10 @@ packages:dependency: "direct main"description:name: stack_trace- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"url: "https://pub.dev"source: hosted- version: "1.11.1"+ version: "1.12.1"string_scanner:dependency: transitivedescription:@@ -281,5 +281,5 @@ packages:source: hostedversion: "1.0.4"sdks:- dart: ">=3.7.0-0 <4.0.0"- flutter: ">=3.22.0"+ dart: ">=3.7.0 <4.0.0"+ flutter: ">=3.29.0"diff --git a/mobile/apps/photos/plugins/ente_cast/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast/pubspec.yamlindex 6cc08a0849..7a76691950 100644--- a/mobile/apps/photos/plugins/ente_cast/pubspec.yaml+++ b/mobile/apps/photos/plugins/ente_cast/pubspec.yaml@@ -6,14 +6,14 @@ environment:sdk: '>=3.3.0 <4.0.0'dependencies:- collection:- dio: ^5.8.0+1+ collection: 1.19.1+ dio: 5.8.0+1flutter:sdk: flutter- shared_preferences: ^2.0.5- stack_trace:+ shared_preferences: 2.5.3+ stack_trace: 1.12.1dev_dependencies:- flutter_lints:+ flutter_lints: 4.0.0flutter:diff --git a/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock b/mobile/apps/photos/plugins/ente_cast_none/pubspec.lockindex ce154f1aa3..1b16460d5a 100644--- a/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock+++ b/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock@@ -166,18 +166,18 @@ packages:dependency: transitivedescription:name: shared_preferences- sha256: c272f9cabca5a81adc9b0894381e9c1def363e980f960fa903c604c471b22f68+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"url: "https://pub.dev"source: hosted- version: "2.3.1"+ version: "2.5.3"shared_preferences_android:dependency: transitivedescription:name: shared_preferences_android- sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9eurl: "https://pub.dev"source: hosted- version: "2.3.1"+ version: "2.4.13"shared_preferences_foundation:dependency: transitivedescription:@@ -235,10 +235,10 @@ packages:dependency: "direct main"description:name: stack_trace- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"url: "https://pub.dev"source: hosted- version: "1.11.1"+ version: "1.12.1"string_scanner:dependency: transitivedescription:@@ -288,5 +288,5 @@ packages:source: hostedversion: "1.0.4"sdks:- dart: ">=3.7.0-0 <4.0.0"- flutter: ">=3.22.0"+ dart: ">=3.7.0 <4.0.0"+ flutter: ">=3.29.0"diff --git a/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast_none/pubspec.yamlindex a4559fac53..5f2c781906 100644--- a/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml+++ b/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml@@ -10,9 +10,9 @@ dependencies:path: ../ente_castflutter:sdk: flutter- stack_trace:+ stack_trace: 1.12.1dev_dependencies:- flutter_lints:+ flutter_lints: 4.0.0flutter:diff --git a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lockindex 10560d569a..9d49496a92 100644--- a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock+++ b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock@@ -13,7 +13,7 @@ packages:dependency: "direct main"description:path: "."- ref: multicast_version+ ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"resolved-ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"url: "https://github.com/guyluz11/flutter_cast.git"source: git@@ -207,58 +207,58 @@ packages:dependency: transitivedescription:name: shared_preferences- sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"url: "https://pub.dev"source: hosted- version: "2.2.3"+ version: "2.5.3"shared_preferences_android:dependency: transitivedescription:name: shared_preferences_android- sha256: "1ee8bf911094a1b592de7ab29add6f826a7331fb854273d55918693d5364a1f2"+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9eurl: "https://pub.dev"source: hosted- version: "2.2.2"+ version: "2.4.13"shared_preferences_foundation:dependency: transitivedescription:name: shared_preferences_foundation- sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c"+ sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03"url: "https://pub.dev"source: hosted- version: "2.3.5"+ version: "2.5.4"shared_preferences_linux:dependency: transitivedescription:name: shared_preferences_linux- sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"+ sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"shared_preferences_platform_interface:dependency: transitivedescription:name: shared_preferences_platform_interface- sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b"+ sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"shared_preferences_web:dependency: transitivedescription:name: shared_preferences_web- sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a"+ sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019url: "https://pub.dev"source: hosted- version: "2.3.0"+ version: "2.4.3"shared_preferences_windows:dependency: transitivedescription:name: shared_preferences_windows- sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"+ sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"sky_engine:dependency: transitivedescription: flutter@@ -276,10 +276,10 @@ packages:dependency: "direct main"description:name: stack_trace- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"url: "https://pub.dev"source: hosted- version: "1.11.1"+ version: "1.12.1"string_scanner:dependency: transitivedescription:@@ -337,5 +337,5 @@ packages:source: hostedversion: "1.0.4"sdks:- dart: ">=3.7.0-0 <4.0.0"- flutter: ">=3.19.0"+ dart: ">=3.7.0 <4.0.0"+ flutter: ">=3.29.0"diff --git a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yamlindex 141c2e9e7b..778abd649c 100644--- a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml+++ b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml@@ -9,15 +9,14 @@ dependencies:cast:git:url: https://github.com/guyluz11/flutter_cast.git- ref: multicast_version- commit: 1f39cd4+ ref: 1f39cd4d6efa9363e77b2439f0317bae0c92dda1ente_cast:path: ../ente_castflutter:sdk: flutter- stack_trace:+ stack_trace: 1.12.1dev_dependencies:- flutter_lints:+ flutter_lints: 3.0.2flutter:diff --git a/mobile/apps/photos/plugins/ente_crypto/pubspec.lock b/mobile/apps/photos/plugins/ente_crypto/pubspec.lockindex cad7a5c8d3..8f443c9a11 100644--- a/mobile/apps/photos/plugins/ente_crypto/pubspec.lock+++ b/mobile/apps/photos/plugins/ente_crypto/pubspec.lock@@ -21,7 +21,7 @@ packages:dependency: "direct main"description:path: "."- ref: HEAD+ ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"resolved-ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"url: "https://github.com/ente-io/computer.git"source: gitdiff --git a/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml b/mobile/apps/photos/plugins/ente_crypto/pubspec.yamlindex 18b6605536..ca1996207c 100644--- a/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml+++ b/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml@@ -6,17 +6,19 @@ environment:sdk: '>=3.3.0 <4.0.0'dependencies:- collection:+ collection: 1.19.1computer:- git: "https://github.com/ente-io/computer.git"- convert: ^3.1.1- crypto: ^3.0.3+ git:+ url: https://github.com/ente-io/computer.git+ ref: 82e365fed8a1a76f6eea0220de98389eed7b0445+ convert: 3.1.2+ crypto: 3.0.6flutter:sdk: flutter- flutter_sodium: ^0.2.0- logging: ^1.3.0+ flutter_sodium: 0.2.0+ logging: 1.3.0dev_dependencies:- flutter_lints:+ flutter_lints: 5.0.0-flutter:\ No newline at end of file+flutter:diff --git a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lockindex 62370da795..49a6dd97c1 100644--- a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock+++ b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock@@ -159,58 +159,58 @@ packages:dependency: "direct main"description:name: shared_preferences- sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"url: "https://pub.dev"source: hosted- version: "2.2.3"+ version: "2.5.3"shared_preferences_android:dependency: transitivedescription:name: shared_preferences_android- sha256: "1ee8bf911094a1b592de7ab29add6f826a7331fb854273d55918693d5364a1f2"+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9eurl: "https://pub.dev"source: hosted- version: "2.2.2"+ version: "2.4.13"shared_preferences_foundation:dependency: transitivedescription:name: shared_preferences_foundation- sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c"+ sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03"url: "https://pub.dev"source: hosted- version: "2.3.5"+ version: "2.5.4"shared_preferences_linux:dependency: transitivedescription:name: shared_preferences_linux- sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"+ sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"shared_preferences_platform_interface:dependency: transitivedescription:name: shared_preferences_platform_interface- sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b"+ sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"shared_preferences_web:dependency: transitivedescription:name: shared_preferences_web- sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a"+ sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019url: "https://pub.dev"source: hosted- version: "2.3.0"+ version: "2.4.3"shared_preferences_windows:dependency: transitivedescription:name: shared_preferences_windows- sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"+ sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"url: "https://pub.dev"source: hosted- version: "2.3.2"+ version: "2.4.1"sky_engine:dependency: transitivedescription: flutter@@ -228,10 +228,10 @@ packages:dependency: "direct main"description:name: stack_trace- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"url: "https://pub.dev"source: hosted- version: "1.11.1"+ version: "1.12.1"string_scanner:dependency: transitivedescription:@@ -289,5 +289,5 @@ packages:source: hostedversion: "1.0.4"sdks:- dart: ">=3.7.0-0 <4.0.0"- flutter: ">=3.19.0"+ dart: ">=3.7.0 <4.0.0"+ flutter: ">=3.29.0"diff --git a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yamlindex 6ad2c7626d..07d474dab0 100644--- a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml+++ b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml@@ -6,14 +6,14 @@ environment:sdk: '>=3.3.0 <4.0.0'dependencies:- collection:- dio: ^5.8.0+1+ collection: 1.19.1+ dio: 5.8.0+1flutter:sdk: flutter- shared_preferences: ^2.0.5- stack_trace:+ shared_preferences: 2.5.3+ stack_trace: 1.12.1dev_dependencies:- flutter_lints:+ flutter_lints: 3.0.2-flutter:\ No newline at end of file+flutter:diff --git a/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml b/mobile/apps/photos/plugins/onnx_dart/pubspec.yamlindex 93ef856df1..71cd28beb2 100644--- a/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml+++ b/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml@@ -10,10 +10,10 @@ environment:dependencies:flutter:sdk: flutter- plugin_platform_interface: ^2.0.2+ plugin_platform_interface: 2.1.8dev_dependencies:- flutter_lints: ^3.0.0+ flutter_lints: 3.0.2flutter_test:sdk: flutterdiff --git a/mobile/apps/photos/pubspec.lock b/mobile/apps/photos/pubspec.lockindex 322d3d7658..f2fef0d6d4 100644--- a/mobile/apps/photos/pubspec.lock+++ b/mobile/apps/photos/pubspec.lock@@ -148,7 +148,7 @@ packages:dependency: "direct main"description:path: "."- ref: "95c7a9f"+ ref: "95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2"resolved-ref: "95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2"url: "https://github.com/ente-io/battery_info"source: git@@ -317,8 +317,8 @@ packages:dependency: transitivedescription:path: "."- ref: multicast_version- resolved-ref: af6378574352884beab6cddec462c7fdfc9a8c35+ ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"+ resolved-ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"url: "https://github.com/guyluz11/flutter_cast.git"source: gitversion: "2.0.9"@@ -390,7 +390,7 @@ packages:dependency: "direct main"description:path: "."- ref: HEAD+ ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"resolved-ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"url: "https://github.com/ente-io/computer.git"source: git@@ -750,7 +750,7 @@ packages:dependency: "direct main"description:path: "flutter/flutter"- ref: "2bbef7d"+ ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"resolved-ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"url: "https://github.com/ente-io/ffmpeg-kit"source: git@@ -759,7 +759,7 @@ packages:dependency: transitivedescription:path: "flutter/flutter_platform_interface"- ref: "2bbef7d"+ ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"resolved-ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"url: "https://github.com/ente-io/ffmpeg-kit"source: git@@ -1683,7 +1683,7 @@ packages:dependency: "direct main"description:path: "."- ref: HEAD+ ref: "324f8fbdbc7ae6d326a6d541751b7a895a249089"resolved-ref: "324f8fbdbc7ae6d326a6d541751b7a895a249089"url: "https://github.com/ente-io/media_extension.git"source: git@@ -1834,7 +1834,7 @@ packages:dependency: "direct main"description:path: "."- ref: HEAD+ ref: "64e47a446bf3b64f012f2076481cebea51ca27cf"resolved-ref: "64e47a446bf3b64f012f2076481cebea51ca27cf"url: "https://github.com/ente-io/motionphoto.git"source: git@@ -1843,7 +1843,7 @@ packages:dependency: "direct main"description:path: "."- ref: v2-only+ ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"resolved-ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"url: "https://github.com/ente-io/move_to_background.git"source: git@@ -1946,7 +1946,7 @@ packages:dependency: "direct main"description:path: "."- ref: ios_only+ ref: "212b2cab85647c6d2ffee213dc3b875ef2bf6504"resolved-ref: "212b2cab85647c6d2ffee213dc3b875ef2bf6504"url: "https://github.com/ente-io/onnxruntime.git"source: git@@ -1955,7 +1955,7 @@ packages:dependency: "direct main"description:path: "."- ref: v2-only+ ref: "13c0244db82b386ad1a53b2451bdfda8d2687cb6"resolved-ref: "13c0244db82b386ad1a53b2451bdfda8d2687cb6"url: "https://github.com/ente-io/open-mail-app-flutter.git"source: git@@ -1988,7 +1988,7 @@ packages:dependency: "direct main"description:path: "."- ref: blur+ ref: d7bf958d045ce5c06080aaa39074546f46f064d1resolved-ref: d7bf958d045ce5c06080aaa39074546f46f064d1url: "https://github.com/ente-io/panorama_blur.git"source: git@@ -2222,7 +2222,7 @@ packages:dependency: "direct main"description:path: "."- ref: v2-only+ ref: "2389eaa88f07724a38b9dcab49fef8e96c723921"resolved-ref: "2389eaa88f07724a38b9dcab49fef8e96c723921"url: "https://github.com/ente-io/privacy_screen.git"source: git@@ -2311,7 +2311,7 @@ packages:dependency: "direct main"description:path: "."- ref: "2cea396"+ ref: "2cea396843cd3ab1b5ec4334be4233864637874e"resolved-ref: "2cea396843cd3ab1b5ec4334be4233864637874e"url: "https://github.com/KasemJaffer/receive_sharing_intent.git"source: git@@ -2949,7 +2949,7 @@ packages:dependency: "direct main"description:path: "."- ref: master+ ref: "1eeb18e2b1ce36bd8ca70178c0d4b485e9982257"resolved-ref: "1eeb18e2b1ce36bd8ca70178c0d4b485e9982257"url: "https://github.com/ente-io/video_editor_fork.git"source: gitdiff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yamlindex d1ae57cb9c..cd24e3c542 100644--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@ -19,39 +19,41 @@ environment:sdk: ">=3.3.0 <4.0.0"dependencies:- adaptive_theme: ^3.1.0- android_intent_plus: ^5.3.0- animated_list_plus: ^0.5.2- app_links: ^6.4.0- archive: ^4.0.7- async: ^2.11.0- audio_session: ^0.2.2+ adaptive_theme: 3.7.0+ android_intent_plus: 5.3.0+ animated_list_plus: 0.5.2+ app_links: 6.4.0+ archive: 4.0.7+ async: 2.13.0+ audio_session: 0.2.2backup_exclusion:path: ../../packages/backup_exclusionbattery_info: # replace with battery_plusgit:url: https://github.com/ente-io/battery_info- ref: 95c7a9f- bip39: ^1.0.6- cached_network_image: ^3.0.0- camera: ^0.11.0+2+ ref: 95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2+ bip39: 1.0.6+ cached_network_image: 3.4.1+ camera: 0.11.2+1chewie: 1.13.0- collection: #dart+ collection: 1.19.1 #dartcomputer: # logged task name in verbose in fork- git: "https://github.com/ente-io/computer.git"- connectivity_plus: ^6.0.2- convert: ^3.1.1- crypto: ^3.0.2- cupertino_icons: ^1.0.0- dart_ui_isolate: ^1.1.1- defer_pointer: ^0.0.2+ git:+ url: https://github.com/ente-io/computer.git+ ref: 82e365fed8a1a76f6eea0220de98389eed7b0445+ connectivity_plus: 6.1.4+ convert: 3.1.2+ crypto: 3.0.6+ cupertino_icons: 1.0.8+ dart_ui_isolate: 1.1.1+ defer_pointer: 0.0.2device_info_plus: 11.3.0- dio: ^5.8.0+1- dots_indicator: ^4.0.1- dotted_border: ^2.1.0- dropdown_button2: ^2.0.0- email_validator: ^3.0.0- encrypt: ^5.0.3+ dio: 5.8.0+1+ dots_indicator: 4.0.1+ dotted_border: 2.1.0+ dropdown_button2: 2.3.9+ email_validator: 3.0.0+ encrypt: 5.0.3ente_cast:path: plugins/ente_castente_cast_normal:@@ -72,42 +74,42 @@ dependencies:path: ../../packages/qrente_rust:path: ../../packages/rust- equatable: ^2.0.5- event_bus: ^2.0.0+ equatable: 2.0.7+ event_bus: 2.0.1exif_reader:git:url: https://github.com/mgenware/exif_reader.gitref: 476f701c084861a8e9de5f4f4e5e067fc85fda96- expandable: ^5.0.1- expansion_tile_card: ^3.0.0- extended_image: ^9.1.0- fade_indexed_stack: ^0.2.2- fast_base58: ^0.2.1+ expandable: 5.0.1+ expansion_tile_card: 3.0.0+ extended_image: 9.1.0+ fade_indexed_stack: 0.2.2+ fast_base58: 0.2.1ffmpeg_kit_flutter:git:url: https://github.com/ente-io/ffmpeg-kitpath: flutter/flutter- ref: 2bbef7d- figma_squircle: ^0.6.3- file_saver: ^0.2.14- firebase_core: ^3.6.0- firebase_messaging: ^15.1.3- fixnum: ^1.1.1+ ref: 2bbef7d03361d104e26fbe648de31f1f6a4d7e44+ figma_squircle: 0.6.3+ file_saver: 0.2.14+ firebase_core: 3.15.1+ firebase_messaging: 15.2.9+ fixnum: 1.1.1flutter:sdk: flutter- flutter_animate: ^4.1.0- flutter_cache_manager: ^3.3.0- flutter_displaymode: ^0.6.0- flutter_easyloading: ^3.0.0- flutter_email_sender: ^7.0.0- flutter_image_compress: ^2.4.0- flutter_inappwebview: ^6.1.4- flutter_local_notifications: ^19.2.1+ flutter_animate: 4.5.2+ flutter_cache_manager: 3.4.1+ flutter_displaymode: 0.6.0+ flutter_easyloading: 3.0.5+ flutter_email_sender: 7.0.0+ flutter_image_compress: 2.4.0+ flutter_inappwebview: 6.1.5+ flutter_local_notifications: 19.3.0flutter_localizations:sdk: flutter- flutter_map: ^7.0.2- flutter_map_marker_cluster: ^1.3.6- flutter_password_strength: ^0.1.6+ flutter_map: 7.0.2+ flutter_map_marker_cluster: 1.4.0+ flutter_password_strength: 0.1.6flutter_rust_bridge: 2.11.1# Do not upgrade this package unless this issue is resolved:# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870@@ -117,125 +119,147 @@ dependencies:# If not resolved and we need to upgrade, write a migration script.flutter_secure_storage: 9.0.0flutter_sodium:- flutter_spinkit: ^5.2.1- flutter_staggered_grid_view: ^0.7.0- flutter_svg: ^2.0.10+1- flutter_timezone: ^4.1.0- fluttertoast: ^8.0.6- fraction: ^5.0.2- freezed_annotation: ^3.0.0- home_widget: ^0.8.0- html_unescape: ^2.0.0- http: ^1.1.0- hugeicons: ^1.1.2- image: ^4.0.17+ git:+ url: https://github.com/ente-io/flutter_sodium+ ref: 342ed3a42febd2dcc8b532c0ff07bd327a472d82+ flutter_spinkit: 5.2.1+ flutter_staggered_grid_view: 0.7.0+ flutter_svg: 2.2.0+ flutter_timezone: 4.1.1+ fluttertoast: 8.2.12+ fraction: 5.0.5+ freezed_annotation: 3.1.0+ home_widget: 0.8.0+ html_unescape: 2.0.0+ http: 1.4.0+ hugeicons: 1.1.2+ image: 4.5.4in_app_purchase: 3.2.1- intl: ^0.19.0- just_audio: ^0.10.5- latlong2: ^0.9.0- launcher_icon_switcher: ^0.0.2- like_button: ^2.0.5- local_auth: ^2.1.5- local_auth_android:- local_auth_ios:+ intl: 0.20.2+ just_audio: 0.10.5+ latlong2: 0.9.1+ launcher_icon_switcher: 0.0.2+ like_button: 2.1.0+ local_auth: 2.3.0+ local_auth_android: 1.0.49+ local_auth_ios: 1.1.7log_viewer:path: ../../packages/log_viewer- logging: ^1.3.0- lottie: ^3.3.1- maps_launcher: ^3.0.0+1+ logging: 1.3.0+ lottie: 3.3.1+ maps_launcher: 3.0.0+1media_extension:git:url: "https://github.com/ente-io/media_extension.git"+ ref: 324f8fbdbc7ae6d326a6d541751b7a895a249089media_kit:+ git:+ url: https://github.com/media-kit/media-kit+ path: media_kit+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_libs_ios_video:+ git:+ url: https://github.com/media-kit/media-kit+ path: libs/ios/media_kit_libs_ios_video+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_libs_video:+ git:+ url: https://github.com/media-kit/media-kit+ path: libs/universal/media_kit_libs_video+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_video:- mesh_gradient: ^1.3.8- ml_linalg: ^13.11.31+ git:+ url: https://github.com/media-kit/media-kit+ path: media_kit_video+ ref: c9617f570b8c0ba02857e721997f78c053a856c1+ mesh_gradient: 1.3.8+ ml_linalg: 13.12.6mobile_ocr:git:url: https://github.com/ente-io/mobile_ocrref: f5ff2124c8424196ea3dc5cf493d98107a5276d4- modal_bottom_sheet: ^3.0.0+ modal_bottom_sheet: 3.0.0motionphoto:- git: "https://github.com/ente-io/motionphoto.git"+ git:+ url: https://github.com/ente-io/motionphoto.git+ ref: 64e47a446bf3b64f012f2076481cebea51ca27cfmove_to_background: # no updates in git, replace packagegit:url: https://github.com/ente-io/move_to_background.git- ref: v2-only- nanoid: ^1.0.0- native_dio_adapter: ^1.4.0+ ref: 0cdfeed654d79636eff0c57110f3f6ad5801ba2f+ nanoid: 1.0.0+ native_dio_adapter: 1.4.0native_video_editor:path: ../../packages/native_video_editor- native_video_player: ^4.0.0+ native_video_player: 4.0.0onnx_dart:path: plugins/onnx_dartonnxruntime:git:url: https://github.com/ente-io/onnxruntime.git- ref: ios_only+ ref: 212b2cab85647c6d2ffee213dc3b875ef2bf6504open_mail_app: # replace plugin, git is archivedgit:url: https://github.com/ente-io/open-mail-app-flutter.git- ref: v2-only- package_info_plus: ^8.2.1+ ref: 13c0244db82b386ad1a53b2451bdfda8d2687cb6+ package_info_plus: 8.3.0panorama:git:url: https://github.com/ente-io/panorama_blur.git- ref: blur- password_strength: ^0.2.0- path: #dart- path_provider: ^2.1.1- path_provider_foundation: ^2.4.1- permission_handler: ^12.0.0+1- photo_manager: ^3.5.3- photo_view: ^0.15.0- pinput: ^5.0.0- pointycastle: ^3.7.3+ ref: d7bf958d045ce5c06080aaa39074546f46f064d1+ password_strength: 0.2.0+ path: 1.9.1 #dart+ path_provider: 2.1.5+ path_provider_foundation: 2.4.1+ permission_handler: 12.0.1+ photo_manager: 3.7.1+ photo_view: 0.15.0+ pinput: 5.0.1+ pointycastle: 3.9.1privacy_screen: # pub.dev is behindgit:url: https://github.com/ente-io/privacy_screen.git- ref: v2-only- pro_image_editor: ^11.3.0+ ref: 2389eaa88f07724a38b9dcab49fef8e96c723921+ pro_image_editor: 11.3.0receive_sharing_intent: # pub.dev is behindgit:url: https://github.com/KasemJaffer/receive_sharing_intent.git- ref: 2cea396+ ref: 2cea396843cd3ab1b5ec4334be4233864637874erive: 0.14.0-dev.13- screenshot: ^3.0.0- scrollable_positioned_list: ^0.3.5- sentry: ^8.14.1- sentry_flutter: ^8.14.1- share_plus: ^11.0.0- shared_preferences: ^2.0.5- sqflite: ^2.4.2- sqflite_migration: ^0.3.0- sqlite3_flutter_libs: ^0.5.20- sqlite_async: ^0.11.7- step_progress_indicator: ^1.0.2- styled_text: ^8.1.0- syncfusion_flutter_core: ^29.1.38- syncfusion_flutter_sliders: ^29.1.38- synchronized: ^3.3.0+3- system_info_plus: ^0.0.6- thermal: ^1.1.11- timezone: ^0.10.0- tuple: ^2.0.0- ua_client_hints: ^1.4.0- url_launcher: ^6.3.0- uuid: ^4.5.0+ screenshot: 3.0.0+ scrollable_positioned_list: 0.3.8+ sentry: 8.14.2+ sentry_flutter: 8.14.2+ share_plus: 11.0.0+ shared_preferences: 2.5.3+ sqflite: 2.4.2+ sqflite_migration: 0.3.0+ sqlite3_flutter_libs: 0.5.34+ sqlite_async: 0.11.7+ step_progress_indicator: 1.0.2+ styled_text: 8.1.0+ syncfusion_flutter_core: 29.2.11+ syncfusion_flutter_sliders: 29.2.11+ synchronized: 3.3.1+ system_info_plus: 0.0.6+ thermal: 1.1.11+ timezone: 0.10.1+ tuple: 2.0.2+ ua_client_hints: 1.4.1+ url_launcher: 6.3.1+ uuid: 4.5.1video_editor: # edge cases handled in forkgit:url: https://github.com/ente-io/video_editor_fork.git- ref: master- video_player: ^2.10.0- video_thumbnail: ^0.5.6- visibility_detector: ^0.4.0+2- wakelock_plus: ^1.1.1- wechat_assets_picker: ^9.5.1- widgets_to_image: ^1.0.0+ ref: 1eeb18e2b1ce36bd8ca70178c0d4b485e9982257+ video_player: 2.10.0+ video_thumbnail: 0.5.6+ visibility_detector: 0.4.0+2+ wakelock_plus: 1.3.2+ wechat_assets_picker: 9.5.1+ widgets_to_image: 1.0.0workmanager: 0.9.0+3- xml: ^6.3.0+ xml: 6.5.0dependency_overrides:# Remove this after removing dependency from flutter_sodium.@@ -244,46 +268,50 @@ dependency_overrides:flutter_sodium: # update source if there is any updategit:url: https://github.com/ente-io/flutter_sodium- ref: v2-embeddings-only- intl: ^0.20.2- js: ^0.6.7+ ref: 342ed3a42febd2dcc8b532c0ff07bd327a472d82+ intl: 0.20.2+ js: 0.6.7media_kit: # update media_kit* if there is any updategit:url: https://github.com/media-kit/media-kitpath: media_kit+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_libs_ios_video:git:url: https://github.com/media-kit/media-kitpath: libs/ios/media_kit_libs_ios_video+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_libs_video:git:url: https://github.com/media-kit/media-kitpath: libs/universal/media_kit_libs_video+ ref: c9617f570b8c0ba02857e721997f78c053a856c1media_kit_video:git:url: https://github.com/media-kit/media-kitpath: media_kit_video- protobuf: ^3.1.0- watcher: ^1.1.0+ ref: c9617f570b8c0ba02857e721997f78c053a856c1+ protobuf: 3.1.0+ watcher: 1.1.2win32: "5.10.1"dev_dependencies:- build_runner: ^2.4.7+ build_runner: 2.6.0flutter_driver:sdk: flutter- flutter_launcher_icons: ^0.14.3- flutter_lints: ^5.0.0- flutter_native_splash: ^2.4.4+ flutter_launcher_icons: 0.14.4+ flutter_lints: 5.0.0+ flutter_native_splash: 2.4.6flutter_test:sdk: flutter- freezed: ^3.0.6+ freezed: 3.2.0integration_test:sdk: flutter- intl_utils: ^2.8.7- json_annotation: ^4.8.0- json_serializable: ^6.6.1- mockito: ^5.5.0- test: ^1.22.0+ intl_utils: 2.8.10+ json_annotation: 4.9.0+ json_serializable: 6.10.0+ mockito: 5.5.0+ test: 1.25.15# ------------------------------# ICONsdiff --git a/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml b/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yamlindex 18c61e3386..e63f4e571c 100644--- a/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml+++ b/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml@@ -29,5 +29,5 @@ dependencies:toml: 0.14.0dev_dependencies:- lints: ^2.1.0- test: ^1.24.0+ lints: 2.1.1+ test: 1.24.6diff --git a/mobile/scripts/check_frozen_pubspecs.rb b/mobile/scripts/check_frozen_pubspecs.rbnew file mode 100644index 0000000000..b94f3c750e--- /dev/null+++ b/mobile/scripts/check_frozen_pubspecs.rb@@ -0,0 +1,153 @@+#!/usr/bin/env ruby++require "yaml"++SECTIONS = %w[dependencies dev_dependencies dependency_overrides].freeze+FULL_SHA = /\A[0-9a-f]{40}\z/.freeze+SPECIAL_VERSION_TOKENS = %w[any].freeze++def lockfiles_for(paths)+ return Dir["mobile/apps/**/pubspec.lock"].sort if paths.empty?++ paths.flat_map do |path|+ if File.file?(path)+ if File.basename(path) == "pubspec.lock"+ path+ elsif File.basename(path) == "pubspec.yaml" && File.exist?(path.sub(/\.yaml\z/, ".lock"))+ path.sub(/\.yaml\z/, ".lock")+ else+ []+ end+ elsif File.directory?(path)+ Dir[File.join(path, "**", "pubspec.lock")]+ else+ []+ end+ end.uniq.sort+end++def lock_package(lock_data, name)+ (lock_data["packages"] || {})[name]+end++def floating_version?(value)+ SPECIAL_VERSION_TOKENS.include?(value) || value.match?(/[<>=^*]/)+end++def validate_string_spec(errors, pubspec, section, name, spec, locked)+ if spec.empty? || floating_version?(spec)+ errors << "#{pubspec}: #{section}.#{name} must be an exact version, found #{spec.inspect}"+ return+ end++ if locked.nil?+ errors << "#{pubspec}: #{section}.#{name} has no matching lockfile entry"+ return+ end++ if locked["source"] != "hosted"+ errors << "#{pubspec}: #{section}.#{name} must match #{locked['source']} lockfile source"+ return+ end++ if spec != locked["version"]+ errors << "#{pubspec}: #{section}.#{name} is #{spec.inspect}, lockfile resolves #{locked['version'].inspect}"+ end+end++def validate_git_spec(errors, pubspec, section, name, spec, locked)+ git = spec["git"]+ unless git.is_a?(Hash)+ errors << "#{pubspec}: #{section}.#{name} must use structured git syntax with url/ref"+ return+ end++ ref = git["ref"]+ unless ref.is_a?(String) && ref.match?(FULL_SHA)+ errors << "#{pubspec}: #{section}.#{name} git ref must be a full 40-char SHA"+ return+ end++ if locked.nil?+ errors << "#{pubspec}: #{section}.#{name} has no matching lockfile entry"+ return+ end++ if locked["source"] != "git"+ errors << "#{pubspec}: #{section}.#{name} must match git lockfile source"+ return+ end++ desc = locked["description"] || {}+ resolved_ref = desc["resolved-ref"] || desc["ref"]+ lock_path = desc["path"] || "."+ spec_path = git["path"] || "."++ if git["url"] != desc["url"]+ errors << "#{pubspec}: #{section}.#{name} git url does not match lockfile"+ end++ if spec_path != lock_path+ errors << "#{pubspec}: #{section}.#{name} git path #{spec_path.inspect} does not match lockfile #{lock_path.inspect}"+ end++ if ref != resolved_ref+ errors << "#{pubspec}: #{section}.#{name} git ref does not match resolved lockfile SHA"+ end+end++def validate_spec(errors, pubspec, section, name, spec, locked)+ case spec+ when String+ validate_string_spec(errors, pubspec, section, name, spec, locked)+ when NilClass+ errors << "#{pubspec}: #{section}.#{name} must be pinned explicitly, found a blank dependency entry"+ when Hash+ return if spec.key?("path") || spec.key?("sdk")++ if spec.key?("git")+ validate_git_spec(errors, pubspec, section, name, spec, locked)+ else+ errors << "#{pubspec}: #{section}.#{name} uses unsupported dependency syntax"+ end+ else+ errors << "#{pubspec}: #{section}.#{name} uses unsupported dependency syntax"+ end+end++lockfiles = lockfiles_for(ARGV)+if lockfiles.empty?+ warn "No pubspec.lock files found to validate."+ exit 1+end++errors = []++lockfiles.each do |lockfile|+ pubspec = lockfile.sub(/\.lock\z/, ".yaml")+ unless File.exist?(pubspec)+ errors << "#{lockfile}: matching pubspec.yaml not found"+ next+ end++ lock_data = YAML.load_file(lockfile)+ pubspec_data = YAML.load_file(pubspec)++ SECTIONS.each do |section|+ next unless pubspec_data[section].is_a?(Hash)++ pubspec_data[section].each do |name, spec|+ locked = lock_package(lock_data, name)+ validate_spec(errors, pubspec, section, name, spec, locked)+ end+ end+end++if errors.empty?+ puts "Verified frozen pubspecs for #{lockfiles.length} package(s)."+ exit 0+end++warn "Frozen pubspec policy violations:"+errors.each { |error| warn " - #{error}" }+exit 1