phantom 1.0.4 copy "phantom: ^1.0.4" to clipboard
phantom: ^1.0.4 copied to clipboard

The torch of black flames continues to burn

0
likes
110/ 160
pub points
73
downloads

We analyzed this package 14 hours ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

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: GPL-3.0.

failed
Provide documentation
0 / 20trigger folding of the section

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

21 out of 185 API elements (11.4 %) 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: firestorage, firestorage.FireFS, firestorage.FireFS.FireFS, firestorage.FireFS.bucket, firestorage.FireFS.ref.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:phantom/phantom.dart that imports:
  • package:phantom/server/phantom_server.dart that imports:
  • package:phantom/node/pool.dart that imports:
  • package:phantom/node/traits/web_server.dart that imports:
  • package:phantom/node/traits/routing.dart that imports:
  • package:reflect_buddy/reflect_buddy.dart that imports:
  • package:reflect_buddy/src/extensions/mirror_extensions.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:phantom/phantom.dart that imports:
  • package:phantom/server/phantom_server.dart that imports:
  • package:phantom/node/pool.dart that imports:
  • package:phantom/node/traits/web_server.dart that imports:
  • package:phantom/node/traits/routing.dart that imports:
  • package:reflect_buddy/reflect_buddy.dart that imports:
  • package:reflect_buddy/src/extensions/mirror_extensions.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:phantom/phantom.dart that imports:
  • package:phantom/util/firestore.dart that imports:
  • package:fire_api_dart/fire_api_dart.dart that imports:
  • package:googleapis_auth/auth_io.dart that imports:
  • package:googleapis_auth/src/oauth2_flows/authorization_code_grant_server_flow.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:phantom/phantom.dart that imports:
  • package:phantom/util/firestore.dart that imports:
  • package:fire_api_dart/fire_api_dart.dart that imports:
  • package:googleapis_auth/auth_io.dart that imports:
  • package:googleapis_auth/src/oauth2_flows/authorization_code_grant_server_flow.dart that 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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

WARNING: The declaration 'OnRequest._' isn't referenced.

lib/node/annotations/webserver.dart:5:19

  ╷
5 │   const OnRequest._(this.method, this.path);
  │                   ^
  ╵

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

WARNING: The declaration '_defaultStorageReader' isn't referenced.

lib/node/pool.dart:17:31

   ╷
17 │ Future<Map<String, dynamic>?> _defaultStorageReader(String key) async {
   │                               ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.6.0 2.6.0 2.6.0
chat_color ^1.0.0 1.0.0 1.0.0
color ^3.0.0 3.0.0 3.0.0
curse ^1.0.3 1.0.3 1.0.3
fire_api ^1.1.9+5 1.1.9+5 1.1.9+5
fire_api_dart ^1.1.6 1.1.6 1.1.6
fire_crud ^2.3.7 2.3.9 2.3.9
google_cloud ^0.2.0 0.2.0 0.2.0
googleapis ^13.2.0 13.2.0 13.2.0
googleapis_auth ^1.6.0 1.6.0 1.6.0
hotreloader ^4.2.0 4.2.0 4.2.0
http ^1.2.2 1.2.2 1.2.2
precision_stopwatch ^1.0.2 1.0.2 1.0.2
reflect_buddy ^1.4.2 1.6.1 1.6.1
shelf ^1.4.2 1.4.2 1.4.2
shelf_cors_headers ^0.1.5 0.1.5 0.1.5
shelf_multipart ^2.0.0 2.0.0 2.0.0
shelf_router ^1.1.4 1.1.4 1.1.4
shelf_static ^1.1.3 1.1.3 1.1.3
shelf_web_socket ^2.0.0 2.0.1 2.0.1
synchronized ^3.3.0+3 3.3.0+3 3.3.0+3
thread any 0.2.2 0.2.2
toxic ^1.3.1 1.3.2 1.3.2
watcher ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
async - 2.12.0 2.12.0
async_signal - 0.0.3 0.0.3
chunked_stream - 1.4.2 1.4.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
collection_walker - 2.0.1 2.0.1
colored_print - 1.0.0 1.0.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
events_emitter - 0.5.2 0.5.2
fast_log - 1.0.7 1.0.7
google_identity_services_web - 0.3.3 0.3.3
http_methods - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
intl - 0.20.1 0.20.1
io - 1.0.5 1.0.5
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
pylon_codec - 1.0.0 1.0.0
rxdart - 0.27.7 0.28.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
throttled - 1.0.1 1.0.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vm_service - 14.3.1 15.0.0
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.