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

@apollo/server-plugin-response-cache

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/server-plugin-response-cache - npm Package Compare versions

Comparing version 4.0.0-alpha.5 to 4.0.0-rc.6

9

CHANGELOG.md
# @apollo/server-plugin-response-cache
## 4.0.0-rc.6
### Patch Changes
- [#6961](https://github.com/apollographql/apollo-server/pull/6961) [`a782c791f`](https://github.com/apollographql/apollo-server/commit/a782c791f4f616e36a0036dcabb4d928a7c3f871) Thanks [@glasser](https://github.com/glasser)! - Require graphql@16.6 as a peer dependency.
- Updated dependencies [[`a782c791f`](https://github.com/apollographql/apollo-server/commit/a782c791f4f616e36a0036dcabb4d928a7c3f871), [`d3ea2d4ef`](https://github.com/apollographql/apollo-server/commit/d3ea2d4ef137519d073185dea778e39e89a301c2)]:
- @apollo/server@4.0.0-rc.14
## 4.0.0-alpha.5

@@ -4,0 +13,0 @@

3

dist/cjs/ApolloServerPluginResponseCache.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const server_1 = require("@apollo/server");
const utils_createhash_1 = require("@apollo/utils.createhash");

@@ -49,3 +50,3 @@ const utils_keyvaluecache_1 = require("@apollo/utils.keyvaluecache");

status: undefined,
headers: new Map(),
headers: new server_1.HeaderMap(),
},

@@ -52,0 +53,0 @@ };

@@ -1,2 +0,2 @@

import type { ApolloServerPlugin, BaseContext, GraphQLRequestContext } from '@apollo/server';
import { ApolloServerPlugin, BaseContext, GraphQLRequestContext } from '@apollo/server';
import { KeyValueCache } from '@apollo/utils.keyvaluecache';

@@ -3,0 +3,0 @@ export interface ApolloServerPluginResponseCacheOptions<TContext extends BaseContext> {

@@ -0,1 +1,2 @@

import { HeaderMap, } from '@apollo/server';
import { createHash } from '@apollo/utils.createhash';

@@ -47,3 +48,3 @@ import { PrefixingKeyValueCache, } from '@apollo/utils.keyvaluecache';

status: undefined,
headers: new Map(),
headers: new HeaderMap(),
},

@@ -50,0 +51,0 @@ };

{
"name": "@apollo/server-plugin-response-cache",
"version": "4.0.0-alpha.5",
"version": "4.0.0-rc.6",
"description": "Apollo Server full query response cache",

@@ -36,5 +36,5 @@ "type": "module",

"peerDependencies": {
"@apollo/server": "^4.0.0-alpha.12",
"graphql": "^16.5.0"
"@apollo/server": "^4.0.0-rc.14",
"graphql": "^16.6.0"
}
}
import type { CacheHint } from '@apollo/cache-control-types';
import type {
import {
ApolloServerPlugin,

@@ -8,2 +8,3 @@ BaseContext,

GraphQLResponse,
HeaderMap,
} from '@apollo/server';

@@ -224,3 +225,3 @@ import { createHash } from '@apollo/utils.createhash';

status: undefined,
headers: new Map(),
headers: new HeaderMap(),
},

@@ -227,0 +228,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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