cognito_dart_auth_sdk 0.0.1-pre+1 copy "cognito_dart_auth_sdk: ^0.0.1-pre+1" to clipboard
cognito_dart_auth_sdk: ^0.0.1-pre+1 copied to clipboard

A Dart SDK for Cognito Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.

70/ 160
pub points
5
downloads

We analyzed this package 4 days ago, and awarded it 70 pub points (of a possible 160):

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/aortem/cognito_dart_auth_sdk 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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting cognito_dart_auth_sdk... Discovering libraries... ERR: dartdoc 8.3.4 (/tmp/analyzerSJFOCH/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.9.2.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_CLSASD/lib/src'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:202:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:290:22)

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Found 43 issues. Showing the first 2:

ERROR: The function 'cognitoAuth' isn't defined.

bin/main.dart:4:16

  ╷
4 │   final auth = cognitoAuth(
  │                ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/main.dart

ERROR: Target of URI doesn't exist: 'src/cognito_auth.dart'.

lib/cognito_dart_auth_sdk.dart:3:8

  ╷
3 │ export 'src/cognito_auth.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
ds_standard_features ^0.0.4 0.0.9 0.1.1
jwt_generator ^0.0.3 0.0.4 0.0.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.0.0 2.0.0
grpc - 4.2.0 4.2.0
http - 1.5.0 1.5.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
os_detect - 2.0.3 2.0.3
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
pointycastle - 4.0.0 4.0.0
protobuf - 4.2.0 4.2.0
rsa_pkcs - 2.1.0 2.1.0
source_span - 1.10.1 1.10.1
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 - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.0.4` on ds_standard_features does not support the stable version `0.1.0`, that was published 24 days ago.

When ds_standard_features is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions ds_standard_features to update the constraint.

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 42 errors:

  • UNDEFINED_FUNCTION - bin/main.dart:4:16 - The function 'cognitoAuth' isn't defined.
  • URI_DOES_NOT_EXIST - lib/cognito_dart_auth_sdk.dart:3:8 - Target of URI doesn't exist: 'src/cognito_auth.dart'.
  • URI_DOES_NOT_EXIST - lib/cognito_dart_auth_sdk.dart:4:8 - Target of URI doesn't exist: 'src/user_credential.dart'.

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.23, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

unverified uploader

Weekly Downloads

A Dart SDK for Cognito Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.

Repository (GitHub)

License

unknown (license)

Dependencies

ds_standard_features, jwt_generator

More

Packages that depend on cognito_dart_auth_sdk