over_react 5.4.1 copy "over_react: ^5.4.1" to clipboard
over_react: ^5.4.1 copied to clipboard

Platformweb

A library for building statically-typed React UI components using Dart.

37
likes
120/ 160
pub points
234k
downloads

We analyzed this package 1 hour ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

1475 out of 2255 API elements (65.4 %) have documentation comments.

Some symbols that are missing documentation: builder, builder.overReactBuilder, js_component, js_component.ReactContext.Consumer, js_component.ReactContext.Provider.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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:over_react/over_react.dart that imports:
  • package:over_react/src/util/cast_ui_factory.dart that imports:
  • package:over_react/src/component_declaration/builder_helpers.dart that imports:
  • package:over_react/src/component_declaration/component_base.dart that imports:
  • package:over_react/src/component_declaration/disposable_manager_proxy.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 148 issues. Showing the first 2:

WARNING: The value of the field 'meta' isn't used.

lib/src/component/dummy_component2.over_react.g.dart:37:26

   ╷
37 │   static const PropsMeta meta = _$metaFor_Dummy2Props;
   │                          ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/component/dummy_component2.over_react.g.dart

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/builder/parsing/declarations_from_members.dart:336:47

    ╷
336 │         [factory, propsClass, componentClass].whereNotNull().toList();
    │                                               ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/builder/parsing/declarations_from_members.dart

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

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

Package Constraint Compatible Latest
analyzer >=5.13.0 <7.0.0 6.11.0 7.1.0
build ^2.0.0 2.4.2 2.4.2
collection ^1.15.0 1.19.1 1.19.1
dart_style ^2.0.0 2.3.7 3.0.1
js ^0.6.1+1 0.6.7 0.7.1
logging ^1.0.0 1.3.0 1.3.0
meta ^1.6.0 1.16.0 1.16.0
package_config ^2.1.0 2.1.1 2.1.1
path ^1.5.1 1.9.1 1.9.1
platform_detect ^2.0.0 2.1.5 2.1.5
quiver ^3.0.0 3.2.2 3.2.2
react ^7.2.0 7.2.0 7.2.0
redux ^5.0.0 5.0.0 5.0.0
redux_dev_tools >=0.6.0 <0.8.0 0.7.0 0.7.0
source_span ^1.4.1 1.10.1 1.10.1
transformer_utils ^0.2.6 0.2.22 0.2.22
w_common ^3.0.0 3.2.0 3.2.0
w_flux ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 76.0.0 78.0.0
_macros - 0.3.3 0.3.3
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
intl - 0.18.1 0.20.1
macros - 0.1.3-main.0 0.1.3-main.0
matcher - 0.12.17 0.12.17
pub_semver - 2.1.5 2.1.5
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
watcher - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `>=5.13.0 <7.0.0` on analyzer does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `^2.0.0` on dart_style does not support the stable version `3.0.0`, that was published 18 days ago.

When dart_style is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions dart_style to update the constraint.

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.