shelf_cors 0.2.0
shelf_cors: ^0.2.0 copied to clipboard
Middleware to add CORS headers to shelf responses.
We analyzed this package 7 days ago, and awarded it 25 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
Links in `CHANGELOG.md` should be secure. 2 links are insecure.
CHANGELOG.md:3:6
╷
3 │ <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.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run dart pub get for more information.
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart pub outdatedfailed with the following output:
pubspec.yaml has no lower-bound SDK constraint.
You should edit pubspec.yaml to contain an SDK constraint:
0/10 points: All of the package dependencies are supported in the latest version
- Sdk constraint doesn't support current Dart version 3.9.4. Cannot run
dart pub outdated.
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
0/20 points: Compatible with dependency constraint lower bounds
dart pub downgrade failed with:
OUT:
Resolving dependencies...
ERR:
pubspec.yaml has no lower-bound SDK constraint.
You should edit pubspec.yaml to contain an SDK constraint:
environment:
sdk: '^3.9.0'
See https://dart.cn/go/sdk-constraint
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.23.0, Dart 3.9.4.
Check the analysis log for details.