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

Migrate to null safety #93

Merged
merged 12 commits into from
Dec 2, 2020
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.0

- Migrate to null safety.
- Remove legacy APIs.

## 1.9.3

- Fix `Package` constructor not accepting relative `packageUriRoot`.
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ in the Package Configuration v2 [design document](https://github.com/dart-lang/l
The primary libraries are
* `package_config.dart`:
Defines the `PackageConfig` class and other types needed to use
package configurations.
package configurations, and provides functions to find, read and
write package configuration files.

* `package_config_discovery.dart`:
Provides functions for reading configurations from files,
and writing them back out.
* `package_config_types.dart`:
Just the `PackageConfig` class and other types needed to use
package configurations. This library does not depend on `dart:io`.

The package includes deprecated backwards compatible functionality to
work with the `.packages` file. This functionality will not be maintained,
Expand Down
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
errors:
annotate_overrides: ignore
curly_braces_in_flow_control_structures: ignore
prefer_single_quotes: ignore
use_function_type_syntax_for_parameters: ignore
226 changes: 0 additions & 226 deletions lib/discovery.dart

This file was deleted.

Loading