fstream
fstream copied to clipboard
Advanced FS Streaming for Node
# What / Why mkdirp is outdated. Proposed patch: ```patch --- a/lib/dir-writer.js +++ b/lib/dir-writer.js @@ -31,12 +31,12 @@ DirWriter.prototype._create = function () { var self = this - mkdir(self._path, Writer.dirmode,...
# What / Why * dep: mkdirp hasn't been updated in 4 years, and node's fs library has had a recursive option for `fs` since v10.12 (oldest active LTS version)....
# What / Why See https://github.com/tomayac/local-reverse-geocoder/issues/39. Fstream calls `stat` on written files (for reasons I don't understand) after emitting `close` event, and if a consumer uses and deletes the written...
# What / Why update graceful-fs to 4.2.2 to be compatible with node 12. > n/a ## References * n/a
Fixes issue #14 here with not following directories that are symlinks. Not sure what the intended design was.
3e5d171 (from November 2011) introduced code to fix treatment of long file paths in Windows. Then, one week later, this commit fixed long file paths directly in Node's `fs` library:...
```"mkdirp":">=0.5 0"``` should be ```"mkdirp":">=0.5.0"```

`fstream` relies on `graceful-fs`, which itself relies on `natives`, the latter which is broken with the following error: ``` /webpack:/node_modules/natives/index.js:45 whitelist.forEach(function (id) { ^ TypeError: require is not a function...
A missing . in a version constraint. Causing issues at least when using composer (a php tool) and asset-packagist.org.