fs 1.0.2 fs: ^1.0.2 copied to clipboard
A dart:io's FileSystem available for web.
We analyzed this package 8 days ago, and awarded it 50 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 60 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://fs.vise.sbs/
was unreachable. Make sure that the website is reachable via HEAD
requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/vise-maps/fs/
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: fs
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
206 out of 243 API elements (84.8 %) have documentation comments.
Some symbols that are missing documentation: fs.html.Directory
, fs.html.Directory.Directory
, fs.html.Directory.Directory.fromUri
, fs.html.Directory.create
, fs.html.Directory.createSync
.
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)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:fs/html.dart
that imports:dart:html
Package not compatible with platform iOS
Because:
package:fs/html.dart
that imports:dart:html
Package not compatible with platform Windows
Because:
package:fs/html.dart
that imports:dart:html
Package not compatible with platform Linux
Because:
package:fs/html.dart
that imports:dart:html
Package not compatible with platform macOS
Because:
package:fs/html.dart
that imports:dart:html
Package not compatible with platform Web
Because:
package:fs/io.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.
lib/html.dart:231:34
╷
231 │ class FileSystemEvent implements uber.FileSystemEvent {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/html.dart
ERROR: 'File.create' ('Future
lib/html.dart:494:15
╷
494 │ Future<File> create({bool recursive = false}) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/html.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY
-lib/html.dart:231:34
- The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.INVALID_OVERRIDE
-lib/html.dart:494:15
- 'File.create' ('FutureINVALID_OVERRIDE
-lib/html.dart:499:7
- 'File.createSync' ('File Function({bool recursive})') isn't a valid override of 'File.createSync' ('void Function({bool exclusive, bool recursive})').
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.12
, Dart 3.5.2
.
Check the analysis log for details.