edge_runtime 0.0.4+2 copy "edge_runtime: ^0.0.4+2" to clipboard
edge_runtime: ^0.0.4+2 copied to clipboard

Runtime APIs for running Dart on Edge function environments.

0
likes
110/ 160
pub points
11
downloads

We analyzed this package 3 days ago, and awarded it 110 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: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

129 out of 332 API elements (38.9 %) have documentation comments.

Some symbols that are missing documentation: edge_runtime, edge_runtime.AbortController, edge_runtime.AbortController.AbortController, edge_runtime.AbortController.abort, edge_runtime.AbortController.signal.

Passed check 10/10 points: Package has 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)

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Web

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:edge_runtime/src/io_http_client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:edge_runtime/edge_runtime.dart that imports:
  • package:js_bindings/bindings/fetch.dart that imports:
  • package:js_bindings/js_bindings.dart that imports:
  • package:js_bindings/bindings/all_bindings.dart that imports:
  • package:js_bindings/bindings/css_fonts_4.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 24 issues. Showing the first 2:

WARNING: The value of the local variable 'obj' isn't used.

lib/src/crypto.dart:34:11

   ╷
34 │     final obj = _delegate.encrypt(algorithm._delegate, key._delegate, data);
   │           ^^^
   ╵

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

WARNING: Unused import: 'interop/scope_interop.dart'.

lib/src/fetch_event.dart:7:8

  ╷
7 │ import 'interop/scope_interop.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
freezed_annotation ^2.2.0 2.4.4 2.4.4
js ^0.6.5 0.6.7 0.7.2
js_bindings ^0.1.0 0.1.2+2 0.1.2+2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0

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

The constraint `^0.6.5` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
11
downloads

Publisher

verified publisherinvertase.io

Weekly Downloads

Runtime APIs for running Dart on Edge function environments.

Homepage
Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

freezed_annotation, js, js_bindings

More

Packages that depend on edge_runtime