moor 4.4.1
moor: ^4.4.1 copied to clipboard

Moor is a safe and reactive persistence library for Dart applications

394
likes
120 / 130
pub points
97 %
popularity

We analyzed this package on Aug 2, 2021, and awarded it 120 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: Documenting moor...
Initialized dartdoc with 207 libraries in 35.4 seconds
Generating docs for library json1 from package:moor/extensions/json1.dart...
Generating docs for library moor_ffi_functions from package:moor/extensions/moor_ffi.dart...
Generating docs for library moor.sqlite_keywords from package:moor/sqlite_keywords.dart...
Generating docs for library isolate from package:moor/isolate.dart...
Generating docs for library moor.ffi from package:moor/ffi.dart...
Generating docs for library moor_web from package:moor/moor_web.dart...
Generating docs for library backends from package:moor/backends.dart...
Generating docs for library moor from package:moor/moor.dart...
stderr:   warning: moor has no library level documentation comments
    from moor: (file:///tmp/pub-dartlang-dartdocQMSMFU/pkg/lib/moor.dart:1:9)
  warning: unresolved doc reference [https://www.sqlite.org/lang_altertable.html#otheralter]
    from moor.TableMigration: (file:///tmp/pub-dartlang-dartdocQMSMFU/pkg/lib/src/runtime/query_builder/migration.dart:460:7)
Unhandled exception:
Bad state: typedef BlobColumn = Column<Uint8List?> cannot have parameters
#0      ModelElement.parameters (package:dartdoc/src/model/model_element.dart:980:7)
#1      Typedef.referenceChildren (package:dartdoc/src/model/typedef.dart:75:31)
#2      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referable.dart:112:11)
#3      _getMatchingLinkElementCommentReferable (package:dartdoc/src/markdown_processor.dart:268:31)
#4      getMatchingLinkElement (package:dartdoc/src/markdown_processor.dart:964:16)
#5      _makeLinkNode (package:dartdoc/src/markdown_processor.dart:913:16)
#6      new MarkdownDocument.withElementLinkResolver.linkResolver (package:dartdoc/src/markdown_processor.dart:1062:14)
#7      LinkSyntax._resolveReferenceLink (package:markdown/src/inline_parser.dart:1057:34)
#8      LinkSyntax._tryCreateReferenceLink (package:markdown/src/inline_parser.dart:1085:12)
#9      LinkSyntax.close (package:markdown/src/inline_parser.dart:1028:12)
#10     InlineParser._linkOrImage (package:markdown/src/inline_parser.dart:152:29)
#11     InlineParser.parse (package:markdown/src/inline_parser.dart:108:9)
#12     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_processor.dart:1111:67)
#13     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_processor.dart:1116:9)
#14     MarkdownDocument.parseMarkdownText (package:dartdoc/src/markdown_processor.dart:1101:5)
#15     Documentation._parseDocumentation (package:dartdoc/src/model/documentation.dart:73:21)
#16     Documentation._renderDocumentation (package:dartdoc/src/model/documentation.dart:48:23)
#17     Documentation.asOneLiner (package:dartdoc/src/model/documentation.dart:40:7)
#18     ModelElement.oneLineDoc (package:dartdoc/src/model/model_element.dart:926:43)
#19     __renderLibrary_partial_typedef_11_partial_type_2 (package:dartdoc/src/generator/templates.aot_renderers_for_html.dart:7011:25)
#20     _renderLibrary_partial_typedef_11 (package:dartdoc/src/generator/templates.aot_renderers_for_html.dart:6924:18)
#21     renderLibrary (package:dartdoc/src/generator/templates.aot_renderers_for_html.dart:6157:26)
#22     HtmlAotTemplates.renderLibrary (package:dartdoc/src/generator/templates.dart:155:7)
#23     DartdocGeneratorBackend.generateLibrary (package:dartdoc/src/generator/dartdoc_generator_backend.dart:148:29)
#24     GeneratorFrontEnd._generateDocs (package:dartdoc/src/generator/generator_frontend.dart:56:27)
#25     GeneratorFrontEnd.generate (package:dartdoc/src/generator/generator_frontend.dart:21:5)
#26     Dartdoc.generateDocsBase (package:dartdoc/dartdoc.dart:213:21)
<asynchronous suspension>
#27     Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:249:28)
<asynchronous suspension>
#28     main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:31:19)
<asynchronous suspension>

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
async^2.5.02.8.12.8.1
collection^1.15.01.15.01.15.0
convert^3.0.03.0.13.0.1
meta^1.3.01.7.01.7.0
pedantic^1.10.01.11.11.11.1
sqlite3^1.0.01.1.21.1.2
stream_channel^2.1.02.1.02.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
ffi-1.1.21.1.2
typed_data-1.3.01.3.0

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

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.19.0, Dart 2.13.4.

394
likes
120
pub points
97%
popularity

Publisher

simonbinder.eu

Moor is a safe and reactive persistence library for Dart applications

Homepage
Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

async, collection, convert, meta, pedantic, sqlite3, stream_channel

More

Packages that depend on moor