angel3_cors 8.2.0 copy "angel3_cors: ^8.2.0" to clipboard
angel3_cors: ^8.2.0 copied to clipboard

Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.

3
likes
160/ 160
pub points
63%
popularity

We analyzed this package 14 hours ago, and awarded it 160 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

12 out of 12 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:angel3_cors/angel3_cors.dart that imports:
  • package:angel3_framework/angel3_framework.dart that imports:
  • package:angel3_framework/src/core/core.dart that imports:
  • package:angel3_framework/src/core/service.dart that imports:
  • package:angel3_framework/src/core/server.dart that imports:
  • package:angel3_framework/src/core/routable.dart that imports:
  • package:angel3_framework/src/core/response_context.dart that imports:
  • package:angel3_framework/src/core/request_context.dart that imports:
  • package:belatuk_http_server/belatuk_http_server.dart that imports:
  • package:belatuk_http_server/src/http_multipart_form_data.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:angel3_cors/angel3_cors.dart that imports:
  • package:angel3_framework/angel3_framework.dart that imports:
  • package:angel3_framework/src/core/core.dart that imports:
  • package:angel3_framework/src/core/service.dart that imports:
  • package:angel3_framework/src/core/server.dart that imports:
  • package:angel3_framework/src/core/routable.dart that imports:
  • package:angel3_framework/src/core/response_context.dart that imports:
  • package:angel3_framework/src/core/request_context.dart that imports:
  • package:belatuk_http_server/belatuk_http_server.dart that imports:
  • package:belatuk_http_server/src/http_multipart_form_data.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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
angel3_framework ^8.0.0 8.4.0 8.4.0
Transitive dependencies
Package Constraint Compatible Latest
angel3_container - 8.2.0 8.2.0
angel3_http_exception - 8.2.0 8.2.0
angel3_mock_request - 8.2.0 8.2.0
angel3_model - 8.2.0 8.2.0
angel3_route - 8.2.0 8.2.0
async - 2.12.0 2.12.0
belatuk_code_buffer - 5.3.0 5.3.0
belatuk_combinator - 5.3.0 5.3.0
belatuk_http_server - 4.4.0 4.5.0
belatuk_merge_map - 5.3.0 5.3.0
boolean_selector - 2.1.2 2.1.2
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http2 - 2.3.0 2.3.0
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.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.15, Dart 3.5.4.

Check the analysis log for details.

3
likes
160
pub points
63%
popularity

Publisher

verified publisherdukefirehawk.com

Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

angel3_framework

More

Packages that depend on angel3_cors