dart_pty 0.0.4
dart_pty: ^0.0.4 copied to clipboard
create pseudo terminal and fork process use dart
We analyzed this package 2 days ago, and awarded it 90 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.
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 14 API elements (0.0 %) 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: dart_pty
, dart_pty.PseudoTerminal
, dart_pty.PseudoTerminal.PseudoTerminal.new
, dart_pty.PseudoTerminal.close
, dart_pty.PseudoTerminal.getTtyPath
.
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:dart_pty/dart_pty.dart
that imports:package:dart_pty/src/interface/pseudo_terminal_interface.dart
that imports:package:dart_pty/src/unix_pty.dart
that imports:package:dart_pty/src/native_header/generated_bindings.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_pty/dart_pty.dart
that imports:package:dart_pty/src/interface/pseudo_terminal_interface.dart
that imports:package:dart_pty/src/unix_pty.dart
that imports:package:dart_pty/src/native_header/generated_bindings.dart
that imports:dart:ffi
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 2595 issues. Showing the first 2:
WARNING: The declaration '__mb_cur_max' isn't referenced.
lib/src/native_header/generated_bindings.dart:248:11
╷
248 │ int get __mb_cur_max => ___mb_cur_max.value;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/native_header/generated_bindings.dart
WARNING: The declaration '__mb_cur_max' isn't referenced.
lib/src/native_header/generated_bindings.dart:250:7
╷
250 │ set __mb_cur_max(int value) => ___mb_cur_max.value = value;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/native_header/generated_bindings.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ffi |
^1.0.0 |
1.2.1 | 2.1.4 | |
signale |
^0.0.6 |
0.0.12 | 0.0.12 | |
win32 |
^2.1.0 |
2.6.1 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
The constraint `^2.1.0` on win32 does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions win32
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.24
, Dart 3.9.4
.
Check the analysis log for details.