oidc_web_core 0.3.0 copy "oidc_web_core: ^0.3.0" to clipboard
oidc_web_core: ^0.3.0 copied to clipboard

Platformweb

dart web package for oidc protocol

0
likes
130/ 160
pub points
8.56k
downloads

We analyzed this package 3 days ago, and awarded it 130 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

43 out of 77 API elements (55.8 %) have documentation comments.

Some symbols that are missing documentation: oidc_web_core.OidcUserManagerWeb.OidcUserManagerWeb.lazy, oidc_web_core.OidcUserManagerWeb.cleanUpStore, oidc_web_core.OidcUserManagerWeb.clearUnusedStates, oidc_web_core.OidcUserManagerWeb.currentDiscoveryDocument, oidc_web_core.OidcUserManagerWeb.ensureInit.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:oidc_web_core/oidc_web_core.dart that imports:
  • package:oidc_web_core/src/oidc_web_store.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:oidc_web_core/oidc_web_core.dart that imports:
  • package:oidc_web_core/src/oidc_web_store.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:oidc_web_core/oidc_web_core.dart that imports:
  • package:oidc_web_core/src/oidc_web_store.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:oidc_web_core/oidc_web_core.dart that imports:
  • package:oidc_web_core/src/oidc_web_store.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:oidc_web_core/oidc_web_core.dart that imports:
  • package:oidc_web_core/src/oidc_web_store.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/oidc_web_store.dart:38:50

   ╷
38 │     return [storagePrefix, namespace.value, key].whereNotNull().join('.');
   │                                                  ^^^^^^^^^^^^
   ╵

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

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/oidc_web_store.dart:42:53

   ╷
42 │     return [storagePrefix, 'keys', namespace.value].whereNotNull().join('.');
   │                                                     ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.18.0 1.19.1 1.19.1
logging ^1.2.0 1.3.0 1.3.0
oidc_core ^0.9.0 0.9.1 0.9.1
rxdart ^0.27.7 0.27.7 0.28.0
web >=0.5.1 <2.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
copy_with_extension - 5.0.4 6.0.0
crypto - 3.0.6 3.0.6
crypto_keys_plus - 0.4.0 0.4.0
fixnum - 1.1.1 1.1.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
jose_plus - 0.4.6 0.4.6
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
nonce - 1.2.0 1.2.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 3.9.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
x509_plus - 0.3.2 0.3.2

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

The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.17, Dart 3.6.0.

Check the analysis log for details.