Skip to content

Releases: sindresorhus/find-cache-dir

v5.0.0

18 Aug 23:49
Compare
Choose a tag to compare

Breaking

  • Require Node.js 16 e14dff6
  • Remove thunk option e14dff6
    • Just use path.join() on the result.
  • The files option now only accepts an array of strings e14dff6
    • Previously, it accepted both an array or a string.

Improvements

v4.0.0...v5.0.0

v4.0.0

04 Nov 10:42
Compare
Choose a tag to compare

Breaking

Improvements

  • Upgrade dependencies
  • Reduce amount of dependencies

v3.3.2...v4.0.0

v3.3.2

29 Aug 17:57
6a378f5
Compare
Choose a tag to compare
  • Respect name option when CACHE_DIR environment variable is set (#34) 6a378f5

v3.3.1...v3.3.2

v3.3.1

09 Mar 06:19
Compare
Choose a tag to compare
  • Ignore true/false/1/0 values for CACHE_DIR environment variable (#27) e7dd4a6

v3.3.0...v3.3.1

v3.3.0

22 Feb 15:13
Compare
Choose a tag to compare
  • Allow the CACHE_DIR environment variable to override the cache location (#18) 71faea2

v3.2.0...v3.3.0

v3.2.0

12 Dec 12:17
Compare
Choose a tag to compare
  • Tolerate lack of node_modules when checking if directory is writable (#20) a2679d9

v3.1.0...v3.2.0

v3.1.0

09 Nov 05:36
Compare
Choose a tag to compare
  • Return undefined if the found node_modules directory is not writable (#19) 3cea1e7

v3.0.0...v3.1.0

v3.0.0

09 Apr 17:29
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 (#15) a0ed7cc
  • Return undefined instead of null if the cache directory cannot be found (#15) a0ed7cc

Enhancements:

v2.1.0...v3.0.0

v2.1.0

12 Mar 06:29
Compare
Choose a tag to compare

Enhancement:

  • Update make-dir to version 2 (#13) 7cbd051
    It uses the native fs.mkdir recursive option when available, so should make that operation faster on newer Node.js versions.

v2.0.0...v2.1.0