3.0.0 (2019-11-26)
Bug Fixes
- 🐛 adjust definition of
TCallbackto acceptnullforerrorparameter (aedcbda) - 🐛 adjust return of
Link#walkto returnLink | null(1b76cb1) - 🐛 adjust type of
childreninLinkto be possibly undefined (b4945c2) - 🐛 allow
_modeToNumberto be called w/undefined(07c0b7a) - 🐛 allow
_modeToNumberto returnundefined(3e3c992) - 🐛 allow
assertEncodingto be called w/undefined(e37ab9a) - 🐛 allow
Dirent~buildto acceptundefinedfor theencodingparameter (8ca3550) - 🐛 allow
flagsToNumberto be called w/undefined(dbfc754) - 🐛 allow
mkdtempBaseto be called w/undefinedforencoding(f28c395) - 🐛 allow
modeToNumberto be called w/undefined(336821d) - 🐛 allow
realpathBaseto be called w/undefinedforencoding(e855f1c) - 🐛 create
tryGetChildutil function (b5093a1) - 🐛 create
tryGetChildNodeutil function (62b5a52) - 🐛 define the type elements in the
Volume.releasedFdsarray (9e21f3a) - 🐛 don't assign
nullto._linkproperty inFSWatcher(71569c0) - 🐛 don't assign
nullto._stepsproperty inFSWatcher(0e94b9c) - 🐛 don't assign
nullto.bufproperty inNode(00be0c2) - 🐛 don't assign
nullto.linkproperty inFile(5d01713) - 🐛 don't assign
nullto.nodeproperty inFile(d06201e) - 🐛 don't assign
nullto.nodeproperty inLink(4d7f439) - 🐛 don't assign
nullto.parentproperty inLink(b3e60b6) - 🐛 don't assign
nullto.symlinkproperty inNode(9bfb6f5) - 🐛 don't assign
nulltoStatWatcher.prevproperty (fd1a253) - 🐛 don't assign
nulltoStatWatcher.volproperty (1540522) - 🐛 don't set
#volor#parentoflinktonull(b396f04) - 🐛 enable
strictNullChecks(3896de7) - 🐛 make
StatWatcher.timeoutRefproperty optional (d09cd03) - 🐛 refactor
#accessto be compatible w/strictNullChecks(82ed81b) - 🐛 refactor
#copyFileSyncto be compatible w/strictNullChecks(40f8337) - 🐛 refactor
#createLinkto be compatible w/strictNullChecks(7d8559d) - 🐛 refactor
#ftruncateto be compatible w/strictNullChecks(f2ea3f1) - 🐛 refactor
#mkdirto be compatible w/strictNullChecks(d5d7883) - 🐛 refactor
#mkdirpto be compatible w/strictNullChecks(6cf0bce) - 🐛 refactor
#mkdtempBaseto be compatible w/strictNullChecks(d935b3b) - 🐛 refactor
#mkdtempSyncto be compatible w/strictNullChecks(7e22617) - 🐛 refactor
#newFdNumberto be compatible w/strictNullChecks(0bc4a15) - 🐛 refactor
#newInoNumberto be compatible w/strictNullChecks(e9ba56c) - 🐛 refactor
#openFileto be compatible w/strictNullChecks(1c4a4ba) - 🐛 refactor
#openLinkto be compatible w/strictNullChecks(216a85f) - 🐛 refactor
#readto be compatible w/strictNullChecks(87b587f) - 🐛 refactor
#readdirBaseto be compatible w/strictNullChecks(ab248b4) - 🐛 refactor
#readFileBaseto be compatible w/strictNullChecks(27a4dad) - 🐛 refactor
#readlinkBaseto be compatible w/strictNullChecks(b2e0f76) - 🐛 refactor
#resolveSymlinksto be compatible w/strictNullChecks(6dc4913) - 🐛 refactor
#statBaseto be compatible w/strictNullChecks(ba0c20a) - 🐛 refactor
#symlinkto be compatible w/strictNullChecks(4148ad3) - 🐛 refactor
#truncateto be compatible w/strictNullChecks(fadbd77) - 🐛 refactor
#watchto be compatible w/strictNullChecks(415a186) - 🐛 refactor
#watchFileto be compatible w/strictNullChecks(2c02287) - 🐛 refactor
#writeto be compatible w/strictNullChecks(2ba6e0f) - 🐛 refactor
#writeFileto be compatible w/strictNullChecks(ac78c50) - 🐛 refactor
#writeFileBaseto be compatible w/strictNullChecks(e931778) - 🐛 refactor
#writeSyncto be compatible w/strictNullChecks(7b67eea) - 🐛 refactor
copyFiletests to be compatible w/strictNullChecks(e318af2) - 🐛 refactor
errorsto be compatible w/strictNullChecks(b25c035) - 🐛 refactor
existstests to be compatible w/strictNullChecks(81a564f) - 🐛 refactor
renameSynctests to usetryGetChildNode(8cd782a) - 🐛 refactor
volumetests to be compatible w/strictNullChecks(f02fbac) - 🐛 refactor
volumetests to usetryGetChild(5a6624f) - 🐛 refactor
volumetests to usetryGetChildNode(34acaac) - 🐛 refactor
writeFileSynctests to be compatible w/strictNullChecks(4b7f164) - 🐛 remove unused
getArgAndCbfunction (f8bb0f8) - 🐛 replace
throwErrorfn w/ inlinethrow 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.