isolate_contactor 3.0.0 copy "isolate_contactor: ^3.0.0" to clipboard
isolate_contactor: ^3.0.0 copied to clipboard

discontinuedreplaced by: isolate_manager
outdated

An easy way to create a new Isolate, keep it active and communicate with it (supports `Worker` on the Web platform).

140/ 160
pub points
11.9k
downloads

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

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

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

Failed to verify repository URL.

pubspec.yaml from the repository URL mismatch: expected https://github.com/vnniz/isolate_contactor but got https://github.com/lamnhan066/isolate_contactor.

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: isolate_contactor,
    • 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

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

Detected license: MIT.

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

21 out of 32 API elements (65.6 %) have documentation comments.

Some symbols that are missing documentation: isolate_contactor, isolate_contactor.IsolateContactor, isolate_contactor.IsolateContactor.IsolateContactor.new, isolate_contactor.IsolateContactorController, isolate_contactor.IsolateException.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:isolate_contactor/isolate_contactor.dart that imports:
  • package:isolate_contactor/src/utils/utils.dart that imports:
  • package:isolate_contactor/src/isolate_contactor_controller.dart that imports:
  • package:isolate_contactor/src/isolate_contactor_controller/isolate_contactor_controller_stub.dart that imports:
  • package:stream_channel/isolate_channel.dart that imports:
  • package:stream_channel/src/isolate_channel.dart that imports:
  • dart:isolate

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 5 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/isolate_contactor/isolate_contactor_web.dart:2:1

  ╷
2 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

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

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

lib/src/isolate_contactor/web_platform/isolate_contactor_web_worker.dart:2:1

  ╷
2 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
stream_channel ^2.1.0 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
meta - 1.17.0 1.17.0

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

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.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
140
points
11.9k
downloads

Publisher

verified publisherlamnhan.dev

Weekly Downloads

An easy way to create a new Isolate, keep it active and communicate with it (supports `Worker` on the Web platform).

Documentation

API reference

License

MIT (license)

Dependencies

stream_channel

More

Packages that depend on isolate_contactor