Packages

cacache

21.0.2 · 11 Nov 2026ISC44M / weekRepositoryHomepagenpmAtom feed

Your version

111 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 14.x
  2. 14.0.0

    28 Jan 2020
    • Breaking

      deps: bumps engines to >= 10

    • Breaking

      deps: tar v6 and mkdirp v1

  3. 13.x
  4. 13.0.1

    30 Sep 2019
  5. 13.0.0

    25 Sep 2019
    • Breaking

      This subtly changes the streaming interface of everything in cacache that streams, which is, well, everything in cacache. Most users will probably not notice, but any code that depended on stream behavior always being deferred until next tick will need to adjust.

    • Breaking

      minipass The core stream library.

    • Breaking

      fs-minipass Note that the 'WriteStream' class from fs-minipass is not a Minipass stream, but rather a plain old EventEmitter that duck types as a Writable.

  6. 12.x
  7. 12.0.2 – 12.0.43 releases without a noteShow each
  8. 12.0.1

    19 Jul 2019
    • deps Abstracted out lib/util/infer-owner.js to @npmcli/infer-owner so that it could be more easily used in other parts of the npm CLI.

  9. 12.0.0

    15 Jul 2019
    • Breaking

      The uid gid options are no longer respected or necessary. As of this change, cacache will always match the cache contents to the ownership of the cache directory (or its parent directory), regardless of what the caller passes in.

    • Infer uid/gid instead of accepting as options

    • i18n: add another error message

  10. 11.x
  11. 11.3.3

    17 Jun 2019
  12. 11.3.2

    21 Dec 2018
    • get: make sure to handle errors in the .then

  13. 11.3.1

    5 Nov 2018
    • get: export hasContent.sync properly

  14. 11.3.0

    5 Nov 2018
    • get: add sync API for reading

  15. 11.2.0

    8 Aug 2018
    • read: add sync support to other internal read.js fns

  16. 11.1.0

    1 Aug 2018
    • read: add sync support for low-level content read

  17. 11.0.3

    1 Aug 2018
    • config: add ssri config options

    • perf: refactor content.read to avoid lstats

  18. 11.0.2

    7 May 2018
    • verify: size param no longer lost in a verify (#131) (c614a19), closes #130

  19. 11.0.1

    10 Apr 2018
  20. 11.0.0

    9 Apr 2018
    • Removed

      Drop support for node@4

    • Breaking

      node@4 is no longer supported

    • opts: use figgy-pudding for opts

  21. 10.x
  22. 10.0.4

    16 Feb 2018
  23. 10.0.3

    16 Feb 2018
    • content: rethrow aggregate errors as ENOENT

  24. 10.0.2

    7 Jan 2018
    • ls: deleted entries could cause a premature stream EOF

  25. 10.0.1

    15 Nov 2017
    • move-file: actually use the fallback to move-concurrently

  26. 10.0.0

    23 Oct 2017
    • Breaking

      license: the license has been changed from CC0-1.0 to ISC.

    • license: relicense to ISC

    • More copyFile benchmarks

  27. 9.x
  28. 9.3.0

    7 Oct 2017
    • copy: added cacache.get.copy api for fast copies

  29. 9.2.9

    17 Jun 2017
  30. 9.2.8

    5 Jun 2017
    • ssri: bump ssri for bugfix

  31. 9.2.7

    5 Jun 2017
    • content: make verified content completely read-only

  32. 9.2.6

    31 May 2017
    • node: update ssri to prevent old node 4 crash

  33. 9.2.5

    25 May 2017
    • deps: fix lockfile issues and bump ssri

  34. 9.2.4

    24 May 2017
    • deps: bumping deps

  35. 9.2.3

    24 May 2017
    • rm: stop crashing if content is missing on rm

  36. 9.2.2

    14 May 2017
    • i18n: lets pretend this didn't happen

  37. 9.2.1

    14 May 2017

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  38. 9.2.0

    14 May 2017
    • i18n: add Spanish translation for API

  39. 9.1.0

    14 May 2017
    • i18n: Add Spanish translation and i18n setup

  40. 9.0.0

    28 Apr 2017
    • Breaking

      memoization: If you were passing an object to opts.memoize, it will now be used as an injected memoization object. If you were only passing booleans and other non-objects through that option, no changes are needed.

    • memoization: actually use the LRU

    • memoization: memoizers can be injected through opts.memoize

  41. 8.x
  42. 8.0.0

    22 Apr 2017
    • Breaking

      read: hasContent now returns an object with {sri, size} instead of sri. Use result.sri anywhere that needed the old return value.

    • read: change hasContent to return {sri, size} (#88) (bad6c49), closes #87

  43. 7.x
  44. 7.1.0

    20 Apr 2017
    • size: handle content size info

  45. 7.0.5

    18 Apr 2017
    • integrity: new ssri with fixed integrity stream

    • write: wrap stuff in promises to improve errors

  46. 7.0.4

    15 Apr 2017
    • fix-owner: throw away ENOENTs on chownr

  47. 7.0.3

    5 Apr 2017
    • read: fixing error message for integrity verification failures

  48. 7.0.2

    3 Apr 2017
    • integrity: use EINTEGRITY error code and update ssri

  49. 7.0.1

    3 Apr 2017

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  50. 7.0.0

    3 Apr 2017
    • Breaking

      integrity: The entire API has been overhauled to use SRI hashes instead of digest/hashAlgorithm pairs. SRI hashes follow the Subresource Integrity standard and support strings and objects compatible with ssri.

    • Breaking

      This change bumps the index version, which will invalidate all previous index entries. Content entries will remain intact, and existing caches will automatically reuse any content from before this breaking change.

    • Breaking

      cacache.get.info(), cacache.ls(), and cacache.ls.stream() will now return objects that looks like this:

  51. 6.x
  52. 6.3.0

    1 Apr 2017
    • fixOwner: ignore EEXIST race condition from mkdirp

    • index: ignore index removal races when inserting

    • memo: use lru-cache for better mem management

  53. 6.2.0

    15 Mar 2017
    • index: additional bucket entry verification with checksum

    • verify: return fixOwner.chownr promise

    • tmp: safe tmp dir creation/management util

  54. 6.1.2

    13 Mar 2017
    • index: set default hashAlgorithm

  55. 6.1.1

    13 Mar 2017
    • coverage: bumping coverage for verify

    • deps: glob should have been a regular dep :<

  56. 6.1.0

    12 Mar 2017
    • coverage: more coverage for content reads

    • rm: limited rm.all and fixed bugs (#66) (d5d25ba), closes #66

    • verify: tested, working cache verifier/gc

  57. 6.0.2

    11 Mar 2017
    • index: segment cache items with another subbucket

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.