Socket
Socket
Sign inDemoInstall

apollo-datasource-http

Package Overview
Dependencies
9
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.5 to 0.9.6

3

dist/src/http-data-source.js

@@ -140,2 +140,3 @@ "use strict";

if (options.requestCache && this.isResponseCacheable(options, response)) {
response.maxTtl = Math.max(options.requestCache.maxTtl, options.requestCache.maxTtlIfError);
this.storageAdapter

@@ -156,3 +157,2 @@ .set(cacheKey, response, options.requestCache?.maxTtl)

hasFallback.isFromCache = true;
hasFallback.maxTtl = options.requestCache.maxTtlIfError;
return hasFallback;

@@ -181,3 +181,2 @@ }

cachedResponse.isFromCache = true;
cachedResponse.maxTtl = request.requestCache.maxTtl;
return cachedResponse;

@@ -184,0 +183,0 @@ }

{
"name": "apollo-datasource-http",
"version": "0.9.5",
"version": "0.9.6",
"author": "Dustin Deus <deusdustin@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc