Skip to main content

wasm_components 0.1.1-preview.0 copy "wasm_components: ^0.1.1-preview.0" to clipboard
wasm_components: ^0.1.1-preview.0 copied to clipboard

Runtime definitions to help run Dart apps as WebAssembly components.

60/ 160
pub points
79
downloads

We analyzed this package 37 hours ago, and awarded it 60 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

36 out of 77 API elements (46.8 %) have documentation comments.

Some symbols that are missing documentation: wasm_components, wasm_components.AllocatedString.AllocatedString.new, wasm_components.AllocatedString.allocateUtf16, wasm_components.AllocatedString.free, wasm_components.AllocatedString.packedLength.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

ERROR: The getter 'asWasmF64' isn't defined for the type 'WasmI64'.

lib/src/embedder/exports.dart:159:29

    ╷
159 │   return parsed.toWasmI64().asWasmF64.toDouble().externalize();
    │                             ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/embedder/exports.dart

ERROR: The getter 'asWasmF64' isn't defined for the type 'WasmI64'.

lib/src/embedder/exports.dart:172:8

    ╷
172 │       .asWasmF64;
    │        ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/embedder/exports.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.19.1 1.19.1 1.19.1
meta ^1.18.3 1.19.0 1.19.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 errors:

  • UNDEFINED_GETTER - lib/src/embedder/exports.dart:159:29 - The getter 'asWasmF64' isn't defined for the type 'WasmI64'.
  • UNDEFINED_GETTER - lib/src/embedder/exports.dart:172:8 - The getter 'asWasmF64' isn't defined for the type 'WasmI64'.
  • UNDEFINED_GETTER - lib/src/embedder/numbers/parse.dart:289:36 - The getter 'asWasmI64' isn't defined for the type 'WasmF64'.

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.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
79
downloads

Documentation

API reference

Publisher

verified publishersimonbinder.eu

Weekly Downloads

Runtime definitions to help run Dart apps as WebAssembly components.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

collection, meta

More

Packages that depend on wasm_components