palace_body_parser 1.0.0+1 copy "palace_body_parser: ^1.0.0+1" to clipboard
palace_body_parser: ^1.0.0+1 copied to clipboard

Parse request bodies and query strings in Dart. Supports JSON, URL-encoded, and multi-part bodies.

130/ 160
pub points
1
downloads

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

68 out of 72 API elements (94.4 %) have documentation comments.

Some symbols that are missing documentation: body_parser.BodyParseResult.BodyParseResult.new, body_parser.CaseInsensitiveMap.retype, body_parser.FileUploadInfo.FileUploadInfo.new, body_parser.MediaType.MediaType.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:palace_body_parser/palace_body_parser.dart that imports:
  • package:palace_body_parser/src/parse_body.dart that imports:
  • package:http_server/http_server.dart that imports:
  • package:http_server/src/http_multipart_form_data.dart that imports:
  • dart:io
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

Found 3 issues. Showing the first 2:

INFO: Missing a deprecation message.

lib/src/parse_body.dart:15:1

   ╷
15 │ @deprecated
   │ ^^^^^^^^^^^
   ╵

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

INFO: An uninitialized field should have an explicit type annotation.

lib/src/parse_body.dart:125:7

    ╷
125 │   var error;
    │       ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/parse_body.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
http_parser ^4.0.0 4.1.2 4.1.2
http_server ^1.0.0 1.0.0 1.0.0 Discontinued
mime ^1.0.0 1.0.6 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

The constraint `^1.0.0` on mime does not support the stable version `2.0.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • http_server.

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:
0
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Parse request bodies and query strings in Dart. Supports JSON, URL-encoded, and multi-part bodies.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http_parser, http_server, mime

More

Packages that depend on palace_body_parser