tiny_invariant 1.0.0+1 copy "tiny_invariant: ^1.0.0+1" to clipboard
tiny_invariant: ^1.0.0+1 copied to clipboard

A tiny implementation of the invariant function in Dart.

1
likes
15/ 160
pub points
1%
popularity

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

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

Dependency resolution failed, unable to run dartdoc.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

failed
Pass static analysis
0 / 50trigger folding of the section

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

  • Running dart pub outdated failed with the following output:
The current Dart SDK version is 3.4.4.
Because tiny_invariant requires SDK version >=2.14.0 <3.1.0, version solving failed.
failed
Support up-to-date dependencies
0 / 40trigger folding of the section

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

Sdk constraint doesn't support current Dart version 3.4.4. Cannot run `dart pub outdated`.

pubspec.yaml:7:8

  ╷
7 │   sdk: ">=2.14.0 <3.1.0"
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

Sdk constraint doesn't support current Dart version 3.4.4.

pubspec.yaml:7:8

  ╷
7 │   sdk: ">=2.14.0 <3.1.0"
  │        ^^^^^^^^^^^^^^^^^
  ╵

Try widening the upper boundary of the constraint.

0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
The current Dart SDK version is 3.4.4.

Because tiny_invariant requires SDK version >=2.14.0 <3.1.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try using the Dart SDK version: 3.0.6. See https://dart.dev/get-dart.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.7, Dart 3.4.4.

Check the analysis log for details.

1
likes
15
pub points
1%
popularity

Publisher

unverified uploader

A tiny implementation of the invariant function in Dart.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

dotenv

More

Packages that depend on tiny_invariant