celest_core 0.5.0-dev.0 copy "celest_core: ^0.5.0-dev.0" to clipboard
celest_core: ^0.5.0-dev.0 copied to clipboard

Celest types and utilities shared between the client and the cloud.

0
likes
150/ 160
pub points
42%
popularity

We analyzed this package 1 hour ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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-2-Clause-Patent.

OK
Provide documentation
20 / 20trigger folding of the section

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

265 out of 335 API elements (79.1 %) have documentation comments.

Some symbols that are missing documentation: _internal, _internal.Authenticator, _internal.Authenticator.Authenticator, _internal.Authenticator.Authenticator.static, _internal.Authenticator.revoke.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:grpc/grpc_or_grpcweb.dart that imports:
  • package:grpc/src/client/options.dart that imports:
  • package:grpc/src/client/transport/http2_credentials.dart that imports:
  • package:grpc/src/shared/security.dart that imports:
  • dart:io

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:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/base/celest_base.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/base/celest_base.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/base/celest_base.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.linux.dart that imports:
  • package:native_storage/src/native/linux/linux.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/base/celest_base.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:celest_core/_internal.dart that imports:
  • package:celest_core/src/base/celest_base.dart that imports:
  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:celest_core/celest_core.dart that imports:
  • package:celest_core/src/exception/cloud_exception.dart that imports:
  • package:grpc/grpc_or_grpcweb.dart that imports:
  • package:grpc/src/shared/api.dart that imports:
  • package:grpc/src/shared/status.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits_io.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: The import of 'package:celest_core/src/auth/authenticator.dart' is unnecessary because all of the used elements are also provided by the import of 'package:celest_core/_internal.dart'.

lib/src/events/event_channel.vm.dart:8:8

  ╷
8 │ import 'package:celest_core/src/auth/authenticator.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/events/event_channel.vm.dart

INFO: The type name 'httpError' isn't an UpperCamelCase identifier.

lib/src/http/http_error.dart:12:13

   ╷
12 │ final class httpError {
   │             ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/http/http_error.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
async ^2.11.0 2.11.0 2.11.0
collection ^1.18.0 1.19.0 1.19.0
grpc ^4.0.0 4.0.1 4.0.1
http ^1.0.0 1.2.2 1.2.2
http_parser ^4.0.0 4.1.0 4.1.0
logging ^1.2.0 1.2.0 1.2.0
meta ^1.10.0 1.16.0 1.16.0
native_storage >=0.1.7 <0.3.0 0.2.2 0.2.2
os_detect ^2.0.1 2.0.1 2.0.1
path ^1.9.0 1.9.0 1.9.0
protobuf ^3.0.0 3.1.0 3.1.0
stream_channel ^2.1.2 2.1.2 2.1.2
web >=0.5.0 <2.0.0 1.1.0 1.1.0
web_socket ^0.1.0 0.1.6 0.1.6
web_socket_channel ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
clock - 1.1.1 1.1.1
crypto - 3.0.5 3.0.5
ffi - 2.1.3 2.1.3
fixnum - 1.1.0 1.1.0
google_identity_services_web - 0.3.1+4 0.3.1+4
googleapis_auth - 1.6.0 1.6.0
http2 - 2.3.0 2.3.0
jni - 0.11.0 0.11.0
package_config - 2.1.0 2.1.0
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
win32 - 5.5.4 5.5.4
win32_registry - 1.1.5 1.1.5
windows_applicationmodel - 0.2.0 0.2.0
windows_data - 0.2.0 0.2.0
windows_devices - 0.2.0 0.2.0
windows_foundation - 0.2.0 0.2.0
windows_globalization - 0.1.0+1 0.1.0+1
windows_graphics - 0.2.0 0.2.0
windows_media - 0.2.0 0.2.0
windows_networking - 0.2.0 0.2.0
windows_perception - 0.1.0 0.1.0
windows_security - 0.1.0+1 0.1.0+1
windows_services - 0.1.0 0.1.0
windows_storage - 0.2.0 0.2.0
windows_system - 0.1.0+1 0.1.0+1
windows_ui - 0.2.0 0.2.0
xdg_directories - 1.0.4 1.0.4

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.12, Dart 3.5.3.

Check the analysis log for details.