json_render 2.1.0 copy "json_render: ^2.1.0" to clipboard
json_render: ^2.1.0 copied to clipboard

Platformweb

JSON Web Render Framework - Automatically renders a JSON tree using rich components.

1
likes
140/ 160
pub points
866
downloads

We analyzed this package 16 hours ago, and awarded it 140 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

51 out of 232 API elements (22.0 %) have documentation comments.

Some symbols that are missing documentation: json_render, json_render.FilterURL, json_render.Geolocation.asPoint, json_render.Geolocation.formatGeolocation, json_render.Geolocation.formatLatitude.

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:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:json_render/json_render.dart that imports:
  • package:json_render/src/json_render_types.dart that imports:
  • package:json_render/src/json_render_base.dart that imports:
  • package:json_render/src/json_render_media.dart that imports:
  • package:dom_tools/dom_tools.dart that imports:
  • package:dom_tools/src/perspective_filter.dart that imports:
  • package:dom_tools/src/dom_tools_paint.dart that imports:
  • package:dom_tools/src/dom_tools_base.dart that imports:
  • package:dom_tools/src/dom_tools_css.dart that imports:
  • dart:html

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Statements in an if should be enclosed in a block.

lib/src/json_render_collection.dart:294:27

    ╷
294 │               obj.length) return true;
    │                           ^^^^^^^^^^^^
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/json_render_collection.dart:530:41

    ╷
530 │             isIgnoredColumn(columnKey)) continue;
    │                                         ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/json_render_collection.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
chart_engine ^2.1.0 2.1.0 2.1.0
dom_tools ^2.3.0 2.3.2 2.3.2
intl ^0.19.0 0.19.0 0.20.1
mercury_client ^2.2.1 2.2.4 2.2.4
swiss_knife ^3.2.0 3.2.3 3.2.3
Transitive dependencies
Package Constraint Compatible Latest
amdjs - 2.0.3 2.0.3
args - 2.6.0 2.6.0
async_extension - 1.2.14 1.2.14
charset - 2.0.1 2.0.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
color_palette_generator - 2.0.1 2.0.1
enum_to_string - 2.0.1 2.0.1
json_object_mapper - 2.0.1 2.0.1
markdown - 6.0.1 7.2.2
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
resource_portable - 3.1.0 3.1.0
typed_data - 1.4.0 1.4.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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.

1
likes
140
points
866
downloads

Publisher

unverified uploader

Weekly Downloads

JSON Web Render Framework - Automatically renders a JSON tree using rich components.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

chart_engine, dom_tools, intl, mercury_client, swiss_knife

More

Packages that depend on json_render