-
Notifications
You must be signed in to change notification settings - Fork 39
Changelog
The sandbox was removed. There is no uid/gid emulation going on anymore. It bloated the code and wasn't 100% secure anyway. We now rely on the OS to handle security, so make sure to run vfs-local as the right user.
This release also comes with 90% code coverage in unit tests. Every commit goes to Travis CI so we know when stuff breaks. Many minor bugs were found and fixed during writing the unit tests.
fsoptions.checkSymlinks
was added to configure if vfs.resolve
should realpath to resolve symlinks or just do string manipulation. In practice, this affects if symlinks to content outside the root can be used.
vfs.mkfile
now supports both readable stream at options.stream
and writable stream at meta.stream
.
vfs.resolve
is now supported (was called vfs.realpath
)
vfs.extend
and friends is now a supported API and was split into three functions for full lifecycle control.
vfs.on
and friends is now a supported API for vfs level events.
vfs.exec
was removed in favor for vfs.execFile
.
vfs.killtree
was removed.
vfs.changedSince
was removed.
The argument lint checking was removed and moved into a standalone module at vfs-lint
.
Had a slight breakage from 0.1.x where vfs.mkfile
required a readable stream instead of providing a writable stream in the callback.
The initial vfs interface.