New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.9 to 0.4.10

3

batching/queryMerging.js
"use strict";
var getFromAST_1 = require('../queries/getFromAST');
var storeUtils_1 = require('../data/storeUtils');
var assign = require('lodash.assign');

@@ -32,3 +33,3 @@ var cloneDeep = require('lodash.clonedeep');

var field = fieldMap[mergeInfo.fieldIndex];
data[field.name.value] = result.data[dataKey];
data[storeUtils_1.resultKeyNameFromField(field)] = result.data[dataKey];
if (resultArray[childRequestIndex]) {

@@ -35,0 +36,0 @@ assign(resultArray[childRequestIndex].data, data);

@@ -16,2 +16,3 @@ import { NetworkInterface, createNetworkInterface, addQueryMerging } from './networkInterface';

data: any;
loading: boolean;
};

@@ -53,2 +54,3 @@ export declare let fragmentDefinitionsMap: {

data: any;
loading: boolean;
}>;

@@ -88,2 +90,3 @@ mutate: (options: {

data: any;
loading: boolean;
}>;

@@ -90,0 +93,0 @@ reducer(): Function;

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

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

@@ -144,2 +144,3 @@ "use strict";

}),
loading: queryStoreValue.loading,
};

@@ -458,3 +459,3 @@ if (observer.next) {

_this.removeFetchQueryPromise(requestId);
resolve({ data: resultFromStore });
resolve({ data: resultFromStore, loading: false });
}).catch(function (error) {

@@ -461,0 +462,0 @@ _this.store.dispatch({

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

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