Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(): Update dev dependencies #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/pubspec_updater.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ class Updater {
}

Future<String> getLatestVersion(String name) async {
final Response response =
await get('https://pub.dartlang.org/api/packages/$name');
final url = Uri.https('pub.dartlang.org', '/api/packages/$name');
final Response response = await get(url);
final dynamic json = jsonDecode(response.body);

return json['latest']['version'];
Expand Down
48 changes: 24 additions & 24 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.2"
version: "2.3.1"
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.0"
charcode:
version: "2.9.0"
characters:
dependency: transitive
description:
name: charcode
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
version: "1.2.1"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
version: "1.16.0"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -40,35 +40,35 @@ packages:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.0+4"
version: "0.13.5"
http_parser:
dependency: transitive
description:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.3"
meta:
version: "4.0.2"
material_color_utilities:
dependency: transitive
description:
name: meta
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
path:
version: "0.1.5"
meta:
dependency: transitive
description:
name: path
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.4"
pedantic:
version: "1.8.0"
path:
dependency: transitive
description:
name: pedantic
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.0"
version: "1.8.2"
sky_engine:
dependency: transitive
description: flutter
Expand All @@ -80,41 +80,41 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.5"
version: "1.9.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
version: "1.1.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.2.1"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.3.1"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.2"
yaml:
dependency: "direct dev"
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "3.1.1"
sdks:
dart: ">=2.4.0 <3.0.0"
dart: ">=2.17.0-0 <3.0.0"
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ dependencies:
sdk: flutter

dev_dependencies:
http: ^0.12.0+4
yaml: ^2.2.0
args: ^1.5.2
http: ^0.13.5
yaml: ^3.1.1
args: ^2.3.1

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down