posix 3.1.0 copy "posix: ^3.1.0" to clipboard
posix: ^3.1.0 copied to clipboard

outdated

Exposes the POSIX api on OSx and Linux

6
likes
60/ 140
pub points
89%
popularity

We analyzed this package 4 days ago, and awarded it 60 pub points (of a possible 140):

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: posix,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/bsutton/dart_posix but got https://github.com/onepub-dev/dart_posix.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

208 out of 471 API elements (44.2 %) have documentation comments.

Some symbols that are missing documentation: posix, posix.ArrayHelper___locale_struct___locales_level0.operator [], posix.ArrayHelper___locale_struct___locales_level0.operator []=, posix.ArrayHelper___locale_struct___locales_level0.dimensions, posix.ArrayHelper___locale_struct___locales_level0.length.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:posix/posix.dart that imports:
  • package:posix/src/wrapper.dart that imports:
  • package:posix/src/util/conversions.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 396 issues. Showing the first 2:

ERROR: Fields in struct classes can't have the type 'ffi.Pointer

lib/src/grp.dart:363:12

    ╷
363 │   external ffi.Pointer<ffi.Int8>? name;
    │            ^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: Fields in struct classes can't have the type 'ffi.Pointer

lib/src/grp.dart:366:12

    ╷
366 │   external ffi.Pointer<ffi.Int8>? passwd;
    │            ^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^1.1.2 1.2.1 2.1.2
meta ^1.7.0 1.15.0 1.15.0
quiver ^3.0.1+1 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

6
likes
60
pub points
89%
popularity

Publisher

verified publisheronepub.dev

Exposes the POSIX api on OSx and Linux

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, meta, quiver

More

Packages that depend on posix