Skip to content

Commit

Permalink
Latest lints, require Dart 3.4 (dart-lang/package_config#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Aug 6, 2024
1 parent 58f90e9 commit 5bfdcd8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pkgs/package_config/.github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
sdk: [3.2, dev]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 2.1.1-wip

- Require Dart 3.2
- Require Dart 3.4

## 2.1.0

Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/lib/package_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
///
/// This package provides functionality to find, read and write package
/// configurations in the [specified format](https://github.com/dart-lang/language/blob/master/accepted/future-releases/language-versioning/package-config-file-v2.md).
library package_config.package_config;
library;

import 'dart:io' show Directory, File;
import 'dart:typed_data' show Uint8List;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/lib/package_config_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// {@canonicalFor package_config.Package}
/// {@canonicalFor package_config.PackageConfig}
/// {@canonicalFor errors.PackageConfigError}
library package_config.package_config_types;
library;

export 'src/errors.dart' show PackageConfigError;
export 'src/package_config.dart'
Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/lib/src/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Utility methods used by more than one library in the package.
library package_config.util;
library;

import 'errors.dart';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/lib/src/util_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/// Utility methods requiring dart:io and used by more than one library in the
/// package.
library package_config.util_io;
library;

import 'dart:io';
import 'dart:typed_data';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/package_config/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: Support for reading and writing Dart Package Configuration files.
repository: https://github.com/dart-lang/package_config

environment:
sdk: ^3.2.0
sdk: ^3.4.0

dependencies:
path: ^1.8.0

dev_dependencies:
dart_flutter_team_lints: ^2.1.0
dart_flutter_team_lints: ^3.0.0
test: ^1.16.0
2 changes: 1 addition & 1 deletion pkgs/package_config/test/discovery_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

@TestOn('vm')
library package_config.discovery_test;
library;

import 'dart:io';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/package_config/test/discovery_uri_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

@TestOn('vm')
library package_config.discovery_test;
library;

import 'package:package_config/package_config.dart';
import 'package:test/test.dart';
Expand Down

0 comments on commit 5bfdcd8

Please sign in to comment.