uuid 2.2.0

Dart native js
Flutter Android iOS web

RFC4122 (v1, v4, v5) UUID Generator and Parser for all Dart platforms (Web, VM, Flutter)

203
likes
95 / 110
pub points
100 %
popularity

We analyzed this package on Aug 6, 2020, and awarded it 95 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 2 links are insecure.

README.md:4:31

  ╷
4 │ <p>Simple, fast generation of <a href="http://www.ietf.org/rfc/rfc4122.txt">RFC4122</a> UUIDs.</p>
  │                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 11 out of 21 API elements (52.4 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: Use collection literals when possible.

lib/uuid.dart:25:45

   ╷
25 │     options = (options != null) ? options : Map();
   │                                             ^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/uuid.dart

INFO: Use collection literals when possible.

lib/uuid.dart:27:18

   ╷
27 │     _hexToByte = Map<String, int>();
   │                  ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/uuid.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
convert>=2.0.0 <3.0.02.1.12.1.1
crypto>=2.0.0 <3.0.02.1.52.1.5
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
typed_data-1.2.01.2.0

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

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

203
likes
95
pub points
100%
popularity

Publisher

yuli.dev

RFC4122 (v1, v4, v5) UUID Generator and Parser for all Dart platforms (Web, VM, Flutter)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert, crypto

More

Packages that depend on uuid