palace 0.0.1+4 copy "palace: ^0.0.1+4" to clipboard
palace: ^0.0.1+4 copied to clipboard

minimal server side dart micro-framework for building REST api easily

16
likes
140/ 160
pub points
2
downloads

We analyzed this package 29 hours ago, and awarded it 140 pub points (of a possible 160):

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

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

24 out of 119 API elements (20.2 %) have documentation comments.

Some symbols that are missing documentation: dto_builder, dto_builder.buildDto, dto_builder.initDto, dto_validator, file_helper.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:palace/palace.dart that imports:
  • package:palace/src/core/palace.dart that imports:
  • package:palace/src/core/collector.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:palace/palace.dart that imports:
  • package:palace/src/core/palace.dart that imports:
  • package:palace/src/core/collector.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:palace/palace.dart that imports:
  • package:palace/src/exceptions/un_authorized.dart that imports:
  • package:palace/src/exceptions/imp_exception.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:palace/palace.dart that imports:
  • package:palace/src/exceptions/un_authorized.dart that imports:
  • package:palace/src/exceptions/imp_exception.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: The import of 'package:palace/src/exceptions/imp_exception.dart' is unnecessary because all of the used elements are also provided by the import of 'package:palace/palace.dart'.

lib/src/core/palace.dart:3:8

  ╷
3 │ import 'package:palace/src/exceptions/imp_exception.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:palace/utils/logger.dart' is unnecessary because all of the used elements are also provided by the import of 'package:palace/palace.dart'.

lib/src/core/palace.dart:10:8

   ╷
10 │ import 'package:palace/utils/logger.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
mime_type ^1.0.0 1.0.1 1.0.1
palace_validators ^0.0.3 0.0.4 0.0.4
path ^1.8.0 1.9.1 1.9.1
path_to_regexp ^0.4.0 0.4.0 0.4.0
Transitive dependencies
Package Constraint Compatible Latest
email_validator - 2.1.17 3.0.0
meta - 1.16.0 1.16.0
queen_validators - 0.2.3 1.0.1

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

16
likes
140
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

minimal server side dart micro-framework for building REST api easily

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

mime_type, palace_validators, path, path_to_regexp

More

Packages that depend on palace