memory-fs icon indicating copy to clipboard operation
memory-fs copied to clipboard

[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.

Results 37 memory-fs issues
Sort by recently updated
recently updated
newest added

Everything is in the title, this library sucks. It doesn't even follow any standard. Even the copyright in [README.md](https://github.com/webpack/memory-fs/blob/2125322bf4e1629b2c82decde2c2f43e2c4a79cb/README.md#license) stinks. And the code hasn't been updated for almost 2 years...

Use Buffer.from/Buffer.alloc instead. This bumps the minimal Node.js version from 4.3.0 to 4.5.0, but Node.js v4.x.x is long unsupported by upstream. Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor Refs: https://github.com/nodejs/node/pull/21351 /cc @sokra

This PR fixes #61 `rmdirSync` now throws `ENOTEMPTY` if the directory is not empty.

![image](https://user-images.githubusercontent.com/4221606/54407792-22cb9580-471a-11e9-9405-b4ca1dd20168.png) this field is needed while uploading file from memory-fs

Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 2.2.1. Release notes Sourced from bl's releases. v2.2.1 Fix unintialized memory access v2.2.0 Add indexOf docs #60 fix empty shallowSlice return #65 v2.1.2 use ES3...

dependencies

Hello, since the last commit of yesterday, I have problems deploying with the updated dependencies: when I try to do `npm install`, I get this error: `npm ERR! code ETARGET`...

`fs.join` is not part of `fs` module and we need deprecate this and remove in next major release Ref: https://github.com/webpack/webpack-dev-middleware/pull/370

description --- when I use webpack v4 in this way: ```js const serverCompiler = webpack(serverConfig) const MFS = require('memory-fs') const mfs = new MFS() serverCompiler.outputFileSystem = mfs ``` and show...

When I run `fs.readFile(somePath, { encoding: "utf8" }, (err, content) => {})`, which (I think) works with the native Node `fs` module, it throws an error `TypeError: Unknown encoding: [object...