shelf_easy 2.3.1 copy "shelf_easy: ^2.3.1" to clipboard
shelf_easy: ^2.3.1 copied to clipboard

This library includes a json model generator, a unified database operator interface, a server and client framework, a virtual machine for AOT code push, and a log module.

6
likes
80/ 160
pub points
520
downloads

We analyzed this package 11 hours ago, and awarded it 80 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

732 out of 889 API elements (82.3 %) have documentation comments.

Some symbols that are missing documentation: shelf_deps, shelf_deps.AES.AES.new, shelf_deps.AES.key, shelf_deps.AES.mode, shelf_deps.AES.padding.

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 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:shelf_easy/shelf_easy.dart that imports:
  • package:shelf_easy/src/easy.dart that imports:
  • package:shelf_easy/src/easy_unidb.dart that imports:
  • package:shelf_easy/src/easy_class.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 1370 issues. Showing the first 2:

ERROR: A generative constructor of an abstract class can't be torn off.

lib/src/vm/vm_library.dart:4376:77

     ╷
4376 │       'new': VmProxy(identifier: 'new', externalStaticPropertyReader: () => Platform.new),
     │                                                                             ^^^^^^^^^^^^
     ╵

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

ERROR: The name 'UnmodifiableByteBufferView' isn't a type, so it can't be used as a type argument.

lib/src/vm/vm_library.dart:7276:58

     ╷
7276 │   static final classUnmodifiableByteBufferView = VmClass<UnmodifiableByteBufferView>(
     │                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
analyzer ^5.12.0 5.13.0 7.4.2
bson ^4.0.0 4.0.0 5.0.5
crypto ^3.0.0 3.0.6 3.0.6
dart_style ^2.3.0 2.3.2 3.0.1
encrypt ^5.0.0 5.0.3 5.0.3
fixnum ^1.1.0 1.1.1 1.1.1
http ^0.13.0 0.13.6 1.3.0
http_parser ^4.0.0 4.1.2 4.1.2
meta ^1.8.0 1.16.0 1.16.0
mime ^1.0.0 1.0.6 2.0.0
mongo_dart ^0.9.0 0.9.4 0.10.4
shelf ^1.4.0 1.4.2 1.4.2
shelf_cors_headers ^0.1.0 0.1.5 0.1.5
shelf_multipart ^1.0.0 1.0.0 2.0.1
shelf_router ^1.1.0 1.1.4 1.1.4
shelf_static ^1.1.0 1.1.3 1.1.3
shelf_web_socket ^1.0.0 1.0.4 3.0.0
uuid ^3.0.0 3.0.7 4.5.1
web_socket_channel ^2.3.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 61.0.0 82.0.0
args - 2.7.0 2.7.0
asn1lib - 1.6.3 1.6.3
async - 2.13.0 2.13.0
basic_utils - 5.5.4 5.8.2
buffer - 1.2.3 1.2.3
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
decimal - 2.3.3 3.2.1
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
http_methods - 1.1.1 1.1.1
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
mongo_dart_query - 4.0.5 5.0.2
package_config - 2.2.0 2.2.0
packages_extensions - 0.1.0 0.1.1
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
pool - 1.5.1 1.5.1
power_extensions - 0.2.3 0.2.3
pub_semver - 2.2.0 2.2.0
rational - 2.2.3 2.2.3
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
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
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.0 0.3.0
vy_string_utils - 0.4.6 0.4.6
watcher - 1.1.1 1.1.1
web - 0.5.1 1.1.1
yaml - 3.1.3 3.1.3

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

Found 10 issues. Showing the first 2:

The constraint `^5.12.0` on analyzer does not support the stable version `6.0.0`.

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

The constraint `^4.0.0` on bson does not support the stable version `5.0.0`.

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

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 1357 errors:

  • TEAROFF_OF_GENERATIVE_CONSTRUCTOR_OF_ABSTRACT_CLASS - lib/src/vm/vm_library.dart:4376:77 - A generative constructor of an abstract class can't be torn off.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/vm/vm_library.dart:7276:58 - The name 'UnmodifiableByteBufferView' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_IDENTIFIER - lib/src/vm/vm_library.dart:7280:77 - Undefined name 'UnmodifiableByteBufferView'.

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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
80
points
520
downloads

Publisher

verified publishercszykj.com

Weekly Downloads

This library includes a json model generator, a unified database operator interface, a server and client framework, a virtual machine for AOT code push, and a log module.

Repository (GitHub)

Topics

#client #server #shelf #eval #codepush

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, bson, crypto, dart_style, encrypt, fixnum, http, http_parser, meta, mime, mongo_dart, shelf, shelf_cors_headers, shelf_multipart, shelf_router, shelf_static, shelf_web_socket, uuid, web_socket_channel

More

Packages that depend on shelf_easy