From a5203b071c99f719fac45efc5d0385052e499c13 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Thu, 6 Jan 2022 16:16:23 +1100 Subject: [PATCH] `linting_tool`: Fix warnings and update dependencies (#981) --- .../linting_tool/lib/theme/app_theme.dart | 2 -- experimental/linting_tool/pubspec.lock | 25 ++++++++++++------- experimental/linting_tool/pubspec.yaml | 10 ++++---- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/experimental/linting_tool/lib/theme/app_theme.dart b/experimental/linting_tool/lib/theme/app_theme.dart index 9e9c51383..0253e2e30 100644 --- a/experimental/linting_tool/lib/theme/app_theme.dart +++ b/experimental/linting_tool/lib/theme/app_theme.dart @@ -82,9 +82,7 @@ class AppTheme { ), colorScheme: const ColorScheme.dark( primary: AppColors.blue200, - primaryVariant: AppColors.blue300, secondary: AppColors.orange300, - secondaryVariant: AppColors.orange300, surface: AppColors.black800, error: AppColors.red200, onPrimary: AppColors.black900, diff --git a/experimental/linting_tool/pubspec.lock b/experimental/linting_tool/pubspec.lock index bd7d70875..fd012713b 100644 --- a/experimental/linting_tool/pubspec.lock +++ b/experimental/linting_tool/pubspec.lock @@ -7,21 +7,21 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "22.0.0" + version: "31.0.0" adaptive_breakpoints: dependency: "direct main" description: name: adaptive_breakpoints url: "https://pub.dartlang.org" source: hosted - version: "0.0.5" + version: "0.1.1" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "1.7.2" + version: "2.8.0" args: dependency: transitive description: @@ -386,21 +386,21 @@ packages: name: json2yaml url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "3.0.0" json_annotation: dependency: "direct main" description: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.4.0" json_serializable: dependency: "direct dev" description: name: json_serializable url: "https://pub.dartlang.org" source: hosted - version: "4.1.4" + version: "6.1.3" lints: dependency: transitive description: @@ -429,6 +429,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.2" meta: dependency: transitive description: @@ -561,7 +568,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "6.0.2" pub_semver: dependency: transitive description: @@ -657,7 +664,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.8" timing: dependency: transitive description: @@ -780,5 +787,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.14.0 <3.0.0" + dart: ">=2.15.0 <3.0.0" flutter: ">=2.5.0" diff --git a/experimental/linting_tool/pubspec.yaml b/experimental/linting_tool/pubspec.yaml index a960a125e..45975c248 100644 --- a/experimental/linting_tool/pubspec.yaml +++ b/experimental/linting_tool/pubspec.yaml @@ -6,12 +6,12 @@ version: 1.0.0+1 publish_to: 'none' environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.15.0 <3.0.0" dependencies: flutter: sdk: flutter - adaptive_breakpoints: ^0.0.4 + adaptive_breakpoints: ^0.1.1 cupertino_icons: ^1.0.2 equatable: ^2.0.3 file_selector: ^0.8.2 @@ -24,10 +24,10 @@ dependencies: hive: ^2.0.4 hive_flutter: ^1.1.0 http: ^0.13.3 - json2yaml: ^2.0.0 + json2yaml: ^3.0.0 json_annotation: ^4.0.1 mockito: ^5.0.13 - provider: ^5.0.0 + provider: ^6.0.2 yaml: ^3.1.0 context_menus: ^0.1.0+5 window_size: @@ -42,7 +42,7 @@ dev_dependencies: build_runner: ^2.0.6 flutter_lints: ^1.0.3 hive_generator: ^1.1.0 - json_serializable: ^4.1.4 + json_serializable: ^6.1.3 flutter: uses-material-design: true