flutter_js_engine 1.1.1
flutter_js_engine: ^1.1.1 copied to clipboard
A lite javascript engine.
We analyzed this package 19 hours ago, and awarded it 105 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.1.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
38 out of 111 API elements (34.2 %) have documentation comments.
Some symbols that are missing documentation: build, build.escapeSpecialCharacters, demo, js_data_parser, js_data_parser.JsDataParser.JsDataParser.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_js_engine/demo.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_js_engine/demo.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_js_engine/demo.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_js_engine/demo.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_js_engine/demo.dartthat imports:package:flutter_js_engine/js_engine.dartthat imports:package:flutter_js_engine/js_device.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_js_engine/demo.dartthat imports:package:flutter_js_engine/js_engine.dartthat imports:package:flutter_js_engine/js_device.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_js_engine/demo.dartthat imports:package:flutter_js_engine/js_logger.dartthat 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 74 issues. Showing the first 2:
WARNING: The declaration '_createDir' isn't referenced.
lib/js_logger.dart:29:28
╷
29 │ static Future<Directory> _createDir(path) async {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/js_logger.dart
INFO: Missing type annotation.
lib/js_data_parser.dart:42:29
╷
42 │ String? parseHttpResponse(id, HttpResponseModel res) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/js_data_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.3.2 |
5.9.0 | 5.9.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
package_info_plus |
^6.0.0 |
6.0.0 | 9.0.0 | |
shared_preferences |
^2.2.1 |
2.5.3 | 2.5.3 | |
webview_flutter |
^4.7.0 |
4.9.0 | 4.13.0 | |
webview_flutter_android |
^3.16.0 |
3.16.9 | 4.10.5 | |
webview_flutter_wkwebview |
^3.13.0 |
3.23.1 | 3.23.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.5 | 2.5.5 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 0.5.1 | 1.1.1 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.0` on package_info_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions package_info_plus to update the constraint.
The constraint `^3.16.0` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android 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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.