Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mock-fs

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-fs - npm Package Versions

1
9

4.14.0

Diff

Changelog

Source

4.14.0

  • Attempt to fix logging when using mock-fs with tape (see [#322][#322])
  • Minor fix for bypass() (thanks @3cp, see [#320][#320])
tschaub
published 4.13.0 •

Changelog

Source

4.13.0

  • Make process.chdir(), process.cwd(), and fs.createWriteStream() work with bypass() (thanks @3cp, see [#307][#307])
  • Fix memory leak associated with Node 10 (thanks @3cp, see [#303][#303])
  • Async function handling in bypass() (see [#306][#306])
  • Big new feature! Temporarily bypass the mocked filesystem with the bypass() function (thanks @nonara, see [#304][#304])
tschaub
published 4.12.0 •

Changelog

Source

4.12.0

  • Check permissions in readdir and readdirSync (thanks @warpdesign, see [#295][#295])
  • Add support for Buffer arg on many fs functions (thanks @3cp, see [#293][#293])
  • Fix checks for read permission (thanks @3cp, see [#289][#289])
  • Correct error code for readFile on a directory (thanks @3cp, see [#286][#286])
tschaub
published 4.11.0 •

Changelog

Source

4.11.0

  • Support withFileTypes when reading directories (thanks @mrmlnc, see [#287][#287])
tschaub
published 4.10.4 •

Changelog

Source

4.10.4

  • Throw ENOTDIR when trying to open an incorrect path (thanks @niieani, see [#282][#282])
  • Fix maybeCallback return (thanks @3cp, see [#281][#281])
tschaub
published 4.10.3 •

Changelog

Source

4.10.3

  • Fix bad promise rejection on some fs.promises methods (thanks @3cp, see [#279][#279])
tschaub
published 4.10.2 •

Changelog

Source

4.10.2

  • Fix timestamps for Node > 12.10 (thanks @3cp, see [#277][#277])
tschaub
published 4.10.1 •

Changelog

Source

4.10.1

  • Fix for fs.mkdir with the recursive option on existing directories (thanks @3cp, see [#271][#271])
tschaub
published 4.10.0 •

Changelog

Source

4.10.0

  • Support the recursive option for fs.mkdir (thanks @3cp, see [#268][#268])
tschaub
published 4.9.0 •

Changelog

Source

4.9.0

  • Improve readFile support for Node 10+ (thanks @huochunpeng, see [#265][#265])
  • Updated dev dependencies (see [#267][#267])
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc