From b7f9115b989ba8003bb6d322077aef1bc88578ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 08:44:11 +0000 Subject: [PATCH] Bump lints from 2.1.1 to 3.0.0 (#675) --- lib/grpc_connection_interface.dart | 1 + pubspec.yaml | 2 +- test/src/server_utils.dart | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/grpc_connection_interface.dart b/lib/grpc_connection_interface.dart index 37bf3d6..c0e3176 100644 --- a/lib/grpc_connection_interface.dart +++ b/lib/grpc_connection_interface.dart @@ -15,6 +15,7 @@ /// Exports an interface suitable for defining an alternate implementation of /// [ClientChannel]. +library; export 'src/client/call.dart' show CallOptions, ClientCall; export 'src/client/channel.dart' show ClientChannelBase; diff --git a/pubspec.yaml b/pubspec.yaml index 1154abf..d6e7ad4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.0 build_test: ^2.0.0 - lints: ^2.0.0 + lints: ">=2.0.0 <4.0.0" mockito: ^5.0.0 path: ^1.8.0 test: ^1.16.0 diff --git a/test/src/server_utils.dart b/test/src/server_utils.dart index 24a9410..8f4a1d5 100644 --- a/test/src/server_utils.dart +++ b/test/src/server_utils.dart @@ -122,7 +122,7 @@ class ServerHarness extends _Harness { @override ConnectionServer createServer() => Server.create( services: [service], - interceptors: [interceptor], + interceptors: [interceptor.call], ); static ServiceMethod createMethod(String name, @@ -136,7 +136,7 @@ class ConnectionServerHarness extends _Harness { @override ConnectionServer createServer() => ConnectionServer( [service], - [interceptor], + [interceptor.call], ); static ServiceMethod createMethod(