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

apollo-client

Package Overview
Dependencies
Maintainers
2
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-client - npm Package Compare versions

Comparing version 0.3.27 to 0.3.28

4

data/diffAgainstStore.js

@@ -63,7 +63,7 @@ "use strict";

}), fieldResult = _a.result, fieldIsMissing = _a.isMissing;
var resultFieldKey = storeUtils_1.resultKeyNameFromField(selection);
if (fieldIsMissing) {
pushMissingField(selection);
}
else if (includeField) {
var resultFieldKey = storeUtils_1.resultKeyNameFromField(selection);
if (includeField && fieldResult !== undefined) {
result[resultFieldKey] = fieldResult;

@@ -70,0 +70,0 @@ }

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

import { NetworkInterface, createNetworkInterface } from './networkInterface';
import { NetworkInterface, createNetworkInterface, addQueryMerging } from './networkInterface';
import { GraphQLResult, Document, FragmentDefinition } from 'graphql';

@@ -11,3 +11,3 @@ import { print } from 'graphql-tag/printer';

import { MutationBehaviorReducerMap } from './data/mutationResults';
export { createNetworkInterface, createApolloStore, createApolloReducer, readQueryFromStore, readFragmentFromStore, addTypenameToSelectionSet as addTypename, writeQueryToStore, writeFragmentToStore, print as printAST };
export { createNetworkInterface, addQueryMerging, createApolloStore, createApolloReducer, readQueryFromStore, readFragmentFromStore, addTypenameToSelectionSet as addTypename, writeQueryToStore, writeFragmentToStore, print as printAST };
export declare let fragmentDefinitionsMap: {

@@ -14,0 +14,0 @@ [fragmentName: string]: FragmentDefinition[];

"use strict";
var networkInterface_1 = require('./networkInterface');
exports.createNetworkInterface = networkInterface_1.createNetworkInterface;
exports.addQueryMerging = networkInterface_1.addQueryMerging;
var printer_1 = require('graphql-tag/printer');

@@ -5,0 +6,0 @@ exports.printAST = printer_1.print;

{
"name": "apollo-client",
"version": "0.3.27",
"version": "0.3.28",
"description": "A simple yet functional GraphQL client.",

@@ -51,3 +51,3 @@ "main": "index.js",

"colors": "^1.1.2",
"concurrently": "^2.1.0",
"concurrently": "^2.2.0",
"dataloader": "^1.1.0",

@@ -54,0 +54,0 @@ "es6-promise": "^3.1.2",

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