New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nerdwallet/apollo-cache-policies

Package Overview
Dependencies
Maintainers
15
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nerdwallet/apollo-cache-policies - npm Package Compare versions

Comparing version

to
2.0.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

2.0.3 (Dan Reynolds)
* Filter out dangling references from collection entities
2.0.2 (Dan Reynolds)

@@ -2,0 +6,0 @@

4

dist/cache/InvalidationPolicyCache.js

@@ -237,5 +237,5 @@ "use strict";

fields: {
data: (existing) => {
data: (existing, { canRead }) => {
return [
...existing,
...existing.filter((ref) => canRead(ref)),
core_1.makeReference(dataId),

@@ -242,0 +242,0 @@ ];

{
"name": "@nerdwallet/apollo-cache-policies",
"version": "2.0.2",
"version": "2.0.3",
"description": "An extension to the InMemoryCache from Apollo that adds additional cache policies.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet