find-cache-dir

Finds the common standard cache directory

MIT License

Downloads
146.5M
Stars
147
Committers
14

Bot releases are hidden (Show)

find-cache-dir - Latest Release

Published by sindresorhus about 1 year ago

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

  • Add TypeScript type definitions (#39) 213a339

https://github.com/sindresorhus/find-cache-dir/compare/v4.0.0...v5.0.0

find-cache-dir -

Published by sindresorhus almost 2 years ago

Breaking

  • Require Node.js 14 c5e8e5c
  • This package is now pure ESM. Please read this.

Improvements

  • Upgrade dependencies
  • Reduce amount of dependencies

https://github.com/sindresorhus/find-cache-dir/compare/v3.3.2...v4.0.0

find-cache-dir -

Published by sindresorhus about 3 years ago

  • Respect name option when CACHE_DIR environment variable is set (#34) 6a378f5

https://github.com/avajs/find-cache-dir/compare/v3.3.1...v3.3.2

find-cache-dir -

Published by sindresorhus over 4 years ago

  • Ignore true/false/1/0 values for CACHE_DIR environment variable (#27) e7dd4a6

https://github.com/avajs/find-cache-dir/compare/v3.3.0...v3.3.1

find-cache-dir -

Published by sindresorhus over 4 years ago

  • Allow the CACHE_DIR environment variable to override the cache location (#18) 71faea2

https://github.com/avajs/find-cache-dir/compare/v3.2.0...v3.3.0

find-cache-dir -

Published by sindresorhus almost 5 years ago

  • Tolerate lack of node_modules when checking if directory is writable (#20) a2679d9

https://github.com/avajs/find-cache-dir/compare/v3.1.0...v3.2.0

find-cache-dir -

Published by sindresorhus almost 5 years ago

  • Return undefined if the found node_modules directory is not writable (#19) 3cea1e7

https://github.com/avajs/find-cache-dir/compare/v3.0.0...v3.1.0

find-cache-dir -

Published by sindresorhus over 5 years ago

Breaking:

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

Enhancements:

  • Update dependencies (#15) a0ed7cc

https://github.com/avajs/find-cache-dir/compare/v2.1.0...v3.0.0

find-cache-dir -

Published by sindresorhus over 5 years ago

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.

https://github.com/avajs/find-cache-dir/compare/v2.0.0...v2.1.0