petit_httpd 1.1.0
petit_httpd: ^1.1.0 copied to clipboard
A simple HTTP file server integrated with Let's Encrypt, gzip and CORS.
We analyzed this package 14 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
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
15 out of 26 API elements (57.7 %) have documentation comments.
Some symbols that are missing documentation: petit_httpd.PetitHTTPD.PetitHTTPD.new, petit_httpd.PetitHTTPD.VERSION, petit_httpd.PetitHTTPD.exposeHeaders, petit_httpd.PetitHTTPD.getOrigin, petit_httpd.PetitHTTPD.getRemoteAddress.
10/10 points: Package has 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:petit_httpd/petit_httpd.dartthat imports:package:petit_httpd/src/petit_httpd_base.dartthat imports:package:shelf_static/shelf_static.dartthat imports:package:shelf_static/src/static_handler.dartthat imports:package:shelf_static/src/directory_listing.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args_simple |
^1.0.0 |
1.1.0 | 1.1.0 | |
shelf |
^1.4.1 |
1.4.2 | 1.4.2 | |
shelf_gzip |
^4.0.1 |
4.1.0 | 4.1.0 | |
shelf_letsencrypt |
^1.2.0 |
1.2.2 | 2.0.3 | |
shelf_static |
^1.1.2 |
1.1.3 | 1.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
acme_client |
- | 1.3.0 | 1.3.0 | |
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
basic_utils |
- | 5.8.2 | 5.8.2 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cli_config |
- | 0.2.0 | 0.2.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
coverage |
- | 1.15.0 | 1.15.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
crypto_keys |
- | 0.3.0+2 | 0.3.0+2 | |
dio |
- | 5.9.0 | 5.9.0 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jose |
- | 0.3.5 | 0.3.5 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
posix |
- | 6.0.3 | 6.0.3 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
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.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.2.0` on shelf_letsencrypt does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions shelf_letsencrypt to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.