From d966f5be868e71ea549feb8d08b08670518079cf Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Tue, 20 Aug 2024 22:37:58 -0500 Subject: [PATCH] chore(mason_api): tighten deps --- .../lib/src/models/brick_search_result.g.dart | 2 +- packages/mason_api/pubspec.yaml | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/mason_api/lib/src/models/brick_search_result.g.dart b/packages/mason_api/lib/src/models/brick_search_result.g.dart index 005ae7779..e32815f8a 100644 --- a/packages/mason_api/lib/src/models/brick_search_result.g.dart +++ b/packages/mason_api/lib/src/models/brick_search_result.g.dart @@ -20,7 +20,7 @@ BrickSearchResult _$BrickSearchResultFromJson(Map json) => version: $checkedConvert('version', (v) => v as String), createdAt: $checkedConvert('created_at', (v) => DateTime.parse(v as String)), - downloads: $checkedConvert('downloads', (v) => v as int), + downloads: $checkedConvert('downloads', (v) => (v as num).toInt()), ); return val; }, diff --git a/packages/mason_api/pubspec.yaml b/packages/mason_api/pubspec.yaml index 38380f123..479e12425 100644 --- a/packages/mason_api/pubspec.yaml +++ b/packages/mason_api/pubspec.yaml @@ -9,18 +9,18 @@ topics: [mason, template, generator] funding: [https://github.com/sponsors/felangel] environment: - sdk: ">=2.19.0 <4.0.0" + sdk: ">=3.5.0 <4.0.0" dependencies: - cli_util: ^0.4.0 - http: '>=0.13.3 <2.0.0' - json_annotation: ^4.4.0 - meta: ^1.7.0 - path: ^1.8.1 - platform: ^3.1.0 + cli_util: ^0.4.1 + http: ^1.2.2 + json_annotation: ^4.9.0 + meta: ^1.15.0 + path: ^1.9.0 + platform: ^3.1.5 dev_dependencies: - build_runner: ^2.0.0 - json_serializable: ^6.1.4 - mocktail: ^1.0.0 - test: ^1.19.0 + build_runner: ^2.4.12 + json_serializable: ^6.8.0 + mocktail: ^1.0.4 + test: ^1.25.8