From 2c9bac375229cf40f2fe5f15273eff76e87f1b58 Mon Sep 17 00:00:00 2001 From: Maximilian Riegler Date: Mon, 18 Sep 2023 13:02:01 +0200 Subject: [PATCH] upgrade dependencies --- analysis_options.yaml | 4 ++-- lib/spotify.dart | 1 - lib/src/models/_models.g.dart | 2 +- pubspec.yaml | 16 ++++++++-------- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 1acfa249..c3331f7a 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,10 +1,10 @@ -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml analyzer: # exclude: # - path/to/excluded/files/** -# Lint rules and documentation, see http://dart-lang.github.io/linter/lints +# Lint rules and documentation, see https://dart.dev/tools/linter-rules linter: rules: - cancel_subscriptions diff --git a/lib/spotify.dart b/lib/spotify.dart index ac862f47..b91542ff 100644 --- a/lib/spotify.dart +++ b/lib/spotify.dart @@ -9,7 +9,6 @@ import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:oauth2/oauth2.dart' as oauth2; -import 'package:pedantic/pedantic.dart'; import 'package:spotify/spotify.dart'; import 'src/models/_models.dart'; diff --git a/lib/src/models/_models.g.dart b/lib/src/models/_models.g.dart index 48dd4740..3ed040ad 100644 --- a/lib/src/models/_models.g.dart +++ b/lib/src/models/_models.g.dart @@ -1,6 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -part of spotify.models; +part of '_models.dart'; // ************************************************************************** // JsonSerializableGenerator diff --git a/pubspec.yaml b/pubspec.yaml index 6ef9beef..237e14bd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,18 +1,18 @@ name: spotify description: An incomplete dart library for interfacing with the Spotify Web API. -version: 0.11.0 +version: 0.12.0 homepage: https://github.com/rinukkusu/spotify-dart environment: - sdk: '>=2.18.0 <3.0.0' + sdk: '>=2.18.0 <4.0.0' dependencies: - http: ^0.13.3 - json_annotation: ^4.8.0 + http: ^1.1.0 + json_annotation: ^4.8.1 oauth2: ^2.0.0 - pedantic: ^1.11.0 dev_dependencies: - test: ^1.16.5 - build_runner: ^2.0.3 - json_serializable: ">=4.1.1 <7.0.0" + lints: ^2.1.1 + test: ^1.24.6 + build_runner: ^2.4.6 + json_serializable: ">=6.7.1 <7.0.0"