atproto_core 1.0.0-preview.1
atproto_core: ^1.0.0-preview.1 copied to clipboard
Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/myConsciousness/atproto.dart/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
171 out of 240 API elements (71.3 %) have documentation comments.
Some symbols that are missing documentation: atproto_core
, atproto_core.AtUriConverter
, atproto_core.AtUriConverter.fromJson
, atproto_core.AtUriConverter.toJson
, atproto_core.AuthScope
.
10/10 points: Package has an example and has no issues with screenshots
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:atproto_core/atproto_core.dart
that imports:package:atproto_core/src/clients/service_context.dart
that imports:package:atproto_core/src/clients/challenge.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_browser.dart
that imports:package:universal_io/src/internet_address.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:atproto_core/atproto_core.dart
that imports:package:atproto_core/src/clients/service_context.dart
that imports:package:atproto_core/src/clients/challenge.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_vm.dart
that imports:package:universal_io/src/new_universal_http_client.dart
that imports:package:universal_io/src/_helpers.dart
that imports:package:universal_io/src/_helpers_impl_elsewhere.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: The annotation 'jsonSerializable' can only be used on classes.
lib/src/types/session.dart:22:4
╷
22 │ @jsonSerializable
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/types/session.dart
WARNING: The annotation 'jsonSerializable' can only be used on classes.
lib/src/utils/auth_token.dart:23:4
╷
23 │ @jsonSerializable
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/auth_token.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
at_uri |
^0.4.0 |
0.4.0 | 0.4.0 | |
cbor |
^6.2.0 |
6.3.6 | 6.3.6 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.0.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
multiformats |
^0.2.3 |
0.2.3 | 0.2.3 | |
universal_io |
^2.2.2 |
2.2.2 | 2.2.2 | |
xrpc |
^0.5.2 |
0.5.3 | 0.6.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
at_identifier |
- | 0.2.2 | 0.2.2 | |
base_codecs |
- | 1.0.1 | 1.0.1 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_multihash |
- | 1.0.1 | 1.0.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
ieee754 |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.16.0 | 1.16.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
nsid |
- | 0.4.1 | 0.4.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
to update the constraint.
The constraint `^0.5.2` on xrpc does not support the stable version `0.6.0`.
Try running dart pub upgrade --major-versions xrpc
to update the constraint.
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.20
, Dart 3.7.2
.
Check the analysis log for details.