From ce796c61a57e6ec965771723e3bae9c79bcf0319 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Wed, 20 Nov 2024 07:31:25 +0100 Subject: [PATCH] chore: `intl` package is not required, the API doesn't require `_dateFormatter` --- lib/api.dart | 2 -- pubspec.lock | 16 ---------------- pubspec.yaml | 1 - 3 files changed, 19 deletions(-) diff --git a/lib/api.dart b/lib/api.dart index 5dc8669..6dc4e99 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -11,7 +11,6 @@ import 'dart:math' as math; import 'package:archive/archive.dart'; import 'package:csv/csv.dart'; import 'package:http/http.dart'; -import 'package:intl/intl.dart'; import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; @@ -171,7 +170,6 @@ part 'client/retry.dart'; const _delimiters = {'csv': ',', 'ssv': ' ', 'tsv': '\t', 'pipes': '|'}; const _dateEpochMarker = 'epoch'; -final _dateFormatter = DateFormat('yyyy-MM-dd'); final _regList = RegExp(r'^List<(.*)>$'); final _regSet = RegExp(r'^Set<(.*)>$'); final _regMap = RegExp(r'^Map$'); diff --git a/pubspec.lock b/pubspec.lock index 43c1004..e58805e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -129,14 +129,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.3" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" code_builder: dependency: transitive description: @@ -273,14 +265,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - intl: - dependency: "direct main" - description: - name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" - url: "https://pub.dev" - source: hosted - version: "0.18.1" io: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 59c8bf0..41ee157 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,6 @@ dependencies: http: ">=0.13.0 <2.0.0" csv: ">=4.1.0 <7.0.0" universal_io: ^2.0.4 - intl: ">=0.17.0 <0.19.0" meta: ^1.1.8 dev_dependencies: