Skip to content

Commit 5fef57d

Browse files
NikaHsnkhatruong2009
authored andcommitted
chore(deps): Bump lints and flutter_lints version (#4051)
1 parent f78db6a commit 5fef57d

23 files changed

+38
-51
lines changed

packages/amplify_core/lib/src/category/amplify_analytics_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
class AnalyticsCategory extends AmplifyCategory<AnalyticsPluginInterface> {
77
@override

packages/amplify_core/lib/src/category/amplify_api_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
class APICategory extends AmplifyCategory<APIPluginInterface> {
77
@override

packages/amplify_core/lib/src/category/amplify_datastore_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
/// Interface for DataStore category. This expose all the APIs that
77
/// are supported by this category's plugins. This class will accept plugins to

packages/amplify_core/lib/src/category/amplify_notifications_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
/// {@template amplify_core.amplify_notifications_category}
77
/// Top-Level Category for Notifications.

packages/amplify_core/lib/src/category/amplify_push_notifications_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
class PushNotificationsCategory
77
extends AmplifyCategory<PushNotificationsPluginInterface> {

packages/amplify_core/lib/src/category/amplify_storage_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
part of amplify_interface;
4+
part of 'amplify_categories.dart';
55

66
/// {@template amplify_core.amplify_storage_category}
77
/// The Amplify Storage category provides an interface for interacting with

packages/amplify_core/lib/src/types/analytics/analytics_types.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
/// Exception Types.
4+
// Exception Types.
55
export '../exception/amplify_exception.dart'
66
show
77
AnalyticsException,
88
InvalidEventException,
99
NetworkException,
1010
UnknownException;
11-
12-
/// API Types.
11+
// API Types.
1312
export 'analytics/analytics_event.dart';
1413
export 'analytics/custom_properties.dart';
1514
export 'analytics/user_profile.dart';

packages/amplify_core/lib/src/types/auth/auth_types.dart

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
/// Exceptions
4+
// Exceptions
55
export '../exception/amplify_exception.dart'
66
show
77
AuthException,
@@ -14,8 +14,7 @@ export '../exception/amplify_exception.dart'
1414
AuthValidationException,
1515
NetworkException,
1616
UnknownException;
17-
18-
/// Attributes
17+
// Attributes
1918
export 'attribute/auth_next_update_attribute_step.dart';
2019
export 'attribute/auth_update_attribute_step.dart';
2120
export 'attribute/auth_user_attribute.dart';
@@ -29,52 +28,44 @@ export 'attribute/send_user_attribute_verification_code_result.dart';
2928
export 'attribute/update_user_attribute_options.dart';
3029
export 'attribute/update_user_attribute_result.dart';
3130
export 'attribute/update_user_attributes_options.dart';
32-
33-
/// Common
31+
// Common
3432
export 'auth_code_delivery_details.dart';
3533
export 'auth_device.dart';
3634
export 'auth_next_step.dart';
37-
38-
/// Hub
35+
// Hub
3936
export 'hub/auth_hub_event.dart';
40-
41-
/// MFA
37+
// MFA
4238
export 'mfa/mfa_preference.dart';
4339
export 'mfa/totp_setup_details.dart';
4440
export 'mfa/totp_setup_options.dart';
4541
export 'mfa/user_mfa_preference.dart';
4642
export 'mfa/verify_totp_setup_options.dart';
47-
48-
/// Password
43+
// Password
4944
export 'password/auth_reset_password_step.dart';
5045
export 'password/confirm_reset_password_options.dart';
5146
export 'password/reset_password_options.dart';
5247
export 'password/reset_password_result.dart';
5348
export 'password/reset_password_step.dart';
5449
export 'password/update_password_options.dart';
5550
export 'password/update_password_result.dart';
56-
57-
/// Session
51+
// Session
5852
export 'session/auth_session.dart';
5953
export 'session/auth_user.dart';
6054
export 'session/fetch_auth_session_options.dart';
6155
export 'session/get_current_user_options.dart';
6256
export 'session/sign_in_details.dart';
63-
64-
/// Sign In
57+
// Sign In
6558
export 'sign_in/auth_next_sign_in_step.dart';
6659
export 'sign_in/auth_provider.dart';
6760
export 'sign_in/auth_sign_in_step.dart';
6861
export 'sign_in/confirm_sign_in_options.dart';
6962
export 'sign_in/sign_in_options.dart';
7063
export 'sign_in/sign_in_result.dart';
7164
export 'sign_in/sign_in_with_web_ui_options.dart';
72-
73-
/// Sign Out
65+
// Sign Out
7466
export 'sign_out/sign_out_options.dart';
7567
export 'sign_out/sign_out_result.dart';
76-
77-
/// Sign Up
68+
// Sign Up
7869
export 'sign_up/auth_next_sign_up_step.dart';
7970
export 'sign_up/auth_sign_up_step.dart';
8071
export 'sign_up/confirm_sign_up_options.dart';

packages/amplify_lints/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ environment:
99
sdk: ^3.0.0
1010

1111
dependencies:
12-
flutter_lints: ^2.0.0
13-
lints: ^2.1.0
12+
flutter_lints: ^3.0.0
13+
lints: ^3.0.0
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
/// {@template amplify_analytics_pinpoint.device_info_provider}
5-
/// Provides DeviceInfo from Flutter -> Dart.
6-
/// {@endtemplate}
7-
8-
/// Multi platform class that provides DeviceInfo.
9-
/// Requires Flutter specific dependencies.
104
export 'device_info_provider_stub.dart'
115
if (dart.library.html) 'device_info_provider_html.dart'
126
if (dart.library.io) 'device_info_provider_io.dart';

0 commit comments

Comments
 (0)