node_io 2.2.0 copy "node_io: ^2.2.0" to clipboard
node_io: ^2.2.0 copied to clipboard

outdated

Like dart:io but with Node.js.

50/ 160
pub points
40.2k
downloads

We analyzed this package 11 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: BSD-3-Clause.

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

248 out of 265 API elements (93.6 %) have documentation comments.

Some symbols that are missing documentation: node_io.Directory.Directory.new, node_io.Directory.path, node_io.File.File.new, node_io.File.path, node_io.HttpServer.HttpServer.new.

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 22 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

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
file ^6.1.4 6.1.4 7.0.1
node_interop ^2.0.2 2.2.0 2.2.0
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
js - 0.6.7 0.7.2 Discontinued
meta - 1.18.3 1.18.3

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.

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 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.23.12, Dart 3.12.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
50
points
40.2k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Like dart:io but with Node.js.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

file, node_interop, path

More

Packages that depend on node_io