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

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

140/ 160
pub points
122
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

56 out of 80 API elements (70.0 %) have documentation comments.

Some symbols that are missing documentation: serinus_config, serinus_config.Config.extensions, serinus_config.ConfigBuilder.ConfigBuilder.new, serinus_config.ConfigExtension, serinus_config.ConfigFeatureModule.

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:dotenv_plus/dotenv_plus.dart that imports:
  • package:dotenv_plus/src/config.dart that imports:
  • package:dotenv_plus/src/config_source.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
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dotenv_plus >=1.1.1 <2.0.0 1.1.2 1.1.2
serinus ^2.0.0 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
acanthis - 1.5.4 1.5.4
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.1 2.13.1
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.18.2 1.18.2
mime - 2.0.0 2.0.0
nanoid2 - 2.0.1 2.0.1
openapi_types - 2.1.0 2.1.0
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.2 1.10.2
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.3 4.5.3
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.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - bin/serinus_config.dart:44:23 - The method 'useService' isn't defined for the type 'SerinusApplication'.
  • UNDEFINED_METHOD - lib/src/config_module.dart:91:30 - The method 'forValue' isn't defined for the type 'Provider'.
  • UNDEFINED_METHOD - lib/src/config_module.dart:92:19 - The method 'Export' isn't defined for the type 'ConfigFeatureModule'.

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.23.12, Dart 3.11.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
122
downloads

Documentation

Documentation
API reference

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

License

MIT (license)

Dependencies

dotenv_plus, serinus

More

Packages that depend on serinus_config