Merge branch 'dependency-update-59'

This commit is contained in:
Ming Ming 2023-05-26 01:26:42 +08:00
parent 1908fe465e
commit 8278c38623
9 changed files with 103 additions and 139 deletions

1
app/.gitignore vendored
View file

@ -33,7 +33,6 @@
/build/ /build/
# Web related # Web related
lib/generated_plugin_registrant.dart
# Symbolication related # Symbolication related
app.*.symbols app.*.symbols

View file

@ -34,7 +34,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
ext.abiCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86_64": 3] ext.abiCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86_64": 3]
android { android {
compileSdkVersion 31 compileSdkVersion 33
ndkVersion "23.2.8568313" ndkVersion "23.2.8568313"
sourceSets { sourceSets {

View file

@ -24,15 +24,15 @@ void main() async {
statusBarColor: Colors.transparent, statusBarColor: Colors.transparent,
)); ));
} }
BlocOverrides.runZoned( Bloc.observer = const _BlocObserver();
() => runApp(const MyApp()), Bloc.transformer = sequential();
blocObserver: _BlocObserver(), runApp(const MyApp());
eventTransformer: sequential(),
);
} }
@npLog @npLog
class _BlocObserver extends BlocObserver { class _BlocObserver extends BlocObserver {
const _BlocObserver();
@override @override
void onChange(BlocBase bloc, Change change) { void onChange(BlocBase bloc, Change change) {
super.onChange(bloc, change); super.onChange(bloc, change);

View file

@ -22,7 +22,7 @@ class AndroidInfo {
static Future<void> init() async { static Future<void> init() async {
final info = await DeviceInfoPlugin().androidInfo; final info = await DeviceInfoPlugin().androidInfo;
final sdkInt = info.version.sdkInt!; final sdkInt = info.version.sdkInt;
final memInfo = await MemoryInfoPlugin().memoryInfo; final memInfo = await MemoryInfoPlugin().memoryInfo;
final totalMemMb = memInfo.totalMem!.toDouble(); final totalMemMb = memInfo.totalMem!.toDouble();

View file

@ -58,56 +58,28 @@ packages:
name: battery_plus name: battery_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.4" version: "3.0.6"
battery_plus_linux:
dependency: transitive
description:
name: battery_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
battery_plus_macos:
dependency: transitive
description:
name: battery_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
battery_plus_platform_interface: battery_plus_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: battery_plus_platform_interface name: battery_plus_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.1" version: "1.2.2"
battery_plus_web:
dependency: transitive
description:
name: battery_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
battery_plus_windows:
dependency: transitive
description:
name: battery_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
bloc: bloc:
dependency: transitive dependency: transitive
description: description:
name: bloc name: bloc
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "8.0.3" version: "8.1.2"
bloc_concurrency: bloc_concurrency:
dependency: "direct main" dependency: "direct main"
description: description:
name: bloc_concurrency name: bloc_concurrency
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.0" version: "0.2.2"
bloc_test: bloc_test:
dependency: "direct dev" dependency: "direct dev"
description: description:
@ -135,7 +107,7 @@ packages:
name: build_config name: build_config
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.1.1"
build_daemon: build_daemon:
dependency: transitive dependency: transitive
description: description:
@ -156,7 +128,7 @@ packages:
name: build_runner name: build_runner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.11" version: "2.3.0"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
@ -184,21 +156,21 @@ packages:
name: cached_network_image name: cached_network_image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.2.1" version: "3.2.3"
cached_network_image_platform_interface: cached_network_image_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: cached_network_image_platform_interface name: cached_network_image_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "2.0.0"
cached_network_image_web: cached_network_image_web:
dependency: transitive dependency: transitive
description: description:
name: cached_network_image_web name: cached_network_image_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1" version: "1.0.2"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@ -247,7 +219,7 @@ packages:
name: code_builder name: code_builder
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.1.0" version: "4.4.0"
collection: collection:
dependency: "direct main" dependency: "direct main"
description: description:
@ -370,49 +342,21 @@ packages:
name: device_info_plus name: device_info_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.1" version: "8.2.2"
device_info_plus_linux:
dependency: transitive
description:
name: device_info_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
device_info_plus_macos:
dependency: transitive
description:
name: device_info_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.3"
device_info_plus_platform_interface: device_info_plus_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: device_info_plus_platform_interface name: device_info_plus_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.3.0+1" version: "7.0.0"
device_info_plus_web:
dependency: transitive
description:
name: device_info_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
device_info_plus_windows:
dependency: transitive
description:
name: device_info_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
devicelocale: devicelocale:
dependency: "direct main" dependency: "direct main"
description: description:
name: devicelocale name: devicelocale
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.0" version: "0.6.0"
diff_match_patch: diff_match_patch:
dependency: transitive dependency: transitive
description: description:
@ -449,7 +393,7 @@ packages:
name: equatable name: equatable
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.3" version: "2.0.5"
event_bus: event_bus:
dependency: "direct main" dependency: "direct main"
description: description:
@ -514,7 +458,7 @@ packages:
name: flutter_bloc name: flutter_bloc
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "8.0.1" version: "8.1.3"
flutter_blurhash: flutter_blurhash:
dependency: transitive dependency: transitive
description: description:
@ -582,7 +526,7 @@ packages:
name: flutter_map name: flutter_map
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.1" version: "2.2.0"
flutter_plugin_android_lifecycle: flutter_plugin_android_lifecycle:
dependency: transitive dependency: transitive
description: description:
@ -643,14 +587,28 @@ packages:
name: google_maps_flutter name: google_maps_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.8" version: "2.2.8"
google_maps_flutter_android:
dependency: transitive
description:
name: google_maps_flutter_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.15"
google_maps_flutter_ios:
dependency: transitive
description:
name: google_maps_flutter_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.3"
google_maps_flutter_platform_interface: google_maps_flutter_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: google_maps_flutter_platform_interface name: google_maps_flutter_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.2.0" version: "2.2.7"
graphs: graphs:
dependency: transitive dependency: transitive
description: description:
@ -678,7 +636,7 @@ packages:
name: http name: http
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.13.4" version: "0.13.5"
http_multi_server: http_multi_server:
dependency: transitive dependency: transitive
description: description:
@ -745,7 +703,7 @@ packages:
name: kiwi name: kiwi
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.2" version: "4.1.0"
latlong2: latlong2:
dependency: transitive dependency: transitive
description: description:
@ -773,7 +731,7 @@ packages:
name: logging name: logging
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.2" version: "1.1.1"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:
@ -794,7 +752,7 @@ packages:
name: memory_info name: memory_info
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.2" version: "0.0.3"
memory_info_platform_interface: memory_info_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -822,7 +780,7 @@ packages:
name: mime name: mime
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.2" version: "1.0.4"
mocktail: mocktail:
dependency: transitive dependency: transitive
description: description:
@ -836,7 +794,7 @@ packages:
name: mutex name: mutex
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0" version: "3.0.1"
native_device_orientation: native_device_orientation:
dependency: "direct main" dependency: "direct main"
description: description:
@ -934,7 +892,7 @@ packages:
name: path_provider name: path_provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.11" version: "2.0.15"
path_provider_android: path_provider_android:
dependency: transitive dependency: transitive
description: description:
@ -942,13 +900,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.16" version: "2.0.16"
path_provider_ios: path_provider_foundation:
dependency: transitive dependency: transitive
description: description:
name: path_provider_ios name: path_provider_foundation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.10" version: "2.2.3"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:
@ -956,13 +914,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.7" version: "2.1.7"
path_provider_macos:
dependency: transitive
description:
name: path_provider_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.6"
path_provider_platform_interface: path_provider_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -1039,7 +990,7 @@ packages:
name: proj4dart name: proj4dart
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.1.0"
provider: provider:
dependency: transitive dependency: transitive
description: description:
@ -1067,7 +1018,7 @@ packages:
name: quiver name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.0" version: "3.2.1"
recase: recase:
dependency: transitive dependency: transitive
description: description:
@ -1088,7 +1039,7 @@ packages:
name: screen_brightness name: screen_brightness
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.1" version: "0.2.2"
screen_brightness_android: screen_brightness_android:
dependency: transitive dependency: transitive
description: description:
@ -1117,6 +1068,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.0" version: "0.1.0"
screen_brightness_windows:
dependency: transitive
description:
name: screen_brightness_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.1"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1268,7 +1226,7 @@ packages:
name: sqlite3_flutter_libs name: sqlite3_flutter_libs
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.8" version: "0.5.15"
sqlparser: sqlparser:
dependency: transitive dependency: transitive
description: description:
@ -1310,7 +1268,7 @@ packages:
name: synchronized name: synchronized
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0+2" version: "3.1.0"
term_glyph: term_glyph:
dependency: transitive dependency: transitive
description: description:
@ -1370,7 +1328,7 @@ packages:
name: tuple name: tuple
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.1"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -1385,13 +1343,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.1" version: "0.3.1"
upower:
dependency: transitive
description:
name: upower
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.0"
url_launcher: url_launcher:
dependency: "direct main" dependency: "direct main"
description: description:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.1.4" version: "6.1.11"
url_launcher_android: url_launcher_android:
dependency: transitive dependency: transitive
description: description:
@ -1447,7 +1412,7 @@ packages:
name: uuid name: uuid
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.6" version: "3.0.7"
vector_math: vector_math:
dependency: transitive dependency: transitive
description: description:
@ -1498,7 +1463,7 @@ packages:
name: visibility_detector name: visibility_detector
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.3" version: "0.4.0+2"
vm_service: vm_service:
dependency: transitive dependency: transitive
description: description:

View file

@ -33,9 +33,9 @@ dependencies:
url: https://gitlab.com/nc-photos/plus_plugins url: https://gitlab.com/nc-photos/plus_plugins
ref: android_intent_plus-v3.1.1-nc-photos-1 ref: android_intent_plus-v3.1.1-nc-photos-1
path: packages/android_intent_plus path: packages/android_intent_plus
battery_plus: ^2.1.3 battery_plus: ^3.0.6
bloc_concurrency: ^0.2.0 bloc_concurrency: ^0.2.2
cached_network_image: ^3.2.1 cached_network_image: ^3.2.3
circular_reveal_animation: ^2.0.1 circular_reveal_animation: ^2.0.1
clock: ^1.1.1 clock: ^1.1.1
collection: ^1.15.0 collection: ^1.15.0
@ -45,14 +45,14 @@ dependencies:
url: https://gitlab.com/nkming2/dart-copy-with url: https://gitlab.com/nkming2/dart-copy-with
path: copy_with path: copy_with
ref: copy_with-1.3.0 ref: copy_with-1.3.0
devicelocale: ^0.5.0 devicelocale: ^0.6.0
device_info_plus: ^4.0.0 device_info_plus: ^8.2.2
draggable_scrollbar: draggable_scrollbar:
git: git:
url: https://gitlab.com/nc-photos/flutter-draggable-scrollbar url: https://gitlab.com/nc-photos/flutter-draggable-scrollbar
ref: v0.1.0-nc-photos-6 ref: v0.1.0-nc-photos-6
drift: ^1.7.1 drift: ^1.7.1
equatable: ^2.0.0 equatable: ^2.0.5
event_bus: ^2.0.0 event_bus: ^2.0.0
exifdart: exifdart:
git: git:
@ -63,18 +63,18 @@ dependencies:
git: git:
url: https://gitlab.com/nc-photos/flutter_background_service.git url: https://gitlab.com/nc-photos/flutter_background_service.git
ref: v0.2.6-nc-photos-2 ref: v0.2.6-nc-photos-2
flutter_bloc: ^8.0.0 flutter_bloc: ^8.1.2
flutter_colorpicker: ^1.0.3 flutter_colorpicker: ^1.0.3
flutter_isolate: ^2.0.4 flutter_isolate: ^2.0.4
flutter_map: ^1.1.1 flutter_map: ^2.2.0
flutter_staggered_grid_view: flutter_staggered_grid_view:
git: git:
url: https://gitlab.com/nc-photos/flutter_staggered_grid_view url: https://gitlab.com/nc-photos/flutter_staggered_grid_view
ref: v0.4.0-nc-photos-1 ref: v0.4.0-nc-photos-1
flutter_typeahead: ^4.0.0 flutter_typeahead: ^4.0.0
# android/ios only # android/ios only
google_maps_flutter: ^2.1.0 google_maps_flutter: ^2.2.8
http: ^0.13.1 http: ^0.13.5
image_size_getter: image_size_getter:
git: git:
url: https://gitlab.com/nc-photos/dart_image_size_getter url: https://gitlab.com/nc-photos/dart_image_size_getter
@ -85,11 +85,11 @@ dependencies:
git: git:
url: https://gitlab.com/nc-photos/kd-tree-dart.git url: https://gitlab.com/nc-photos/kd-tree-dart.git
ref: 0.2.0-nc-photos-1 ref: 0.2.0-nc-photos-1
kiwi: ^4.0.1 kiwi: ^4.1.0
logging: ^1.0.1 logging: ^1.1.1
memory_info: ^0.0.2 memory_info: ^0.0.3
mime: ^1.0.1 mime: ^1.0.4
mutex: ^3.0.0 mutex: ^3.0.1
native_device_orientation: ^1.1.0 native_device_orientation: ^1.1.0
nc_photos_plugin: nc_photos_plugin:
path: ../plugin path: ../plugin
@ -101,25 +101,25 @@ dependencies:
path: ../np_common path: ../np_common
page_view_indicators: ^2.0.0 page_view_indicators: ^2.0.0
path: ^1.8.0 path: ^1.8.0
path_provider: ^2.0.6 path_provider: ^2.0.15
quiver: ^3.1.0 quiver: ^3.2.1
rxdart: ^0.27.7 rxdart: ^0.27.7
screen_brightness: ^0.2.1 screen_brightness: ^0.2.2
shared_preferences: ^2.0.8 shared_preferences: ^2.0.8
smooth_corner: ^1.1.0 smooth_corner: ^1.1.0
sqlite3: any sqlite3: any
sqlite3_flutter_libs: ^0.5.8 sqlite3_flutter_libs: ^0.5.15
synchronized: ^3.0.0 synchronized: ^3.1.0
to_string: to_string:
git: git:
url: https://gitlab.com/nkming2/dart-to-string url: https://gitlab.com/nkming2/dart-to-string
ref: to_string-1.0.0 ref: to_string-1.0.0
path: to_string path: to_string
tuple: ^2.0.0 tuple: ^2.0.1
url_launcher: ^6.0.3 url_launcher: ^6.1.11
uuid: ^3.0.6 uuid: ^3.0.7
video_player: 2.4.5 video_player: 2.4.5
visibility_detector: ^0.3.3 visibility_detector: ^0.4.0+2
wakelock: ^0.6.2 wakelock: ^0.6.2
woozy_search: ^2.0.3 woozy_search: ^2.0.3
@ -133,7 +133,7 @@ dependency_overrides:
dev_dependencies: dev_dependencies:
test: any test: any
bloc_test: any bloc_test: any
build_runner: ^2.1.11 build_runner: ^2.2.1
copy_with_build: copy_with_build:
git: git:
url: https://gitlab.com/nkming2/dart-copy-with url: https://gitlab.com/nkming2/dart-copy-with

View file

@ -9,11 +9,11 @@ environment:
flutter: ">=3.3.0" flutter: ">=3.3.0"
dependencies: dependencies:
equatable: ^2.0.0 equatable: ^2.0.5
flutter: flutter:
sdk: flutter sdk: flutter
http: ^0.13.1 http: ^0.13.5
logging: ^1.0.1 logging: ^1.1.1
np_codegen: np_codegen:
path: ../codegen path: ../codegen
np_common: np_common:
@ -26,7 +26,7 @@ dependencies:
xml: ^6.1.0 xml: ^6.1.0
dev_dependencies: dev_dependencies:
build_runner: ^2.1.11 build_runner: ^2.2.1
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0
np_codegen_build: np_codegen_build:
path: ../codegen_build path: ../codegen_build

View file

@ -11,7 +11,7 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
logging: ^1.0.1 logging: ^1.1.1
dev_dependencies: dev_dependencies:
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0

View file

@ -11,7 +11,7 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
logging: ^1.0.2 logging: ^1.1.1
dev_dependencies: dev_dependencies:
flutter_lints: ^1.0.0 flutter_lints: ^1.0.0