shelf_cors 0.2.1 copy "shelf_cors: ^0.2.1" to clipboard
shelf_cors: ^0.2.1 copied to clipboard

Dart 1 only

Middleware to add CORS headers to shelf responses.

0
likes
25/ 160
pub points
25
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

Links in `CHANGELOG.md` should be secure. 2 links are insecure.

CHANGELOG.md:7:6

  ╷
7 │ <p>##<a href="http://https///github.com/gmosx/dart-shelf_cors/compare/0.2.0">0.2.0</a> - 2015-02-21##</p>
  │      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

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

Dependency resolution failed, unable to run dartdoc.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

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

  • Running dart pub outdated failed with the following output:
The lower bound of "sdk: '>=1.0.0 <=3.8.1'" must be 2.12.0'
or higher to enable null safety.
Failed report section
Support up-to-date dependencies
0 / 40trigger folding of the section

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

  • Sdk constraint doesn't support current Dart version 3.8.1. Cannot run dart pub outdated.

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

Pubspec.yaml does not have an sdk version constraint.

Try adding an sdk constraint to your pubspec.yaml

Failed check 0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=1.0.0 <=3.8.1'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.8.1) only supports null safety.

For details, see https://dart.dev/null-safety

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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
25
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Middleware to add CORS headers to shelf responses.

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

shelf

More

Packages that depend on shelf_cors