Node-fs-extra: fs.moveSync is missing (Release v2.1.0)

Created on 12 Mar 2017  Â·  11Comments  Â·  Source: jprichardson/node-fs-extra

```npm install --save fs-extra
[email protected] /Users/ryancopley/Projects/smash
└─┬ [email protected]
├── [email protected]
└── [email protected]

cat node_modules/fs-extra/lib/index.js
var assign = require('./util/assign')

var fse = {}
var gfs = require('graceful-fs')

// attach fs methods to fse
Object.keys(gfs).forEach(function (key) {
fse[key] = gfs[key]
})

var fs = fse

assign(fs, require('./copy'))
assign(fs, require('./copy-sync'))
assign(fs, require('./mkdirs'))
assign(fs, require('./remove'))
assign(fs, require('./json'))
assign(fs, require('./move')) < ---- NO MOVE SYNC
assign(fs, require('./empty'))
assign(fs, require('./ensure'))
assign(fs, require('./output'))

module.exports = fs

// maintain backwards compatibility for awhile
var jsonfile = {}
Object.defineProperty(jsonfile, 'spaces', {
get: function () {
return fs.spaces // found in ./json
},
set: function (val) {
fs.spaces = val
}
})

```

Is the npm package up-to-date? If not, could it please be? :-)

Thanks,
Ryan

Most helpful comment

All 11 comments

@RyanCopley moveSync is implemented but is not published on npm yet. Surely, new version will be published soon, but I personally don't know when exactly that'd be. @jprichardson and @RyanZim should have a better idea about this.

@jprichardson Perhaps we should publish v2.1.0 soon?

+1

@jprichardson Perhaps we should publish v2.1.0 soon?

Sounds good. I'll plan tomorrow. @RyanZim can you prepare the CHANGELOG? Thank you!

Sure, PR on the way.

I think the npm module still needs published, not 100% positive though.

Yep, only @jprichardson can do that.

Thank you!

Thanks!

Was this page helpful?
0 / 5 - 0 ratings