lua_dardo_async 0.0.4 copy "lua_dardo_async: ^0.0.4" to clipboard
lua_dardo_async: ^0.0.4 copied to clipboard

A Lua virtual machine written in Dart, which implements Lua5.3 version, with async functions.

0
likes
115/ 160
pub points
62
downloads

We analyzed this package 39 hours ago, and awarded it 115 pub points (of a possible 160):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:4:107

  ╷
4 │ <p>A Lua virtual machine written in <a href="https://github.com/dart-lang/sdk">Dart</a>, which implements <a href="http://www.lua.org/manual/5.3/">Lua5.3</a> version.
  │                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

7 out of 139 API elements (5.0 %) 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: debug, debug.LuaStateDebug, debug.LuaStateDebug.printStack, lua, lua.DartFunction.

10/10 points: Package has an example

failed
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:lua_dardo_async/debug.dart that imports:
  • package:lua_dardo_async/lua.dart that imports:
  • package:lua_dardo_async/src/api/lua_type.dart that imports:
  • package:lua_dardo_async/src/api/lua_state.dart that imports:
  • package:lua_dardo_async/src/state/lua_state_impl.dart that imports:
  • package:lua_dardo_async/src/stdlib/basic_lib.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:lua_dardo_async/debug.dart that imports:
  • package:lua_dardo_async/lua.dart that imports:
  • package:lua_dardo_async/src/api/lua_type.dart that imports:
  • package:lua_dardo_async/src/api/lua_state.dart that imports:
  • package:lua_dardo_async/src/state/lua_state_impl.dart that imports:
  • package:lua_dardo_async/src/stdlib/basic_lib.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
Pass static analysis
30 / 50trigger folding of the section

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

Found 93 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/src/state/lua_state_impl.dart:1018:17

     ╷
1018 │     return load(utf8.encode(s) as Uint8List, s, "bt");
     │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵

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

WARNING: Unnecessary cast.

lib/src/stdlib/basic_lib.dart:191:37

    ╷
191 │       ThreadStatus status = ls.load(utf8.encode(chunk) as Uint8List, chunkName!, mode);
    │                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
sprintf ^6.0.0 6.0.2 7.0.0

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

The constraint `^6.0.0` on sprintf does not support the stable version `7.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
115
points
62
downloads

Publisher

unverified uploader

Weekly Downloads

A Lua virtual machine written in Dart, which implements Lua5.3 version, with async functions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

sprintf

More

Packages that depend on lua_dardo_async