lua_dardo 0.0.5 copy "lua_dardo: ^0.0.5" to clipboard
lua_dardo: ^0.0.5 copied to clipboard

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

38
likes
115/ 160
pub points
214
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.</p>
  │                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

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

7 out of 136 API elements (5.1 %) 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.

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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:lua_dardo/debug.dart that imports:
  • package:lua_dardo/lua.dart that imports:
  • package:lua_dardo/src/api/lua_type.dart that imports:
  • package:lua_dardo/src/api/lua_state.dart that imports:
  • package:lua_dardo/src/state/lua_state_impl.dart that imports:
  • package:lua_dardo/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 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 86 issues. Showing the first 2:

WARNING: Unnecessary cast.

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

1009return load(utf8.encode(s) as Uint8List, s, "bt");
     │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵
copied to clipboard

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:182:37

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

To reproduce make sure you are using the lints_core and run dart analyze lib/src/stdlib/basic_lib.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
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.

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.22.19, Dart 3.7.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 11Jul 9Aug 6Sep 3Oct 1Oct 29Nov 26Dec 24Jan 21Feb 18020406080100120140160>=0.0.0-0 <1.0.0
38
likes
115
points
214
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.27 - 2025.03.11

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

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

sprintf

More

Packages that depend on lua_dardo