node_io 2.2.0 node_io: ^2.2.0 copied to clipboard
Like dart:io but with Node.js.
We analyzed this package 8 days ago, and awarded it 50 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 60 to 180 characters to describe the package, what it does, and its target use case.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
420 out of 510 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: node_io.Datagram.Datagram
, node_io.Directory.path
, node_io.File.path
, node_io.FileSystemEntity.FileSystemEntity
, node_io.FileSystemEntity.path
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/platform.dart
that imports:package:node_interop/util.dart
that imports:package:node_interop/node.dart
that imports:package:node_interop/timers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/platform.dart
that imports:package:node_interop/util.dart
that imports:package:node_interop/node.dart
that imports:package:node_interop/timers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/platform.dart
that imports:package:node_interop/util.dart
that imports:package:node_interop/node.dart
that imports:package:node_interop/timers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/platform.dart
that imports:package:node_interop/util.dart
that imports:package:node_interop/node.dart
that imports:package:node_interop/timers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/platform.dart
that imports:package:node_interop/util.dart
that imports:package:node_interop/node.dart
that imports:package:node_interop/timers.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Web
Because:
package:node_io/node_io.dart
that imports:package:node_io/src/network_interface.dart
that imports:package:node_io/src/internet_address.dart
that imports:dart:io
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.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
ERROR: Missing concrete implementations of 'setter Stdin.echoMode', 'setter Stdin.echoNewlineMode', and 'setter Stdin.lineMode'.
lib/src/stdin.dart:11:7
╷
11 │ class Stdin extends ReadableStream<List<int>> implements io.Stdin {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/stdin.dart
ERROR: Missing concrete implementations of 'getter _StdSink.lineTerminator' and 'setter _StdSink.lineTerminator'.
lib/src/stdout.dart:10:7
╷
10 │ class Stdout extends NodeIOSink implements io.Stdout {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/stdout.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
file |
^6.1.4 |
6.1.4 | 7.0.1 |
node_interop |
^2.0.2 |
2.1.0 | 2.1.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^6.1.4` on file does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions file
to update the constraint.
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 2 errors:
NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER
-lib/src/stdin.dart:11:7
- Missing concrete implementations of 'setter Stdin.echoMode', 'setter Stdin.echoNewlineMode', and 'setter Stdin.lineMode'.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER
-lib/src/stdout.dart:10:7
- Missing concrete implementations of 'getter _StdSink.lineTerminator' and 'setter _StdSink.lineTerminator'.
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.22.12
, Dart 3.5.3
.
Check the analysis log for details.