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
0
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

130 out of 333 API elements (39.0 %) 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.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

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
Pass static analysis
30 / 50trigger folding of the section

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

Found 9 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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
0
downloads

Publisher

verified publisherinvertase.io

Weekly Downloads

Runtime APIs for running Dart on Edge function environments.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

freezed_annotation, js, js_bindings

More

Packages that depend on edge_runtime