Skip to content

Commit

Permalink
Latest lints, require Dart 3.4 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Aug 6, 2024
1 parent f0b7256 commit 76934c2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .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 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 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 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 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 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 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 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 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 76934c2

Please sign in to comment.