imap_cache 0.0.15 copy "imap_cache: ^0.0.15" to clipboard
imap_cache: ^0.0.15 copied to clipboard

imap_cache is a data-driven caching library based on the IMAP protocol.

80/ 160
pub points
62
downloads

We analyzed this package 26 hours ago, and awarded it 80 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.

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

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: imap_cache,
    • 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

1 out of 27 API elements (3.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: imap_cache.ConnectConfig, imap_cache.ConnectConfig.ConnectConfig.fromJson, imap_cache.ConnectConfig.ConnectConfig.new, imap_cache.ConnectConfig.boxName, imap_cache.ConnectConfig.imapServerHost.

Passed check 10/10 points: Package has an example

Passed 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)

SDK issues found:

Package is not compatible with the Dart SDK.

Because:

  • imap_cache that depends on:
  • path_provider that is a package requiring flutter.
  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:imap_cache/imap_cache.dart that imports:
  • package:imap_cache/src/index.dart that imports:
  • package:wuchuheng_isolate_channel/wuchuheng_isolate_channel.dart that imports:
  • package:wuchuheng_isolate_channel/src/service/task/index.dart that imports:
  • package:wuchuheng_isolate_channel/src/service/task/index_abstract.dart that imports:
  • package:wuchuheng_isolate_channel/src/service/channel/channel_abstract.dart that imports:
  • package:wuchuheng_isolate_channel/src/main.dart that imports:
  • package:wuchuheng_isolate_channel/src/service/channel/isolate_channel.dart that imports:
  • dart:isolate
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 21 issues. Showing the first 2:

ERROR: The argument type 'Enum' can't be assigned to the parameter type 'String'.

lib/src/middleware/index.dart:30:85

   ╷
30 │     final ChannelName channelName = enumFromString<ChannelName>(ChannelName.values, channel.name);
   │                                                                                     ^^^^^^^^^^^^
   ╵

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

ERROR: The argument type 'String' can't be assigned to the parameter type 'int'.

lib/src/middleware/index.dart:72:27

   ╷
72 │     afterSetChannelId.add(channel.channelId);
   │                           ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/middleware/index.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 Notes
crypto ^3.0.2 3.0.7 3.0.7
enough_mail ^2.1.1 2.1.7 2.1.7
intl ^0.17.0 0.17.0 0.20.2
json_annotation ^4.6.0 4.10.0 4.10.0
json_serializable ^6.3.1 6.12.0 6.12.0
path_provider ^2.0.11 2.1.5 2.1.5
rxdart ^0.27.5 0.27.7 0.28.0
sqlite3 ^1.7.2 1.11.2 3.1.6
wuchuheng_hooks ^0.0.3 0.0.9 0.1.0
wuchuheng_isolate_channel ^0.0.6 0.0.24 0.0.25
wuchuheng_logger ^0.0.1 0.0.1 1.0.7
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 93.0.0 94.0.0
analyzer - 10.0.1 10.0.2
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
basic_utils - 5.8.2 5.8.2
boolean_selector - 2.1.2 2.1.2
build - 4.0.4 4.0.4
build_config - 1.2.0 1.2.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
dart_style - 3.1.5 3.1.5
encrypter_plus - 5.1.0 5.1.0
enough_convert - 1.6.0 1.6.0
event_bus - 2.0.1 2.0.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hooks - 1.0.1 1.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_schema - 5.2.2 5.2.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
native_toolchain_c - 0.17.4 0.17.4
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
posix - 6.0.3 6.0.3
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
source_gen - 4.2.0 4.2.0
source_helper - 1.3.10 1.3.10
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.2
vector_math - 2.2.0 2.2.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
wuchuheng_task_util - 0.0.3 0.0.3
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

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

The constraint `^0.27.5` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.23.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
80
points
62
downloads

Publisher

unverified uploader

Weekly Downloads

imap_cache is a data-driven caching library based on the IMAP protocol.

Documentation

API reference

License

MIT (license)

Dependencies

crypto, enough_mail, intl, json_annotation, json_serializable, path_provider, rxdart, sqlite3, wuchuheng_hooks, wuchuheng_isolate_channel, wuchuheng_logger

More

Packages that depend on imap_cache