diff --git a/CHANGELOG.md b/CHANGELOG.md index 9beb0ac..0f4e56d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.3 +- Bump `image` dependency to `4.2.0` +- Fix `asset_density`s `==` nullability lint warning + ## 1.0.2 - Upgrade `args` to version `2.4.2` - Upgrade `image` to version `4.0.17` diff --git a/lib/src/domain/assets_entries/models/asset_density.dart b/lib/src/domain/assets_entries/models/asset_density.dart index 03427c9..4ea45ab 100644 --- a/lib/src/domain/assets_entries/models/asset_density.dart +++ b/lib/src/domain/assets_entries/models/asset_density.dart @@ -23,7 +23,7 @@ class AssetDensity implements Comparable { String toString() => "$_wholeNumber.${_fractionalPart}x"; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is AssetDensity && other._wholeNumber == _wholeNumber && other._fractionalPart == _fractionalPart; } diff --git a/pubspec.yaml b/pubspec.yaml index 7829034..6495fa1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: images_files_checker description: A CLI tool that checks each image in the project and report missing files or incorrect image resolution. repository: https://github.com/talesbarreto/images_files_checker -version: 1.0.2 +version: 1.0.3 executables: images_files_checker: @@ -11,10 +11,9 @@ environment: dependencies: args: ^2.4.2 - image: ^4.0.17 + image: ^4.2.0 dev_dependencies: lints: ">=2.0.0 <6.0.0" test: ^1.16.0 - build_runner: ^2.1.11 mockito: ^5.2.0