atproto_core 0.11.1 copy "atproto_core: ^0.11.1" to clipboard
atproto_core: ^0.11.1 copied to clipboard

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

2
likes
140/ 160
pub points
54%
popularity

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

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

200 out of 296 API elements (67.6 %) have documentation comments.

Some symbols that are missing documentation: atproto_core, atproto_core.AtUriConverter, atproto_core.AtUriConverter.fromJson, atproto_core.AtUriConverter.toJson, atproto_core.BaseHttpService.

10/10 points: Package has an example and has no issues with screenshots

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

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

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

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/jwt.dart:16:4

   ╷
16 │   @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
   │    ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/jwt.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
at_uri ^0.4.0 0.4.0 0.4.0
atproto_oauth ^0.1.0 0.1.0 0.1.0
cbor ^6.2.0 6.3.3 6.3.3
freezed_annotation ^2.4.1 2.4.4 2.4.4
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.6.0 0.6.0 0.6.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
at_identifier - 0.2.2 0.2.2
base_codecs - 1.0.1 1.0.1
buffer - 1.2.3 1.2.3
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.2.2 1.2.2
http_parser - 4.1.1 4.1.1
ieee754 - 1.0.3 1.0.3
js - 0.7.1 0.7.1
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
pointycastle - 3.9.1 3.9.1
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 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.15, Dart 3.5.4.

Check the analysis log for details.

2
likes
140
pub points
54%
popularity
screenshot

Publisher

verified publisheratprotodart.com

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#atproto #bluesky #api #core

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

at_uri, atproto_oauth, cbor, freezed_annotation, json_annotation, multiformats, universal_io, xrpc

More

Packages that depend on atproto_core