dart_eval 0.7.10 copy "dart_eval: ^0.7.10" to clipboard
dart_eval: ^0.7.10 copied to clipboard

A flexible Dart bytecode compiler and interpreter written in Dart, enabling dynamic execution and code push for AOT Dart apps.

235
likes
140/ 160
pub points
1.5k
downloads

We analyzed this package 26 hours ago, and awarded it 140 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

1065 out of 1354 API elements (78.7 %) have documentation comments.

Some symbols that are missing documentation: dart_eval.Compiler.defineBridgeClass, dart_eval.Program.runtimeTypes, dart_eval.bridge, dart_eval.bridge.$Bridge.$_get, dart_eval.bridge.$Bridge.$_invoke.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:dart_eval/dart_eval.dart that imports:
  • package:dart_eval/src/eval/runtime/override.dart that imports:
  • package:dart_eval/stdlib/core.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/core/stack_trace.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/core/object.dart that imports:
  • package:dart_eval/dart_eval_bridge.dart that imports:
  • package:dart_eval/src/eval/bridge/declaration.dart that imports:
  • package:dart_eval/src/eval/compiler/util.dart that imports:
  • package:dart_eval/src/eval/runtime/runtime.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/io.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/io/socket.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_eval/dart_eval.dart that imports:
  • package:dart_eval/src/eval/runtime/override.dart that imports:
  • package:dart_eval/stdlib/core.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/core/stack_trace.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/core/object.dart that imports:
  • package:dart_eval/dart_eval_bridge.dart that imports:
  • package:dart_eval/src/eval/bridge/declaration.dart that imports:
  • package:dart_eval/src/eval/compiler/util.dart that imports:
  • package:dart_eval/src/eval/runtime/runtime.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/io.dart that imports:
  • package:dart_eval/src/eval/shared/stdlib/io/socket.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/eval/bindgen/bindgen.dart:81:12

   ╷
81 │           .whereNotNull();
   │            ^^^^^^^^^^^^
   ╵

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

INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.

lib/src/eval/bindgen/type.dart:151:48

    ╷
151 │             '$expr is ${_type.getDisplayString(withNullability: false)} ? $wrapper : ';
    │                                                ^^^^^^^^^^^^^^^
    ╵

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

OK
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
analyzer ^6.0.0 6.11.0 7.1.0
args ^2.4.0 2.6.0 2.6.0
change_case ^2.1.0 2.1.0 2.1.0
collection ^1.17.0 1.19.1 1.19.1
dart_style ^2.3.0 2.3.7 3.0.1
directed_graph >=0.3.9 <0.5.0 0.4.4 0.4.4
json_annotation ^4.4.0 4.9.0 4.9.0
package_config ^2.1.0 2.1.1 2.1.1
path ^1.8.0 1.9.1 1.9.1
pub_semver ^2.1.0 2.1.5 2.1.5
pubspec_parse ^1.2.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 76.0.0 78.0.0
_macros - 0.3.3 0.3.3
async - 2.12.0 2.12.0
checked_yaml - 2.0.3 2.0.3
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
exception_templates - 0.3.1 0.3.1
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
lazy_memo - 0.2.3 0.2.3
macros - 0.1.3-main.0 0.1.3-main.0
meta - 1.16.0 1.16.0
quote_buffer - 0.2.6 0.2.6
source_span - 1.10.1 1.10.1
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.1.1 1.1.1
yaml - 3.1.3 3.1.3

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

The constraint `^6.0.0` on analyzer does not support the stable version `7.0.0`.

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

The constraint `^2.3.0` on dart_style does not support the stable version `3.0.0`, that was published 17 days ago.

When dart_style is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions dart_style 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.

235
likes
140
points
1.5k
downloads

Publisher

verified publisherethanblake.xyz

Weekly Downloads

A flexible Dart bytecode compiler and interpreter written in Dart, enabling dynamic execution and code push for AOT Dart apps.

Repository (GitHub)
View/report issues
Contributing

Topics

#vm #compiler #interpreter #dart #codepush

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, change_case, collection, dart_style, directed_graph, json_annotation, package_config, path, pub_semver, pubspec_parse

More

Packages that depend on dart_eval