serinus_rate_limiter 1.0.2 copy "serinus_rate_limiter: ^1.0.2" to clipboard
serinus_rate_limiter: ^1.0.2 copied to clipboard

discontinuedreplaced by: serinus

Hook to rate limit requests in a Serinus Application.

140/ 160
pub points
4
downloads

We analyzed this package 15 days ago, and awarded it 140 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.

Repository has no matching pubspec.yaml with name: serinus_rate_limiter.

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: serinus_rate_limiter,
    • contains a version property, and,
    • does not contain a publish_to property.
Documentation URL doesn't exist.

At the time of the analysis https://docs.serinus.app/plugins/rate_limiter.html was unreachable. Make sure that the website is reachable via HEAD requests.

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

14 out of 18 API elements (77.8 %) have documentation comments.

Some symbols that are missing documentation: serinus_rate_limiter, serinus_rate_limiter.RateLimitExceeded.message, serinus_rate_limiter.RateLimitExceeded.uri, serinus_rate_limiter.RateLimiterHook.

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 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:serinus_rate_limiter/serinus_rate_limiter.dart that imports:
  • package:serinus_rate_limiter/src/exception.dart that imports:
  • package:serinus/serinus.dart that imports:
  • package:serinus/src/services/logger_service.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

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
serinus ^0.6.0 0.6.2 2.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
acanthis - 0.1.3 1.5.1
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
email_validator - 2.1.17 3.0.0
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
shelf - 1.4.2 1.4.2
source_span - 1.10.1 1.10.1
spanner - 1.0.6 1.0.6
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
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3

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

The constraint `^0.6.0` on serinus does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions serinus 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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
4
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

Hook to rate limit requests in a Serinus Application.

Topics

#server #httpserver #backend #web #rate-limiter

Documentation

API reference

License

MIT (license)

Dependencies

serinus

More

Packages that depend on serinus_rate_limiter