| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
| 4 |
|
| 5 |
## [0.3.10](https://github.com/medikoo/fs2/compare/v0.3.9...v0.3.10) (2024-09-08) |
| 6 |
|
| 7 |
### Features |
| 8 |
|
| 9 |
- `emptyDirSync` util ([7ad4055](https://github.com/medikoo/fs2/commit/7ad40550dc80444245daff89b4fec462a97840bf)) |
| 10 |
- `isFile` util ([d4ceee8](https://github.com/medikoo/fs2/commit/d4ceee8b873cc6838af65f2e55f42d94c46b24ee)) |
| 11 |
- `unlinkSync` function ([b80d0cd](https://github.com/medikoo/fs2/commit/b80d0cd0645871b88e89d901863e7b4803bd3358)) |
| 12 |
- Allow empty directory at `copyDir` destination ([2b9bbd6](https://github.com/medikoo/fs2/commit/2b9bbd6438bb774b98151c24952d5be6f2c367d4)) |
| 13 |
- **Symlink:** |
| 14 |
- `--force` option ([5216782](https://github.com/medikoo/fs2/commit/5216782a293967511d5841639ef5e74136116f54)) |
| 15 |
- `--loose` option ([c87a45b](https://github.com/medikoo/fs2/commit/c87a45b91fc918c943c26337fe51488b79836e5e)) |
| 16 |
- Return`true` if symlink was created ([a522bd8](https://github.com/medikoo/fs2/commit/a522bd81529c8e3eb35c5a9151daf30cb4af9ea8)) |
| 17 |
|
| 18 |
### Bug Fixes |
| 19 |
|
| 20 |
- Fix directory rename across different devices ([24d70e1](https://github.com/medikoo/fs2/commit/24d70e119f008b213475d1cb103dd4572978eeaa)) |
| 21 |
- **rmdir:** Ensure `--force` option empties directory contents ([23d3f3a](https://github.com/medikoo/fs2/commit/23d3f3ac765951c0130c146a092202f5f79bbf79)) |
| 22 |
- **Symlink:** Fix resolution of `linkPath` option ([0ee13f6](https://github.com/medikoo/fs2/commit/0ee13f65e7616587ee9351dd52f14e0bf19814f1)) |
| 23 |
|
| 24 |
### Maintenance Improvements |
| 25 |
|
| 26 |
- Clear ESLint errors ([0696308](https://github.com/medikoo/fs2/commit/0696308f033d04a106334792101fb330576bb385)) |
| 27 |
33124bbd74d94d60629e6fb5ce712a74e04871b8)) |
| 28 |
- Fix lint issues ([cd4e2c6](https://github.com/medikoo/fs2/commit/cd4e2c638026cedd77f418bf23c8de456c5455e7)) |
| 29 |
- Prettier ([b8188b2](https://github.com/medikoo/fs2/commit/b8188b2119996f8ff434348df1c32fc10433af1d)) |
| 30 |
- Refactor `rename` to ES2015+ ([553c799](https://github.com/medikoo/fs2/commit/553c799acc557224bdc3ef40849ad39dcf4bae2c)) |
| 31 |
- Refactor `symlink` to ES2015 ([5ff2670](https://github.com/medikoo/fs2/commit/5ff26708c54a3c299cb904dfa675ff32101402aa)) |
| 32 |
- Refactor to ES2015 ([ae2c181](https://github.com/medikoo/fs2/commit/ae2c181d1653952d6c2f1d95cbf7a37c34a47394)) |
| 33 |
- Refactor to ES2015 ([22e8cbe](https://github.com/medikoo/fs2/commit/22e8cbe6b121f5cf55191e1bf61774d2125e7c54)) |
| 34 |
- Refactor to ES2015 ([433fe9c](https://github.com/medikoo/fs2/commit/433fe9c34c644e7754f99f7b716ba1ee8b97737c)) |
| 35 |
- Refactor to ES2015+ ([dc2b946](https://github.com/medikoo/fs2/commit/dc2b946025ed03eec2f58c69e8e19a8446d1d84c)) |
| 36 |
- Respect ESLint rules ([5f7e4cd](https://github.com/medikoo/fs2/commit/5f7e4cd516f1958d8ed7a9507c3f3818814dbf58)) |
| 37 |
- Reuse `emptyDirSync` logic in `rmDirSync` ([6cd7026](https://github.com/medikoo/fs2/commit/6cd7026b9f66b961bbfdd411be997f3b648c16b7)) |
| 38 |
- Simplify configuration of `test` command ([3bced0e](https://github.com/medikoo/fs2/commit/3bced0e8f453ddbe5ca93bae2f0930cd9ba3934b)) |
| 39 |
- Simplify meta configuration ([65ae563](https://github.com/medikoo/fs2/commit/65ae5633540804664fc713208e4deb70ff28265f)) |
| 40 |
- To ES2015 ([b10e364](https://github.com/medikoo/fs2/commit/b10e36426dc7430834ccd4cafe975d8d051cd374)) |
| 41 |
- Upgrade `eslint` to v8 and `eslint-config-medikoo` to v4 ([11a7d11](https://github.com/medikoo/fs2/commit/11a7d11eee46f6e6d00a43f9c8ec5b4b39599e11)) |
| 42 |
|
| 43 |
### [0.3.9](https://github.com/medikoo/fs2/compare/v0.3.8...v0.3.9) (2020-11-19) |
| 44 |
|
| 45 |
### Features |
| 46 |
|
| 47 |
- rmdirSync util ([3c50c17](https://github.com/medikoo/fs2/commit/3c50c17198bd77e52c2889e3ce05161d790250a8)) |
| 48 |
|
| 49 |
### [0.3.8](https://github.com/medikoo/fs2/compare/v0.3.7...v0.3.8) (2020-04-27) |
| 50 |
|
| 51 |
### Bug Fixes |
| 52 |
|
| 53 |
- Fix `mode` normalization in `fs.access` ([00f2a52](https://github.com/medikoo/fs2/commit/00f2a52b139576b5b5adcec7c3c01bb84b905076)) |
| 54 |
|
| 55 |
### [0.3.7](https://github.com/medikoo/fs2/compare/v0.3.6...v0.3.7) (2019-11-07) |
| 56 |
|
| 57 |
### Features |
| 58 |
|
| 59 |
- 'silent' option for mkdir ([e3fe863](https://github.com/medikoo/fs2/commit/e3fe863)) |
| 60 |
|
| 61 |
### [0.3.6](https://github.com/medikoo/fs2/compare/v0.3.5...v0.3.6) (2019-09-26) |
| 62 |
|
| 63 |
### Bug Fixes |
| 64 |
|
| 65 |
- Ensure to not leave open file descriptors when write crashes ([cf8ef7e](https://github.com/medikoo/fs2/commit/cf8ef7e)) |
| 66 |
|
| 67 |
### Features |
| 68 |
|
| 69 |
- Expose debug stats in descriptors handler ([cdcac3f](https://github.com/medikoo/fs2/commit/cdcac3f)) |
| 70 |
|
| 71 |
### [0.3.5](https://github.com/medikoo/fs2/compare/v0.3.4...v0.3.5) (2019-07-10) |
| 72 |
|
| 73 |
### Features |
| 74 |
|
| 75 |
- 'append' mode for chmod ([afa7aaa](https://github.com/medikoo/fs2/commit/afa7aaa)) |
| 76 |
|
| 77 |
<a name="0.3.4"></a> |
| 78 |
|
| 79 |
## [0.3.4](https://github.com/medikoo/fs2/compare/v0.3.3...v0.3.4) (2019-02-04) |
| 80 |
|
| 81 |
### Features |
| 82 |
|
| 83 |
- 'force' option for copy ([85a3560](https://github.com/medikoo/fs2/commit/85a3560)) |
| 84 |
|
| 85 |
<a name="0.3.3"></a> |
| 86 |
|
| 87 |
## [0.3.3](https://github.com/medikoo/fs2/compare/v0.3.2...v0.3.3) (2019-02-04) |
| 88 |
|
| 89 |
### Features |
| 90 |
|
| 91 |
- 'access' util ([d85f934](https://github.com/medikoo/fs2/commit/d85f934)) |
| 92 |
- hasAccess util ([8c53ea9](https://github.com/medikoo/fs2/commit/8c53ea9)) |
| 93 |
|
| 94 |
<a name="0.3.2"></a> |
| 95 |
|
| 96 |
## [0.3.2](https://github.com/medikoo/fs2/compare/v0.3.1...v0.3.2) (2019-02-04) |
| 97 |
|
| 98 |
### Bug Fixes |
| 99 |
|
| 100 |
- readdir 'loose' option handling with depth: Infinity ([f2c19ac](https://github.com/medikoo/fs2/commit/f2c19ac)) |
| 101 |
|
| 102 |
<a name="0.3.1"></a> |
| 103 |
|
| 104 |
## [0.3.1](https://github.com/medikoo/fs2/compare/v0.3.0...v0.3.1) (2019-01-31) |
| 105 |
|
| 106 |
### Features |
| 107 |
|
| 108 |
- **readdir:** loose option ([7b2a5e7](https://github.com/medikoo/fs2/commit/7b2a5e7)) |
| 109 |
|
| 110 |
<a name="0.3.0"></a> |
| 111 |
|
| 112 |
# [0.3.0](https://github.com/medikoo/fs2/compare/v0.2.21...v0.3.0) (2019-01-07) |
| 113 |
|
| 114 |
### Bug Fixes |
| 115 |
|
| 116 |
- Ensure git ignore resolution works as expected ([c5d68fb](https://github.com/medikoo/fs2/commit/c5d68fb)) |
| 117 |
|
| 118 |
### BREAKING CHANGES |
| 119 |
|
| 120 |
- Due to switch to 'ignore' not supporting Node below v6, |
| 121 |
drop support for old verions of Node.js. |
| 122 |
|
| 123 |
<a name="0.2.21"></a> |
| 124 |
|
| 125 |
## [0.2.21](https://github.com/medikoo/fs2/compare/v0.2.20...v0.2.21) (2018-11-15) |
| 126 |
|
| 127 |
### Bug Fixes |
| 128 |
|
| 129 |
- 'loose' option handling on windows ([3788ebf](https://github.com/medikoo/fs2/commit/3788ebf)) |
| 130 |
|
| 131 |
<a name="0.2.20"></a> |
| 132 |
|
| 133 |
## [0.2.20](https://github.com/medikoo/fs2/compare/v0.2.19...v0.2.20) (2018-11-07) |
| 134 |
|
| 135 |
### Bug Fixes |
| 136 |
|
| 137 |
- **copyDir:** symlink copying ([c0e4a6f](https://github.com/medikoo/fs2/commit/c0e4a6f)) |
| 138 |
|
| 139 |
<a name="0.2.19"></a> |
| 140 |
|
| 141 |
## [0.2.19](https://github.com/medikoo/fs2/compare/v0.2.18...v0.2.19) (2018-10-31) |
| 142 |
|
| 143 |
### Bug Fixes |
| 144 |
|
| 145 |
- **symlink:** for symlink we should not fully resolve link path ([ae17653](https://github.com/medikoo/fs2/commit/ae17653)) |
| 146 |
|
| 147 |
<a name="0.2.18"></a> |
| 148 |
|
| 149 |
## [0.2.18](https://github.com/medikoo/fs2/compare/v0.2.17...v0.2.18) (2018-10-31) |
| 150 |
|
| 151 |
### Bug Fixes |
| 152 |
|
| 153 |
- remove problematic stream.destroy() ([ceb67b9](https://github.com/medikoo/fs2/commit/ceb67b9)) |
| 154 |
- **copy:** validate destination existence ([7662c1e](https://github.com/medikoo/fs2/commit/7662c1e)) |
| 155 |
- **copyDir:** fix duplicate file copying ([41ff83b](https://github.com/medikoo/fs2/commit/41ff83b)) |
| 156 |
|
| 157 |
<a name="0.2.17"></a> |
| 158 |
|
| 159 |
## [0.2.17](https://github.com/medikoo/fs2/compare/v0.2.16...v0.2.17) (2018-10-31) |
| 160 |
|
| 161 |
### Bug Fixes |
| 162 |
|
| 163 |
- **copyDir:** throw if destination path exists ([812fdfb](https://github.com/medikoo/fs2/commit/812fdfb)) |
| 164 |
|
| 165 |
<a name="0.2.16"></a> |
| 166 |
|
| 167 |
## [0.2.16](https://github.com/medikoo/fs2/compare/v0.2.15...v0.2.16) (2018-10-31) |
| 168 |
|
| 169 |
### Features |
| 170 |
|
| 171 |
- copyDir util ([2f45d62](https://github.com/medikoo/fs2/commit/2f45d62)) |
| 172 |
|
| 173 |
<a name="0.2.15"></a> |
| 174 |
|
| 175 |
## [0.2.15](https://github.com/medikoo/fs2/compare/v0.2.14...v0.2.15) (2018-10-25) |
| 176 |
|
| 177 |
### Bug Fixes |
| 178 |
|
| 179 |
- **readlink:** improve loose option handling ([b54f193](https://github.com/medikoo/fs2/commit/b54f193)) |
| 180 |
- improve arguments handling ([c32f340](https://github.com/medikoo/fs2/commit/c32f340)) |
| 181 |
- **lstat:** fix loose option handling ([889b829](https://github.com/medikoo/fs2/commit/889b829)) |
| 182 |
|
| 183 |
### Features |
| 184 |
|
| 185 |
- isDirectory util ([835b4a9](https://github.com/medikoo/fs2/commit/835b4a9)) |
| 186 |
|
| 187 |
<a name="0.2.14"></a> |
| 188 |
|
| 189 |
## [0.2.14](https://github.com/medikoo/fs2/compare/v0.2.13...v0.2.14) (2018-10-24) |
| 190 |
|
| 191 |
### Bug Fixes |
| 192 |
|
| 193 |
- **readlink:** fix support for loose option on existing non-symlinks ([3c52970](https://github.com/medikoo/fs2/commit/3c52970)) |
| 194 |
|
| 195 |
<a name="0.2.13"></a> |
| 196 |
|
| 197 |
## [0.2.13](https://github.com/medikoo/fs2/compare/v0.2.12...v0.2.13) (2018-10-24) |
| 198 |
|
| 199 |
### Bug Fixes |
| 200 |
|
| 201 |
- require path ([6aa87f7](https://github.com/medikoo/fs2/commit/6aa87f7)) |
| 202 |
|
| 203 |
<a name="0.2.12"></a> |
| 204 |
|
| 205 |
## [0.2.12](https://github.com/medikoo/fs2/compare/v0.2.11...v0.2.12) (2018-10-24) |
| 206 |
|
| 207 |
### Features |
| 208 |
|
| 209 |
- readlink util ([c5c63c7](https://github.com/medikoo/fs2/commit/c5c63c7)) |
| 210 |
|
| 211 |
<a name="0.2.11"></a> |
| 212 |
|
| 213 |
## [0.2.11](https://github.com/medikoo/fs2/compare/v0.2.10...v0.2.11) (2018-10-23) |
| 214 |
|
| 215 |
### Features |
| 216 |
|
| 217 |
- introduce realpath ([727e7b8](https://github.com/medikoo/fs2/commit/727e7b8)) |
| 218 |
|
| 219 |
<a name="0.2.10"></a> |
| 220 |
|
| 221 |
## [0.2.10](https://github.com/medikoo/fs2/compare/v0.2.9...v0.2.10) (2018-09-14) |
| 222 |
|
| 223 |
### Bug Fixes |
| 224 |
|
| 225 |
- support for very old versions of Node.js ([73bc389](https://github.com/medikoo/fs2/commit/73bc389)) |
| 226 |
|
| 227 |
### Features |
| 228 |
|
| 229 |
- rm util, removes either file or directory ([6733df6](https://github.com/medikoo/fs2/commit/6733df6)) |
| 230 |
|
| 231 |
<a name="0.2.9"></a> |
| 232 |
|
| 233 |
## [0.2.9](https://github.com/medikoo/fs2/compare/v0.2.8...v0.2.9) (2018-09-13) |
| 234 |
|
| 235 |
### Features |
| 236 |
|
| 237 |
- support "loose" option in stat and lstat ([76306c4](https://github.com/medikoo/fs2/commit/76306c4)) |
| 238 |
|
| 239 |
<a name="0.2.8"></a> |
| 240 |
|
| 241 |
## [0.2.8](https://github.com/medikoo/fs2/compare/v0.2.7...v0.2.8) (2018-09-07) |
| 242 |
|
| 243 |
### Features |
| 244 |
|
| 245 |
- support `intermediate` option in symlink ([5846d47](https://github.com/medikoo/fs2/commit/5846d47)) |
| 246 |
|
| 247 |
<a name="0.2.7"></a> |
| 248 |
|
| 249 |
## [0.2.7](https://github.com/medikoo/fs2/compare/v0.2.6...v0.2.7) (2017-09-05) |
| 250 |
|
| 251 |
### Bug Fixes |
| 252 |
|
| 253 |
- bring back node v0.12 support ([370fa80](https://github.com/medikoo/fs2/commit/370fa80)) |
| 254 |
|
| 255 |
<a name="0.2.6"></a> |
| 256 |
|
| 257 |
## [0.2.6](https://github.com/medikoo/fs2/compare/v0.2.5...v0.2.6) (2017-06-19) |
| 258 |
|
| 259 |
<a name="0.2.5"></a> |
| 260 |
|
| 261 |
## [0.2.5](https://github.com/medikoo/fs2/compare/v0.2.4...v0.2.5) (2017-06-16) |
| 262 |
|
| 263 |
### Features |
| 264 |
|
| 265 |
- "loose" option for fs.copy ([885cba7](https://github.com/medikoo/fs2/commit/885cba7)) |
| 266 |
- resolve successful copy with `true` ([72d4961](https://github.com/medikoo/fs2/commit/72d4961)) |
| 267 |
|
| 268 |
## Old Changelog |
| 269 |
|
| 270 |
See `CHANGES` |