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.

4
likes
120/ 160
pub points
45%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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 121639 elements... Initialized dartdoc with 110 libraries Generating docs for library diff_extensions.dart from package:collection_diff/diff_extensions.dart... Generating docs for library diff_equality.dart from package:collection_diff/diff_equality.dart... Generating docs for library collection_diff.dart from package:collection_diff/collection_diff.dart... Generating docs for library diff_algorithm.dart from package:collection_diff/diff_algorithm.dart... Generating docs for library diff_model.dart from package:collection_diff/diff_model.dart... [13 more lines] ERR: warning: unresolved doc reference [collection_diff_isolate] from package-collection_diff: file:///tmp/pana_DSCOYY warning: collection_diff has no library level documentation comments from collection_diff: (file:///tmp/pana_DSCOYY/lib/collection_diff.dart:1:9) warning: set_diff has no library level documentation comments from set_diff: (file:///tmp/pana_DSCOYY/lib/set_diff.dart:1:9) warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_DSCOYY/lib/list_diff.dart:1:9) warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_DSCOYY/lib/map_diff.dart:1:9) [19 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
flutter flutter 0.0.0 0.0.0
flutter_test flutter 0.0.0 0.0.0
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
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
fake_async - 1.3.1 1.3.2
leak_tracker - 10.0.5 10.0.8
leak_tracker_flutter_testing - 3.0.5 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.1

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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

4
likes
120
pub points
45%
popularity

Publisher

verified publishersunnyapp.co

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