wasi 0.1.0-preview.0
wasi: ^0.1.0-preview.0 copied to clipboard
Bindings to the WebAssembly system interface for Dart guests.
We analyzed this package 3 days ago, and awarded it 60 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-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
42 out of 571 API elements (7.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: cli.Environment, cli.Exit, cli.Run, cli.Stderr, cli.Stdin.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 1082 issues. Showing the first 2:
ERROR: Undefined class 'Option'.
lib/src/components/wasi_cli.dart:22:3
╷
22 │ i0.Option<String> getInitialCwd();
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/components/wasi_cli.dart
ERROR: Undefined class 'Option'.
lib/src/components/wasi_cli.dart:126:3
╷
126 │ i0.Option<i0.Owned<TerminalInputTerminalInput>> getTerminalStdin();
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/components/wasi_cli.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
hooks |
^2.0.2 |
2.2.0 | 2.2.0 | |
meta |
^1.19.0 |
1.19.0 | 1.19.0 | |
wasm_components |
^0.1.0-preview.0 |
0.1.0-preview.0 | 0.1.0-preview.0 | |
wasm_tools |
^0.1.0-preview.0 |
0.1.0-preview.0 | 0.1.0-preview.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 108.0.0 | 108.0.0 | |
analyzer |
- | 14.4.0 | 14.4.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
code_assets |
- | 1.2.1 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.13 | 3.1.13 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
graphs |
- | 2.3.2 | 2.3.2 | |
hooks_runner |
- | 1.6.1 | 1.6.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 1082 errors:
UNDEFINED_CLASS-lib/src/components/wasi_cli.dart:22:3- Undefined class 'Option'.UNDEFINED_CLASS-lib/src/components/wasi_cli.dart:126:3- Undefined class 'Option'.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/components/wasi_cli.dart:126:13- The name 'Owned' isn't a type, so it can't be used as a type argument.
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.19, Dart 3.13.1.
Check the analysis log for details.