ensemble_ts_interpreter 1.2.0
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.
We analyzed this package 7 days ago, and awarded it 60 pub points (of a possible 160):
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.
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.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
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
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.
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.23.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.