From f6019be1336b1be9d42979a82e08bee7b6d60d4c Mon Sep 17 00:00:00 2001 From: MiaoMint <44718819+MiaoMint@users.noreply.github.com> Date: Fri, 19 Jan 2024 10:07:45 +0800 Subject: [PATCH] fix(deps): update deps and remove unused deps (#194) * fix(deps): update deps and remove unused deps * Update go_router version in pubspec.yaml --- android/app/build.gradle | 4 +- lib/views/pages/tracking/anilist_webview.dart | 4 +- lib/views/pages/webview_page.dart | 8 +- lib/views/widgets/cache_network_image.dart | 58 ++--- macos/Flutter/GeneratedPluginRegistrant.swift | 2 + pubspec.lock | 218 +++++++++++------- pubspec.yaml | 16 +- 7 files changed, 181 insertions(+), 129 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 7c4b5da4..dfee9e64 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -41,7 +41,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { namespace "miru.miaomint" - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion 34 ndkVersion flutter.ndkVersion compileOptions { @@ -63,7 +63,7 @@ android { // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdkVersion 21 - targetSdkVersion 28 + targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/lib/views/pages/tracking/anilist_webview.dart b/lib/views/pages/tracking/anilist_webview.dart index 4a4196db..98349193 100644 --- a/lib/views/pages/tracking/anilist_webview.dart +++ b/lib/views/pages/tracking/anilist_webview.dart @@ -18,7 +18,7 @@ class _AnilistWebViewPageState extends State { @override void dispose() { - CookieManager.instance().deleteCookies(url: Uri.parse(widget.url)); + CookieManager.instance().deleteCookies(url: WebUri(widget.url)); super.dispose(); } @@ -30,7 +30,7 @@ class _AnilistWebViewPageState extends State { ), body: InAppWebView( initialUrlRequest: URLRequest( - url: Uri.parse(widget.url), + url: WebUri(widget.url), ), onLoadStart: (controller, url) async { if (url != null && url.path != "/login") { diff --git a/lib/views/pages/webview_page.dart b/lib/views/pages/webview_page.dart index 2cbdc180..a59a1a50 100644 --- a/lib/views/pages/webview_page.dart +++ b/lib/views/pages/webview_page.dart @@ -49,12 +49,10 @@ class _WebViewPageState extends State { ), body: InAppWebView( initialUrlRequest: URLRequest( - url: Uri.parse(url), + url: WebUri(url), ), - initialOptions: InAppWebViewGroupOptions( - crossPlatform: InAppWebViewOptions( - userAgent: MiruStorage.getUASetting(), - ), + initialSettings: InAppWebViewSettings( + userAgent: MiruStorage.getUASetting(), ), onLoadStart: (controller, url) { setState(() { diff --git a/lib/views/widgets/cache_network_image.dart b/lib/views/widgets/cache_network_image.dart index b13ad99e..3aa5a9b6 100644 --- a/lib/views/widgets/cache_network_image.dart +++ b/lib/views/widgets/cache_network_image.dart @@ -153,35 +153,37 @@ class _ThumnailPageState extends State<_ThumnailPage> { } Widget _buildContent(BuildContext context) { - return ExtendedImageSlidePage( - slideAxis: SlideAxis.both, - slideType: SlideType.onlyImage, - slidePageBackgroundHandler: (offset, pageSize) { - final color = Platform.isAndroid - ? Theme.of(context).scaffoldBackgroundColor - : fluent.FluentTheme.of(context).scaffoldBackgroundColor; - return color.withOpacity(0); - }, - child: ExtendedImage.network( - widget.url, - headers: widget.headers, - cache: true, - fit: BoxFit.contain, - mode: ExtendedImageMode.gesture, - initGestureConfigHandler: (state) { - return GestureConfig( - minScale: 0.9, - animationMinScale: 0.7, - maxScale: 3.0, - animationMaxScale: 3.5, - speed: 1.0, - inertialSpeed: 100.0, - initialScale: 1.0, - inPageView: true, - reverseMousePointerScrollDirection: true, - initialAlignment: InitialAlignment.center, - ); + return Center( + child: ExtendedImageSlidePage( + slideAxis: SlideAxis.both, + slideType: SlideType.onlyImage, + slidePageBackgroundHandler: (offset, pageSize) { + final color = Platform.isAndroid + ? Theme.of(context).scaffoldBackgroundColor + : fluent.FluentTheme.of(context).scaffoldBackgroundColor; + return color.withOpacity(0); }, + child: ExtendedImage.network( + widget.url, + headers: widget.headers, + cache: true, + fit: BoxFit.contain, + mode: ExtendedImageMode.gesture, + initGestureConfigHandler: (state) { + return GestureConfig( + minScale: 0.9, + animationMinScale: 0.7, + maxScale: 3.0, + animationMaxScale: 3.5, + speed: 1.0, + inertialSpeed: 100.0, + initialScale: 1.0, + inPageView: true, + reverseMousePointerScrollDirection: true, + initialAlignment: InitialAlignment.center, + ); + }, + ), ), ); } diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 670c5097..882d01b7 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -7,6 +7,7 @@ import Foundation import desktop_multi_window import device_info_plus +import flutter_inappwebview_macos import flutter_js import isar_flutter_libs import media_kit_libs_macos_video @@ -23,6 +24,7 @@ import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FlutterMultiWindowPlugin.register(with: registry.registrar(forPlugin: "FlutterMultiWindowPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) + InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin")) FlutterJsPlugin.register(with: registry.registrar(forPlugin: "FlutterJsPlugin")) IsarFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "IsarFlutterLibsPlugin")) MediaKitLibsMacosVideoPlugin.register(with: registry.registrar(forPlugin: "MediaKitLibsMacosVideoPlugin")) diff --git a/pubspec.lock b/pubspec.lock index 4e5007b5..ad2e560a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: archive - sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b" + sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d" url: "https://pub.dev" source: hosted - version: "3.4.9" + version: "3.4.10" args: dependency: transitive description: @@ -101,10 +101,10 @@ packages: dependency: "direct dev" description: name: build_runner - sha256: "67d591d602906ef9201caf93452495ad1812bea2074f04e25dbd7c133785821b" + sha256: "581bacf68f89ec8792f5e5a0b2c4decd1c948e97ce659dc783688c8a88fbec21" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.4.8" build_runner_core: dependency: transitive description: @@ -165,10 +165,10 @@ packages: dependency: transitive description: name: code_builder - sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f + sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 url: "https://pub.dev" source: hosted - version: "4.8.0" + version: "4.10.0" collection: dependency: transitive description: @@ -293,10 +293,10 @@ packages: dependency: "direct main" description: name: easy_refresh - sha256: "9465065e86ce4993c3a9c825295cd1cbcdeffaa6903fe2575b30565b5b39a1f4" + sha256: f36324c7f50291f85085bd64b39abe6b63909481bfa527f9c654d17ef172de30 url: "https://pub.dev" source: hosted - version: "3.3.3+1" + version: "3.3.4" equatable: dependency: transitive description: @@ -373,10 +373,10 @@ packages: dependency: "direct main" description: name: fluent_ui - sha256: f5996aa055a8fe3f90dd97b9cf8f6522ae87df5d2d0ccb81b0142e4e4ca03f51 + sha256: d6ffe21ff6bc61e98044a0529c139277dac2bbe6e71f868f7791d7eabc53d718 url: "https://pub.dev" source: hosted - version: "4.8.2" + version: "4.8.5" flutter: dependency: "direct main" description: flutter @@ -386,10 +386,10 @@ packages: dependency: "direct main" description: name: flutter_animate - sha256: "1dbc1aabfb8ec1e9d9feed2b675c21fb6b0a11f99be53ec3bc0f1901af6a8eb7" + sha256: "2f3535790fff1ad21bca4f16b7435fa4af6a3c4b43e88e273a8683ed4ec26b26" url: "https://pub.dev" source: hosted - version: "4.3.0" + version: "4.4.0" flutter_code_editor: dependency: "direct main" description: @@ -418,18 +418,66 @@ packages: dependency: "direct main" description: name: flutter_i18n - sha256: c7e9752c5dea38963bed26513c25a6e5db70c110fc2c68b84694aafa37b29636 + sha256: "091af6970be8036c37121b8a683bc392d0182786186ab8fe2cf20403aebdcfa6" url: "https://pub.dev" source: hosted - version: "0.34.0" + version: "0.35.0" flutter_inappwebview: dependency: "direct main" description: name: flutter_inappwebview - sha256: d198297060d116b94048301ee6749cd2e7d03c1f2689783f52d210a6b7aba350 + sha256: "3e9a443a18ecef966fb930c3a76ca5ab6a7aafc0c7b5e14a4a850cf107b09959" url: "https://pub.dev" source: hosted - version: "5.8.0" + version: "6.0.0" + flutter_inappwebview_android: + dependency: transitive + description: + name: flutter_inappwebview_android + sha256: fd4db51e46f49b140d83a3206851432c54ea920b381137c0ba82d0cf59be1dee + url: "https://pub.dev" + source: hosted + version: "1.0.12" + flutter_inappwebview_internal_annotations: + dependency: transitive + description: + name: flutter_inappwebview_internal_annotations + sha256: "5f80fd30e208ddded7dbbcd0d569e7995f9f63d45ea3f548d8dd4c0b473fb4c8" + url: "https://pub.dev" + source: hosted + version: "1.1.1" + flutter_inappwebview_ios: + dependency: transitive + description: + name: flutter_inappwebview_ios + sha256: f363577208b97b10b319cd0c428555cd8493e88b468019a8c5635a0e4312bd0f + url: "https://pub.dev" + source: hosted + version: "1.0.13" + flutter_inappwebview_macos: + dependency: transitive + description: + name: flutter_inappwebview_macos + sha256: b55b9e506c549ce88e26580351d2c71d54f4825901666bd6cfa4be9415bb2636 + url: "https://pub.dev" + source: hosted + version: "1.0.11" + flutter_inappwebview_platform_interface: + dependency: transitive + description: + name: flutter_inappwebview_platform_interface + sha256: "545fd4c25a07d2775f7d5af05a979b2cac4fbf79393b0a7f5d33ba39ba4f6187" + url: "https://pub.dev" + source: hosted + version: "1.0.10" + flutter_inappwebview_web: + dependency: transitive + description: + name: flutter_inappwebview_web + sha256: d8c680abfb6fec71609a700199635d38a744df0febd5544c5a020bd73de8ee07 + url: "https://pub.dev" + source: hosted + version: "1.0.8" flutter_js: dependency: "direct main" description: @@ -455,10 +503,10 @@ packages: dependency: "direct main" description: name: flutter_markdown - sha256: "35108526a233cc0755664d445f8a6b4b61e6f8fe993b3658b80b4a26827fc196" + sha256: "30088ce826b5b9cfbf9e8bece34c716c8a59fa54461dcae1e4ac01a94639e762" url: "https://pub.dev" source: hosted - version: "0.6.18+2" + version: "0.6.18+3" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -490,7 +538,7 @@ packages: description: path: "." ref: master - resolved-ref: a6309c3acf3d16bd4a24173949ff42a1204c5f48 + resolved-ref: "096d24d88454819b9f8a94af14a130cb372fa5ae" url: "https://github.com/MiaoMint/flutter_windows_webview" source: git version: "0.0.1" @@ -570,10 +618,10 @@ packages: dependency: transitive description: name: http - sha256: d4872660c46d929f6b8a9ef4e7a7eff7e49bbf0c4ec3f385ee32df5119175139 + sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba url: "https://pub.dev" source: hosted - version: "1.1.2" + version: "1.2.0" http_client_helper: dependency: transitive description: @@ -591,7 +639,7 @@ packages: source: hosted version: "3.2.1" http_parser: - dependency: "direct main" + dependency: transitive description: name: http_parser sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" @@ -602,10 +650,10 @@ packages: dependency: transitive description: name: image - sha256: "028f61960d56f26414eb616b48b04eb37d700cbe477b7fb09bf1d7ce57fd9271" + sha256: "004a2e90ce080f8627b5a04aecb4cdfac87d2c3f3b520aa291260be5a32c033d" url: "https://pub.dev" source: hosted - version: "4.1.3" + version: "4.1.4" image_gallery_saver: dependency: "direct main" description: @@ -706,10 +754,10 @@ packages: dependency: transitive description: name: markdown - sha256: acf35edccc0463a9d7384e437c015a3535772e09714cf60e07eeef3a15870dcd + sha256: "4e304b422905967f1f7e35a03cd2a3f8f34306b3e1b0cc7a8677d7a306471a0e" url: "https://pub.dev" source: hosted - version: "7.1.1" + version: "7.2.0" matcher: dependency: transitive description: @@ -743,15 +791,23 @@ packages: source: hosted version: "1.1.10+1" media_kit_libs_android_video: - dependency: "direct main" + dependency: transitive description: name: media_kit_libs_android_video sha256: "9dd8012572e4aff47516e55f2597998f0a378e3d588d0fad0ca1f11a53ae090c" url: "https://pub.dev" source: hosted version: "1.3.6" + media_kit_libs_ios_video: + dependency: transitive + description: + name: media_kit_libs_ios_video + sha256: b5382994eb37a4564c368386c154ad70ba0cc78dacdd3fb0cd9f30db6d837991 + url: "https://pub.dev" + source: hosted + version: "1.1.4" media_kit_libs_linux: - dependency: "direct main" + dependency: transitive description: name: media_kit_libs_linux sha256: e186891c31daa6bedab4d74dcdb4e8adfccc7d786bfed6ad81fe24a3b3010310 @@ -759,15 +815,23 @@ packages: source: hosted version: "1.1.3" media_kit_libs_macos_video: - dependency: "direct main" + dependency: transitive description: name: media_kit_libs_macos_video sha256: f26aa1452b665df288e360393758f84b911f70ffb3878032e1aabba23aa1032d url: "https://pub.dev" source: hosted version: "1.1.4" - media_kit_libs_windows_video: + media_kit_libs_video: dependency: "direct main" + description: + name: media_kit_libs_video + sha256: "3688e0c31482074578652bf038ce6301a5d21e1eda6b54fc3117ffeb4bdba067" + url: "https://pub.dev" + source: hosted + version: "1.0.4" + media_kit_libs_windows_video: + dependency: transitive description: name: media_kit_libs_windows_video sha256: "7bace5f35d9afcc7f9b5cdadb7541d2191a66bb3fc71bfa11c1395b3360f6122" @@ -775,7 +839,7 @@ packages: source: hosted version: "1.0.9" media_kit_native_event_loop: - dependency: "direct main" + dependency: transitive description: name: media_kit_native_event_loop sha256: a605cf185499d14d58935b8784955a92a4bf0ff4e19a23de3d17a9106303930e @@ -874,26 +938,26 @@ packages: dependency: "direct main" description: name: path_provider - sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa + sha256: b27217933eeeba8ff24845c34003b003b2b22151de3c908d0e679e8fe1aa078b url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: e595b98692943b4881b219f0a9e3945118d3c16bd7e2813f98ec6e532d905f72 + sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.2.2" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d" + sha256: "5a7999be66e000916500be4f15a3633ebceb8302719b47b9cc49ce924125350f" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.2" path_provider_linux: dependency: transitive description: @@ -906,10 +970,10 @@ packages: dependency: transitive description: name: path_provider_platform_interface - sha256: "94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c" + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" path_provider_windows: dependency: transitive description: @@ -922,34 +986,34 @@ packages: dependency: transitive description: name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 + sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 url: "https://pub.dev" source: hosted - version: "5.4.0" + version: "6.0.2" platform: dependency: transitive description: name: platform - sha256: "0a279f0707af40c890e80b1e9df8bb761694c074ba7e1d4ab1bc4b728e200b59" + sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted - version: "3.1.3" + version: "3.1.4" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8 + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted - version: "2.1.7" + version: "2.1.8" pointycastle: dependency: transitive description: name: pointycastle - sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c" + sha256: "43ac87de6e10afabc85c445745a7b799e04de84cebaa4fd7bf55a5e1e9604d29" url: "https://pub.dev" source: hosted - version: "3.7.3" + version: "3.7.4" pool: dependency: transitive description: @@ -1199,10 +1263,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60" + sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.0+1" term_glyph: dependency: transitive description: @@ -1223,10 +1287,10 @@ packages: dependency: transitive description: name: time - sha256: "83427e11d9072e038364a5e4da559e85869b227cf699a541be0da74f14140124" + sha256: ad8e018a6c9db36cb917a031853a1aae49467a93e0d464683e029537d848c221 url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" timing: dependency: transitive description: @@ -1247,10 +1311,10 @@ packages: dependency: transitive description: name: toml - sha256: "157c5dca5160fced243f3ce984117f729c788bb5e475504f3dbcda881accee44" + sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" url: "https://pub.dev" source: hosted - version: "0.14.0" + version: "0.15.0" tuple: dependency: transitive description: @@ -1295,26 +1359,26 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: e9aa5ea75c84cf46b3db4eea212523591211c3cf2e13099ee4ec147f54201c86 + sha256: d25bb0ca00432a5e1ee40e69c36c85863addf7cc45e433769d61bed3fe81fd96 url: "https://pub.dev" source: hosted - version: "6.2.2" + version: "6.2.3" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def" + sha256: "507dc655b1d9cb5ebc756032eb785f114e415f91557b73bf60b7e201dfedeb2f" url: "https://pub.dev" source: hosted - version: "6.2.0" + version: "6.2.2" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: bba3373219b7abb6b5e0d071b0fe66dfbe005d07517a68e38d4fc3638f35c6d3 + sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03" url: "https://pub.dev" source: hosted - version: "6.2.1" + version: "6.2.4" url_launcher_linux: dependency: transitive description: @@ -1335,18 +1399,18 @@ packages: dependency: transitive description: name: url_launcher_platform_interface - sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50" + sha256: a932c3a8082e118f80a475ce692fde89dc20fddb24c57360b96bc56f7035de1f url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.1" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "7286aec002c8feecc338cc33269e96b73955ab227456e9fb2a91f7fab8a358e9" + sha256: fff0932192afeedf63cdd50ecbb1bc825d31aed259f02bb8dba0f3b729a5e88b url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.2.3" url_launcher_windows: dependency: transitive description: @@ -1359,10 +1423,10 @@ packages: dependency: transitive description: name: uuid - sha256: "22c94e5ad1e75f9934b766b53c742572ee2677c56bc871d850a57dad0f82127f" + sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8 url: "https://pub.dev" source: hosted - version: "4.2.2" + version: "4.3.3" vector_math: dependency: transitive description: @@ -1371,14 +1435,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - visibility_detector: - dependency: "direct main" - description: - name: visibility_detector - sha256: dd5cc11e13494f432d15939c3aa8ae76844c42b723398643ce9addb88a5ed420 - url: "https://pub.dev" - source: hosted - version: "0.4.0+2" volume_controller: dependency: transitive description: @@ -1439,10 +1495,10 @@ packages: dependency: transitive description: name: win32 - sha256: b0f37db61ba2f2e9b7a78a1caece0052564d1bc70668156cf3a29d676fe4e574 + sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8" url: "https://pub.dev" source: hosted - version: "5.1.1" + version: "5.2.0" win32_registry: dependency: transitive description: @@ -1463,26 +1519,26 @@ packages: dependency: transitive description: name: xdg_directories - sha256: "589ada45ba9e39405c198fe34eb0f607cddb2108527e658136120892beac46d2" + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted - version: "1.0.3" + version: "1.0.4" xml: dependency: transitive description: name: xml - sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" + sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.5.0" xml2json: dependency: transitive description: name: xml2json - sha256: ffb6dc0132a59b2d10d1716aea34ff53fb0e5b73f46a347d302a1a993ea57675 + sha256: d97aed12d54193611c442c268155398f4170b52cfc0058aabbd79160c9c8eefb url: "https://pub.dev" source: hosted - version: "6.2.1" + version: "6.2.2" xpath_selector: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 96dea4aa..ffcfe679 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: flutter_animate: ^4.1.1+1 flutter_code_editor: ^0.3.0 flutter_highlight: ^0.7.0 - flutter_i18n: ^0.34.0 + flutter_i18n: ^0.35.0 flutter_js: ^0.8.0 flutter_markdown: ^0.6.17+1 get: ^4.6.5 @@ -28,13 +28,9 @@ dependencies: isar: ^3.1.0+1 isar_flutter_libs: ^3.1.0+1 json_annotation: ^4.8.1 - media_kit: ^1.1.8+2 - media_kit_libs_android_video: ^1.3.5 - media_kit_libs_linux: ^1.1.3 - media_kit_libs_macos_video: ^1.1.4 - media_kit_libs_windows_video: ^1.0.9 - media_kit_native_event_loop: ^1.0.8 - media_kit_video: ^1.2.1 + media_kit: ^1.1.10+1 + media_kit_video: ^1.2.4 + media_kit_libs_video: ^1.0.4 package_info_plus: ^5.0.1 palette_generator: ^0.3.3+2 path: ^1.8.3 @@ -46,14 +42,12 @@ dependencies: url_launcher: ^6.1.11 window_manager: ^0.3.7 cookie_jar: ^4.0.8 - flutter_inappwebview: ^5.8.0 + flutter_inappwebview: ^6.0.0 flutter_windows_webview: git: url: https://github.com/MiaoMint/flutter_windows_webview ref: master webview_cookie_manager: ^2.0.6 - visibility_detector: ^0.4.0+2 - http_parser: ^4.0.2 html: ^0.15.4 xpath_selector_html_parser: ^3.0.1 device_info_plus: ^9.0.3