mermaid 0.9.35 copy "mermaid: ^0.9.35" to clipboard
mermaid: ^0.9.35 copied to clipboard

Platformweb

Dart JS interop for Mermaid - The Javascript tool that makes use of a markdown based syntax to render customizable diagrams, charts and visualizations.

7
likes
140/ 160
pub points
793
downloads

We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

66 out of 82 API elements (80.5 %) have documentation comments.

Some symbols that are missing documentation: mermaid.Config, mermaid.Config.Config, mermaid.Config.git, mermaid.Config.stringifyConfig, mermaid.Config.themeCSS.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mermaid/mermaid.dart that imports:
  • package:mermaid/src/mermaid.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/src/mermaid.dart:12:1

12import 'dart:html';
   │ ^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/mermaid.dart:24:15

   ╷
24 │ /// or an List<Element>
   │               ^^^^^^^^^
   ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest
js ^0.6.4 0.6.7 0.7.2
markdown >=5.0.0 7.3.0 7.3.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
meta - 1.16.0 1.16.0

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

The constraint `^0.6.4` on js does not support the stable version `0.7.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
May 31Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7050100150200250300350>=0.0.0-0 <1.0.0
7
likes
140
points
793
downloads

Publisher

verified publisherhiveright.tech

Weekly Downloads

2024.08.16 - 2025.02.28

Dart JS interop for Mermaid - The Javascript tool that makes use of a markdown based syntax to render customizable diagrams, charts and visualizations.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

js, markdown

More

Packages that depend on mermaid