ensemble_ts_interpreter 1.0.3 copy "ensemble_ts_interpreter: ^1.0.3" to clipboard
ensemble_ts_interpreter: ^1.0.3 copied to clipboard

A JavaScript (ES5) interpreter written entirely in Dart for Flutter applications. Execute JavaScript code inline within your Dart/Flutter app without external engines. Features include primitive types [...]

100/ 160
pub points
172
downloads

We analyzed this package 6 days ago, and awarded it 100 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: ensemble_ts_interpreter,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: ensemble_ts_interpreter.

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
0 / 20trigger folding of the section

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

51 out of 714 API elements (7.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: UserLocale, UserLocale.UserLocale, UserLocale.UserLocale.UserLocale.new, UserLocale.UserLocale.countryCode, UserLocale.UserLocale.from.

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
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:ensemble_ts_interpreter/ensemble_ts_interpreter.dart that imports:
  • package:ensemble_ts_interpreter/invokables/invokableprimitives.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ensemble_ts_interpreter/ensemble_ts_interpreter.dart that imports:
  • package:ensemble_ts_interpreter/invokables/invokableprimitives.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.cn/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 85 issues. Showing the first 2:

WARNING: The member 'notifyListeners' can only be used within instance members of subclasses of 'ChangeNotifier'.

lib/invokables/invokable.dart:139:38

    ╷
139 │         (this as EnsembleController).notifyListeners();
    │                                      ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/invokables/invokable.dart

WARNING: The member 'notifyListeners' can only be used within 'package:flutter/src/foundation/change_notifier.dart' or a test.

lib/invokables/invokable.dart:139:38

    ╷
139 │         (this as EnsembleController).notifyListeners();
    │                                      ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/invokables/invokable.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 Notes
cupertino_icons ^1.0.2 1.0.8 1.0.8
duration ^3.0.11 3.0.15 4.0.3
ensemble_date ^1.6.1 1.6.1 1.6.1
http ^1.2.1 1.5.0 1.5.0
intl >=0.17.0 <=0.20.2 0.20.2 0.20.2
json_path ^0.7.2 0.7.6 0.8.0
parsejs_null_safety ^2.0.4 2.0.4 2.0.4
source_span ^1.9.1 1.10.1 1.10.1
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
iregexp - 0.1.2 0.2.0
lists - 1.0.1 1.0.1 Discontinued
material_color_utilities - 0.11.1 0.13.0
maybe_just_nothing - 0.5.3 0.5.3
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.1
rfc_6901 - 0.2.0 0.2.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timeago - 3.7.1 3.7.1
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.8
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^3.0.11` on duration does not support the stable version `4.0.0`.

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

The constraint `^0.7.2` on json_path does not support the stable version `0.8.0`.

Try running dart pub upgrade --major-versions json_path 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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
172
downloads

Publisher

verified publisherensembleui.com

Weekly Downloads

A JavaScript (ES5) interpreter written entirely in Dart for Flutter applications. Execute JavaScript code inline within your Dart/Flutter app without external engines. Features include primitive types, arrays, maps, function declarations, and extensible context objects. Perfect for dynamic code execution, user-defined scripts, and lightweight JavaScript processing in Flutter apps.

Topics

#javascript #interpreter #es5 #dart #flutter

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, duration, ensemble_date, flutter, http, intl, json_path, parsejs_null_safety, source_span, yaml

More

Packages that depend on ensemble_ts_interpreter