Skip to content

Commit 2ad1f1a

Browse files
authored
refactor(dart_frog): update to Dart 3 and Very Good Analysis 5 (#685)
1 parent da2bda4 commit 2ad1f1a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.4.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.5.0.0.yaml

packages/dart_frog/lib/src/request_logger.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ part of '_internal.dart';
1111
///
1212
/// If [logger] is not passed, the message is just passed to [print].
1313
Middleware requestLogger({
14+
// ignore: avoid_positional_boolean_parameters
1415
void Function(String message, bool isError)? logger,
1516
}) {
1617
return fromShelfMiddleware(shelf.logRequests(logger: logger));

packages/dart_frog/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ issue_tracker: https://github.com/VeryGoodOpenSource/dart_frog/issues
77
documentation: https://dartfrog.vgv.dev/docs/overview
88

99
environment:
10-
sdk: ">=2.19.0 <3.0.0"
10+
sdk: ">=3.0.0 <4.0.0"
1111

1212
dependencies:
1313
http_methods: ^1.1.0
@@ -19,11 +19,11 @@ dependencies:
1919
shelf_static: ^1.1.1
2020

2121
dev_dependencies:
22-
http: ^0.13.4
22+
http: ^1.0.0
2323
mocktail: ^0.3.0
2424
path: ^1.8.2
2525
test: ^1.19.2
26-
very_good_analysis: ^4.0.0
26+
very_good_analysis: ^5.0.0
2727

2828
false_secrets:
2929
- test/src/serve_test.dart

0 commit comments

Comments
 (0)