From 0da1805e6dc002261bbf671847e0d3d0be4716ed Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 6 Oct 2023 10:37:08 +0200 Subject: [PATCH] refactor(deps): Pin dependency versions to the lowest possible versions Signed-off-by: jld3103 --- packages/app/pubspec.lock | 2 +- packages/app/pubspec.yaml | 7 +- packages/dynamite/dynamite/pubspec.yaml | 20 +++--- .../dynamite/dynamite_runtime/pubspec.yaml | 8 +-- packages/file_icons/pubspec.yaml | 2 +- packages/neon/neon/pubspec.yaml | 66 +++++++++---------- packages/neon/neon_files/pubspec.yaml | 26 ++++---- packages/neon/neon_news/pubspec.yaml | 18 ++--- packages/neon/neon_notes/pubspec.yaml | 20 +++--- packages/neon/neon_notifications/pubspec.yaml | 8 +-- packages/nextcloud/pubspec.yaml | 24 +++---- 11 files changed, 101 insertions(+), 100 deletions(-) diff --git a/packages/app/pubspec.lock b/packages/app/pubspec.lock index bdd877c6..cfb3d441 100644 --- a/packages/app/pubspec.lock +++ b/packages/app/pubspec.lock @@ -1248,7 +1248,7 @@ packages: source: hosted version: "1.1.7" vector_graphics_compiler: - dependency: transitive + dependency: "direct dev" description: name: vector_graphics_compiler sha256: "80a13c613c8bde758b1464a1755a7b3a8f2b6cec61fbf0f5a53c94c30f03ba2e" diff --git a/packages/app/pubspec.yaml b/packages/app/pubspec.yaml index 145b1975..c9d133a5 100644 --- a/packages/app/pubspec.yaml +++ b/packages/app/pubspec.yaml @@ -29,10 +29,10 @@ dependencies: git: url: https://github.com/nextcloud/neon path: packages/neon/neon_notifications - vector_graphics: ^1.1.7 + vector_graphics: any dev_dependencies: - flutter_material_design_icons: ^1.1.7296 + flutter_material_design_icons: any flutter_test: sdk: flutter integration_test: @@ -41,7 +41,8 @@ dev_dependencies: git: url: https://github.com/nextcloud/neon path: packages/neon_lints - shared_preferences: ^2.2.1 + shared_preferences: any + vector_graphics_compiler: any flutter: uses-material-design: true diff --git a/packages/dynamite/dynamite/pubspec.yaml b/packages/dynamite/dynamite/pubspec.yaml index 3efdd0a3..00f04fee 100644 --- a/packages/dynamite/dynamite/pubspec.yaml +++ b/packages/dynamite/dynamite/pubspec.yaml @@ -5,17 +5,17 @@ environment: sdk: '>=3.1.0 <4.0.0' dependencies: - build: ^2.4.1 - built_collection: ^5.1.1 - built_value: ^8.6.3 - checked_yaml: ^2.0.3 - code_builder: ^4.7.0 - collection: ^1.17.2 - dart_style: ^2.3.2 + build: ^2.0.0 + built_collection: ^5.0.0 + built_value: ^8.0.1 + checked_yaml: ^2.0.0 + code_builder: ^4.5.0 + collection: ^1.0.0 + dart_style: ^2.0.0 intersperse: ^2.0.0 - meta: ^1.9.1 - path: ^1.8.3 - version: ^3.0.2 + meta: ^1.0.0 + path: ^1.0.0 + version: ^3.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/dynamite/dynamite_runtime/pubspec.yaml b/packages/dynamite/dynamite_runtime/pubspec.yaml index c70999df..058dfffb 100644 --- a/packages/dynamite/dynamite_runtime/pubspec.yaml +++ b/packages/dynamite/dynamite_runtime/pubspec.yaml @@ -6,10 +6,10 @@ environment: sdk: '>=3.1.0 <4.0.0' dependencies: - built_value: ^8.6.3 - cookie_jar: ^4.0.8 - meta: ^1.9.1 - universal_io: ^2.2.2 + built_value: ^8.0.1 + cookie_jar: ^4.0.0 + meta: ^1.0.0 + universal_io: ^2.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/file_icons/pubspec.yaml b/packages/file_icons/pubspec.yaml index 38ba76c7..b3ec7e44 100644 --- a/packages/file_icons/pubspec.yaml +++ b/packages/file_icons/pubspec.yaml @@ -8,7 +8,7 @@ environment: dependencies: flutter: sdk: flutter - path: ^1.8.3 + path: ^1.0.0 dev_dependencies: neon_lints: diff --git a/packages/neon/neon/pubspec.yaml b/packages/neon/neon/pubspec.yaml index fcb456c7..044dba5c 100644 --- a/packages/neon/neon/pubspec.yaml +++ b/packages/neon/neon/pubspec.yaml @@ -7,54 +7,54 @@ environment: flutter: '>=3.13.0' dependencies: - collection: ^1.17.1 - crypto: ^3.0.3 - file_picker: ^5.5.0 - filesize: ^2.0.1 + collection: ^1.0.0 + crypto: ^3.0.0 + file_picker: ^5.0.0 + filesize: ^2.0.0 flutter: sdk: flutter - flutter_cache_manager: ^3.3.1 - flutter_file_dialog: ^3.0.2 - flutter_local_notifications: ^16.0.0+1 + flutter_cache_manager: ^3.0.0 + flutter_file_dialog: ^3.0.0 + flutter_local_notifications: ^16.0.0 flutter_localizations: sdk: flutter - flutter_material_design_icons: ^1.1.7296 - flutter_native_splash: ^2.3.3 - flutter_svg: ^2.0.7 - flutter_zxing: ^1.4.1 - go_router: ^11.1.2 - http: ^1.1.0 - image: ^4.1.3 + flutter_material_design_icons: ^1.0.0 + flutter_native_splash: ^2.0.0 + flutter_svg: ^2.0.0 + flutter_zxing: ^1.0.0 + go_router: ^11.0.0 + http: ^1.0.0 + image: ^4.0.0 intersperse: ^2.0.0 - intl: ^0.18.1 - json_annotation: ^4.8.1 - meta: ^1.9.1 + intl: ^0.18.0 + json_annotation: ^4.0.0 + meta: ^1.0.0 nextcloud: git: url: https://github.com/nextcloud/neon path: packages/nextcloud - package_info_plus: ^4.1.0 - path: ^1.8.3 - path_provider: ^2.1.1 - permission_handler: ^11.0.1 - provider: ^6.0.5 - quick_actions: ^1.0.6 - rxdart: ^0.27.7 - scrollable_positioned_list: ^0.3.8 + package_info_plus: ^4.0.0 + path: ^1.0.0 + path_provider: ^2.1.0 + permission_handler: ^11.0.0 + provider: ^6.0.0 + quick_actions: ^1.0.0 + rxdart: ^0.27.4 + scrollable_positioned_list: ^0.3.0 shared_preferences: ^2.2.1 sort_box: git: url: https://github.com/nextcloud/neon path: packages/sort_box - sqflite: ^2.3.0 - sqflite_common_ffi: ^2.3.0+2 + sqflite: ^2.0.0 + sqflite_common_ffi: ^2.2.8-2 tray_manager: ^0.2.0 - unifiedpush: ^5.0.1 - unifiedpush_android: ^2.2.0 - url_launcher: ^6.1.14 - vector_graphics: ^1.1.7 - window_manager: ^0.3.6 - xml: ^6.3.0 + unifiedpush: ^5.0.0 + unifiedpush_android: ^2.0.0 + url_launcher: ^6.1.0 + vector_graphics: ^1.0.0 + window_manager: ^0.3.0 + xml: ^6.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/neon/neon_files/pubspec.yaml b/packages/neon/neon_files/pubspec.yaml index 44ed8c5d..3f1c3ab8 100644 --- a/packages/neon/neon_files/pubspec.yaml +++ b/packages/neon/neon_files/pubspec.yaml @@ -7,31 +7,31 @@ environment: flutter: '>=3.13.0' dependencies: - collection: ^1.17.0 + collection: ^1.0.0 file_icons: git: url: https://github.com/nextcloud/neon path: packages/file_icons - file_picker: ^5.5.0 - filesize: ^2.0.1 + file_picker: ^5.0.0 + filesize: ^2.0.0 flutter: sdk: flutter flutter_localizations: sdk: flutter - flutter_material_design_icons: ^1.1.7296 - go_router: ^11.1.2 - image_picker: ^1.0.4 - intl: ^0.18.1 + flutter_material_design_icons: ^1.0.0 + go_router: ^11.0.0 + image_picker: ^1.0.0 + intl: ^0.18.0 neon: git: url: https://github.com/nextcloud/neon path: packages/neon/neon - open_file: ^3.3.2 - path: ^1.8.3 - path_provider: ^2.1.1 - queue: ^3.1.0+2 - rxdart: ^0.27.7 - share_plus: ^7.1.0 + open_file: ^3.0.0 + path: ^1.0.0 + path_provider: ^2.0.0 + queue: ^3.0.0 + rxdart: ^0.27.0 + share_plus: ^7.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/neon/neon_news/pubspec.yaml b/packages/neon/neon_news/pubspec.yaml index 198fd1f1..a8c7e151 100644 --- a/packages/neon/neon_news/pubspec.yaml +++ b/packages/neon/neon_news/pubspec.yaml @@ -12,19 +12,19 @@ dependencies: flutter_html: ^3.0.0-beta.2 flutter_localizations: sdk: flutter - flutter_material_design_icons: ^1.1.7296 - go_router: ^11.1.2 - html: ^0.15.4 - intl: ^0.18.1 + flutter_material_design_icons: ^1.0.0 + go_router: ^11.0.0 + html: ^0.15.0 + intl: ^0.18.0 neon: git: url: https://github.com/nextcloud/neon path: packages/neon/neon - rxdart: ^0.27.7 - share_plus: ^7.1.0 - url_launcher: ^6.1.14 - wakelock_plus: ^1.1.1 - webview_flutter: ^4.4.1 + rxdart: ^0.27.0 + share_plus: ^7.0.0 + url_launcher: ^6.0.0 + wakelock_plus: ^1.0.0 + webview_flutter: ^4.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/neon/neon_notes/pubspec.yaml b/packages/neon/neon_notes/pubspec.yaml index 32f86050..0c8dd1b7 100644 --- a/packages/neon/neon_notes/pubspec.yaml +++ b/packages/neon/neon_notes/pubspec.yaml @@ -7,24 +7,24 @@ environment: flutter: '>=3.13.0' dependencies: - built_collection: ^5.1.1 - crypto: ^3.0.3 + built_collection: ^5.0.0 + crypto: ^3.0.0 flutter: sdk: flutter flutter_localizations: sdk: flutter - flutter_markdown: ^0.6.18 - flutter_material_design_icons: ^1.1.7296 - go_router: ^11.1.2 - intl: ^0.18.1 + flutter_markdown: ^0.6.0 + flutter_material_design_icons: ^1.0.0 + go_router: ^11.0.0 + intl: ^0.18.0 neon: git: url: https://github.com/nextcloud/neon path: packages/neon/neon - queue: ^3.1.0+2 - rxdart: ^0.27.7 - url_launcher: ^6.1.14 - wakelock_plus: ^1.1.1 + queue: ^3.0.0 + rxdart: ^0.27.0 + url_launcher: ^6.0.0 + wakelock_plus: ^1.0.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/neon/neon_notifications/pubspec.yaml b/packages/neon/neon_notifications/pubspec.yaml index 70523a2e..9a61810c 100644 --- a/packages/neon/neon_notifications/pubspec.yaml +++ b/packages/neon/neon_notifications/pubspec.yaml @@ -11,14 +11,14 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter - flutter_material_design_icons: ^1.1.7296 - go_router: ^11.1.2 - intl: ^0.18.1 + flutter_material_design_icons: ^1.0.0 + go_router: ^11.0.0 + intl: ^0.18.0 neon: git: url: https://github.com/nextcloud/neon path: packages/neon/neon - rxdart: ^0.27.7 + rxdart: ^0.27.0 dev_dependencies: build_runner: ^2.4.6 diff --git a/packages/nextcloud/pubspec.yaml b/packages/nextcloud/pubspec.yaml index cda93cac..422e011a 100644 --- a/packages/nextcloud/pubspec.yaml +++ b/packages/nextcloud/pubspec.yaml @@ -6,22 +6,22 @@ environment: sdk: '>=3.1.0 <4.0.0' dependencies: - built_collection: ^5.1.1 - built_value: ^8.6.3 - collection: ^1.17.1 - crypto: ^3.0.3 - crypton: ^2.2.0 + built_collection: ^5.0.0 + built_value: ^8.0.0 + collection: ^1.0.0 + crypto: ^3.0.0 + crypton: ^2.0.0 dynamite_runtime: git: url: https://github.com/nextcloud/neon path: packages/dynamite/dynamite_runtime - intl: ^0.18.1 - json_annotation: ^4.8.1 - meta: ^1.9.1 - universal_io: ^2.2.2 - version: ^3.0.2 - xml: ^6.3.0 - xml_annotation: ^2.2.0 + intl: ^0.18.0 + json_annotation: ^4.0.0 + meta: ^1.0.0 + universal_io: ^2.0.0 + version: ^3.0.0 + xml: ^6.0.0 + xml_annotation: ^2.1.0 dev_dependencies: build_runner: ^2.4.6