stream 4.0.1 copy "stream: ^4.0.1" to clipboard
stream: ^4.0.1 copied to clipboard

Lightweight Dart web server supporting request routing, filtering, template engine, MVC design pattern, and file-based static resources.

8
likes
110/ 160
pub points
75%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/rikulo/stream/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

309 out of 363 API elements (85.1 %) have documentation comments.

Some symbols that are missing documentation: stream, stream.ErrorDetail.error, stream.ErrorDetail.stackTrace, stream.Http400.Http400.fromConnect, stream.Http401.Http401.fromConnect.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:stream/stream.dart that imports:
  • package:stream/plugin.dart that imports:
  • package:rikulo_commons/io.dart that imports:
  • package:rikulo_commons/convert.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:stream/stream.dart that imports:
  • package:stream/plugin.dart that imports:
  • package:rikulo_commons/io.dart that imports:
  • package:rikulo_commons/convert.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 285 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'int?', but ends without returning a value.

lib/src/plugin/router.dart:236:8

    ╷
236 │   int? getFilterIndex(HttpConnect connect, String uri, int iFilter) {
    │        ^^^^^^^^^^^^^^
    ╵

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

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/src/plugin/router.dart:251:18

    ╷
251 │   static String? getNamedGroup(HttpConnect connect, String name) {
    │                  ^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
args any 2.6.0 2.6.0
charcode any 1.4.0 1.4.0
http any 1.2.2 1.2.2
logging any 1.3.0 1.3.0
path any 1.9.1 1.9.1
rikulo_commons any 6.1.0 6.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/plugin/loader.dart:241:46 - The named parameter 'isExtension' isn't defined.
  • UNDEFINED_METHOD - lib/src/rsp_util.dart:110:23 - The method 'encodeNS' isn't defined for the type 'XmlUtil'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/rspc/compiler.dart:163:36 - The argument type 'String?' can't be assigned to the parameter type 'String'.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

8
likes
110
pub points
75%
popularity

Publisher

verified publisherquire.io

Lightweight Dart web server supporting request routing, filtering, template engine, MVC design pattern, and file-based static resources.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, charcode, http, logging, path, rikulo_commons

More

Packages that depend on stream