native_prebuilt 0.4.0
native_prebuilt: ^0.4.0 copied to clipboard
Reusable infrastructure for Dart packages that ship prebuilt native libraries from GitHub or GitLab releases. Provides build-hook integration, manifest generation, download/verify/cache pipelines, and [...]
We analyzed this package 14 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
545 out of 801 API elements (68.0 %) have documentation comments.
Some symbols that are missing documentation: native_prebuilt.build.AndroidBuildTarget.AndroidBuildTarget.new, native_prebuilt.build.AndroidNdkToolchain.AndroidNdkToolchain.new, native_prebuilt.build.AndroidNdkToolchain.ndkDirectory, native_prebuilt.build.AndroidNdkToolchain.runner, native_prebuilt.build.AndroidNdkToolchain.version.
10/10 points: Package has 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:native_prebuilt/native_prebuilt.dartthat imports:package:native_prebuilt/src/builder/native_project_builder.dartthat imports:package:native_prebuilt/src/source/source_fallback.dartthat imports:package:native_prebuilt/src/source/source_specification.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/build/native_project.dart:123:7
╷
123 │ return false;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/build/native_project.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/cli/manifest.dart:220:5
╷
220 │ return false;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/cli/manifest.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^4.0.9 |
4.0.9 | 4.0.9 | |
artisanal |
^0.4.0 |
0.4.0 | 0.5.0 | |
code_assets |
^1.2.1 |
1.2.1 | 1.2.1 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
hooks |
^2.1.0 |
2.1.0 | 2.1.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
json_schema_builder |
^0.1.6 |
0.1.6 | 0.1.6 | |
liquify |
^1.5.1 |
1.6.1 | 1.6.1 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
acanthis |
- | 1.6.0 | 1.6.0 | |
args |
- | 2.7.0 | 2.7.0 | |
artisanal_widgets |
- | 0.2.2 | 0.3.0 | |
async |
- | 2.13.1 | 2.13.1 | |
chalkdart |
- | 3.1.0 | 3.1.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
completion |
- | 1.0.2 | 1.0.2 | |
csslib |
- | 1.0.2 | 1.0.2 | |
d4_array |
- | 1.0.0 | 1.0.0 | |
d4_time |
- | 1.0.0 | 1.0.0 | |
d4_time_format |
- | 1.0.0 | 1.0.0 | |
decimal |
- | 3.2.6 | 3.2.6 | |
email_validator |
- | 3.0.0 | 3.0.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
forge2d |
- | 0.14.2+1 | 0.15.0 | |
gato |
- | 0.0.5+1 | 0.0.5+1 | |
highlight |
- | 0.7.0 | 0.7.0 | |
hotreloader |
- | 4.4.0 | 4.4.0 | |
html |
- | 0.15.6 | 0.15.6 | |
html_unescape |
- | 2.0.0 | 2.0.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.9.1 | 4.9.1 | |
intl |
- | 0.20.3 | 0.20.3 | |
markdown |
- | 7.3.1 | 7.3.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
nanoid2 |
- | 2.0.1 | 2.0.1 | |
openapi_types |
- | 2.1.0 | 2.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.2 | 6.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rational |
- | 2.2.3 | 2.2.3 | |
record_use |
- | 1.0.0 | 1.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
timezone |
- | 0.11.1 | 0.11.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
ultraviolet |
- | 0.3.0 | 0.5.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
vm_service |
- | 15.2.0 | 15.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml_writer |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.4.0` on artisanal does not support the stable version `0.5.0`, that was published 3 days ago.
When artisanal is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions artisanal 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 10 errors:
UNDEFINED_NAMED_PARAMETER-lib/src/config/native_prebuilt_config.dart:22:3- The named parameter 'createJsonSchema' isn't defined.UNDEFINED_NAMED_PARAMETER-lib/src/config/native_prebuilt_config.dart:64:3- The named parameter 'createJsonSchema' isn't defined.UNDEFINED_NAMED_PARAMETER-lib/src/config/native_prebuilt_config.dart:103:3- The named parameter 'createJsonSchema' 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.15, Dart 3.12.2.
Check the analysis log for details.