memfs

JavaScript file system utilities

APACHE-2.0 License

Downloads
66.3M
Stars
1.6K
Committers
55

Bot releases are visible (Hide)

memfs - v3.0.2

Published by streamich almost 5 years ago

3.0.2 (2019-12-25)

Bug Fixes

  • watch: trigger change event for creation/deletion of children in a folder (b1b7884)
memfs - v3.0.1

Published by streamich almost 5 years ago

3.0.1 (2019-11-26)

Performance Improvements

  • ⚡️ bump fast-extend (606775b)
memfs - v3.0.0

Published by streamich almost 5 years ago

3.0.0 (2019-11-26)

Bug Fixes

  • 🐛 adjust definition of TCallback to accept null for error parameter (aedcbda)
  • 🐛 adjust return of Link#walk to return Link | null (1b76cb1)
  • 🐛 adjust type of children in Link to be possibly undefined (b4945c2)
  • 🐛 allow _modeToNumber to be called w/ undefined (07c0b7a)
  • 🐛 allow _modeToNumber to return undefined (3e3c992)
  • 🐛 allow assertEncoding to be called w/ undefined (e37ab9a)
  • 🐛 allow Dirent~build to accept undefined for the encoding parameter (8ca3550)
  • 🐛 allow flagsToNumber to be called w/ undefined (dbfc754)
  • 🐛 allow mkdtempBase to be called w/ undefined for encoding (f28c395)
  • 🐛 allow modeToNumber to be called w/ undefined (336821d)
  • 🐛 allow realpathBase to be called w/ undefined for encoding (e855f1c)
  • 🐛 create tryGetChild util function (b5093a1)
  • 🐛 create tryGetChildNode util function (62b5a52)
  • 🐛 define the type elements in the Volume.releasedFds array (9e21f3a)
  • 🐛 don't assign null to ._link property in FSWatcher (71569c0)
  • 🐛 don't assign null to ._steps property in FSWatcher (0e94b9c)
  • 🐛 don't assign null to .buf property in Node (00be0c2)
  • 🐛 don't assign null to .link property in File (5d01713)
  • 🐛 don't assign null to .node property in File (d06201e)
  • 🐛 don't assign null to .node property in Link (4d7f439)
  • 🐛 don't assign null to .parent property in Link (b3e60b6)
  • 🐛 don't assign null to .symlink property in Node (9bfb6f5)
  • 🐛 don't assign null to StatWatcher.prev property (fd1a253)
  • 🐛 don't assign null to StatWatcher.vol property (1540522)
  • 🐛 don't set #vol or #parent of link to null (b396f04)
  • 🐛 enable strictNullChecks (3896de7)
  • 🐛 make StatWatcher.timeoutRef property optional (d09cd03)
  • 🐛 refactor #access to be compatible w/ strictNullChecks (82ed81b)
  • 🐛 refactor #copyFileSync to be compatible w/ strictNullChecks (40f8337)
  • 🐛 refactor #createLink to be compatible w/ strictNullChecks (7d8559d)
  • 🐛 refactor #ftruncate to be compatible w/ strictNullChecks (f2ea3f1)
  • 🐛 refactor #mkdir to be compatible w/ strictNullChecks (d5d7883)
  • 🐛 refactor #mkdirp to be compatible w/ strictNullChecks (6cf0bce)
  • 🐛 refactor #mkdtempBase to be compatible w/ strictNullChecks (d935b3b)
  • 🐛 refactor #mkdtempSync to be compatible w/ strictNullChecks (7e22617)
  • 🐛 refactor #newFdNumber to be compatible w/ strictNullChecks (0bc4a15)
  • 🐛 refactor #newInoNumber to be compatible w/ strictNullChecks (e9ba56c)
  • 🐛 refactor #openFile to be compatible w/ strictNullChecks (1c4a4ba)
  • 🐛 refactor #openLink to be compatible w/ strictNullChecks (216a85f)
  • 🐛 refactor #read to be compatible w/ strictNullChecks (87b587f)
  • 🐛 refactor #readdirBase to be compatible w/ strictNullChecks (ab248b4)
  • 🐛 refactor #readFileBase to be compatible w/ strictNullChecks (27a4dad)
  • 🐛 refactor #readlinkBase to be compatible w/ strictNullChecks (b2e0f76)
  • 🐛 refactor #resolveSymlinks to be compatible w/ strictNullChecks (6dc4913)
  • 🐛 refactor #statBase to be compatible w/ strictNullChecks (ba0c20a)
  • 🐛 refactor #symlink to be compatible w/ strictNullChecks (4148ad3)
  • 🐛 refactor #truncate to be compatible w/ strictNullChecks (fadbd77)
  • 🐛 refactor #watch to be compatible w/ strictNullChecks (415a186)
  • 🐛 refactor #watchFile to be compatible w/ strictNullChecks (2c02287)
  • 🐛 refactor #write to be compatible w/ strictNullChecks (2ba6e0f)
  • 🐛 refactor #writeFile to be compatible w/ strictNullChecks (ac78c50)
  • 🐛 refactor #writeFileBase to be compatible w/ strictNullChecks (e931778)
  • 🐛 refactor #writeSync to be compatible w/ strictNullChecks (7b67eea)
  • 🐛 refactor copyFile tests to be compatible w/ strictNullChecks (e318af2)
  • 🐛 refactor errors to be compatible w/ strictNullChecks (b25c035)
  • 🐛 refactor exists tests to be compatible w/ strictNullChecks (81a564f)
  • 🐛 refactor renameSync tests to use tryGetChildNode (8cd782a)
  • 🐛 refactor volume tests to be compatible w/ strictNullChecks (f02fbac)
  • 🐛 refactor volume tests to use tryGetChild (5a6624f)
  • 🐛 refactor volume tests to use tryGetChildNode (34acaac)
  • 🐛 refactor writeFileSync tests to be compatible w/ strictNullChecks (4b7f164)
  • 🐛 remove unused getArgAndCb function (f8bb0f8)
  • 🐛 replace throwError fn w/ inline throw createError() calls (c9a0fd6)

