collection_diff 2.0.3+6 copy "collection_diff: ^2.0.3+6" to clipboard
collection_diff: ^2.0.3+6 copied to clipboard

A dart library that compares collections and returns the differences as a set of operations.

120/ 160
pub points
9
downloads

We analyzed this package 12 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting collection_diff... Discovering libraries... Linking elements... Precaching local docs for 125407 elements... Initialized dartdoc with 121 libraries Generating docs for library set_diff_model.dart from package:collection_diff/set_diff_model.dart... Generating docs for library diff_extensions.dart from package:collection_diff/diff_extensions.dart... Generating docs for library list_diff_model.dart from package:collection_diff/list_diff_model.dart... Generating docs for library collection_diff.dart from package:collection_diff/collection_diff.dart... Generating docs for library diff_equality.dart from package:collection_diff/diff_equality.dart... [13 more lines] ERR: warning: unresolved doc reference [collection_diff_isolate] from package-collection_diff: file:///tmp/pana_SSURKA warning: collection_diff has no library level documentation comments from collection_diff: (file:///tmp/pana_SSURKA/lib/collection_diff.dart:1:1) warning: set_diff has no library level documentation comments from set_diff: (file:///tmp/pana_SSURKA/lib/set_diff.dart:1:1) warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_SSURKA/lib/list_diff.dart:1:1) warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_SSURKA/lib/map_diff.dart:1:1) [24 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 14 issues. Showing the first 2:

INFO: The import of 'package:collection_diff/algorithms/utils.dart' is unnecessary because all of the used elements are also provided by the import of 'package:collection_diff/set_diff.dart'.

lib/algorithms/set_diff.dart:2:8

  ╷
2 │ import 'package:collection_diff/algorithms/utils.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/algorithms/set_diff.dart

INFO: The import of 'package:collection_diff/set_diff_model.dart' is unnecessary because all of the used elements are also provided by the import of 'package:collection_diff/set_diff.dart'.

lib/algorithms/set_diff.dart:5:8

  ╷
5 │ import 'package:collection_diff/set_diff_model.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/algorithms/set_diff.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.15.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
logging ^1.0.0 1.3.0 1.3.0
uuid ^3.0.2 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
fake_async - 1.3.3 1.3.3
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.2` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
120
points
9
downloads

Publisher

verified publishersunnyapp.co

Weekly Downloads

A dart library that compares collections and returns the differences as a set of operations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, crypto, flutter, flutter_test, logging, uuid

More

Packages that depend on collection_diff