Finds the common standard cache directory
MIT License
Bot releases are hidden (Show)
thunk
option e14dff6
path.join()
on the result.files
option now only accepts an array of strings e14dff6
https://github.com/sindresorhus/find-cache-dir/compare/v4.0.0...v5.0.0
https://github.com/sindresorhus/find-cache-dir/compare/v3.3.2...v4.0.0
name
option when CACHE_DIR
environment variable is set (#34) 6a378f5https://github.com/avajs/find-cache-dir/compare/v3.3.1...v3.3.2
CACHE_DIR
environment variable (#27) e7dd4a6https://github.com/avajs/find-cache-dir/compare/v3.3.0...v3.3.1
CACHE_DIR
environment variable to override the cache location (#18) 71faea2https://github.com/avajs/find-cache-dir/compare/v3.2.0...v3.3.0
node_modules
when checking if directory is writable (#20) a2679d9https://github.com/avajs/find-cache-dir/compare/v3.1.0...v3.2.0
undefined
if the found node_modules
directory is not writable (#19) 3cea1e7https://github.com/avajs/find-cache-dir/compare/v3.0.0...v3.1.0
Breaking:
undefined
instead of null
if the cache directory cannot be found (#15) a0ed7ccEnhancements:
https://github.com/avajs/find-cache-dir/compare/v2.1.0...v3.0.0
Enhancement:
make-dir
to version 2 (#13) 7cbd051fs.mkdir
recursive
option when available, so should make that operation faster on newer Node.js versions.https://github.com/avajs/find-cache-dir/compare/v2.0.0...v2.1.0