@apollo/server-plugin-response-cache
Advanced tools
Comparing version 4.0.0-alpha.5 to 4.0.0-rc.6
# @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 @@ |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158926
1192