spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
384 stars 96 forks source link

Deprecation warnings on Node 6 #71

Closed compiledpanda closed 8 years ago

compiledpanda commented 8 years ago

Using scp2 under Node 6 throws deprecation warnings for graceful-fs (used by glob 4.x).

fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

npm outdated returns the following

Package     Current  Wanted      Latest  Location
async         0.9.2   0.9.2  2.0.0-rc.3  scp2
glob          4.0.6   4.0.6       7.0.3  scp2
jscoverage    0.5.9   0.5.9       0.6.0  scp2
lodash        2.4.2   2.4.2      4.11.1  scp2
ssh2         0.4.15  0.4.15       0.5.0  scp2

The latest version of glob (7.0.3 as of today) does not directly use graceful-fs anymore (although it is pulled in later down the line by a dev dependency, but as graceful-fs@4.1.3).

The best thing to do would be to update all of the dependencies. Thoughts?