Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency fs-extra to v10 #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 12, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fs-extra 0.30.0 -> 10.0.1 age adoption passing confidence

Release Notes

jprichardson/node-fs-extra

v10.0.1

Compare Source

  • Add sideEffects: false to package.json (#​941)

v10.0.0

Compare Source

Breaking changes

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, #​786, #​870)
  • Error when attempting to copy*() unknown file type (#​880)
  • Remove undocumented options for remove*() (#​882)
Improvements
  • Allow changing case of filenames with move*(), even on technically case-insensitive filesystems (#​759, #​801)
  • Use native fs.rm*() for remove*() in environments that support it (#​882, #​806)
  • Improve emptyDir() performance (#​885)
Bugfixes
  • Ensure copy*()'s filter function is not called more than necessary (#​883, #​809)
  • Fix move*() raising EPERM error when moving a file to the root of a drive on Windows (#​897, #​819)
Miscellaneous changes

v9.1.0

Compare Source

  • Add promise support for fs.rm() (#​841, #​860)
  • Upgrade universalify for performance improvments (#​825)

v9.0.1

Compare Source

v9.0.0

Compare Source

Breaking changes

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)
  • Cannot pass null as an options parameter to *Json* methods (#​745, #​768)
Improvements
  • Add promise shims for fs.writev & fs.opendir (#​747)
  • Better errors for ensureFile (#​696, #​744)
  • Better file comparison for older Node versions (#​694)
Miscellaneous changes

v8.1.0

Compare Source

  • Add support for promisified fs.realpath.native in Node v9.2+ (#​650, #​682)
  • Update graceful-fs dependency (#​700)
  • Use graceful-fs everywhere (#​700)

v8.0.1

Compare Source

  • Fix bug Maximum call stack size exceeded error in util/stat (#​679)

v8.0.0

Compare Source

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, #​618)
  • Fix bug in move() with case-insensitive file systems
  • Use fs.stat()'s bigint option in copy*() & move*() where possible (#​657)

v7.0.1

Compare Source

  • Fix removeSync() on Windows, in some cases, it would error out with ENOTEMPTY (#​646)
  • Document mode option for ensureDir*() (#​587)
  • Don't include documentation files in npm package tarball (#​642, #​643)

v7.0.0

Compare Source

  • BREAKING: Refine copy*() handling of symlinks to properly detect symlinks that point to the same file. (#​582)
  • Fix bug with copying write-protected directories (#​600)
  • Universalify fs.lchmod() (#​596)
  • Add engines field to package.json (#​580)

v6.0.1

Compare Source

  • Fix fs.promises ExperimentalWarning on Node v10.1.0 (#​578)

v6.0.0

Compare Source

  • Drop support for Node.js versions 4, 5, & 7 (#​564)
  • Rewrite move to use fs.rename where possible (#​549)
  • Don't convert relative paths to absolute paths for filter (#​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)
  • Fix subdirectory detection for copy* & move* (#​541)
  • Handle case-insensitive paths correctly in copy* (#​568)

v5.0.0

Compare Source

Significant refactor of copy() & copySync(), including breaking changes. No changes to other functions in this release.

Huge thanks to @​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
  • copy()'s filter option can now be a function that returns a Promise. #​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
  • Don't allow copying a directory into itself. #​83
  • Handle copying between identical files. #​198
  • Error out when copying an empty folder to a path that already exists. #​464
  • Don't create dest's parent if the filter function aborts the copy() operation. #​517
  • Fix writeStream not being closed if there was an error in copy(). #​516

v4.0.3

Compare Source

  • Fix wrong chmod values in fs.remove() #​501
  • Fix TypeError on systems that don't have some fs operations like lchown #​520

v4.0.2

Compare Source

  • Added EOL option to writeJson* & outputJson* (via upgrade to jsonfile v4)
  • Added promise support to fs.copyFile() in Node 8.5+
  • Added .js extension to main field in package.json for better tooling compatibility. #​485

v4.0.1

Compare Source

Fixed
  • Previously, ensureFile() & ensureFileSync() would do nothing if the path was a directory. Now, they error out for consistency with ensureDir(). #​465, #​466, #​470

v4.0.0

Compare Source

Changed
  • BREAKING: The promisified versions of fs.read() & fs.write() now return objects. See the docs for details. #​436, #​449
  • fs.move() now errors out when destination is a subdirectory of source. #​458
  • Applied upstream fixes from rimraf to fs.remove() & fs.removeSync(). #​459
Fixed
  • Got fs.outputJSONSync() working again; it was broken due to refactoring. #​428

Also clarified the docs in a few places.

v3.0.1

Compare Source

  • Fix bug in move() & moveSync() when source and destination are the same, and source does not exist. #​415

v3.0.0

Compare Source

Added
  • 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
Removed
  • BREAKING: Removed support for setting the default spaces for writeJson(), writeJsonSync(), outputJson(), & outputJsonSync(). This was undocumented. #​402
Changed
  • 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
Fixed
  • removeSync() silently failed on Windows in some cases. Now throws an EBUSY error. #​408

v2.1.2

Compare Source

Fixed
  • Weird windows bug that resulted in ensureDir()'s callback being called twice in some cases. This bug may have also affected remove(). See #​392, #​393

v2.1.1

Compare Source

Fixed
  • Reverted 5597bd, this broke compatibility with Node.js versions v4+ but less than v4.5.0.
  • Remove Buffer.alloc() usage in moveSync().

v2.1.0

Compare Source

Thanks to Mani Maghsoudlou (@​manidlou) & Jan Peer Stöcklmair (@​JPeer264) for their extraordinary help with this release!

Added
Changed
Fixed

v2.0.0

Compare Source

Removed
  • BREAKING: Removed support for Node v0.12. The Node foundation stopped officially supporting it
    on Jan 1st, 2017.
  • BREAKING: Remove walk() and walkSync(). walkSync() was only part of fs-extra for a little
    over two months. Use klaw instead of walk(), in fact, walk() was just
    an alias to klaw. For walkSync() use klaw-sync. See: [#​338], [#​339]
Changed
  • BREAKING: Renamed clobber to overwrite. This affects copy(), copySync(), and move(). [#​330], [#​333]
  • Moved docs, to docs/. [#​340]
Fixed
  • Apply filters to directories in copySync() like in copy(). [#​324]
  • A specific condition when disk is under heavy use, copy() can fail. [#​326]

v1.0.0

Compare Source

After five years of development, we finally have reach the 1.0.0 milestone! Big thanks goes
to Ryan Zim for leading the charge on this release!

Added
  • walkSync()
Changed
  • BREAKING: dropped Node v0.10 support.
  • disabled rimaf globbing, wasn't used. [#​280]
  • deprecate copy()/copySync() option filter if it's a RegExp. filter should now be a function.
  • inline rimraf. This is temporary and was done because rimraf depended upon the beefy glob which fs-extra does not use. [#​300]
Fixed
  • bug fix proper closing of file handle on utimesMillis() [#​271]
  • proper escaping of files with dollar signs [#​291]
  • copySync() failed if user didn't own file. [#​199], [#​301]

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 has been generated by WhiteSource Renovate. View repository job log here.

@vizipi
Copy link

vizipi bot commented Jun 12, 2021

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

Reviewers with knowledge related to these changes

Match % Person Commit Count Common Files
100.00 % Chintan Prajapati 2 1

Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

(click to expand)
  • 85.71%[package.json]
  • @vizipi vizipi bot requested a review from chintan9 June 12, 2021 19:11
    @trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Mar 7, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    🔍 Ready for Review Pull Request is not reviewed yet size/XS
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    1 participant