Socket
Socket
Sign inDemoInstall

apollo-datasource-http

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-datasource-http - npm Package Compare versions

Comparing version 0.9.9 to 0.9.10

12

dist/src/http-data-source.js

@@ -162,2 +162,8 @@ "use strict";

}
}
const options = {
...this.globalRequestOptions,
...request,
};
if (options.method === 'GET') {
if (request.requestCache) {

@@ -172,8 +178,2 @@ const cacheItem = await this.cache.get(cacheKey);

}
}
const options = {
...this.globalRequestOptions,
...request,
};
if (options.method === 'GET') {
const response = await this.performRequest(options, cacheKey);

@@ -180,0 +180,0 @@ if (this.isResponseCacheable(options, response)) {

{
"name": "apollo-datasource-http",
"version": "0.9.9",
"version": "0.9.10",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc