renovation_core 2.0.0-dev.2 copy "renovation_core: ^2.0.0-dev.2" to clipboard
renovation_core: ^2.0.0-dev.2 copied to clipboard

The missing SDK developers have been longing for to interact with Frappe/ERPNext

7
likes
120/ 140
pub points
6%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

452 out of 1105 API elements (40.9 %) have documentation comments.

Some symbols that are missing documentation: auth, auth.APPLE_OPTION, auth.APPLE_OPTION.APPLE_OPTION, auth.AuthController.sessionStatus, auth.BlockModule.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:renovation_core/auth.dart that imports:
  • package:renovation_core/src/auth/frappe/interfaces.dart that imports:
  • package:renovation_core/src/model/frappe/utils.dart that imports:
  • package:renovation_core/src/model/frappe/document.dart that imports:
  • package:renovation_core/src/model/document.dart that imports:
  • package:renovation_core/src/core/errors.dart that imports:
  • package:renovation_core/src/core/request.dart that imports:
  • package:renovation_core/src/core/renovation.dart that imports:
  • package:renovation_core/src/core/renovation.controller.dart that imports:
  • package:renovation_core/src/core/config.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 27 issues. Showing the first 2:

INFO: The variable name 'logged_user' isn't a lowerCamelCase identifier.

lib/src/auth/frappe/frappe.auth.controller.dart:110:15

    ╷
110 │         final logged_user = await Request.initiateRequest(
    │               ^^^^^^^^^^^
    ╵

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

INFO: The type name 'RESET_ID_TYPE' isn't an UpperCamelCase identifier.

lib/src/auth/frappe/interfaces.dart:254:6

    ╷
254 │ enum RESET_ID_TYPE { mobile, email }
    │      ^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
cookie_jar ^3.0.1 3.0.1 4.0.8
dio ^4.0.4 4.0.6 5.4.3+1
dio_cookie_manager ^2.0.0 2.0.0 3.1.1
enum_to_string ^2.0.1 2.0.1 2.0.1
http ^0.13.4 0.13.6 1.2.1
json_annotation ^4.4.0 4.9.0 4.9.0
logger ^1.1.0 1.4.0 2.2.0
meta ^1.7.0 1.14.0 1.14.0
path ^1.8.1 1.9.0 1.9.0
pedantic ^1.11.1 1.11.1 1.11.1
rxdart ^0.27.3 0.27.7 0.27.7
socket_io_client ^1.0.2 1.0.2 2.0.3+1
zxcvbn ^1.0.0 1.0.0 1.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
socket_io_common - 1.0.1 2.0.3
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

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

Found 6 issues. Showing the first 2:

The constraint `^3.0.1` on cookie_jar does not support the stable version `4.0.0`.

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

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.