angel3_security 3.1.0 copy "angel3_security: ^3.1.0" to clipboard
angel3_security: ^3.1.0 copied to clipboard

Angel3 infrastructure for improving security, rate limiting, and more

1
likes
130/ 160
pub points
47
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: angel3_security,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/security/pubspec.yaml from the repository URL mismatch: expected https://github.com/dukefirehawk/angel but got https://github.com/dart-backend/angel.

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: BSD-3-Clause.

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

38 out of 46 API elements (82.6 %) have documentation comments.

Some symbols that are missing documentation: angel3_security, angel3_security.CookieSigner.CookieSigner.fromHmac, angel3_security.InMemoryRateLimiter.InMemoryRateLimiter.new, angel3_security.RateLimiter.RateLimiter.new, angel3_security.RateLimitingWindow.RateLimitingWindow.fromJson.

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 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:angel3_security/angel3_security.dart that imports:
  • package:angel3_security/src/service_rate_limiter.dart that imports:
  • package:angel3_security/src/rate_limiter.dart that imports:
  • package:angel3_framework/angel3_framework.dart that imports:
  • package:angel3_framework/src/core/core.dart that imports:
  • package:angel3_framework/src/core/service.dart that imports:
  • package:angel3_framework/src/core/server.dart that imports:
  • package:angel3_framework/src/core/routable.dart that imports:
  • package:angel3_framework/src/core/response_context.dart that imports:
  • package:angel3_framework/src/core/request_context.dart that imports:
  • package:belatuk_http_server/belatuk_http_server.dart that imports:
  • package:belatuk_http_server/src/http_multipart_form_data.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:angel3_security/angel3_security.dart that imports:
  • package:angel3_security/src/service_rate_limiter.dart that imports:
  • package:angel3_security/src/rate_limiter.dart that imports:
  • package:angel3_framework/angel3_framework.dart that imports:
  • package:angel3_framework/src/core/core.dart that imports:
  • package:angel3_framework/src/core/service.dart that imports:
  • package:angel3_framework/src/core/server.dart that imports:
  • package:angel3_framework/src/core/routable.dart that imports:
  • package:angel3_framework/src/core/response_context.dart that imports:
  • package:angel3_framework/src/core/request_context.dart that imports:
  • package:belatuk_http_server/belatuk_http_server.dart that imports:
  • package:belatuk_http_server/src/http_multipart_form_data.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/src/rate_limiting_window.dart:38:31

   ╷
38 │         (map['user'] as User?)!,
   │                               ^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
angel3_framework ^4.2.0 4.2.4 8.5.0
crypto ^3.0.1 3.0.6 3.0.6
Transitive dependencies
Package Constraint Compatible Latest Notes
angel3_container - 3.1.1 8.3.0
angel3_http_exception - 3.1.0 8.3.0
angel3_mock_request - 2.1.0 8.3.0
angel3_model - 3.1.1 8.3.0
angel3_route - 5.2.0 8.4.0
async - 2.13.0 2.13.0
belatuk_code_buffer - 3.0.2 5.3.0
belatuk_combinator - 3.0.1 5.3.0
belatuk_http_server - 2.1.0 4.5.0
belatuk_merge_map - 3.0.2 5.3.0
boolean_selector - 2.1.2 2.1.2
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
file - 6.1.4 7.0.1
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1

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

The constraint `^4.2.0` on angel3_framework does not support the stable version `6.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
47
downloads

Publisher

verified publisherdukefirehawk.com

Weekly Downloads

Angel3 infrastructure for improving security, rate limiting, and more

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

angel3_framework, crypto

More

Packages that depend on angel3_security