serinus_config 1.0.6 copy "serinus_config: ^1.0.6" to clipboard
serinus_config: ^1.0.6 copied to clipboard

A module for Serinus applications that exposes the dotenv package allowing you to load environment variables from a .env file.

100/ 160
pub points
33
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Documentation URL doesn't exist.

At the time of the analysis https://docs.serinus.app/plugins/configuration.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

15 out of 17 API elements (88.2 %) have documentation comments.

Some symbols that are missing documentation: serinus_config, serinus_config.ConfigService.ConfigService.new.

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_config/serinus_config.dart that imports:
  • package:serinus_config/src/config_service.dart that imports:
  • package:serinus/serinus.dart that imports:
  • package:serinus/src/versioning.dart that imports:
  • package:serinus/src/enums/enums.dart that imports:
  • package:serinus/src/enums/request_event.dart that imports:
  • package:serinus/src/exceptions/exceptions.dart that imports:
  • package:serinus/src/exceptions/serinus_exception.dart that imports:
  • package:serinus/src/mixins/mixins.dart that imports:
  • package:serinus/src/mixins/ws_gateway_mixins.dart that imports:
  • package:serinus/src/core/websockets/ws_gateway.dart that imports:
  • package:serinus/src/core/core.dart that imports:
  • package:serinus/src/core/websockets/websockets.dart that imports:
  • package:serinus/src/core/websockets/ws_module.dart that imports:
  • package:serinus/src/services/logger_service.dart that imports:
  • package:serinus/src/services/console_logger_service.dart that imports:
  • dart:io
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

ERROR: 'ConfigModule.registerAsync' ('Future

lib/src/config_module.dart:22:18

   ╷
22 │   Future<Module> registerAsync(ApplicationConfig config) async {
   │                  ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config_module.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
dotenv ^4.2.0 4.2.0 4.2.0
serinus ^1.0.0 1.0.6 2.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
acanthis - 1.5.1 1.5.1
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
email_validator - 3.0.0 3.0.0
encrypt - 5.0.3 5.0.3
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
nanoid2 - 2.0.1 2.0.1
openapi_types - 2.0.1 2.0.1
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
secure_session - 1.0.5 1.0.5
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
yaml - 3.1.3 3.1.3
yaml_writer - 2.1.0 2.1.0

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

The constraint `^1.0.0` on serinus does not support the stable version `2.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
100
points
33
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

A module for Serinus applications that exposes the dotenv package allowing you to load environment variables from a .env file.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#server #httpserver #backend #web #env

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

dotenv, serinus

More

Packages that depend on serinus_config