rikulo_security 2.5.0
rikulo_security: ^2.5.0 copied to clipboard
A lightweight and highly customizable authentication and access-control framework for Rikulo Stream.
We analyzed this package 5 days ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:6:5
╷
6 │ <li><a href="http://stackoverflow.com/questions/tagged/rikulo">Discussion</a></li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 54 API elements (75.9 %) have documentation comments.
Some symbols that are missing documentation: rikulo_security
, rikulo_security.AccessControl.AccessControl.new
, rikulo_security.AuthenticationException.AuthenticationException.new
, rikulo_security.AuthenticationException.message
, rikulo_security.Authenticator.Authenticator.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:rikulo_security/plugin.dart
that imports:package:rikulo_security/security.dart
that imports:package:rikulo_commons/io.dart
that imports:package:rikulo_commons/convert.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:rikulo_security/plugin.dart
that imports:package:rikulo_security/security.dart
that imports:package:rikulo_commons/io.dart
that imports:package:rikulo_commons/convert.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 27 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/src/plugin/access_control.dart:5:1
╷
5 │ part of rikulo_security_plugin;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/plugin/access_control.dart
INFO: Statements in a for should be enclosed in a block.
lib/src/plugin/access_control.dart:46:13
╷
46 │ ┌ if (col1.contains(role))
47 │ └ return true;
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/plugin/access_control.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
rikulo_commons |
any |
7.0.0 | 7.0.0 | |
stream |
any |
4.2.0 | 4.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 1.4.0 | 1.4.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.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 | |
web |
- | 1.1.1 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_NAMED_PARAMETER
-lib/src/security/security_impl.dart:60:13
- The named parameter 'maxLength' isn't defined.
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.21
, Dart 3.8.1
.
Check the analysis log for details.