custom_universal_html 2.0.0 copy "custom_universal_html: ^2.0.0" to clipboard
custom_universal_html: ^2.0.0 copied to clipboard

A 'dart:html' that works in all platforms, including Flutter and server-side. Eases cross-platform development and HTML / XML processing.

40/ 160
pub points
462
downloads

We analyzed this package 3 hours ago, and awarded it 40 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: custom_universal_html.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: custom_universal_html,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

Failed check 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.

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

32 out of 48 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: universal_html.controller.ContentTypeSniffer.ContentTypeSniffer.new, universal_html.controller.InternalElementData.InternalElementData.new, universal_html.controller.InternalElementData.client, universal_html.controller.InternalElementData.offset, universal_html.controller.InternalElementData.scroll.

Passed check 10/10 points: Package has an example

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 282 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'dart:web_sql'.

lib/src/controller/window_behavior_impl_browser.dart:17:8

   ╷
17 │ import 'dart:web_sql';
   │        ^^^^^^^^^^^^^^
   ╵

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

ERROR: Undefined class 'SqlDatabase'.

lib/src/controller/window_behavior_impl_browser.dart:692:3

    ╷
692 │   SqlDatabase openDatabase(
    │   ^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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 Notes
async ^2.5.0 2.13.0 2.13.0
charcode ^1.2.0 1.4.0 1.4.0
collection ^1.15.0 1.19.1 1.19.1
csslib ^0.17.0 0.17.3 1.0.2
html ^0.15.0 0.15.4 0.15.6
meta ^1.3.0 1.18.1 1.18.1
source_span ^1.8.0 1.10.2 1.10.2
typed_data ^1.3.0 1.4.0 1.4.0
universal_io ^2.0.3 2.3.1 2.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
path - 1.9.1 1.9.1
term_glyph - 1.2.2 1.2.2

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

The constraint `^0.17.0` on csslib does not support the stable version `1.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • URI_DOES_NOT_EXIST - lib/src/controller/window_behavior_impl_browser.dart:17:8 - Target of URI doesn't exist: 'dart:web_sql'.
  • UNDEFINED_CLASS - lib/src/controller/window_behavior_impl_browser.dart:692:3 - Undefined class 'SqlDatabase'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
40
points
462
downloads

Publisher

unverified uploader

Weekly Downloads

A 'dart:html' that works in all platforms, including Flutter and server-side. Eases cross-platform development and HTML / XML processing.

Documentation

API reference

License

unknown (license)

Dependencies

async, charcode, collection, csslib, html, meta, source_span, typed_data, universal_io

More

Packages that depend on custom_universal_html