Skip to content

Releases: tschaub/mock-fs

v5.2.0

28 Oct 18:04
Compare
Choose a tag to compare

What's Changed

  • fix: fix bug on utimes, futimes, add support of lutimes by @3cp in #366
  • fix: fix EACCES error on access by root user by @danielkatz in #369

New Contributors

Full Changelog: v5.1.4...v5.2.0

v5.1.4

04 Aug 03:16
Compare
Choose a tag to compare

What's Changed

  • fix: TypeError: Cannot convert to a BigInt by @ahippler in #363

New Contributors

Full Changelog: v5.1.3...v5.1.4

v5.1.3

02 Aug 21:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.1.2...v5.1.3

v5.1.2

02 Aug 10:42
@3cp 3cp
ebfc4b7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.1.1...v5.1.2

v5.1.1

02 Aug 10:41
@3cp 3cp
313cd08
Compare
Choose a tag to compare
  • Added engines to package.json to clarify that Node >= 12 is required (thanks @tillig, see [#337][#337])

v5.1.0

02 Aug 10:41
@3cp 3cp
8a6ad90
Compare
Choose a tag to compare

5.0.0

23 May 18:01
535a948
Compare
Choose a tag to compare

Breaking change

  • Remove support for Node < 12. If you want to use mock-fs to test on Node 10 or lower, stick with mock-fs@4.

New features

  • Support for BigInt file stats - required for Node 15+ (thanks @3cp, see #325)

v4.14.0

22 Apr 20:52
74e36f6
Compare
Choose a tag to compare
  • Attempt to fix logging when using mock-fs with tape (see #322)
  • Minor fix for bypass() (thanks @3cp, see #320)

v4.13.0

20 Aug 23:05
Compare
Choose a tag to compare
  • Make process.chdir(), process.cwd(), and fs.createWriteStream() work with bypass() (thanks @3cp, see #307)
  • Fix memory leak associated with Node 10 (thanks #3cp, see #303)
  • Async function handling in bypass() (see #306)
  • Big new feature! Temporarily bypass the mocked filesystem with the bypass() function (thanks @nonara, see #304)

v4.12.0

24 Apr 17:00
e42fdbb
Compare
Choose a tag to compare
  • Check permissions in readdir and readdirSync (thanks @warpdesign, see #295)
  • Add support for Buffer arg on many fs functions (thanks @3cp, see #293)
  • Fix checks for read permission (thanks @3cp, see #289)
  • Correct error code for readFile on a directory (thanks @3cp, see #286)