candid_dart_core 1.2.6
candid_dart_core: ^1.2.6 copied to clipboard
Provide the `did2dart` method to process `Candid` content, and quickly generate corresponding Dart code.
We analyzed this package 16 days ago, and awarded it 70 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
749 out of 1785 API elements (42.0 %) have documentation comments.
Some symbols that are missing documentation: CandidBaseVisitor, CandidBaseVisitor.CandidBaseVisitor.CandidBaseVisitor.new, CandidLexer, CandidLexer.CandidLexer, CandidLexer.CandidLexer.CandidLexer.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:candid_dart_core/codegen/codegen.dartthat imports:package:dart_style/dart_style.dartthat imports:package:dart_style/src/exceptions.dartthat imports:package:analyzer/error/error.dartthat imports:package:analyzer/src/error/error_code_values.g.dartthat imports:package:analyzer/src/generated/parser.dartthat imports:package:analyzer/src/fasta/ast_builder.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/reference.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/error/listener.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/dart/resolver/flow_analysis_visitor.dartthat imports:package:analyzer/src/generated/variable_type_provider.dartthat imports:package:analyzer/dart/ast/ast.dartthat imports:package:analyzer/src/dart/ast/ast.dartthat imports:package:analyzer/src/generated/resolver.dartthat imports:package:analyzer/src/generated/static_type_analyzer.dartthat imports:package:analyzer/src/dart/resolver/invocation_inference_helper.dartthat imports:package:analyzer/src/dart/resolver/invocation_inferrer.dartthat imports:package:analyzer/src/dart/element/type_algebra.dartthat imports:package:analyzer/src/summary2/record_type_builder.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/types_builder.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/dart/analysis/session.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:analyzer/src/file_system/file_system.dartthat imports:package:analyzer/src/util/uri.dartthat imports:package:analyzer/src/summary/package_bundle_reader.dartthat imports:package:analyzer/src/generated/source.dartthat imports:package:analyzer/src/context/source.dartthat imports:package:analyzer/src/workspace/pub.dartthat imports:package:analyzer/src/workspace/workspace.dartthat imports:package:analyzer/src/workspace/blaze.dartthat imports:package:analyzer/src/workspace/blaze_watcher.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
ERROR: The named parameter 'languageVersion' isn't defined.
lib/codegen/codegen.dart:230:5
╷
230 │ languageVersion: Version.parse(Platform.version.split(' ').first),
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/codegen/codegen.dart
INFO: The file name 'CandidBaseVisitor.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run dart analyze lib/antlr/CandidBaseVisitor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
antlr4 |
^4.13.1 |
4.13.2 | 4.13.2 | |
build_runner |
^2.3.3 |
2.4.13 | 2.10.4 | |
built_collection |
^5.1.1 |
5.1.1 | 5.1.1 | |
built_value |
^8.4.4 |
8.12.1 | 8.12.1 | |
code_builder |
^4.4.0 |
4.11.0 | 4.11.0 | |
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
dart_style |
^2.3.1 |
2.3.6 | 3.1.3 | |
pub_semver |
^2.1.4 |
2.2.0 | 2.2.0 | |
recase |
^4.1.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 92.0.0 | |
analyzer |
- | 6.4.1 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 2.4.1 | 4.0.3 | |
build_config |
- | 1.1.2 | 1.2.0 | |
build_daemon |
- | 4.1.1 | 4.1.1 | |
build_resolvers |
- | 2.4.2 | 3.0.4 | Discontinued |
build_runner_core |
- | 7.3.2 | 9.3.2 | Discontinued |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.2 | 1.5.2 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 2.0.1 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
timing |
- | 1.0.2 | 1.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.0 | 1.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.3.1` on dart_style does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions dart_style to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_NAMED_PARAMETER-lib/codegen/codegen.dart:230:5- The named parameter 'languageVersion' isn't defined.
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.23.3, Dart 3.10.4.
Check the analysis log for details.