New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mock-fs

Package Overview
Dependencies
Maintainers
1
Versions
87
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.9.0

Diff

Changelog

Source

4.9.0

  • Improve readFile support for Node 10+ (thanks @huochunpeng, see [#265][#265])
  • Updated dev dependencies (see [#267][#267])
tschaub
published 4.8.0 •

Changelog

Source

4.8.0

  • Fix compatibility issues with Node 10 and 11 (thanks @huochunpeng [#260][#260])
  • Support experimental fs.promises (thanks @huochunpeng [#260][#260])
tschaub
published 4.7.0 •

Changelog

Source

4.7.0

  • Fix for readdir on Node 10.10 (thanks @maxwellgerber [#251][#251])
  • Fix for reading and writing using Uint8Array (thanks @maxwellgerber [#249][#249])
  • Document how to properly restore the fs with Jest snapshot testing (thanks @tricoder42 [#247][#247])
  • More informative error when opening a directory (thanks @maxwellgerber [#242][#242])
tschaub
published 4.6.0 •

Changelog

Source

4.6.0

Note that the mocked fs.createReadStream and fs.createWriteStream are not working properly with Node 10.5+.

  • Implement binding.copyFile ([#243][#243])
  • Stat fixes for Node 10.5 (thanks @tomhughes, see [#241][#241])
tschaub
published 4.5.0 •

Changelog

Source

4.5.0

  • Updates for Node 10 compatibility ([#237][#237])
  • Throw ENOENT in readlink when item is missing (thanks @deployable, see [#232][#232])
  • Add path to errors when it exists (thanks @deployable, see [#230][#230])
tschaub
published 4.4.2 •

Changelog

Source

4.4.2

  • Throw if item content is invalid in config (thanks @mutantcornholio, see [#221][#221])
  • Use const in readme (thanks @denar90, see [#222][#222])
tschaub
published 4.4.1 •

Changelog

Source

4.4.1

  • Document that tests are run on Node 8.x as well.
tschaub
published 4.4.0 •

Changelog

Source

4.4.0

  • Fix stat issue with Node 8 (thanks @AGrzes, see [#209][#209])
  • Make code prettier (see [#210][#210])
tschaub
published 4.3.0 •

Changelog

Source

4.3.0

  • Add support for fs.mkdtemp() and fs.mkdtempSync (see [#207][#207])
tschaub
published 4.2.0 •

Changelog

Source

4.2.0

  • Update fs.stat(), fs.lstat(), and fs.fstat() for Node 7.7+ (thanks @not-an-aardvark, see [#198][#198])
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