posix 4.1.0
posix: ^4.1.0 copied to clipboard
Exposes the POSIX api on OSx and Linux
We analyzed this package 34 hours ago, and awarded it 70 pub points (of a possible 160):
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.
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: posix, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
10/10 points: 20% or more of the public API has dartdoc comments
209 out of 471 API elements (44.4 %) have documentation comments.
Some symbols that are missing documentation: posix, posix.ArrayHelper___locale_struct___locales_level0.ArrayHelper___locale_struct___locales_level0.new, posix.ArrayHelper___locale_struct___locales_level0.dimensions, posix.ArrayHelper___locale_struct___locales_level0.length, posix.ArrayHelper___locale_struct___locales_level0.level.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:posix/src/wrapper.dartthat imports:package:posix/src/util/conversions.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 398 issues. Showing the first 2:
ERROR: Fields in struct classes can't have the type 'ffi.Pointer
lib/src/grp.dart:369:12
╷
369 │ 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:372:12
╷
372 │ external ffi.Pointer<ffi.Int8>? passwd;
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/grp.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.0.0 |
2.1.4 | 2.1.4 | |
meta |
^1.7.0 |
1.17.0 | 1.17.0 | |
quiver |
^3.0.1+1 |
3.2.2 | 3.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
matcher |
- | 0.12.17 | 0.12.17 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 37 errors:
INVALID_FIELD_TYPE_IN_STRUCT-lib/src/grp.dart:369:12- Fields in struct classes can't have the type 'ffi.Pointer<ffi.Int8>?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.INVALID_FIELD_TYPE_IN_STRUCT-lib/src/grp.dart:372:12- Fields in struct classes can't have the type 'ffi.Pointer<ffi.Int8>?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.INVALID_FIELD_TYPE_IN_STRUCT-lib/src/grp.dart:376:12- Fields in struct classes can't have the type 'int?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.
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.0, Dart 3.9.4.
Check the analysis log for details.