Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 76934c2

Browse files
authored
Latest lints, require Dart 3.4 (#157)
1 parent f0b7256 commit 76934c2

9 files changed

+10
-10
lines changed

.github/workflows/test-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
os: [ubuntu-latest, windows-latest]
49-
sdk: [3.2, dev]
49+
sdk: [3.4, dev]
5050
steps:
5151
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
5252
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## 2.1.1-wip
22

3-
- Require Dart 3.2
3+
- Require Dart 3.4
44

55
## 2.1.0
66

lib/package_config.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
///
88
/// This package provides functionality to find, read and write package
99
/// configurations in the [specified format](https://github.com/dart-lang/language/blob/master/accepted/future-releases/language-versioning/package-config-file-v2.md).
10-
library package_config.package_config;
10+
library;
1111

1212
import 'dart:io' show Directory, File;
1313
import 'dart:typed_data' show Uint8List;

lib/package_config_types.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// {@canonicalFor package_config.Package}
1111
/// {@canonicalFor package_config.PackageConfig}
1212
/// {@canonicalFor errors.PackageConfigError}
13-
library package_config.package_config_types;
13+
library;
1414

1515
export 'src/errors.dart' show PackageConfigError;
1616
export 'src/package_config.dart'

lib/src/util.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
/// Utility methods used by more than one library in the package.
6-
library package_config.util;
6+
library;
77

88
import 'errors.dart';
99

lib/src/util_io.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/// Utility methods requiring dart:io and used by more than one library in the
66
/// package.
7-
library package_config.util_io;
7+
library;
88

99
import 'dart:io';
1010
import 'dart:typed_data';

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ description: Support for reading and writing Dart Package Configuration files.
44
repository: https://github.com/dart-lang/package_config
55

66
environment:
7-
sdk: ^3.2.0
7+
sdk: ^3.4.0
88

99
dependencies:
1010
path: ^1.8.0
1111

1212
dev_dependencies:
13-
dart_flutter_team_lints: ^2.1.0
13+
dart_flutter_team_lints: ^3.0.0
1414
test: ^1.16.0

test/discovery_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6-
library package_config.discovery_test;
6+
library;
77

88
import 'dart:io';
99

test/discovery_uri_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6-
library package_config.discovery_test;
6+
library;
77

88
import 'package:package_config/package_config.dart';
99
import 'package:test/test.dart';

0 commit comments

Comments
 (0)