jprichardson/node-fs-extra
### [`v10.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#1000--2021-05-03)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)
##### Breaking changes
- Require Node.js v12+ ([#886](https://togithub.com/jprichardson/node-fs-extra/issues/886), [#893](https://togithub.com/jprichardson/node-fs-extra/pull/893), [#890](https://togithub.com/jprichardson/node-fs-extra/pull/890), [#894](https://togithub.com/jprichardson/node-fs-extra/pull/894), [#895](https://togithub.com/jprichardson/node-fs-extra/pull/895))
- Allow copying broken symlinks ([#779](https://togithub.com/jprichardson/node-fs-extra/pull/779), [#765](https://togithub.com/jprichardson/node-fs-extra/issues/765), [#638](https://togithub.com/jprichardson/node-fs-extra/issues/638), [#761](https://togithub.com/jprichardson/node-fs-extra/issues/761))
**The following changes, although technically semver-major, will not affect the vast majority of users:**
- Ensure correct type when destination exists for `ensureLink*()`/`ensureSymlink*()` ([#826](https://togithub.com/jprichardson/node-fs-extra/pull/826), [#786](https://togithub.com/jprichardson/node-fs-extra/issues/786), [#870](https://togithub.com/jprichardson/node-fs-extra/issues/870))
- Error when attempting to `copy*()` unknown file type ([#880](https://togithub.com/jprichardson/node-fs-extra/pull/880))
- Remove undocumented options for `remove*()` ([#882](https://togithub.com/jprichardson/node-fs-extra/pull/882))
##### Improvements
- Allow changing case of filenames with `move*()`, even on technically case-insensitive filesystems ([#759](https://togithub.com/jprichardson/node-fs-extra/issues/759), [#801](https://togithub.com/jprichardson/node-fs-extra/pull/801))
- Use native `fs.rm*()` for `remove*()` in environments that support it ([#882](https://togithub.com/jprichardson/node-fs-extra/pull/882), [#806](https://togithub.com/jprichardson/node-fs-extra/issues/806))
- Improve `emptyDir()` performance ([#885](https://togithub.com/jprichardson/node-fs-extra/pull/885))
##### Bugfixes
- Ensure `copy*()`'s `filter` function is not called more than necessary ([#883](https://togithub.com/jprichardson/node-fs-extra/pull/883), [#809](https://togithub.com/jprichardson/node-fs-extra/issues/809))
- Fix `move*()` raising `EPERM` error when moving a file to the root of a drive on Windows ([#897](https://togithub.com/jprichardson/node-fs-extra/pull/897), [#819](https://togithub.com/jprichardson/node-fs-extra/issues/819))
##### Miscellaneous changes
- Do not use `at-least-node` as a dependency ([#896](https://togithub.com/jprichardson/node-fs-extra/pull/896))
- Improve documentation ([#888](https://togithub.com/jprichardson/node-fs-extra/pull/888), [#830](https://togithub.com/jprichardson/node-fs-extra/issues/830), [#884](https://togithub.com/jprichardson/node-fs-extra/pull/884), [#843](https://togithub.com/jprichardson/node-fs-extra/issues/843))
### [`v9.1.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#910--2021-01-19)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0)
- Add promise support for `fs.rm()` ([#841](https://togithub.com/jprichardson/node-fs-extra/issues/841), [#860](https://togithub.com/jprichardson/node-fs-extra/pull/860))
- Upgrade universalify for performance improvments ([#825](https://togithub.com/jprichardson/node-fs-extra/pull/825))
### [`v9.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#901--2020-06-03)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.0.0...9.0.1)
- Fix issue with `ensureFile()` when used with Jest on Windows ([#804](https://togithub.com/jprichardson/node-fs-extra/issues/804), [#805](https://togithub.com/jprichardson/node-fs-extra/pull/805))
- Remove unneeded `process.umask()` call ([#791](https://togithub.com/jprichardson/node-fs-extra/pull/791))
- Docs improvements ([#753](https://togithub.com/jprichardson/node-fs-extra/pull/753), [#795](https://togithub.com/jprichardson/node-fs-extra/pull/795), [#797](https://togithub.com/jprichardson/node-fs-extra/pull/797))
### [`v9.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#900--2020-03-19)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0)
##### Breaking changes
- Requires Node.js version 10 or greater ([#725](https://togithub.com/jprichardson/node-fs-extra/issues/725), [#751](https://togithub.com/jprichardson/node-fs-extra/pull/751))
- Switched `ensureDir*` to use a fork of https://github.com/sindresorhus/make-dir to make use of native recursive `fs.mkdir` where possible ([#619](https://togithub.com/jprichardson/node-fs-extra/issues/619), [#756](https://togithub.com/jprichardson/node-fs-extra/pull/756))
- Properly preserve `atime` for `copy*` with `preserveTimestamps` option ([#633](https://togithub.com/jprichardson/node-fs-extra/pull/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](https://togithub.com/jprichardson/node-fs-extra/issues/702), [#768](https://togithub.com/jprichardson/node-fs-extra/pull/768))
- Cannot pass `null` as an options parameter to `*Json*` methods ([#745](https://togithub.com/jprichardson/node-fs-extra/issues/745), [#768](https://togithub.com/jprichardson/node-fs-extra/pull/768))
##### Improvements
- Add promise shims for `fs.writev` & `fs.opendir` ([#747](https://togithub.com/jprichardson/node-fs-extra/pull/747))
- Better errors for `ensureFile` ([#696](https://togithub.com/jprichardson/node-fs-extra/issues/696), [#744](https://togithub.com/jprichardson/node-fs-extra/pull/744))
- Better file comparison for older Node versions ([#694](https://togithub.com/jprichardson/node-fs-extra/pull/694))
##### Miscellaneous changes
- Peformance optimizations ([#762](https://togithub.com/jprichardson/node-fs-extra/issues/762), [#764](https://togithub.com/jprichardson/node-fs-extra/pull/764))
- Add missing documentation for aliases ([#758](https://togithub.com/jprichardson/node-fs-extra/issues/758), [#766](https://togithub.com/jprichardson/node-fs-extra/pull/766))
- Update `universalify` dependency ([#767](https://togithub.com/jprichardson/node-fs-extra/pull/767))
### [`v8.1.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#810--2019-06-28)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/32a65ffd9111829dbba15d79f1d27519c7dc96a6...8.1.0)
- Add support for promisified `fs.realpath.native` in Node v9.2+ ([#650](https://togithub.com/jprichardson/node-fs-extra/issues/650), [#682](https://togithub.com/jprichardson/node-fs-extra/pull/682))
- Update `graceful-fs` dependency ([#700](https://togithub.com/jprichardson/node-fs-extra/pull/700))
- Use `graceful-fs` everywhere ([#700](https://togithub.com/jprichardson/node-fs-extra/pull/700))
### [`v8.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#801--2019-05-13)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/8.0.0...32a65ffd9111829dbba15d79f1d27519c7dc96a6)
- Fix bug `Maximum call stack size exceeded` error in `util/stat` ([#679](https://togithub.com/jprichardson/node-fs-extra/pull/679))
### [`v8.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#800--2019-05-11)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/7.0.1...8.0.0)
**NOTE:** Node.js v6 support is deprecated, and will be dropped in the next major release.
- Use `renameSync()` under the hood in `moveSync()`
- Fix bug with bind-mounted directories in `copy*()` ([#613](https://togithub.com/jprichardson/node-fs-extra/issues/613), [#618](https://togithub.com/jprichardson/node-fs-extra/pull/618))
- Fix bug in `move()` with case-insensitive file systems
- Use `fs.stat()`'s `bigint` option in `copy*()` & `move*()` where possible ([#657](https://togithub.com/jprichardson/node-fs-extra/issues/657))
### [`v7.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#701--2018-11-07)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/7.0.0...7.0.1)
- Fix `removeSync()` on Windows, in some cases, it would error out with `ENOTEMPTY` ([#646](https://togithub.com/jprichardson/node-fs-extra/pull/646))
- Document `mode` option for `ensureDir*()` ([#587](https://togithub.com/jprichardson/node-fs-extra/pull/587))
- Don't include documentation files in npm package tarball ([#642](https://togithub.com/jprichardson/node-fs-extra/issues/642), [#643](https://togithub.com/jprichardson/node-fs-extra/pull/643))
### [`v7.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#700--2018-07-16)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/6.0.1...7.0.0)
- **BREAKING:** Refine `copy*()` handling of symlinks to properly detect symlinks that point to the same file. ([#582](https://togithub.com/jprichardson/node-fs-extra/pull/582))
- Fix bug with copying write-protected directories ([#600](https://togithub.com/jprichardson/node-fs-extra/pull/600))
- Universalify `fs.lchmod()` ([#596](https://togithub.com/jprichardson/node-fs-extra/pull/596))
- Add `engines` field to `package.json` ([#580](https://togithub.com/jprichardson/node-fs-extra/pull/580))
### [`v6.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#601--2018-05-09)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/6.0.0...6.0.1)
- Fix `fs.promises` `ExperimentalWarning` on Node v10.1.0 ([#578](https://togithub.com/jprichardson/node-fs-extra/pull/578))
### [`v6.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#600--2018-05-01)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/5.0.0...6.0.0)
- Drop support for Node.js versions 4, 5, & 7 ([#564](https://togithub.com/jprichardson/node-fs-extra/pull/564))
- Rewrite `move` to use `fs.rename` where possible ([#549](https://togithub.com/jprichardson/node-fs-extra/pull/549))
- Don't convert relative paths to absolute paths for `filter` ([#554](https://togithub.com/jprichardson/node-fs-extra/pull/554))
- `copy*`'s behavior when `preserveTimestamps` is `false` has been OS-dependent since 5.0.0, but that's now explicitly noted in the docs ([#563](https://togithub.com/jprichardson/node-fs-extra/pull/563))
- Fix subdirectory detection for `copy*` & `move*` ([#541](https://togithub.com/jprichardson/node-fs-extra/pull/541))
- Handle case-insensitive paths correctly in `copy*` ([#568](https://togithub.com/jprichardson/node-fs-extra/pull/568))
### [`v5.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#500--2017-12-11)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.3...5.0.0)
Significant refactor of `copy()` & `copySync()`, including breaking changes. No changes to other functions in this release.
Huge thanks to **[@manidlou](https://togithub.com/manidlou)** for doing most of the work on this release.
- The `filter` option can no longer be a RegExp (must be a function). This was deprecated since fs-extra v1.0.0. [#512](https://togithub.com/jprichardson/node-fs-extra/pull/512)
- `copy()`'s `filter` option can now be a function that returns a Promise. [#518](https://togithub.com/jprichardson/node-fs-extra/pull/518)
- `copy()` & `copySync()` now use `fs.copyFile()`/`fs.copyFileSync()` in environments that support it (currently Node 8.5.0+). Older Node versions still get the old implementation. [#505](https://togithub.com/jprichardson/node-fs-extra/pull/505)
- Don't allow copying a directory into itself. [#83](https://togithub.com/jprichardson/node-fs-extra/issues/83)
- Handle copying between identical files. [#198](https://togithub.com/jprichardson/node-fs-extra/issues/198)
- Error out when copying an empty folder to a path that already exists. [#464](https://togithub.com/jprichardson/node-fs-extra/issues/464)
- Don't create `dest`'s parent if the `filter` function aborts the `copy()` operation. [#517](https://togithub.com/jprichardson/node-fs-extra/pull/517)
- Fix `writeStream` not being closed if there was an error in `copy()`. [#516](https://togithub.com/jprichardson/node-fs-extra/pull/516)
### [`v4.0.3`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#403--2017-12-05)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.2...4.0.3)
- Fix wrong `chmod` values in `fs.remove()` [#501](https://togithub.com/jprichardson/node-fs-extra/pull/501)
- Fix `TypeError` on systems that don't have some `fs` operations like `lchown` [#520](https://togithub.com/jprichardson/node-fs-extra/pull/520)
### [`v4.0.2`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#402--2017-09-12)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.1...4.0.2)
- Added `EOL` option to `writeJson*` & `outputJson*` (via upgrade to jsonfile v4)
- Added promise support to [`fs.copyFile()`](https://nodejs.org/api/fs.html#fs_fs_copyfile_src_dest_flags_callback) in Node 8.5+
- Added `.js` extension to `main` field in `package.json` for better tooling compatibility. [#485](https://togithub.com/jprichardson/node-fs-extra/pull/485)
### [`v4.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#401--2017-07-31)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.0...4.0.1)
##### Fixed
- Previously, `ensureFile()` & `ensureFileSync()` would do nothing if the path was a directory. Now, they error out for consistency with `ensureDir()`. [#465](https://togithub.com/jprichardson/node-fs-extra/issues/465), [#466](https://togithub.com/jprichardson/node-fs-extra/pull/466), [#470](https://togithub.com/jprichardson/node-fs-extra/issues/470)
### [`v4.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#400--2017-07-14)
[Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/3.0.1...4.0.0)
##### Changed
- **BREAKING:** The promisified versions of `fs.read()` & `fs.write()` now return objects. See [the docs](docs/fs-read-write.md) for details. [#436](https://togithub.com/jprichardson/node-fs-extra/issues/436), [#449](https://togithub.com/jprichardson/node-fs-extra/pull/449)
- `fs.move()` now errors out when destination is a subdirectory of source. [#458](https://togithub.com/jprichardson/node-fs-extra/pull/458)
- Applied upstream fixes from `rimraf` to `fs.remove()` & `fs.removeSync()`. [#459](https://togithub.com/jprichardson/node-fs-extra/pull/459)
##### Fixed
- Got `fs.outputJSONSync()` working again; it was broken due to refactoring. [#428](https://togithub.com/jprichardson/node-fs-extra/pull/428)
Also clarified the docs in a few places.
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.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^3.0.1
->10.0.0
Release Notes
jprichardson/node-fs-extra
### [`v10.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#1000--2021-05-03) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0) ##### Breaking changes - Require Node.js v12+ ([#886](https://togithub.com/jprichardson/node-fs-extra/issues/886), [#893](https://togithub.com/jprichardson/node-fs-extra/pull/893), [#890](https://togithub.com/jprichardson/node-fs-extra/pull/890), [#894](https://togithub.com/jprichardson/node-fs-extra/pull/894), [#895](https://togithub.com/jprichardson/node-fs-extra/pull/895)) - Allow copying broken symlinks ([#779](https://togithub.com/jprichardson/node-fs-extra/pull/779), [#765](https://togithub.com/jprichardson/node-fs-extra/issues/765), [#638](https://togithub.com/jprichardson/node-fs-extra/issues/638), [#761](https://togithub.com/jprichardson/node-fs-extra/issues/761)) **The following changes, although technically semver-major, will not affect the vast majority of users:** - Ensure correct type when destination exists for `ensureLink*()`/`ensureSymlink*()` ([#826](https://togithub.com/jprichardson/node-fs-extra/pull/826), [#786](https://togithub.com/jprichardson/node-fs-extra/issues/786), [#870](https://togithub.com/jprichardson/node-fs-extra/issues/870)) - Error when attempting to `copy*()` unknown file type ([#880](https://togithub.com/jprichardson/node-fs-extra/pull/880)) - Remove undocumented options for `remove*()` ([#882](https://togithub.com/jprichardson/node-fs-extra/pull/882)) ##### Improvements - Allow changing case of filenames with `move*()`, even on technically case-insensitive filesystems ([#759](https://togithub.com/jprichardson/node-fs-extra/issues/759), [#801](https://togithub.com/jprichardson/node-fs-extra/pull/801)) - Use native `fs.rm*()` for `remove*()` in environments that support it ([#882](https://togithub.com/jprichardson/node-fs-extra/pull/882), [#806](https://togithub.com/jprichardson/node-fs-extra/issues/806)) - Improve `emptyDir()` performance ([#885](https://togithub.com/jprichardson/node-fs-extra/pull/885)) ##### Bugfixes - Ensure `copy*()`'s `filter` function is not called more than necessary ([#883](https://togithub.com/jprichardson/node-fs-extra/pull/883), [#809](https://togithub.com/jprichardson/node-fs-extra/issues/809)) - Fix `move*()` raising `EPERM` error when moving a file to the root of a drive on Windows ([#897](https://togithub.com/jprichardson/node-fs-extra/pull/897), [#819](https://togithub.com/jprichardson/node-fs-extra/issues/819)) ##### Miscellaneous changes - Do not use `at-least-node` as a dependency ([#896](https://togithub.com/jprichardson/node-fs-extra/pull/896)) - Improve documentation ([#888](https://togithub.com/jprichardson/node-fs-extra/pull/888), [#830](https://togithub.com/jprichardson/node-fs-extra/issues/830), [#884](https://togithub.com/jprichardson/node-fs-extra/pull/884), [#843](https://togithub.com/jprichardson/node-fs-extra/issues/843)) ### [`v9.1.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#910--2021-01-19) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0) - Add promise support for `fs.rm()` ([#841](https://togithub.com/jprichardson/node-fs-extra/issues/841), [#860](https://togithub.com/jprichardson/node-fs-extra/pull/860)) - Upgrade universalify for performance improvments ([#825](https://togithub.com/jprichardson/node-fs-extra/pull/825)) ### [`v9.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#901--2020-06-03) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/9.0.0...9.0.1) - Fix issue with `ensureFile()` when used with Jest on Windows ([#804](https://togithub.com/jprichardson/node-fs-extra/issues/804), [#805](https://togithub.com/jprichardson/node-fs-extra/pull/805)) - Remove unneeded `process.umask()` call ([#791](https://togithub.com/jprichardson/node-fs-extra/pull/791)) - Docs improvements ([#753](https://togithub.com/jprichardson/node-fs-extra/pull/753), [#795](https://togithub.com/jprichardson/node-fs-extra/pull/795), [#797](https://togithub.com/jprichardson/node-fs-extra/pull/797)) ### [`v9.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#900--2020-03-19) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0) ##### Breaking changes - Requires Node.js version 10 or greater ([#725](https://togithub.com/jprichardson/node-fs-extra/issues/725), [#751](https://togithub.com/jprichardson/node-fs-extra/pull/751)) - Switched `ensureDir*` to use a fork of https://github.com/sindresorhus/make-dir to make use of native recursive `fs.mkdir` where possible ([#619](https://togithub.com/jprichardson/node-fs-extra/issues/619), [#756](https://togithub.com/jprichardson/node-fs-extra/pull/756)) - Properly preserve `atime` for `copy*` with `preserveTimestamps` option ([#633](https://togithub.com/jprichardson/node-fs-extra/pull/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](https://togithub.com/jprichardson/node-fs-extra/issues/702), [#768](https://togithub.com/jprichardson/node-fs-extra/pull/768)) - Cannot pass `null` as an options parameter to `*Json*` methods ([#745](https://togithub.com/jprichardson/node-fs-extra/issues/745), [#768](https://togithub.com/jprichardson/node-fs-extra/pull/768)) ##### Improvements - Add promise shims for `fs.writev` & `fs.opendir` ([#747](https://togithub.com/jprichardson/node-fs-extra/pull/747)) - Better errors for `ensureFile` ([#696](https://togithub.com/jprichardson/node-fs-extra/issues/696), [#744](https://togithub.com/jprichardson/node-fs-extra/pull/744)) - Better file comparison for older Node versions ([#694](https://togithub.com/jprichardson/node-fs-extra/pull/694)) ##### Miscellaneous changes - Peformance optimizations ([#762](https://togithub.com/jprichardson/node-fs-extra/issues/762), [#764](https://togithub.com/jprichardson/node-fs-extra/pull/764)) - Add missing documentation for aliases ([#758](https://togithub.com/jprichardson/node-fs-extra/issues/758), [#766](https://togithub.com/jprichardson/node-fs-extra/pull/766)) - Update `universalify` dependency ([#767](https://togithub.com/jprichardson/node-fs-extra/pull/767)) ### [`v8.1.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#810--2019-06-28) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/32a65ffd9111829dbba15d79f1d27519c7dc96a6...8.1.0) - Add support for promisified `fs.realpath.native` in Node v9.2+ ([#650](https://togithub.com/jprichardson/node-fs-extra/issues/650), [#682](https://togithub.com/jprichardson/node-fs-extra/pull/682)) - Update `graceful-fs` dependency ([#700](https://togithub.com/jprichardson/node-fs-extra/pull/700)) - Use `graceful-fs` everywhere ([#700](https://togithub.com/jprichardson/node-fs-extra/pull/700)) ### [`v8.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#801--2019-05-13) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/8.0.0...32a65ffd9111829dbba15d79f1d27519c7dc96a6) - Fix bug `Maximum call stack size exceeded` error in `util/stat` ([#679](https://togithub.com/jprichardson/node-fs-extra/pull/679)) ### [`v8.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#800--2019-05-11) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/7.0.1...8.0.0) **NOTE:** Node.js v6 support is deprecated, and will be dropped in the next major release. - Use `renameSync()` under the hood in `moveSync()` - Fix bug with bind-mounted directories in `copy*()` ([#613](https://togithub.com/jprichardson/node-fs-extra/issues/613), [#618](https://togithub.com/jprichardson/node-fs-extra/pull/618)) - Fix bug in `move()` with case-insensitive file systems - Use `fs.stat()`'s `bigint` option in `copy*()` & `move*()` where possible ([#657](https://togithub.com/jprichardson/node-fs-extra/issues/657)) ### [`v7.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#701--2018-11-07) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/7.0.0...7.0.1) - Fix `removeSync()` on Windows, in some cases, it would error out with `ENOTEMPTY` ([#646](https://togithub.com/jprichardson/node-fs-extra/pull/646)) - Document `mode` option for `ensureDir*()` ([#587](https://togithub.com/jprichardson/node-fs-extra/pull/587)) - Don't include documentation files in npm package tarball ([#642](https://togithub.com/jprichardson/node-fs-extra/issues/642), [#643](https://togithub.com/jprichardson/node-fs-extra/pull/643)) ### [`v7.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#700--2018-07-16) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/6.0.1...7.0.0) - **BREAKING:** Refine `copy*()` handling of symlinks to properly detect symlinks that point to the same file. ([#582](https://togithub.com/jprichardson/node-fs-extra/pull/582)) - Fix bug with copying write-protected directories ([#600](https://togithub.com/jprichardson/node-fs-extra/pull/600)) - Universalify `fs.lchmod()` ([#596](https://togithub.com/jprichardson/node-fs-extra/pull/596)) - Add `engines` field to `package.json` ([#580](https://togithub.com/jprichardson/node-fs-extra/pull/580)) ### [`v6.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#601--2018-05-09) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/6.0.0...6.0.1) - Fix `fs.promises` `ExperimentalWarning` on Node v10.1.0 ([#578](https://togithub.com/jprichardson/node-fs-extra/pull/578)) ### [`v6.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#600--2018-05-01) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/5.0.0...6.0.0) - Drop support for Node.js versions 4, 5, & 7 ([#564](https://togithub.com/jprichardson/node-fs-extra/pull/564)) - Rewrite `move` to use `fs.rename` where possible ([#549](https://togithub.com/jprichardson/node-fs-extra/pull/549)) - Don't convert relative paths to absolute paths for `filter` ([#554](https://togithub.com/jprichardson/node-fs-extra/pull/554)) - `copy*`'s behavior when `preserveTimestamps` is `false` has been OS-dependent since 5.0.0, but that's now explicitly noted in the docs ([#563](https://togithub.com/jprichardson/node-fs-extra/pull/563)) - Fix subdirectory detection for `copy*` & `move*` ([#541](https://togithub.com/jprichardson/node-fs-extra/pull/541)) - Handle case-insensitive paths correctly in `copy*` ([#568](https://togithub.com/jprichardson/node-fs-extra/pull/568)) ### [`v5.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#500--2017-12-11) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.3...5.0.0) Significant refactor of `copy()` & `copySync()`, including breaking changes. No changes to other functions in this release. Huge thanks to **[@manidlou](https://togithub.com/manidlou)** for doing most of the work on this release. - The `filter` option can no longer be a RegExp (must be a function). This was deprecated since fs-extra v1.0.0. [#512](https://togithub.com/jprichardson/node-fs-extra/pull/512) - `copy()`'s `filter` option can now be a function that returns a Promise. [#518](https://togithub.com/jprichardson/node-fs-extra/pull/518) - `copy()` & `copySync()` now use `fs.copyFile()`/`fs.copyFileSync()` in environments that support it (currently Node 8.5.0+). Older Node versions still get the old implementation. [#505](https://togithub.com/jprichardson/node-fs-extra/pull/505) - Don't allow copying a directory into itself. [#83](https://togithub.com/jprichardson/node-fs-extra/issues/83) - Handle copying between identical files. [#198](https://togithub.com/jprichardson/node-fs-extra/issues/198) - Error out when copying an empty folder to a path that already exists. [#464](https://togithub.com/jprichardson/node-fs-extra/issues/464) - Don't create `dest`'s parent if the `filter` function aborts the `copy()` operation. [#517](https://togithub.com/jprichardson/node-fs-extra/pull/517) - Fix `writeStream` not being closed if there was an error in `copy()`. [#516](https://togithub.com/jprichardson/node-fs-extra/pull/516) ### [`v4.0.3`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#403--2017-12-05) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.2...4.0.3) - Fix wrong `chmod` values in `fs.remove()` [#501](https://togithub.com/jprichardson/node-fs-extra/pull/501) - Fix `TypeError` on systems that don't have some `fs` operations like `lchown` [#520](https://togithub.com/jprichardson/node-fs-extra/pull/520) ### [`v4.0.2`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#402--2017-09-12) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.1...4.0.2) - Added `EOL` option to `writeJson*` & `outputJson*` (via upgrade to jsonfile v4) - Added promise support to [`fs.copyFile()`](https://nodejs.org/api/fs.html#fs_fs_copyfile_src_dest_flags_callback) in Node 8.5+ - Added `.js` extension to `main` field in `package.json` for better tooling compatibility. [#485](https://togithub.com/jprichardson/node-fs-extra/pull/485) ### [`v4.0.1`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#401--2017-07-31) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/4.0.0...4.0.1) ##### Fixed - Previously, `ensureFile()` & `ensureFileSync()` would do nothing if the path was a directory. Now, they error out for consistency with `ensureDir()`. [#465](https://togithub.com/jprichardson/node-fs-extra/issues/465), [#466](https://togithub.com/jprichardson/node-fs-extra/pull/466), [#470](https://togithub.com/jprichardson/node-fs-extra/issues/470) ### [`v4.0.0`](https://togithub.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#400--2017-07-14) [Compare Source](https://togithub.com/jprichardson/node-fs-extra/compare/3.0.1...4.0.0) ##### Changed - **BREAKING:** The promisified versions of `fs.read()` & `fs.write()` now return objects. See [the docs](docs/fs-read-write.md) for details. [#436](https://togithub.com/jprichardson/node-fs-extra/issues/436), [#449](https://togithub.com/jprichardson/node-fs-extra/pull/449) - `fs.move()` now errors out when destination is a subdirectory of source. [#458](https://togithub.com/jprichardson/node-fs-extra/pull/458) - Applied upstream fixes from `rimraf` to `fs.remove()` & `fs.removeSync()`. [#459](https://togithub.com/jprichardson/node-fs-extra/pull/459) ##### Fixed - Got `fs.outputJSONSync()` working again; it was broken due to refactoring. [#428](https://togithub.com/jprichardson/node-fs-extra/pull/428) Also clarified the docs in a few places.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.