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

I'm trying to create an empty file. So I'm calling `fs.writeFileSync('/foo.txt', '');`. However, this throws an exception with the message "No content". I don't see any reason why it shouldn't...

pathToArray() unnecessarily changes the drive letter case when not *nix `path[0] = path[0].toUpperCase();`. This mutation causes a problem in tasks run from c:\. For example, memory-fs-stream _read() will fail because...

It should remove the whole things, but instead it throws MemoryFileSystemError(errors.code.EPERM, _path) This can be a small fix to remove everything instead of throw an error.

This seems wrong. I am trying to make a [set of unit tests work cross platform](https://github.com/ktsn/vuetype/pull/10) by sticking to `path` methods for building paths. When i use `path.resolve('/')` on windows...

In `pathToArray` function, if the path looks like `\\SERVER\folder\subfolder\abc.txt`, it will throw `MemoryFileSystemError(errors.code.EINVAL, path)`. This is causing issues with Node.js >= 6.0.0 when bundling with Webpack on a UNC path....

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies