Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [3.0.0](v2.17.1...v3.0.0) (2019-11-26) ### Bug Fixes * π adjust definition of `TCallback` to accept `null` for `error` parameter ([aedcbda](aedcbda)) * π adjust return of `Link#walk` to return `Link | null` ([1b76cb1](1b76cb1)) * π adjust type of `children` in `Link` to be possibly undefined ([b4945c2](b4945c2)) * π allow `_modeToNumber` to be called w/ `undefined` ([07c0b7a](07c0b7a)) * π allow `_modeToNumber` to return `undefined` ([3e3c992](3e3c992)) * π allow `assertEncoding` to be called w/ `undefined` ([e37ab9a](e37ab9a)) * π allow `Dirent~build` to accept `undefined` for the `encoding` parameter ([8ca3550](8ca3550)) * π allow `flagsToNumber` to be called w/ `undefined` ([dbfc754](dbfc754)) * π allow `mkdtempBase` to be called w/ `undefined` for `encoding` ([f28c395](f28c395)) * π allow `modeToNumber` to be called w/ `undefined` ([336821d](336821d)) * π allow `realpathBase` to be called w/ `undefined` for `encoding` ([e855f1c](e855f1c)) * π create `tryGetChild` util function ([b5093a1](b5093a1)) * π create `tryGetChildNode` util function ([62b5a52](62b5a52)) * π define the type elements in the `Volume.releasedFds` array ([9e21f3a](9e21f3a)) * π don't assign `null` to `._link` property in `FSWatcher` ([71569c0](71569c0)) * π don't assign `null` to `._steps` property in `FSWatcher` ([0e94b9c](0e94b9c)) * π don't assign `null` to `.buf` property in `Node` ([00be0c2](00be0c2)) * π don't assign `null` to `.link` property in `File` ([5d01713](5d01713)) * π don't assign `null` to `.node` property in `File` ([d06201e](d06201e)) * π don't assign `null` to `.node` property in `Link` ([4d7f439](4d7f439)) * π don't assign `null` to `.parent` property in `Link` ([b3e60b6](b3e60b6)) * π don't assign `null` to `.symlink` property in `Node` ([9bfb6f5](9bfb6f5)) * π don't assign `null` to `StatWatcher.prev` property ([fd1a253](fd1a253)) * π don't assign `null` to `StatWatcher.vol` property ([1540522](1540522)) * π don't set `#vol` or `#parent` of `link` to `null` ([b396f04](b396f04)) * π enable `strictNullChecks` ([3896de7](3896de7)) * π make `StatWatcher.timeoutRef` property optional ([d09cd03](d09cd03)) * π refactor `#access` to be compatible w/ `strictNullChecks` ([82ed81b](82ed81b)) * π refactor `#copyFileSync` to be compatible w/ `strictNullChecks` ([40f8337](40f8337)) * π refactor `#createLink` to be compatible w/ `strictNullChecks` ([7d8559d](7d8559d)) * π refactor `#ftruncate` to be compatible w/ `strictNullChecks` ([f2ea3f1](f2ea3f1)) * π refactor `#mkdir` to be compatible w/ `strictNullChecks` ([d5d7883](d5d7883)) * π refactor `#mkdirp` to be compatible w/ `strictNullChecks` ([6cf0bce](6cf0bce)) * π refactor `#mkdtempBase` to be compatible w/ `strictNullChecks` ([d935b3b](d935b3b)) * π refactor `#mkdtempSync` to be compatible w/ `strictNullChecks` ([7e22617](7e22617)) * π refactor `#newFdNumber` to be compatible w/ `strictNullChecks` ([0bc4a15](0bc4a15)) * π refactor `#newInoNumber` to be compatible w/ `strictNullChecks` ([e9ba56c](e9ba56c)) * π refactor `#openFile` to be compatible w/ `strictNullChecks` ([1c4a4ba](1c4a4ba)) * π refactor `#openLink` to be compatible w/ `strictNullChecks` ([216a85f](216a85f)) * π refactor `#read` to be compatible w/ `strictNullChecks` ([87b587f](87b587f)) * π refactor `#readdirBase` to be compatible w/ `strictNullChecks` ([ab248b4](ab248b4)) * π refactor `#readFileBase` to be compatible w/ `strictNullChecks` ([27a4dad](27a4dad)) * π refactor `#readlinkBase` to be compatible w/ `strictNullChecks` ([b2e0f76](b2e0f76)) * π refactor `#resolveSymlinks` to be compatible w/ `strictNullChecks` ([6dc4913](6dc4913)) * π refactor `#statBase` to be compatible w/ `strictNullChecks` ([ba0c20a](ba0c20a)) * π refactor `#symlink` to be compatible w/ `strictNullChecks` ([4148ad3](4148ad3)) * π refactor `#truncate` to be compatible w/ `strictNullChecks` ([fadbd77](fadbd77)) * π refactor `#watch` to be compatible w/ `strictNullChecks` ([415a186](415a186)) * π refactor `#watchFile` to be compatible w/ `strictNullChecks` ([2c02287](2c02287)) * π refactor `#write` to be compatible w/ `strictNullChecks` ([2ba6e0f](2ba6e0f)) * π refactor `#writeFile` to be compatible w/ `strictNullChecks` ([ac78c50](ac78c50)) * π refactor `#writeFileBase` to be compatible w/ `strictNullChecks` ([e931778](e931778)) * π refactor `#writeSync` to be compatible w/ `strictNullChecks` ([7b67eea](7b67eea)) * π refactor `copyFile` tests to be compatible w/ `strictNullChecks` ([e318af2](e318af2)) * π refactor `errors` to be compatible w/ `strictNullChecks` ([b25c035](b25c035)) * π refactor `exists` tests to be compatible w/ `strictNullChecks` ([81a564f](81a564f)) * π refactor `renameSync` tests to use `tryGetChildNode` ([8cd782a](8cd782a)) * π refactor `volume` tests to be compatible w/ `strictNullChecks` ([f02fbac](f02fbac)) * π refactor `volume` tests to use `tryGetChild` ([5a6624f](5a6624f)) * π refactor `volume` tests to use `tryGetChildNode` ([34acaac](34acaac)) * π refactor `writeFileSync` tests to be compatible w/ `strictNullChecks` ([4b7f164](4b7f164)) * π remove unused `getArgAndCb` function ([f8bb0f8](f8bb0f8)) * π replace `throwError` fn w/ inline `throw createError()` calls ([c9a0fd6](c9a0fd6)) ### Features * πΈ enable TypeScript strict null checks ([1998b24](1998b24)) ### BREAKING CHANGES * TypeScript strict null checks are now enabled which may break some TypeScript users.
- Loading branch information