edge 0.0.7 copy "edge: ^0.0.7" to clipboard
edge: ^0.0.7 copied to clipboard

Run Dart code on Edge functions, supporting Vercel and Cloudflare Workers.

21
likes
120/ 160
pub points
53%
popularity

We analyzed this package 2 days ago, and awarded it 120 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

14 out of 18 API elements (77.8 %) have documentation comments.

Some symbols that are missing documentation: edge, edge.EdgeCommandRunner, edge.EdgeCommandRunner.EdgeCommandRunner, edge.main.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:edge/edge.dart that imports:
  • package:edge/src/commands/new_command.dart that imports:
  • package:edge/src/commands/new_commands/supabase_new_command.dart that imports:
  • package:edge/src/commands/base_command.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/io.dart that imports:
  • package:io/io.dart that imports:
  • package:io/src/shared_stdin.dart that imports:
  • dart:io

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 11 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/config.freezed.dart:151:17

    ╷
151 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/config.freezed.dart:370:17

    ╷
370 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config.freezed.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
ansi_styles ^0.3.2+1 0.3.2+1 0.3.2+1
args ^2.3.2 2.6.0 2.6.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
glob ^2.1.1 2.1.2 2.1.2
hotreloader ^3.0.5 3.0.6 4.2.0
json_annotation ^4.8.0 4.9.0 4.9.0
mason ^0.1.0-dev.41 0.1.0-dev.57 0.1.0
mason_logger ^0.2.5 0.2.16 0.3.1
path ^1.8.3 1.9.1 1.9.1
prompts ^2.0.0 2.0.0 2.0.0
toml ^0.13.1 0.13.1 0.16.0
watcher ^1.0.2 1.1.0 1.1.0
yaml ^3.1.1 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
charcode - 1.4.0 1.4.0
checked_yaml - 2.0.3 2.0.3
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
io - 1.0.4 1.0.4
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mustache_template - 2.0.0 2.0.0
petitparser - 5.4.0 6.0.2
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vm_service - 11.10.0 15.0.0
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0

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

Found 3 issues. Showing the first 2:

The constraint `^3.0.5` on hotreloader does not support the stable version `4.0.0`.

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

The constraint `^0.2.5` on mason_logger does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions mason_logger 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.15, Dart 3.5.4.

Check the analysis log for details.

21
likes
120
pub points
53%
popularity

Publisher

verified publisherinvertase.io

Run Dart code on Edge functions, supporting Vercel and Cloudflare Workers.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ansi_styles, args, freezed_annotation, glob, hotreloader, json_annotation, mason, mason_logger, path, prompts, toml, watcher, yaml

More

Packages that depend on edge