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

superagent-cache

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superagent-cache - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

5

index.js

@@ -7,4 +7,4 @@ /********************************************************

var cs = require('cache-service').cacheService;
module.exports = function(superagent, config){

@@ -21,7 +21,6 @@

else if(config.cacheServiceConfig && config.cacheModuleConfig){
var cs = require('cache-service');
superagent.cacheService = new cs(config.cacheServiceConfig, config.cacheModuleConfig);
}
else{
//Throw error
superagent.cacheService = new cs();
}

@@ -28,0 +27,0 @@

2

package.json
{
"name": "superagent-cache",
"version": "0.1.0",
"version": "0.1.1",
"description": "Superagent with tiered caching provided by cache-service.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,3 +68,3 @@ var expect = require('expect');

beforeEach(function(){
cacheService.flushKeys();
superagent.cacheService.flushKeys();
});

@@ -71,0 +71,0 @@

Sorry, the diff of this file is not supported yet

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