Skip to content

Commit

Permalink
chore(): ignore deprecated_member_use for js_util and html
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllark committed Feb 15, 2025
1 parent 18a5056 commit 0102fd2
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions actions/lib/src/node/actions/exec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import 'dart:convert';
import 'dart:js_interop';
//ignore: deprecated_member_use
import 'dart:js_util';

@JS()
Expand Down
1 change: 1 addition & 0 deletions packages/amplify_core/lib/src/platform/platform_html.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

final RegExp _edgeRegex = RegExp(r'Edg/[\d\.]+');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import 'dart:async';
//ignore: deprecated_member_use
import 'dart:js_util';

import 'package:amplify_analytics_pinpoint_dart/src/impl/analytics_client/event_client/queued_item_store/queued_item_store.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:amplify_auth_cognito_dart/amplify_auth_cognito_dart.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'package:async/async.dart';
import 'package:aws_common/aws_common.dart';
// ignore: implementation_imports
import 'package:aws_common/src/js/common.dart';
//ignore: deprecated_member_use
import 'package:js/js.dart';
import 'package:path/path.dart';

Expand Down
1 change: 1 addition & 0 deletions packages/aws_common/lib/src/io/aws_file_platform_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import 'dart:async';
//ignore: deprecated_member_use
import 'dart:html';

import 'package:async/async.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

/// Returns the href attribute of the base element if it is present.
Expand Down
1 change: 1 addition & 0 deletions packages/aws_signature_v4/example/web/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// ignore_for_file: omit_local_variable_types

import 'dart:async';
//ignore: deprecated_member_use
import 'dart:html';
import 'dart:typed_data';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import 'dart:async';
//ignore: deprecated_member_use
import 'dart:html';

import 'package:amplify_core/amplify_core.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/example_common/lib/src/components/component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import 'dart:async';
//ignore: deprecated_member_use
import 'dart:html';

import 'package:meta/meta.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/src/components/component.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/example_common/lib/src/utils/render_app.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/example_common.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/example_common/test/example_common_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@TestOn('browser')

//ignore: deprecated_member_use
import 'dart:html';

import 'package:example_common/example_common.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

// TODO(HuiSF): Add example Web App
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

/// {@template amplify_storage_s3_dart.dom_helper}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

//ignore: deprecated_member_use
import 'dart:html';

import 'package:amplify_core/amplify_core.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/worker_bee/e2e_test/test/preamble_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@TestOn('browser')

//ignore: deprecated_member_use
import 'dart:html';

import 'package:test/test.dart';
Expand Down
1 change: 1 addition & 0 deletions templates/dart-package/__brick__/example/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//ignore: deprecated_member_use
import 'dart:html';

void main() {
Expand Down

0 comments on commit 0102fd2

Please sign in to comment.