fhir_path 0.11.3
fhir_path: ^0.11.3 copied to clipboard
FHIRPath navigation and extraction language implemented in pure Dart to be used with base FHIR packages.
We analyzed this package 16 days 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
606 out of 1119 API elements (54.2 %) have documentation comments.
Some symbols that are missing documentation: arg_fxn_lexer, boolean_logic_parser, boolean_logic_parser.AndStringParser, boolean_logic_parser.AndStringParser.AndStringParser.new, boolean_logic_parser.AndStringParser.after.
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
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 43 issues. Showing the first 2:
WARNING: Braces unnecessarily wrap this expression in a set literal.
lib/petit/lexer/fhir_path_lexer.dart:58:21
╷
58 │ (i, entry) => {
│ ┌─────────────────────^
59 │ │ if (entry is MinusParser || entry is PlusParser)
60 │ │ {
61 │ │ if (i == 0 || fullList[i - 1] is OperatorParser)
62 │ │ {
63 │ │ fullList[i] = entry is MinusParser
64 │ │ ? UnaryNegateParser()
65 │ │ : UnaryPlusParser()
66 │ │ }
67 │ │ }
68 │ │ },
│ └───────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/petit/lexer/fhir_path_lexer.dart
INFO: Use 'TypeName _' instead of a type literal.
lib/petit/parser/operation_parser/comparison_parser.dart:212:12
╷
212 │ case num:
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/petit/parser/operation_parser/comparison_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
fhir |
^0.11.4 |
0.11.4 | 0.12.1 | |
petitparser |
^6.0.2 |
6.1.0 | 7.0.1 | |
units_converter |
^2.1.1 |
2.1.1 | 3.0.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
xml |
- | 6.5.0 | 6.6.1 | |
xml2json |
- | 6.2.7 | 6.2.7 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.11.4` on fhir does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions fhir to update the constraint.
The constraint `^6.0.2` on petitparser does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions petitparser 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.3, Dart 3.10.4.
Check the analysis log for details.