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

apollo-cache

Package Overview
Dependencies
Maintainers
6
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-cache - npm Package Compare versions

Comparing version 1.1.13-alpha.2 to 1.1.13-alpha.3

2

lib/cache.d.ts

@@ -5,3 +5,3 @@ import { DocumentNode } from 'graphql';

export declare abstract class ApolloCache<TSerialized> implements DataProxy {
abstract read<T, TVariables = any>(query: Cache.ReadOptions<TVariables>): T | null;
abstract read<T, TVariables = any>(query: Cache.DiffOptions): T | null;
abstract write<TResult = any, TVariables = any>(write: Cache.WriteOptions<TResult, TVariables>): void;

@@ -8,0 +8,0 @@ abstract diff<T>(query: Cache.DiffOptions): Cache.DiffResult<T>;

{
"name": "apollo-cache",
"version": "1.1.13-alpha.2",
"version": "1.1.13-alpha.3",
"description": "Core abstract of Caching layer for Apollo Client",

@@ -42,3 +42,3 @@ "author": "James Baxley <james@meteor.com>",

"dependencies": {
"apollo-utilities": "^1.0.17-alpha.2"
"apollo-utilities": "^1.0.17-alpha.3"
},

@@ -45,0 +45,0 @@ "devDependencies": {

@@ -12,5 +12,3 @@ import { DocumentNode } from 'graphql';

// core API
public abstract read<T, TVariables = any>(
query: Cache.ReadOptions<TVariables>,
): T | null;
public abstract read<T, TVariables = any>(query: Cache.DiffOptions): T | null;
public abstract write<TResult = any, TVariables = any>(

@@ -17,0 +15,0 @@ write: Cache.WriteOptions<TResult, TVariables>,

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