Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest lints, require Dart 3.4 #157

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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