otp 2.2.3
otp: ^2.2.3 copied to clipboard

Dart native js
Flutter Android iOS web

RFC6238 Time-Based One-Time Password / Google Authenticator Library

27
likes
90 / 110
pub points
87 %
popularity

We analyzed this package on Jan 23, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 15 out of 18 API elements (83.3 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

INFO: 'List' is deprecated and shouldn't be used.

lib/otp.dart:165:21

    ╷
165 │     final newList = List<int>();
    │                     ^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/otp.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
base32>=1.1.1 <2.0.01.1.21.1.2
convert>=2.0.0 <3.0.02.1.12.1.1
crypto>=2.1.3 <3.0.02.1.52.1.5
quick_log>=1.0.0 <2.0.01.1.42.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-14.0.014.0.0
analyzer-0.41.20.41.2
args-1.6.01.6.0
async-2.4.22.4.2
boolean_selector-2.0.02.0.0
built_collection-4.3.24.3.2
built_value-7.1.07.1.0
charcode-1.1.31.1.3
cli_util-0.2.00.2.0
collection-1.14.131.14.13
coverage-0.14.20.15.1
equatable-1.2.51.2.5
file-5.2.15.2.1
fixnum-0.10.110.10.11
glob-1.2.01.2.0
hasura-1.5.01.5.0
hive-1.4.4+11.4.4+1
http-0.12.20.12.2
http_multi_server-2.2.02.2.0
http_parser-3.1.43.1.4
intl-0.16.10.16.1
io-0.3.40.3.4
js-0.6.20.6.2
logging-0.11.40.11.4
matcher-0.12.90.12.9
meta-1.2.41.2.4
mime-0.9.70.9.7
no_bloc-0.3.100.3.10
node_interop-1.2.11.2.1
node_io-1.2.01.2.0
node_preamble-1.4.121.4.12
package_config-1.9.31.9.3
path-1.7.01.7.0
pool-1.4.01.4.0
pub_semver-1.4.41.4.4
quiver-2.1.52.1.5
rxdart-0.24.10.25.0
shelf-0.7.90.7.9
shelf_packages_handler-2.0.02.0.0
shelf_static-0.2.9+10.2.9+1
shelf_web_socket-0.2.30.2.3
source_map_stack_trace-2.0.02.0.0
source_maps-0.10.90.10.9
source_span-1.7.01.7.0
stack_trace-1.9.61.9.6
stream_channel-2.0.02.0.0
string_scanner-1.0.51.0.5
synchronized-2.2.0+22.2.0+2
term_glyph-1.1.01.1.0
test_api-0.2.18+10.2.18+1
test_core-0.3.11+40.3.11+4
typed_data-1.2.01.2.0
uuid-2.2.22.2.2
vm_service-4.2.05.5.0
watcher-0.9.7+150.9.7+15
web_socket_channel-1.2.01.2.0
webkit_inspection_protocol-0.7.40.7.4
websocket-0.0.50.0.5
yaml-2.2.12.2.1

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

The constraint `>=1.0.0 <2.0.0` on quick_log does not support the latest published version `2.0.0`

pubspec.yaml:11:14

   ╷
11 │   quick_log: ">=1.0.0 <2.0.0"
   │              ^^^^^^^^^^^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

27
likes
90
pub points
87%
popularity

Publisher

yuli.dev

RFC6238 Time-Based One-Time Password / Google Authenticator Library

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

base32, convert, crypto, quick_log

More

Packages that depend on otp