github streamich/memfs v3.0.0

latest releases: v4.51.1, v4.51.0, v4.50.0...
6 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.

Don't miss a new memfs release

NewReleases is sending notifications on new releases.