lazy_sign_in_extension 2.1.3 copy "lazy_sign_in_extension: ^2.1.3" to clipboard
lazy_sign_in_extension: ^2.1.3 copied to clipboard

Chrome/Firefox extension Google sign-in library base on `LazySignIn``

80/ 160
pub points
56
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

23 out of 27 API elements (85.2 %) have documentation comments.

Some symbols that are missing documentation: lazy.SignInExtChrome.authorize, lazy.SignInExtChrome.debugLog, lazy.SignInExtMoz.authorize, lazy.SignInExtMoz.debugLog.

Passed check 10/10 points: Package has an example

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

Passed check 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:lazy_sign_in_extension/lazy_sign_in_extension.dart that imports:
  • package:lazy_sign_in_extension/src/sign_in_ext_moz.dart that imports:
  • package:lazy_sign_in_extension/src/js/api_moz.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform iOS

Because:

  • package:lazy_sign_in_extension/lazy_sign_in_extension.dart that imports:
  • package:lazy_sign_in_extension/src/sign_in_ext_moz.dart that imports:
  • package:lazy_sign_in_extension/src/js/api_moz.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform Windows

Because:

  • package:lazy_sign_in_extension/lazy_sign_in_extension.dart that imports:
  • package:lazy_sign_in_extension/src/sign_in_ext_moz.dart that imports:
  • package:lazy_sign_in_extension/src/js/api_moz.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform Linux

Because:

  • package:lazy_sign_in_extension/lazy_sign_in_extension.dart that imports:
  • package:lazy_sign_in_extension/src/sign_in_ext_moz.dart that imports:
  • package:lazy_sign_in_extension/src/js/api_moz.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
Package not compatible with platform macOS

Because:

  • package:lazy_sign_in_extension/lazy_sign_in_extension.dart that imports:
  • package:lazy_sign_in_extension/src/sign_in_ext_moz.dart that imports:
  • package:lazy_sign_in_extension/src/js/api_moz.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util
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 17 issues. Showing the first 2:

ERROR: The method 'promiseToFuture' isn't defined for the type 'ApiChrome'.

lib/src/js/api_chrome.dart:47:12

   ╷
47 │     return promiseToFuture(promise);
   │            ^^^^^^^^^^^^^^^
   ╵

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

ERROR: The method 'promiseToFuture' isn't defined for the type 'ApiChrome'.

lib/src/js/api_chrome.dart:55:12

   ╷
55 │     return promiseToFuture(promise);
   │            ^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
http ^1.0.0 1.6.0 1.6.0
js ^0.6.7 0.6.7 0.7.2 Discontinued
lazy_extensions ^2.1.0 2.1.1 2.1.1
lazy_log ^2.0.1 2.0.2 2.0.2
lazy_sign_in ^2.1.0 2.1.2 2.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
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
vector_math - 2.2.0 2.2.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.6.7` on js does not support the stable version `0.7.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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

  • UNDEFINED_METHOD - lib/src/js/api_chrome.dart:47:12 - The method 'promiseToFuture' isn't defined for the type 'ApiChrome'.
  • UNDEFINED_METHOD - lib/src/js/api_chrome.dart:55:12 - The method 'promiseToFuture' isn't defined for the type 'ApiChrome'.
  • UNDEFINED_METHOD - lib/src/js/api_moz.dart:68:12 - The method 'promiseToFuture' isn't defined for the type 'ApiMoz'.

Run flutter pub downgrade and then flutter 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.23.3, Flutter 3.38.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
80
points
56
downloads

Publisher

verified publisherjsiu.dev

Weekly Downloads

Chrome/Firefox extension Google sign-in library base on `LazySignIn``

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, js, lazy_extensions, lazy_log, lazy_sign_in

More

Packages that depend on lazy_sign_in_extension