diff --git a/pkgs/cronet_http/example/pubspec.yaml b/pkgs/cronet_http/example/pubspec.yaml index 122e2833a3..5d94a3944e 100644 --- a/pkgs/cronet_http/example/pubspec.yaml +++ b/pkgs/cronet_http/example/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: provider: ^6.1.1 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 flutter_test: sdk: flutter http_client_conformance_tests: diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 49fefbaf23..77a992f3b5 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: jni: ^0.9.2 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 jnigen: ^0.9.2 xml: ^6.1.0 yaml_edit: ^2.0.3 diff --git a/pkgs/cupertino_http/example/pubspec.yaml b/pkgs/cupertino_http/example/pubspec.yaml index ba79752e48..a57f39fd05 100644 --- a/pkgs/cupertino_http/example/pubspec.yaml +++ b/pkgs/cupertino_http/example/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: dev_dependencies: convert: ^3.1.1 crypto: ^3.0.3 - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 ffi: ^2.0.1 flutter_test: sdk: flutter diff --git a/pkgs/cupertino_http/lib/src/cupertino_web_socket.dart b/pkgs/cupertino_http/lib/src/cupertino_web_socket.dart index 43095ff68f..9884ffe237 100644 --- a/pkgs/cupertino_http/lib/src/cupertino_web_socket.dart +++ b/pkgs/cupertino_http/lib/src/cupertino_web_socket.dart @@ -166,7 +166,7 @@ class CupertinoWebSocket implements WebSocket { } _task .sendMessage(URLSessionWebSocketMessage.fromData(Data.fromList(b))) - .then((_) => _, onError: _closeConnectionWithError); + .then((value) => value, onError: _closeConnectionWithError); } @override @@ -176,7 +176,7 @@ class CupertinoWebSocket implements WebSocket { } _task .sendMessage(URLSessionWebSocketMessage.fromString(s)) - .then((_) => _, onError: _closeConnectionWithError); + .then((value) => value, onError: _closeConnectionWithError); } @override diff --git a/pkgs/cupertino_http/pubspec.yaml b/pkgs/cupertino_http/pubspec.yaml index 44a1d9754f..e34117dc29 100644 --- a/pkgs/cupertino_http/pubspec.yaml +++ b/pkgs/cupertino_http/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: web_socket: ^0.1.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 ffigen: ^11.0.0 flutter: diff --git a/pkgs/flutter_http_example/pubspec.yaml b/pkgs/flutter_http_example/pubspec.yaml index 7d0f0892ce..b3b3ef50f7 100644 --- a/pkgs/flutter_http_example/pubspec.yaml +++ b/pkgs/flutter_http_example/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: provider: ^6.0.5 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 flutter_test: sdk: flutter integration_test: diff --git a/pkgs/http/lib/testing.dart b/pkgs/http/lib/testing.dart index 07b5381d6e..4ff7bf862e 100644 --- a/pkgs/http/lib/testing.dart +++ b/pkgs/http/lib/testing.dart @@ -22,7 +22,7 @@ /// 200, /// headers: {'content-type': 'application/json'}); /// }); -library http.testing; +library; import 'src/mock_client.dart'; diff --git a/pkgs/http/pubspec.yaml b/pkgs/http/pubspec.yaml index b133164d81..52352be343 100644 --- a/pkgs/http/pubspec.yaml +++ b/pkgs/http/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: web: ^0.5.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 fake_async: ^1.2.0 http_client_conformance_tests: path: ../http_client_conformance_tests/ diff --git a/pkgs/http_client_conformance_tests/pubspec.yaml b/pkgs/http_client_conformance_tests/pubspec.yaml index f904b2d0b3..c3861ffc15 100644 --- a/pkgs/http_client_conformance_tests/pubspec.yaml +++ b/pkgs/http_client_conformance_tests/pubspec.yaml @@ -17,4 +17,4 @@ dependencies: test: ^1.21.2 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 diff --git a/pkgs/java_http/pubspec.yaml b/pkgs/java_http/pubspec.yaml index c04429a993..129bc08e47 100644 --- a/pkgs/java_http/pubspec.yaml +++ b/pkgs/java_http/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: path: ^1.8.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 http_client_conformance_tests: path: ../http_client_conformance_tests/ jnigen: ^0.5.0 diff --git a/pkgs/ok_http/pubspec.yaml b/pkgs/ok_http/pubspec.yaml index 2ea7a6a665..68ff974261 100644 --- a/pkgs/ok_http/pubspec.yaml +++ b/pkgs/ok_http/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: plugin_platform_interface: ^2.0.2 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 jnigen: ^0.9.1 flutter: diff --git a/pkgs/web_socket/pubspec.yaml b/pkgs/web_socket/pubspec.yaml index fdc7a7821c..cd7cf31fd9 100644 --- a/pkgs/web_socket/pubspec.yaml +++ b/pkgs/web_socket/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ^3.3.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 test: ^1.24.0 web_socket_conformance_tests: path: ../web_socket_conformance_tests/ diff --git a/pkgs/web_socket_conformance_tests/pubspec.yaml b/pkgs/web_socket_conformance_tests/pubspec.yaml index 2c7ffda0c2..84329c461e 100644 --- a/pkgs/web_socket_conformance_tests/pubspec.yaml +++ b/pkgs/web_socket_conformance_tests/pubspec.yaml @@ -18,4 +18,4 @@ dependencies: web_socket: ^0.1.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0