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
15
downloads

We analyzed this package 2 days 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 125232 elements... Initialized dartdoc with 121 libraries Generating docs for library map_diff.dart from package:collection_diff/map_diff.dart... Generating docs for library algorithms/map_diff.dart from package:collection_diff/algorithms/map_diff.dart... Generating docs for library algorithms/path_node.dart from package:collection_diff/algorithms/path_node.dart... Generating docs for library algorithms/utils.dart from package:collection_diff/algorithms/utils.dart... Generating docs for library algorithms/wagner_fischer.dart from package:collection_diff/algorithms/wagner_fischer.dart... [13 more lines] ERR: warning: unresolved doc reference [collection_diff_isolate] from package-collection_diff: file:///tmp/pana_MJVNJN warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_MJVNJN/lib/map_diff.dart:1:1) warning: list_diff has no library level documentation comments from list_diff: (file:///tmp/pana_MJVNJN/lib/list_diff.dart:1:1) error: file already written at "list_diff/index.html" for symbol list_diff: (file:///tmp/pana_MJVNJN/lib/list_diff.dart:1:1) conflicting with file already generated by list_diff: (file:///tmp/pana_MJVNJN/lib/map_diff.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [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.dev/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 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 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 - 10.0.9 11.0.1
leak_tracker_flutter_testing - 3.0.9 3.0.10
leak_tracker_testing - 3.0.1 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.4 0.7.6
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
vm_service - 15.0.0 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

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

Publisher

verified publishersunnyapp.co

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, crypto, flutter, flutter_test, logging, uuid

More

Packages that depend on collection_diff