cedar 1.0.0
cedar: ^1.0.0 copied to clipboard
Implementation of the Cedar policy language in Dart.
We analyzed this package 9 hours ago, and awarded it 120 pub points (of a possible 160):
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-2-Clause-Patent.
0/10 points: 20% or more of the public API has dartdoc comments
140 out of 1128 API elements (12.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: ast, ast.Annotation, ast.Annotations, ast.Annotations.Annotations.fromJson, ast.Annotations.Annotations.fromProto.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/src/parser/schema_parser.dart:914:13
╷
914 │ if (contextJson != null) 'context': contextJson,
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/parser/schema_parser.dart
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/src/parser/schema_parser.dart:920:11
╷
920 │ if (appliesToJson != null) 'appliesTo': appliesToJson,
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/parser/schema_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_collection |
^5.1.0 |
5.1.1 | 5.1.1 | |
built_value |
^8.9.0 |
8.13.0 | 8.13.0 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
decimal |
^3.0.0 |
3.2.6 | 3.2.6 | |
fixnum |
^1.1.0 |
1.1.1 | 1.1.1 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
meta |
^1.11.0 |
1.19.0 | 1.19.0 | |
protobuf |
^5.0.0 |
5.1.0 | 6.1.0 | |
source_span |
^1.10.0 |
1.10.2 | 1.10.2 | |
string_scanner |
^1.2.0 |
1.4.1 | 1.4.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.3 | 1.1.3 | |
intl |
- | 0.20.3 | 0.20.3 | |
path |
- | 1.9.1 | 1.9.1 | |
rational |
- | 2.2.3 | 2.2.3 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.0` on protobuf does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions protobuf 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.23.19, Dart 3.13.4.
Check the analysis log for details.