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

cached

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cached - npm Package Compare versions

Comparing version 4.2.3 to 4.3.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

### 4.3.0
* feat: expose `cache.unset` - **[@fdegiuli](https://github.com/fdegiuli)** [#31](https://github.com/groupon/node-cached/pull/31)
- [`4e296af`](https://github.com/groupon/node-cached/commit/4e296afed9ce305ed27f94fb9d0e011a01d0bd87) **feat:** expose `cache.unset`
### 4.2.3

@@ -2,0 +8,0 @@

@@ -130,2 +130,12 @@ /*

Cache.prototype.unset = function unset(rawKey, cb) {
var key = this.applyPrefix(rawKey);
return this._unset(key).nodeify(cb);
};
Cache.prototype._unset = function _unset(key) {
return this._applyTimeout(this.backend.unset(key));
};
module.exports = Cache;

2

package.json
{
"name": "cached",
"version": "4.2.3",
"version": "4.3.0",
"description": "Simple access to a cache",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

@@ -205,1 +205,6 @@ # cached

Which should be a smaller number than the number of concurrent requests in most cases.
### Cache.unset(key, cb) -> Promise
Cache delete operation.
`key` has to be a string.
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