fabricjs 1.0.0
fabricjs: ^1.0.0 copied to clipboard
Fabric.js wrapper for Dart
We analyzed this package 42 hours ago, and awarded it 125 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/insinfo/fabricjs_dart.dart was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:2:19
╷
2 │ <p>A Dart API for <a href="http://fabricjs.com/">fabric.js</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
64 out of 277 API elements (23.1 %) have documentation comments.
Some symbols that are missing documentation: fabric, fabric.ActiveSelection.ActiveSelection.new, fabric.ActiveSelection.fromObject, fabric.ActiveSelection.getObjects, fabric.ActiveSelectionExtension.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
Package not compatible with platform iOS
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
Package not compatible with platform Windows
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
Package not compatible with platform Linux
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
Package not compatible with platform macOS
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:fabricjs/fabricjs.dartthat imports:package:js/js.dartthat imports:dart:js_util
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 58 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/fabricjs.dart:5:1
╷
5 │ import 'dart:html';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/fabricjs.dart
INFO: 'dart:js_util' is deprecated and shouldn't be used. Use dart:js_interop instead.
lib/fabricjs.dart:7:1
╷
7 │ import 'dart:js_util';
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/fabricjs.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
js |
^0.7.0 |
0.7.2 | 0.7.2 | Discontinued |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
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.3, Dart 3.10.4.
Check the analysis log for details.