fs 2.0.0 copy "fs: ^2.0.0" to clipboard
fs: ^2.0.0 copied to clipboard

The cross-platform file system for Dart (and Flutter of course).

0
likes
70/ 160
pub points
36
downloads

We analyzed this package 13 hours ago, and awarded it 70 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

Homepage URL doesn't exist.

At the time of the analysis https://fs.tomaswrobel.dev/ 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

81 out of 109 API elements (74.3 %) have documentation comments.

Some symbols that are missing documentation: fs.html.Directory, fs.html.Directory.Directory.fromUri, fs.html.Directory.Directory.new, fs.html.Directory.create, fs.html.Directory.createSync.

Passed check 10/10 points: Package has 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)

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

Failed check 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.

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

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:243:34

    ╷
243 │ class FileSystemEvent implements uber.FileSystemEvent {
    │                                  ^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/html.dart:44:1

   ╷
44 │ import 'dart:html';
   │ ^^^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY - lib/html.dart:243:34 - The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.

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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
36
downloads

Publisher

verified publishertomaswrobel.dev

Weekly Downloads

The cross-platform file system for Dart (and Flutter of course).

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on fs