This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0
->^9.0.0
Release Notes
jprichardson/node-fs-extra
v9.0.1
Compare Source
ensureFile()
when used with Jest on Windows (#804, #805)process.umask()
call (#791)v9.0.0
Compare Source
Breaking changes
ensureDir*
to use a fork of https://github.com/sindresorhus/make-dir to make use of native recursivefs.mkdir
where possible (#619, #756)atime
forcopy*
withpreserveTimestamps
option (#633)The following changes, allthough technically breaking, will not affect the vast majority of users:
outputJson
now outputs objects as they were when the function was called, even if they are mutated later (#702, #768)null
as an options parameter to*Json*
methods (#745, #768)Improvements
fs.writev
&fs.opendir
(#747)ensureFile
(#696, #744)Miscellaneous changes
universalify
dependency (#767)v8.1.0
Compare Source
fs.realpath.native
in Node v9.2+ (#650, #682)graceful-fs
dependency (#700)graceful-fs
everywhere (#700)v8.0.1
Compare Source
Maximum call stack size exceeded
error inutil/stat
(#679)v8.0.0
Compare Source
NOTE: Node.js v6 support is deprecated, and will be dropped in the next major release.
renameSync()
under the hood inmoveSync()
copy*()
(#613, #618)move()
with case-insensitive file systemsfs.stat()
'sbigint
option incopy*()
&move*()
where possible (#657)v7.0.1
Compare Source
removeSync()
on Windows, in some cases, it would error out withENOTEMPTY
(#646)mode
option forensureDir*()
(#587)v7.0.0
Compare Source
copy*()
handling of symlinks to properly detect symlinks that point to the same file. (#582)fs.lchmod()
(#596)engines
field topackage.json
(#580)v6.0.1
Compare Source
fs.promises
ExperimentalWarning
on Node v10.1.0 (#578)v6.0.0
Compare Source
move
to usefs.rename
where possible (#549)filter
(#554)copy*
's behavior whenpreserveTimestamps
isfalse
has been OS-dependent since 5.0.0, but that's now explicitly noted in the docs (#563)copy*
&move*
(#541)copy*
(#568)v5.0.0
Compare Source
Significant refactor of
copy()
©Sync()
, including breaking changes. No changes to other functions in this release.Huge thanks to @manidlou for doing most of the work on this release.
filter
option can no longer be a RegExp (must be a function). This was deprecated since fs-extra v1.0.0. #512copy()
'sfilter
option can now be a function that returns a Promise. #518copy()
©Sync()
now usefs.copyFile()
/fs.copyFileSync()
in environments that support it (currently Node 8.5.0+). Older Node versions still get the old implementation. #505dest
's parent if thefilter
function aborts thecopy()
operation. #517writeStream
not being closed if there was an error incopy()
. #516v4.0.3
Compare Source
chmod
values infs.remove()
#501TypeError
on systems that don't have somefs
operations likelchown
#520v4.0.2
Compare Source
EOL
option towriteJson*
&outputJson*
(via upgrade to jsonfile v4)fs.copyFile()
in Node 8.5+.js
extension tomain
field inpackage.json
for better tooling compatibility. #485v4.0.1
Compare Source
Fixed
ensureFile()
&ensureFileSync()
would do nothing if the path was a directory. Now, they error out for consistency withensureDir()
. #465, #466, #470v4.0.0
Compare Source
Changed
fs.read()
&fs.write()
now return objects. See the docs for details. #436, #449fs.move()
now errors out when destination is a subdirectory of source. #458rimraf
tofs.remove()
&fs.removeSync()
. #459Fixed
fs.outputJSONSync()
working again; it was broken due to refactoring. #428Also clarified the docs in a few places.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.