paypal-common-components icon indicating copy to clipboard operation
paypal-common-components copied to clipboard

chore(deps): update dependency fs-extra to v11

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fs-extra ^4.0.2 -> ^11.0.0 age adoption passing confidence

Release Notes

jprichardson/node-fs-extra (fs-extra)

v11.1.1

Compare Source

  • Preserve timestamps when moving files across devices (#​992, #​994)

v11.1.0

Compare Source

  • Re-add main field to package.json for better TypeScript compatibility (#​979, #​981)

v11.0.0

Compare Source

Breaking Changes
  • Don't allow requiring fs-extra/lib/SOMETHING (switched to exports) (#​974)
  • Require Node v14.14+ (#​968, #​969)
New Features
  • Add fs-extra/esm for ESM named export support; see docs for details (#​746, #​974)
  • Add promise support for fs.readv() (#​970)
Bugfixes

v10.1.0

Compare Source

  • Warn if fs.realpath.native does not exist, instead of erroring (#​953)
  • Allow explicitly passing undefined options to move() (#​947, #​955)
  • Use process.emitWarning instead of console.warn (#​954)

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
  • Requires Node.js version 10 or greater (#​725, #​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, #​756)
  • Properly preserve atime for copy* with preserveTimestamps 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)
  • 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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, check this box

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Feb 20 '23 07:02 renovate[bot]

Codecov Report

Patch and project coverage have no change.

Comparison is base (4f3eb23) 79.51% compared to head (db49901) 79.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   79.51%   79.51%           
=======================================
  Files           7        7           
  Lines          83       83           
  Branches       17       17           
=======================================
  Hits           66       66           
  Misses         12       12           
  Partials        5        5           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Feb 20 '23 07:02 codecov[bot]