2.0.6 (2022-09-06)
- fix a bug in ensureFile when creating a file (d7b1ebd)
2.0.5 (2022-07-25)
- isEmptyDir(Sync) now supports the option
followlink(0984d35)
2.0.4 (2022-07-23)
- fix the bug that copySync and moveSync accidentally throw errors when dest does not exist (9b79f4a)
- add toString() (f7e7fdb)
2.0.3 (2022-07-21)
2.0.2 (2022-07-21)
- fix the issue that cjs version was prompting incorrectly when used directly in node (e31db2b)
- options.force of copy() should be true (f21e4b5)
2.0.1 (2022-07-20)
- fill in the missing links (83f6343)
2.0.0 (2022-07-20)
- add
delete();toRelative()can have no args (b7322eb) - add types of original array methods of PathNiceArr (e3089ec)
- toAbsolute() now supports relative path as arg; base of returned PathNiceArr of ls() becomes absoulte; In PathNiceArr, the original array method returns a new array with the same base as the original array (74569ae)
1.2.3 (2022-07-03)
- fix exports (741e332)
1.2.2 (2022-07-03)
- pathPosix() can accept multiple parameters, can be strings or paths, and infer the return type (5c229ba)
1.2.1 (2022-07-03)
- adjust import / export structure to fix esm (ea58149)
1.2.0 (2022-07-03)
- common: emptyDir now create dir if not exists (3cf3452)
- now fn of updateXXX can return a Promise (6d0640b)
1.1.0 (2022-07-03)
- copy should use the path provided; JSON.stringify use 4 spaces by default (f9c51d3)
- add copyTo impl (27df486)
- add fs read/write methods (87751e7)
- add fs related methods; now filename() returns a string (0433155)
- add move and remove, modify copy (5fd1043)
- add posix and win32 specific pathing (7298323)
- fix jsdoc, remove .dotdot, fix .filename(), add .outputFile(), .outputJson(), etc (a047cca)
- posix/type-gymnastics: add ForceSep, fix the result of Join and Normalize when input is string (c972a5b)
- some methods of PathNice and their documentation have been modified (988a4c6)
- xxxJson rename to xxxJSON (37e3342)
- readJson, writeJson, outputJson and updateJson are renamed readJSON, writeJSON, outputJSON, updateJSON respectively.