From 7bd6605dea4ae49f384e186b11f12e8c1dc4f067 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Mon, 2 Sep 2024 00:42:12 +0800 Subject: [PATCH] Upgrade to flutter 3.22 --- app/pubspec.lock | 68 ++++++++++++++++-------- app/pubspec.yaml | 6 +-- codegen/pubspec.yaml | 2 +- codegen_build/pubspec.yaml | 2 +- np_api/pubspec.yaml | 4 +- np_async/pubspec.yaml | 4 +- np_collection/pubspec.yaml | 2 +- np_common/pubspec.yaml | 2 +- np_datetime/pubspec.yaml | 2 +- np_db/pubspec.yaml | 4 +- np_db_sqlite/pubspec.yaml | 4 +- np_geocoder/pubspec.yaml | 4 +- np_gps_map/pubspec.yaml | 4 +- np_http/pubspec.yaml | 2 +- np_lints/pubspec.yaml | 2 +- np_log/pubspec.yaml | 2 +- np_math/pubspec.yaml | 2 +- np_platform_image_processor/pubspec.yaml | 4 +- np_platform_lock/pubspec.yaml | 4 +- np_platform_log/pubspec.yaml | 4 +- np_platform_message_relay/pubspec.yaml | 4 +- np_platform_permission/pubspec.yaml | 4 +- np_platform_raw_image/pubspec.yaml | 4 +- np_platform_util/pubspec.yaml | 4 +- np_string/pubspec.yaml | 2 +- np_ui/pubspec.yaml | 4 +- np_universal_storage/pubspec.yaml | 4 +- plugin/pubspec.yaml | 4 +- 28 files changed, 91 insertions(+), 67 deletions(-) diff --git a/app/pubspec.lock b/app/pubspec.lock index c6d7da9f..ebe642ad 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -280,10 +280,10 @@ packages: dependency: transitive description: name: coverage - sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097" + sha256: c1fb2dce3c0085f39dc72668e85f8e0210ec7de05345821ff58530567df345a5 url: "https://pub.dev" source: hosted - version: "1.6.3" + version: "1.9.2" cronet_http: dependency: transitive description: @@ -809,10 +809,10 @@ packages: dependency: "direct main" description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" io: dependency: transitive description: @@ -878,6 +878,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.9.1" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: transitive description: @@ -954,18 +978,18 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" memory_info: dependency: "direct main" description: @@ -986,10 +1010,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.12.0" mgrs_dart: dependency: transitive description: @@ -1280,10 +1304,10 @@ packages: dependency: "direct main" description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_provider: dependency: "direct main" description: @@ -1709,26 +1733,26 @@ packages: dependency: "direct dev" description: name: test - sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f + sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073" url: "https://pub.dev" source: hosted - version: "1.24.9" + version: "1.25.2" test_api: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.7.0" test_core: dependency: transitive description: name: test_core - sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a + sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4" url: "https://pub.dev" source: hosted - version: "0.5.9" + version: "0.6.0" timing: dependency: transitive description: @@ -1914,10 +1938,10 @@ packages: dependency: transitive description: name: vm_service - sha256: e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "9.4.0" + version: "14.2.1" wakelock_plus: dependency: "direct main" description: @@ -2023,5 +2047,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.2.3 <4.0.0" - flutter: ">=3.16.6" + dart: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 526eaa92..3188d91f 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.68.0+6800 environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: @@ -82,7 +82,7 @@ dependencies: url: https://gitlab.com/nc-photos/dart_image_size_getter ref: 1.0.0-nc-photos-2 path: library - intl: 0.18.1 + intl: 0.19.0 kiwi: ^4.1.0 local_auth: ^2.2.0 logging: ^1.2.0 diff --git a/codegen/pubspec.yaml b/codegen/pubspec.yaml index 1b4eee6b..bf5a5b74 100644 --- a/codegen/pubspec.yaml +++ b/codegen/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 # homepage: https://www.example.com environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dev_dependencies: np_lints: diff --git a/codegen_build/pubspec.yaml b/codegen_build/pubspec.yaml index 6b5af0c8..68ae2d01 100644 --- a/codegen_build/pubspec.yaml +++ b/codegen_build/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: analyzer: ^6.2.0 diff --git a/np_api/pubspec.yaml b/np_api/pubspec.yaml index 03efe42f..2d02e8cc 100644 --- a/np_api/pubspec.yaml +++ b/np_api/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: equatable: ^2.0.5 diff --git a/np_async/pubspec.yaml b/np_async/pubspec.yaml index dc558163..df5dd6b4 100644 --- a/np_async/pubspec.yaml +++ b/np_async/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_collection/pubspec.yaml b/np_collection/pubspec.yaml index 8753b516..dcb2c956 100644 --- a/np_collection/pubspec.yaml +++ b/np_collection/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: collection: ^1.18.0 diff --git a/np_common/pubspec.yaml b/np_common/pubspec.yaml index 0464605d..b65ba623 100644 --- a/np_common/pubspec.yaml +++ b/np_common/pubspec.yaml @@ -5,7 +5,7 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: to_string: diff --git a/np_datetime/pubspec.yaml b/np_datetime/pubspec.yaml index eb0086ad..d952ba96 100644 --- a/np_datetime/pubspec.yaml +++ b/np_datetime/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: clock: ^1.1.1 diff --git a/np_db/pubspec.yaml b/np_db/pubspec.yaml index e5c16365..a4c601c1 100644 --- a/np_db/pubspec.yaml +++ b/np_db/pubspec.yaml @@ -5,8 +5,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: copy_with: diff --git a/np_db_sqlite/pubspec.yaml b/np_db_sqlite/pubspec.yaml index ca21c7ca..f4988cc1 100644 --- a/np_db_sqlite/pubspec.yaml +++ b/np_db_sqlite/pubspec.yaml @@ -5,8 +5,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: clock: ^1.1.1 diff --git a/np_geocoder/pubspec.yaml b/np_geocoder/pubspec.yaml index be543a29..dc553e6a 100644 --- a/np_geocoder/pubspec.yaml +++ b/np_geocoder/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_gps_map/pubspec.yaml b/np_gps_map/pubspec.yaml index 6f96be58..520b9e5e 100644 --- a/np_gps_map/pubspec.yaml +++ b/np_gps_map/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_http/pubspec.yaml b/np_http/pubspec.yaml index d5128a4f..b7b2a013 100644 --- a/np_http/pubspec.yaml +++ b/np_http/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: cronet_http: ^1.2.0 diff --git a/np_lints/pubspec.yaml b/np_lints/pubspec.yaml index af221eb6..841b28ac 100644 --- a/np_lints/pubspec.yaml +++ b/np_lints/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: flutter_lints: ^4.0.0 diff --git a/np_log/pubspec.yaml b/np_log/pubspec.yaml index fdfda4b7..438f614b 100644 --- a/np_log/pubspec.yaml +++ b/np_log/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dependencies: logging: ^1.2.0 diff --git a/np_math/pubspec.yaml b/np_math/pubspec.yaml index e972370d..638ada70 100644 --- a/np_math/pubspec.yaml +++ b/np_math/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dev_dependencies: np_lints: diff --git a/np_platform_image_processor/pubspec.yaml b/np_platform_image_processor/pubspec.yaml index 6d2f2a75..e9ec7bd1 100644 --- a/np_platform_image_processor/pubspec.yaml +++ b/np_platform_image_processor/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_lock/pubspec.yaml b/np_platform_lock/pubspec.yaml index 391aa098..889e1727 100644 --- a/np_platform_lock/pubspec.yaml +++ b/np_platform_lock/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_log/pubspec.yaml b/np_platform_log/pubspec.yaml index 6d0ea0bc..e7fa7371 100644 --- a/np_platform_log/pubspec.yaml +++ b/np_platform_log/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_message_relay/pubspec.yaml b/np_platform_message_relay/pubspec.yaml index 0228acc7..fb9e8002 100644 --- a/np_platform_message_relay/pubspec.yaml +++ b/np_platform_message_relay/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_permission/pubspec.yaml b/np_platform_permission/pubspec.yaml index 400895b6..39e5d179 100644 --- a/np_platform_permission/pubspec.yaml +++ b/np_platform_permission/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_raw_image/pubspec.yaml b/np_platform_raw_image/pubspec.yaml index 4a41397a..bd7c8cab 100644 --- a/np_platform_raw_image/pubspec.yaml +++ b/np_platform_raw_image/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_platform_util/pubspec.yaml b/np_platform_util/pubspec.yaml index a2e2bcd3..9d2bc9da 100644 --- a/np_platform_util/pubspec.yaml +++ b/np_platform_util/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_string/pubspec.yaml b/np_string/pubspec.yaml index 610bcd9d..7710c5fc 100644 --- a/np_string/pubspec.yaml +++ b/np_string/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" + sdk: ">=3.4.0 <4.0.0" dev_dependencies: np_lints: diff --git a/np_ui/pubspec.yaml b/np_ui/pubspec.yaml index 01e7688c..50d85ae2 100644 --- a/np_ui/pubspec.yaml +++ b/np_ui/pubspec.yaml @@ -4,8 +4,8 @@ version: 0.0.1 publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/np_universal_storage/pubspec.yaml b/np_universal_storage/pubspec.yaml index 4b418502..f3e62723 100644 --- a/np_universal_storage/pubspec.yaml +++ b/np_universal_storage/pubspec.yaml @@ -5,8 +5,8 @@ homepage: publish_to: none environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: diff --git a/plugin/pubspec.yaml b/plugin/pubspec.yaml index 0bf06e9e..d6469c02 100644 --- a/plugin/pubspec.yaml +++ b/plugin/pubspec.yaml @@ -4,8 +4,8 @@ version: 0.0.1 homepage: environment: - sdk: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: