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

Runtime-declared native FFI backend for lualike.

50/ 160
pub points
74
downloads

We analyzed this package 37 hours ago, and awarded it 50 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 16 issues. Showing the first 2:

ERROR: The type 'int Function(int)' given to 'lookupFunction' must be a valid 'dart:ffi' native function type.

lib/src/lualike_ffi_library.dart:108:38

    ╷
108 │         final f = lib.lookupFunction<int Function(int), int Function(int)>(symbol);
    │                                      ^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The type 'int Function(int, int)' given to 'lookupFunction' must be a valid 'dart:ffi' native function type.

lib/src/lualike_ffi_library.dart:111:38

    ╷
111 │         final f = lib.lookupFunction<int Function(int, int), int Function(int, int)>(symbol);
    │                                      ^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
code_assets ^1.2.1 1.2.1 2.0.0
ffi ^2.1.4 2.2.0 2.2.0
hooks 2.0.2 2.0.2 2.2.0
lualike >=0.3.0 <0.6.0 0.5.2 0.5.2
native_toolchain_c 0.19.2 0.19.2 0.19.4
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
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
logging - 1.3.0 1.3.0
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 - 0.6.0 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.

Found 3 issues. Showing the first 2:

The constraint `^1.2.1` on code_assets does not support the stable version `2.0.0`, that was published 4 days ago.

When code_assets is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `2.0.2` on hooks does not support the stable version `2.1.0`.

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

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

  • MUST_BE_A_NATIVE_FUNCTION_TYPE - lib/src/lualike_ffi_library.dart:108:38 - The type 'int Function(int)' given to 'lookupFunction' must be a valid 'dart:ffi' native function type.
  • MUST_BE_A_NATIVE_FUNCTION_TYPE - lib/src/lualike_ffi_library.dart:111:38 - The type 'int Function(int, int)' given to 'lookupFunction' must be a valid 'dart:ffi' native function type.
  • MUST_BE_A_NATIVE_FUNCTION_TYPE - lib/src/lualike_ffi_library.dart:115:38 - The type 'int Function(int)' given to 'lookupFunction' must be a valid 'dart:ffi' native function type.

Run dart pub downgrade and then dart 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
50
points
74
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Runtime-declared native FFI backend for lualike.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

code_assets, ffi, hooks, lualike, native_toolchain_c

More

Packages that depend on lualike_ffi