New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zcache

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zcache - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

21

lib/ConnectionWrapper.js

@@ -16,2 +16,7 @@ var util = require('util')

this.get = this._cacheInstance.get.bind(this._cacheInstance)
this.mget = this._cacheInstance.mget.bind(this._cacheInstance)
this.set = this._cacheInstance.set.bind(this._cacheInstance)
this.del = this._cacheInstance.del.bind(this._cacheInstance)
opts = opts || {}

@@ -50,18 +55,2 @@ this._opts = {

ConnectionWrapper.prototype.mget = function (keys) {
return this._cacheInstance.mget(keys)
}
ConnectionWrapper.prototype.get = function (key, val) {
return this._cacheInstance.get(key, val)
}
ConnectionWrapper.prototype.set = function (key, val, maxAgeMs) {
return this._cacheInstance.set(key, val, maxAgeMs)
}
ConnectionWrapper.prototype.del = function (key) {
return this._cacheInstance.del(key)
}
ConnectionWrapper.prototype._attemptConnect = function () {

@@ -68,0 +57,0 @@ if (!this._state.shouldConnect) return

{
"name": "zcache"
, "description": "AWS zone-aware caching"
, "version": "0.1.1"
, "version": "0.1.2"
, "homepage": "https://github.com/azulus/zcache"

@@ -6,0 +6,0 @@ , "authors": [

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