Skip to content

Commit 98befcf

Browse files
devoncarewCommit Queue
authored andcommitted
[pkg] rev packages to have a min sdk verison of at least 3.0
Change-Id: I365abf095f0801bb8ce864f3bbaa57ff298164c3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/402881 Reviewed-by: Nate Bosch <[email protected]> Commit-Queue: Devon Carew <[email protected]>
1 parent 03fd2aa commit 98befcf

File tree

25 files changed

+34
-48
lines changed

25 files changed

+34
-48
lines changed

pkg/analysis_server_client/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository: https://github.com/dart-lang/sdk/tree/main/pkg/analysis_server_clien
1010
publish_to: none
1111

1212
environment:
13-
sdk: '>=2.19.0 <3.0.0'
13+
sdk: ^3.0.0
1414

1515
# Use 'any' constraints here; we get our versions from the DEPS file.
1616
dependencies:

pkg/build_integration/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
publish_to: none
77

88
environment:
9-
sdk: '>=2.12.0 <3.0.0'
9+
sdk: ^3.0.0
1010

1111
# Use 'any' constraints here; we get our versions from the DEPS file.
1212
dependencies:

pkg/build_integration/test/file_system/multi_root_test.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// ignore_for_file: implementation_imports
6-
7-
library front_end.test.src.multi_root_file_system.dart;
5+
// ignore_for_file: implementation_import
86

97
import 'dart:async';
108

@@ -41,7 +39,8 @@ main() {
4139

4240
setUp(() {
4341
memoryFs = MemoryFileSystem(root);
44-
final rootUris = ['r1', 'r2/', 'A/B/', ''].map((r) => root.resolve(r)).toList();
42+
final rootUris =
43+
['r1', 'r2/', 'A/B/', ''].map((r) => root.resolve(r)).toList();
4544
multiRoot = MultiRootFileSystem('multi-root', rootUris, memoryFs);
4645
});
4746

pkg/dds_service_extensions/lib/dds_service_extensions.dart

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -429,24 +429,15 @@ class CachedCpuSamples extends CpuSamples {
429429
CachedCpuSamples({
430430
required this.userTag,
431431
this.truncated,
432-
required int? samplePeriod,
433-
required int? maxStackDepth,
434-
required int? sampleCount,
435-
required int? timeOriginMicros,
436-
required int? timeExtentMicros,
437-
required int? pid,
438-
required List<ProfileFunction>? functions,
439-
required List<CpuSample>? samples,
440-
}) : super(
441-
samplePeriod: samplePeriod,
442-
maxStackDepth: maxStackDepth,
443-
sampleCount: sampleCount,
444-
timeOriginMicros: timeOriginMicros,
445-
timeExtentMicros: timeExtentMicros,
446-
pid: pid,
447-
functions: functions,
448-
samples: samples,
449-
);
432+
required super.samplePeriod,
433+
required super.maxStackDepth,
434+
required super.sampleCount,
435+
required super.timeOriginMicros,
436+
required super.timeExtentMicros,
437+
required super.pid,
438+
required super.functions,
439+
required super.samples,
440+
});
450441

451442
CachedCpuSamples._fromJson(Map<String, dynamic> json)
452443
: userTag = json['userTag']!,

pkg/dds_service_extensions/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >-
66
repository: https://github.com/dart-lang/sdk/tree/main/pkg/dds_service_extensions
77

88
environment:
9-
sdk: '>=2.15.0 <4.0.0'
9+
sdk: ^3.0.0
1010

1111
dependencies:
1212
async: ^2.4.1

pkg/js_runtime/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: js_runtime
33
publish_to: none
44

55
environment:
6-
sdk: '>=2.19.0 <3.0.0'
6+
sdk: ^3.0.0
77

88
# Use 'any' constraints here; we get our versions from the DEPS file.
99
dev_dependencies:

pkg/js_shared/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: js_shared
33
publish_to: none
44

55
environment:
6-
sdk: '>=2.19.0 <3.0.0'
6+
sdk: ^3.0.0
77

88
# Use 'any' constraints here; we get our versions from the DEPS file.
99
dev_dependencies:

pkg/telemetry/lib/src/pii_regexp.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/// intentionally broad to make sure they get everything, possibly at the
99
/// expense of readability for the error message. Use care when reducing
1010
/// their scope.
11-
library pii_regexp;
11+
library;
1212

1313
/// Contain an ordered list of regular expressions to be applied in sequence
1414
/// with [applyTo] to a string, with any matches being substituted with

pkg/telemetry/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A library to facilitate reporting analytics and crash reports.
44
publish_to: none
55

66
environment:
7-
sdk: '>=2.12.0 <3.0.0'
7+
sdk: ^3.0.0
88

99
# Use 'any' constraints here; we get our versions from the DEPS file.
1010
dependencies:

pkg/vm_snapshot_analysis/lib/ascii_table.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library vm_snapshot_analysis.ascii_table;
6-
75
import 'dart:math' as math;
86

97
/// A row in the [AsciiTable].

0 commit comments

Comments
 (0)