lualike_hooks 0.2.0 copy "lualike_hooks: ^0.2.0" to clipboard
lualike_hooks: ^0.2.0 copied to clipboard

Build hook for compiling Lua scripts to bytecode and bundling as data assets in Flutter apps.

100/ 160
pub points
123
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

12 out of 12 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:lualike_hooks/lualike_hooks.dart that imports:
  • package:lualike_hooks/src/lua_builder.dart that imports:
  • package:lualike/lualike.dart that imports:
  • package:lualike/src/value_class.dart that imports:
  • package:lualike/src/value.dart that imports:
  • package:lualike/src/table_storage.dart that imports:
  • package:lualike/src/runtime/lua_slot.dart that imports:
  • package:lualike/src/runtime/lua_runtime.dart that imports:
  • package:lualike/src/stdlib/library.dart that imports:
  • package:lualike/src/stdlib/metatables.dart that imports:
  • package:lualike/src/utils/type.dart that imports:
  • package:lualike/src/coroutine.dart that imports:
  • package:lualike/src/interpreter/interpreter.dart that imports:
  • package:lualike/src/lua_bytecode/runtime.dart that imports:
  • package:lualike/src/compile/pipeline.dart that imports:
  • package:lualike/src/compile/bundler.dart that imports:
  • dart:io
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

WARNING: The asset directory 'assets/' doesn't exist.

pubspec.yaml:21:7

   ╷
21 │     - assets/
   │       ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze pubspec.yaml

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
data_assets ^0.20.0 0.20.0 0.20.0
hooks ^2.0.2 2.2.0 2.2.0
logging ^1.3.0 1.3.0 1.3.0
lualike >=0.3.0 <0.6.0 0.5.2 0.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 99.0.0 105.0.0
acanthis - 1.6.0 1.6.0
analyzer - 12.1.0 14.1.0
ansicolor - 2.0.3 2.0.3
archive - 4.2.0 4.2.0
args - 2.7.0 2.7.0
artisanal - 0.4.0 0.5.0
artisanal_widgets - 0.2.2 0.3.0
async - 2.13.1 2.13.1
build - 4.0.7 4.0.10
chalkdart - 3.1.0 3.1.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
completion - 1.0.2 1.0.2
contextual - 2.2.0 2.2.0
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
d4_array - 1.0.0 1.0.0
d4_time - 1.0.0 1.0.0
d4_time_format - 1.0.0 1.0.0
dart_mappable - 4.8.0 4.8.0
decimal - 3.2.6 3.2.6
email_validator - 3.0.0 3.0.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
forge2d - 0.14.2+1 0.15.1
gato - 0.0.5+1 0.0.5+1
glob - 2.1.3 2.1.3
highlight - 0.7.0 0.7.0
hotreloader - 4.4.0 4.4.0
html - 0.15.6 0.15.6
html_unescape - 2.0.0 2.0.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image - 4.9.2 4.9.2
intl - 0.20.3 0.20.3
json_schema_builder - 0.1.6 0.1.6
liquify - 1.6.1 1.6.1
markdown - 7.3.1 7.3.1
meta - 1.19.0 1.19.0
nanoid2 - 2.0.1 2.0.1
openapi_types - 2.1.0 2.1.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
pointycastle - 4.0.0 4.0.0
posix - 6.5.2 6.5.2
pub_semver - 2.2.0 2.2.0
rational - 2.2.3 2.2.3
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timezone - 0.11.1 0.11.1
type_plus - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
ultraviolet - 0.3.0 0.5.0
universal_io - 2.3.1 2.3.1
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
xrandom - 0.7.2 0.7.2
yaml - 3.1.3 3.1.3
yaml_writer - 2.1.0 2.1.0

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

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 9 errors:

  • UNDEFINED_METHOD - lib/src/lua_builder.dart:282:22 - The method 'CompilePipeline' isn't defined for the type 'LuaBuilder'.
  • UNDEFINED_METHOD - lib/src/lua_builder.dart:283:15 - The method 'CompilePipelineConfig' isn't defined for the type 'LuaBuilder'.
  • UNDEFINED_IDENTIFIER - lib/src/lua_builder.dart:284:17 - Undefined name 'CompileBackend'.

Run flutter pub downgrade and then flutter 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.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
123
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Build hook for compiling Lua scripts to bytecode and bundling as data assets in Flutter apps.

License

MIT (license)

Dependencies

data_assets, hooks, logging, lualike

More

Packages that depend on lualike_hooks