signals_core 6.1.0 copy "signals_core: ^6.1.0" to clipboard
signals_core: ^6.1.0 copied to clipboard

The signals library exposes four core functions which are the building blocks to model any business logic you can think of.

110/ 160
pub points
8.95k
downloads

We analyzed this package 12 days ago, and awarded it 110 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: Apache-2.0.

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

741 out of 875 API elements (84.7 %) have documentation comments.

Some symbols that are missing documentation: extended, signals_core, signals_core.Computed.flags, signals_core.Computed.internalRefresh, signals_core.Computed.internalValue.

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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

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 35 issues. Showing the first 2:

ERROR: The method 'listenableSources' isn't defined for the type 'DevToolsSignalsObserver'.

lib/src/devtool.dart:108:20

    ╷
108 │         'sources': listenableSources(instance).map((e) => e.globalId).join(','),
    │                    ^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The method 'readonlySignalTargets' isn't defined for the type 'DevToolsSignalsObserver'.

lib/src/devtool.dart:110:13

    ╷
110 │             readonlySignalTargets(instance).map((e) => e.globalId).join(','),
    │             ^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/devtool.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
meta ^1.3.0 1.17.0 1.17.0
preact_signals ^1.9.0 1.9.3 1.9.3

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.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
110
points
8.95k
downloads

Publisher

verified publisherrodydavis.com

Weekly Downloads

The signals library exposes four core functions which are the building blocks to model any business logic you can think of.

Homepage
Repository (GitHub)
View/report issues

Topics

#signal #reactive #state #signals #rx

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

meta, preact_signals

More

Packages that depend on signals_core