Features

  • 🎸 enable TypeScript strict null checks (1998b24)

BREAKING CHANGES

  • TypeScript strict null checks are now enabled which may
    break some TypeScript users.
memfs - v2.17.1

Published by streamich almost 5 years ago

2.17.1 (2019-11-26)

Bug Fixes

  • set-up semantic-release packages (0554c7e)
memfs - v2.17.0

Published by streamich almost 5 years ago

2.17.0 (2019-11-26)

Features

memfs - v2.15.5

Published by streamich over 5 years ago

2.15.5 (2019-07-16)

Bug Fixes

memfs - v2.15.4

Published by streamich over 5 years ago

2.15.4 (2019-06-01)

Bug Fixes

  • 🐛 accept null as value in fromJSON functions (9e1af7d)
  • 🐛 annotate return type of toJSON functions (6609840)
memfs - v2.15.3

Published by streamich over 5 years ago

2.15.3 (2019-06-01)

Bug Fixes

  • 🐛 mocks process.emitWarning for browser compatibility (e3456b2), closes #374
memfs - v2.15.2

Published by streamich over 5 years ago

2.15.2 (2019-02-16)

Bug Fixes

  • 🐛 BigInt type handling (c640f25)
memfs - v2.15.1

Published by streamich over 5 years ago

2.15.1 (2019-02-09)

Bug Fixes

  • 🐛 show directory path when throwing EISDIR in mkdir (9dc7007)
  • 🐛 throw when creating root directory (f77fa8b), closes #325
memfs - v2.15.0

Published by streamich over 5 years ago

2.15.0 (2019-01-27)

Features

  • volume: add env variable to suppress fs.promise api warnings (e6b6d0a)
memfs - v2.14.2

Published by streamich almost 6 years ago

2.14.2 (2018-12-11)

Bug Fixes

  • fds to start from 0x7fffffff instead of 0xffffffff (#277) (31e44ba)
memfs - v2.14.1

Published by streamich almost 6 years ago

2.14.1 (2018-11-29)

Bug Fixes

  • don't copy legacy files into dist (ab8ffbb), closes #263
memfs - v2.14.0

Published by streamich almost 6 years ago

2.14.0 (2018-11-12)

Features

  • add bigint option support (00a017e)
memfs - v2.13.1

Published by streamich almost 6 years ago

2.13.1 (2018-11-11)

Bug Fixes

  • 🐛 don't install semantic-release, incompat with old Node (cd2b69c)
memfs - v2.13.0

Published by streamich almost 6 years ago

2.13.0 (2018-11-07)

Bug Fixes

  • add missing string type for realpathSync's options argument (2f0c93c)
  • fix chmod to actually change mode (de5aca6)
  • fix private openFile function (be5654b)
  • fix toUnixTimestamp when converting Date objects (a8c8998)
  • fix TypeScript 2322 error (a5e99fe)
  • fix TypeScript 2554 error (5a32a4e)

Features

memfs - v2.12.1

Published by streamich almost 6 years ago

2.12.1 (2018-11-06)

Bug Fixes

  • add missing string type for appendFile's options argument (f6e8baf)
  • fix URL support for path argument of readFile and readFileSync (1c9c57f)
memfs - v2.12.0

Published by streamich almost 6 years ago

2.12.0 (2018-11-05)

Features

  • add withFileTypes option support for readdir and readdirSync (f03f3d1)
memfs - v2.11.0

Published by streamich almost 6 years ago

2.11.0 (2018-11-05)

Features

  • add relative option support for mkdir and mkdirSync (15aae89)
memfs - v2.10.1

Published by streamich about 6 years ago

2.10.1 (2018-09-28)

Bug Fixes