Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cached

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cached - npm Package Versions

23

6.1.0

Diff

Changelog

Source

v6.1.0 (2021-06-29)

<a id="v6.1.0"></a>

🚀 New Features
  • #62 feat: add redis backend (@aaarichter)
groupon
published 6.0.0 •

Changelog

Source

v6.0.0 (2021-06-27)

<a id="v6.0.0"></a>

💥 Breaking Changes

#48 refactor: rewrite, use memcached-elasticache & drop Node 8 (@aaarichter)

  • Dropped Node 8.x. Use Node 10.13 or higher.

  • Uses memcached-elasticache with AWS support instead of memcached. See https://github.com/jkehres/memcached-elasticache#readme

  • API functions no longer support callbacks.

  • API functions use native Promises instead of Bluebird.

  • cached() needs to be called with a string argument as name. If the name argument is undefined, it will fallback to "default".

  • Cache.setBackend() no longer returns the created backend.

  • Cache.getWrapped() is removed.

  • Cache backend APIs need to be promise based.

  • Cache private function have been renamed.

  • The following function are now private:

    • Cache.applyPrefix
    • Cache.end
    • Cache.prepareOptions
    • Cache.setBackend
  • cache.set(), cache.get(), cache.getOrElse(), cache.unset() no longer support the callback argument. Use them as promise.

  • cache.set() no longer returns a value.

  • cache.set(key, value) accepts functions and promises as value.

  • Any client passed with the memcached backend options has to be an instance of Memcached.

  • Backend setters no longer return a value.

  • backend addType() does not return backend class anymore.

📦️ Code Refactoring
  • #48 refactor: rewrite, use memcached-elasticache & drop Node 8 (@aaarichter)
🏡 Internal
groupon
published 5.0.2 •

Changelog

Source

5.0.2

groupon
published 5.0.1 •

Changelog

Source

5.0.1

  • chore: Remove yarn check that breaks people - @jkrems #42
    • 147a7f3 chore: Remove yarn check that breaks people
groupon
published 5.0.0 •

Changelog

Source

5.0.0

Breaking Changes

drops support for Node 6, which is a current LTS release.

See: f4ba4c9

Commits
groupon
published 4.3.2 •

Changelog

Source

4.3.2

groupon
published 4.3.1 •

Changelog

Source

4.3.1

  • docs: Clarify that timeout applies to unset - @Zanadar #36
    • 89209ce docs: Clarify that timeout applies to unset
  • docs: Fix typo in contributing.md - @Zanadar #35
    • a3e5efa docs: fix typo in contributing.md
groupon
published 4.3.0 •

Changelog

Source

4.3.0

groupon
published 4.2.3 •

Changelog

Source

4.2.3

groupon
published 4.2.2 •

Changelog

Source

4.2.2

  • Update documentation for cached and backends - @fdegiuli #27
    • b137f56 docs: Add memory, noop backends to docs
    • e4bd666 docs: Deprecate unnamed caches
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc