这是indexloc提供的服务,不要输入任何密码

squid_cloud 1.0.126-beta.1 copy "squid_cloud: ^1.0.126-beta.1" to clipboard
squid_cloud: ^1.0.126-beta.1 copied to clipboard

A dart implementation of the Squid client.

1
likes
95/ 160
pub points
53
downloads

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

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

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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

102 out of 223 API elements (45.7 %) have documentation comments.

Some symbols that are missing documentation: client, client.AiAssistantClient, client.AiAssistantClient.AiAssistantClient.new, client.AiAssistantContextReference, client.AiAssistantContextReference.AiAssistantContextReference.new.

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:squid_cloud/client.dart that imports:
  • package:squid_cloud/src/secret_client.dart that imports:
  • package:squid_cloud/src/rpc.manager.dart that imports:
  • package:squid_cloud/src/utils/http.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:squid_cloud/client.dart that imports:
  • package:squid_cloud/src/secret_client.dart that imports:
  • package:squid_cloud/src/rpc.manager.dart that imports:
  • package:squid_cloud/src/utils/http.dart that imports:
  • dart:io

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.

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

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

Found 164 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/generated/ai_assistant.types.freezed.dart:109:17

    ╷
109 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/ai_assistant.types.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/generated/ai_assistant.types.freezed.dart:239:17

    ╷
239 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/ai_assistant.types.freezed.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
collection ^1.17.0 1.19.1 1.19.1
dio ^5.3.3 5.8.0+1 5.8.0+1
freezed_annotation ^2.2.0 2.4.4 3.1.0
graphql ^5.2.0-beta.5 5.2.1 5.2.1
logging ^1.2.0 1.3.0 1.3.0
meta ^1.9.1 1.17.0 1.17.0
more ^4.0.0 4.6.0 4.6.0
rx ^0.3.0 0.3.0 0.5.0
web_socket_client ^0.1.0 0.1.5 0.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.1 2.1.1
fixnum - 1.1.1 1.1.1
gql - 1.0.1-alpha+1730759315362 1.0.1-alpha+1730759315362
gql_dedupe_link - 2.0.4-alpha+1715521079596 2.0.4-alpha+1715521079596
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.1.0 1.1.0
gql_link - 1.0.1-alpha+1730759315378 1.0.1-alpha+1730759315378
gql_transform_link - 1.0.0 1.0.0
hive - 2.2.3 2.2.3
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
normalize - 0.9.1 0.10.0
path - 1.9.1 1.9.1
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^2.2.0` on freezed_annotation does not support the stable version `3.0.0`.

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

The constraint `^0.3.0` on rx does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions rx 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:

  • UNDEFINED_NAMED_PARAMETER - lib/src/socket.types.dart:84:12 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/socket.types.dart:99:12 - The named parameter 'includeToJson' isn't defined.

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.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: