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
11.8k
downloads

We analyzed this package 9 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

250 out of 265 API elements (94.3 %) 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)

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

Failed check 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.

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 21 issues. Showing the first 2:

ERROR: Missing concrete implementations of 'setter class Stdin extends _StdStream implements Stream

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 class _StdSink implements IOSink.lineTerminator' and 'setter class _StdSink implements IOSink.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.17.0 1.17.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.

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 class Stdin extends _StdStream implements Stream<List
  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/src/stdout.dart:10:7 - Missing concrete implementations of 'getter class _StdSink implements IOSink.lineTerminator' and 'setter class _StdSink implements IOSink.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.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
50
points
11.8k
downloads

Publisher

unverified uploader

Weekly Downloads

Like dart:io but with Node.js.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

file, node_interop, path

More

Packages that depend on node_io