apollo-cache-inmemory
Advanced tools
Comparing version 1.1.8 to 1.1.9
# Change log | ||
### vNEXT | ||
### vNext | ||
- Fixed bug with cacheRedirects not getting attached [#3016](https://github.com/apollographql/apollo-client/pull/3016) | ||
### 1.1.9 | ||
- Added `getCacheKey` function to cacheResolver context [#2998](https://github.com/apollographql/apollo-client/pull/2998) | ||
@@ -5,0 +8,0 @@ - Changed `cacheResolvers` to `cacheRedirects`, added deprecation warning [#3001](https://github.com/apollographql/apollo-client/pull/3001) |
@@ -654,5 +654,6 @@ (function (global, factory) { | ||
} | ||
if (_this.config.cacheResolvers) | ||
if (_this.config.cacheResolvers) { | ||
console.warn('cacheResolvers have been renamed to cacheRedirects. Please update your config as we will be deprecating cacheResolvers in the next major version.'); | ||
_this.config.cacheRedirects = _this.config.cacheResolvers; | ||
_this.config.cacheRedirects = _this.config.cacheResolvers; | ||
} | ||
_this.addTypename = _this.config.addTypename; | ||
@@ -659,0 +660,0 @@ _this.data = _this.config.storeFactory(); |
@@ -56,5 +56,6 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
if (_this.config.cacheResolvers) | ||
if (_this.config.cacheResolvers) { | ||
console.warn('cacheResolvers have been renamed to cacheRedirects. Please update your config as we will be deprecating cacheResolvers in the next major version.'); | ||
_this.config.cacheRedirects = _this.config.cacheResolvers; | ||
_this.config.cacheRedirects = _this.config.cacheResolvers; | ||
} | ||
_this.addTypename = _this.config.addTypename; | ||
@@ -61,0 +62,0 @@ _this.data = _this.config.storeFactory(); |
{ | ||
"name": "apollo-cache-inmemory", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Core abstract of Caching layer for Apollo Client", | ||
@@ -40,5 +40,5 @@ "author": "James Baxley <james@meteor.com>", | ||
"dependencies": { | ||
"apollo-cache": "^1.1.3", | ||
"apollo-utilities": "^1.0.7", | ||
"graphql-anywhere": "^4.1.4" | ||
"apollo-cache": "^1.1.4", | ||
"apollo-utilities": "^1.0.8", | ||
"graphql-anywhere": "^4.1.5" | ||
}, | ||
@@ -45,0 +45,0 @@ "peerDependencies": { |
@@ -63,7 +63,8 @@ import { DocumentNode } from 'graphql'; | ||
if ((this.config as any).cacheResolvers) | ||
if ((this.config as any).cacheResolvers) { | ||
console.warn( | ||
'cacheResolvers have been renamed to cacheRedirects. Please update your config as we will be deprecating cacheResolvers in the next major version.', | ||
); | ||
this.config.cacheRedirects = (this.config as any).cacheResolvers; | ||
this.config.cacheRedirects = (this.config as any).cacheResolvers; | ||
} | ||
@@ -70,0 +71,0 @@ this.addTypename = this.config.addTypename; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
373712
8474
0
Updatedapollo-cache@^1.1.4
Updatedapollo-utilities@^1.0.8
Updatedgraphql-anywhere@^4.1.5