ejson 0.3.1 ejson: ^0.3.1 copied to clipboard
EJSON serialization. BSON is a binary format used to store JSON-like documents efficiently. EJSON extends JSON defining how all BSON types should be represented in JSON.
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/realm/realm-dart/ejson/packages/ejson
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
34 out of 71 API elements (47.9 %) have documentation comments.
Some symbols that are missing documentation: ejson
, ejson.BoolEJsonEncoderExtension
, ejson.DateTimeEJsonEncoderExtension
, ejson.Defined
, ejson.Defined.Defined
.
10/10 points: Package has an example
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
/tmp/pana_FTPUDC/lib/src/decoding.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_FTPUDC/lib/src/encoding.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 |
ejson_annotation |
^0.3.1 |
0.3.1 | 0.4.0 |
objectid |
^3.0.0 |
3.1.0 | 3.1.0 |
sane_uuid |
^1.0.0 |
1.1.0 | 1.1.0 |
type_plus |
^2.0.0 |
2.1.1 | 2.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
crypto |
- | 3.0.6 | 3.0.6 |
meta |
- | 1.16.0 | 1.16.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.3.1` on ejson_annotation does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions ejson_annotation
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
, Dart 3.5.4
.
Check the analysis log for details.