BREAKING: Added Promise support. All asynchronous native fs methods and fs-extra methods now return a promise if the callback is not passed. #403
pathExists(), a replacement for the deprecated fs.exists. pathExists has a normal error-first callback signature. Also added pathExistsSync, an alias to fs.existsSync, for completeness. #406
BREAKING: Removed support for setting the default spaces for writeJson(), writeJsonSync(), outputJson(), & outputJsonSync(). This was undocumented. #402
Upgraded jsonfile dependency to v3.0.0:
BREAKING: Changed behavior of throws option for readJsonSync(); now does not throw filesystem errors when throws is false.
BREAKING:writeJson(), writeJsonSync(), outputJson(), & outputJsonSync() now output minified JSON by default for consistency with JSON.stringify(); set the spaces option to 2 to override this new behavior. #402
Use Buffer.allocUnsafe() instead of new Buffer() in environments that support it. #394
removeSync() silently failed on Windows in some cases. Now throws an EBUSY error. #408
📅Schedule: "before 3am on the first day of the month" in timezone America/New_York.
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
🔕Ignore: Close this PR and you won't be reminded about these updates again.
If you want to rebase/retry this PR, check this box
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.