spry 6.1.0 copy "spry: ^6.1.0" to clipboard
spry: ^6.1.0 copied to clipboard

Spry is a lightweight, composable Dart web framework designed to work collaboratively with various runtime platforms.

10
likes
140/ 160
pub points
295
downloads

We analyzed this package 6 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

116 out of 122 API elements (95.1 %) have documentation comments.

Some symbols that are missing documentation: server, spry, spry.Event.Event.new, spry.FormData.entries, spry.ServerOptions.ServerOptions.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:spry/spry.dart that imports:
  • package:spry/src/responder/responder.dart that imports:
  • package:spry/src/http/response.dart that imports:
  • package:spry/src/_utils.dart that imports:
  • package:spry/src/responder/_resolve.dart that imports:
  • package:spry/src/responder/_resolve_web.dart that imports:
  • package:spry/src/event.dart that imports:
  • package:spry/src/spry.dart that imports:
  • package:spry/src/server/serve.dart that imports:
  • package:spry/src/server/runtime/runtime.dart that imports:
  • package:spry/src/server/runtime/js_server.dart that imports:
  • dart:js_util

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.

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

INFO: 'dart:js_util' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/src/server/runtime/js_server.dart:2:1

  ╷
2 │ import 'dart:js_util' as js_utils show globalThis;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/server/runtime/js_server.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
cross_file ^0.3.4+2 0.3.4+2 0.3.4+2
http_parser ^4.1.1 4.1.2 4.1.2
mime ^2.0.0 2.0.0 2.0.0
path ^1.9.1 1.9.1 1.9.1
routingkit ^4.1.0 4.1.1 5.1.2
slugid ^1.1.2 1.1.2 1.1.2
web ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
meta - 1.16.0 1.16.0
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 `^4.1.0` on routingkit does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions routingkit 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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
10
likes
140
points
295
downloads

Publisher

verified publisherodroe.dev

Weekly Downloads

Spry is a lightweight, composable Dart web framework designed to work collaboratively with various runtime platforms.

Homepage
Repository (GitHub)

Topics

#http #server #web #request #response

Documentation

API reference

Funding

Consider supporting this project:

github.com
opencollective.com

License

MIT (license)

Dependencies

cross_file, http_parser, mime, path, routingkit, slugid, web

More

Packages that depend on spry