w_flux 3.0.0 w_flux: ^3.0.0 copied to clipboard
Flux library for uni-directional dataflow inspired by reflux and Facebook's flux architecture.
We analyzed this package 5 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:4:1
╷
4 │ <a href="http://codecov.io/github/Workiva/w_flux?branch=master"><img src="https://codecov.io/github/Workiva/w_flux/coverage.svg?branch=master" alt="codecov.io" /></a>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
180 out of 191 API elements (94.2 %) have documentation comments.
Some symbols that are missing documentation: w_flux.ActionV2.manageDisposable
, w_flux.BatchedRedraws.redraw
, w_flux.BatchedRedraws.shouldBatchRedraw
, w_flux.FluxComponent.initComponentInternal
, w_flux.FluxComponent.initStateInternal
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:w_flux/w_flux.dart
that imports:package:w_flux/src/mixins/batched_redraws.dart
that imports:package:react/react.dart
that imports:package:react/src/react_client/synthetic_data_transfer.dart
that imports:package:react/src/react_client/synthetic_event_wrappers.dart
that imports:package:js/js.dart
that imports:dart:js
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: Implementing 'Function' has no effect.
lib/src/action.dart:59:61
╷
59 │ class ActionV2<T> extends Object with Disposable implements Function {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/action.dart
WARNING: Implementing 'Function' has no effect.
lib/src/mixins/batched_redraws.dart:8:35
╷
8 │ class _RedrawScheduler implements Function {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/mixins/batched_redraws.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta |
^1.6.0 |
1.16.0 | 1.16.0 |
react |
^7.0.0 |
7.2.0 | 7.2.0 |
w_common |
^3.0.0 |
3.2.0 | 3.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 |
intl |
- | 0.18.1 | 0.20.0 |
js |
- | 0.6.7 | 0.7.1 |
logging |
- | 1.3.0 | 1.3.0 |
path |
- | 1.9.1 | 1.9.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.