nextcloud 4.0.0 copy "nextcloud: ^4.0.0" to clipboard
nextcloud: ^4.0.0 copied to clipboard

A Nextcloud API client written in Dart supporting all maintained Nextcloud server versions.

110/ 160
pub points
392
downloads

We analyzed this package 45 hours 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: AGPL-3.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

5413 out of 25211 API elements (21.5 %) have documentation comments.

Some symbols that are missing documentation: comments, comments.$CapabilitiesInterface, comments.$CapabilitiesInterface.files, comments.$CapabilitiesInterfaceBuilder, comments.$CapabilitiesInterfaceBuilder.$CapabilitiesInterfaceBuilder.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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:nextcloud/nextcloud.dart that imports:
  • package:nextcloud/webdav.dart that imports:
  • package:nextcloud/src/webdav/file.dart that imports:
  • package:nextcloud/src/webdav/client.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nextcloud/nextcloud.dart that imports:
  • package:nextcloud/webdav.dart that imports:
  • package:nextcloud/src/webdav/file.dart that imports:
  • package:nextcloud/src/webdav/client.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.cn/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 68 issues. Showing the first 2:

WARNING: The declaration '_$WebDavPropertyupdateFromXmlElement' isn't referenced.

lib/src/webdav/webdav.g.dart:245:22

    ╷
245 │ WebDavPropertyupdate _$WebDavPropertyupdateFromXmlElement(XmlElement element) {
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: The declaration '_$WebDavPropfindFromXmlElement' isn't referenced.

lib/src/webdav/webdav.g.dart:442:16

    ╷
442 │ WebDavPropfind _$WebDavPropfindFromXmlElement(XmlElement element) {
    │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/webdav/webdav.g.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
built_collection ^5.0.0 5.1.1 5.1.1
built_value ^8.0.0 8.12.0 8.12.0
collection ^1.0.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
crypton ^2.0.0 2.2.1 2.2.1
dynamite_runtime ^0.1.0 0.1.0 0.5.0+1
intl ^0.18.0 0.18.1 0.20.2
json_annotation ^4.8.1 4.9.0 4.9.0
meta ^1.0.0 1.17.0 1.17.0
universal_io ^2.0.0 2.2.2 2.2.2
uri ^1.0.0 1.0.0 1.0.0
version ^3.0.0 3.0.2 3.0.2
xml ^6.0.0 6.6.1 6.6.1
xml_annotation ^2.1.0 2.4.0 2.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
cookie_jar - 4.0.8 4.0.8
fixnum - 1.1.1 1.1.1
js - 0.7.2 0.7.2 Discontinued
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
pointycastle - 3.9.1 4.0.0
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
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

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

The constraint `^0.1.0` on dynamite_runtime does not support the stable version `0.2.0`.

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

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

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

  • UNDEFINED_ANNOTATION - lib/src/api/core.openapi.dart:5476:3 - Undefined name 'BuiltValueHook' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/api/core.openapi.dart:6348:3 - Undefined name 'BuiltValueHook' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/api/core.openapi.dart:8312:3 - Undefined name 'BuiltValueHook' used as an annotation.

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.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
25
likes
110
points
392
downloads

Publisher

unverified uploader

Weekly Downloads

A Nextcloud API client written in Dart supporting all maintained Nextcloud server versions.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#nextcloud #openapi #webdav

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

built_collection, built_value, collection, crypto, crypton, dynamite_runtime, intl, json_annotation, meta, universal_io, uri, version, xml, xml_annotation

More

Packages that depend on nextcloud