ensemble_ts_interpreter 1.2.0 copy "ensemble_ts_interpreter: ^1.2.0" to clipboard
ensemble_ts_interpreter: ^1.2.0 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.

60/ 160
pub points
1.6k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/EnsembleUI/ensemble/tree/main/modules/ensemble_ts_interpreter was unreachable. Make sure that the website is reachable via HEAD requests.

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

76 out of 870 API elements (8.7 %) 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
0 / 20trigger folding of the section

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

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

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

Found 49 issues. Showing the first 2:

ERROR: The argument type 'Node' can't be assigned to the parameter type 'Name'.

lib/parser/js_validator.dart:63:39

   ╷
63 │             _interpreter.addToContext(declarator.name, true);
   │                                       ^^^^^^^^^^^^^^^
   ╵

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

ERROR: The argument type 'Node' can't be assigned to the parameter type 'Name'.

lib/parser/js_validator.dart:275:33

    ╷
275 │       _interpreter.addToContext(declarator.name, true);
    │                                 ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/parser/js_validator.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.9 1.0.9
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.6.0 1.6.0
intl >=0.17.0 <=0.20.2 0.20.2 0.20.3
json_path ^0.7.2 0.7.6 0.9.0
parsejs_null_safety ^2.0.4 2.1.0 2.1.0
source_span ^1.9.1 1.10.2 1.10.2
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 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.13.0 0.13.0
maybe_just_nothing - 0.5.3 0.6.0
meta - 1.18.0 1.19.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.2
rfc_6901 - 0.2.1 0.2.1
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.9
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1

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.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.17.0 <=0.20.2` on intl does not support the stable version `0.20.3`, that was published 20 days ago.

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

Try running dart pub upgrade --major-versions intl 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.23.14, Flutter 3.44.5, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
60
points
1.6k
downloads

Documentation

API reference

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.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#javascript #interpreter #es5 #dart #flutter

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