UNPKG

mock-fs-require-fix

Version:

Fork of the tschaub/mock-fs project.

159 lines (106 loc) 5.16 kB
# Change Log ## 3.12.1 * Revert the require cache clearing behavior ([#181][#181]). ## 3.12.0 * Support for Node 7.x (thanks @goliney, see [#174][#174]). * Remove calls to `printDeprecation` ([#175][#175]). * Break early when checking version (thanks @isiahmeadows, see [#157][#157]). * Add a note about restoring `fs` (thanks @matheuss, see [#147][#147]). * Clear the require cache before overriding fs functions ([#141][#141]) ## 3.11.0 * Make `require()` calls use the real filesystem ([#139][#139]). * Reduce the manual `fs` module patching ([#140][#140]). ## 3.10.0 * Fixes for Node 6.3 ([#138][#138]). * Fix permissions issues on directories (thanks @as3richa, see [#105][#105]). ## 3.9.0 * Support for Node 6.x (thanks @tmcw, see [#107][#107]). ## 3.8.0 * Implement `binding.writeBuffers()` (see [#94][#94]). ## 3.7.0 * Add support for `fs.access()` and `fs.accessSync()` (thanks @shyiko, see [#78][#78] and [#80][#80]). ## 3.6.0 * Add `createCwd` and `createTmp` options to control the creation of `process.cwd()` and `os.tmpdir()` directories in the mocked filesystem (see [#72][#72]). * Update Travis and AppVeyor configurations (see [#73][#73]) * Remove unused dev dependency (see [#75][#75]) ## 3.5.0 * Support for Node 5.x (thanks @tmcw, see [#69][#69]). ## 3.4.0 * Support for Node 4.x (thanks @AlexMeah, see [#65][#65]). ## 3.3.0 * Traverse symlinks recursively (thanks @caitp, see [#57][#57]). * Upgrade to rewire@2.3.4 (thanks @mbarlock, see [#60][#60]). ## 3.2.0 * Support for io.js 3.0 (thanks @JustBlackBird, see [#61][#61]). ## 3.1.0 * Follow symlinks in `readdir()` and `readdirSync()` (thanks @caitp, see [#56][#56]). ## 3.0.0 * Override `process.cwd()` and `process.chdir()` to work with mocked filesystem (thanks @timkendrick, see [#41][#41]). * Add note about known incompatibilities (thanks @psalaets, see [#45][#45]). ## 2.7.0 * Support for io.js 2.0 (thanks @jwilsson, see [#38][#38]). ## 2.6.0 * Add `birthtime` to `Stats` objects (thanks @meandmycode, see [#33][#33]). ## 2.5.0 * Support for io.js 1.1 (thanks @andrewblond, see [#21][#21]). * Testing on Windows with AppVeyor (thanks @andrewblond, see [#22][#22]). ## 2.4.0 * Support for Node 0.12 (thanks @mlegenhausen, see [#18][#18]). ## 2.3.1 * Preserve arity of callbacks (see [#11][#11]). ## 2.3.0 * Fixes for Node 0.11.13 (see [#9][#9]). ## 2.2.0 * Respect file mode on POSIX-compliant systems (see [#7][#7]). * Add benchmarks comparing mock-fs and fs modules (see [#6][#6]). ## 2.1.2 * Added more complete license text. * Test on Node 0.9 and 0.11 in addition to 0.8 and 0.10. ## 2.1.1 * Added this changelog. * Removed unused gruntfile.js. ## 2.1.0 * Directory mtime is now updated when items are added, removed, or modified ([#2][#2]). * Fixed several issues on Windows (see [#3][#3]). One issue remains on Windows with Node 0.8 (see [#4][#4]). * Swapped out Grunt with a single script to run tasks (see [#5][#5]). ## 2.0.0 * Simplified API (see [#1][#1]). [#1]: https://github.com/tschaub/mock-fs/pull/1 [#2]: https://github.com/tschaub/mock-fs/pull/2 [#3]: https://github.com/tschaub/mock-fs/pull/3 [#4]: https://github.com/tschaub/mock-fs/issues/4 [#5]: https://github.com/tschaub/mock-fs/pull/5 [#6]: https://github.com/tschaub/mock-fs/pull/6 [#7]: https://github.com/tschaub/mock-fs/pull/7 [#9]: https://github.com/tschaub/mock-fs/issues/9 [#11]: https://github.com/tschaub/mock-fs/pull/11 [#18]: https://github.com/tschaub/mock-fs/pull/18 [#21]: https://github.com/tschaub/mock-fs/pull/21 [#22]: https://github.com/tschaub/mock-fs/pull/22 [#33]: https://github.com/tschaub/mock-fs/pull/33 [#38]: https://github.com/tschaub/mock-fs/pull/38 [#41]: https://github.com/tschaub/mock-fs/pull/41 [#45]: https://github.com/tschaub/mock-fs/pull/45 [#56]: https://github.com/tschaub/mock-fs/pull/56 [#61]: https://github.com/tschaub/mock-fs/pull/61 [#60]: https://github.com/tschaub/mock-fs/pull/60 [#57]: https://github.com/tschaub/mock-fs/pull/57 [#65]: https://github.com/tschaub/mock-fs/pull/65 [#69]: https://github.com/tschaub/mock-fs/pull/69 [#72]: https://github.com/tschaub/mock-fs/pull/72 [#73]: https://github.com/tschaub/mock-fs/pull/73 [#75]: https://github.com/tschaub/mock-fs/pull/75 [#78]: https://github.com/tschaub/mock-fs/pull/78 [#80]: https://github.com/tschaub/mock-fs/pull/80 [#94]: https://github.com/tschaub/mock-fs/pull/94 [#107]: https://github.com/tschaub/mock-fs/pull/107 [#105]: https://github.com/tschaub/mock-fs/pull/105 [#138]: https://github.com/tschaub/mock-fs/pull/138 [#139]: https://github.com/tschaub/mock-fs/pull/139 [#140]: https://github.com/tschaub/mock-fs/pull/140 [#141]: https://github.com/tschaub/mock-fs/pull/141 [#147]: https://github.com/tschaub/mock-fs/pull/147 [#157]: https://github.com/tschaub/mock-fs/pull/157 [#174]: https://github.com/tschaub/mock-fs/pull/174 [#175]: https://github.com/tschaub/mock-fs/pull/175 [#181]: https://github.com/tschaub/mock-fs/pull/181