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

react-apollo

Package Overview
Dependencies
Maintainers
8
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-apollo - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

4

package.json
{
"name": "react-apollo",
"version": "2.1.4",
"version": "2.1.5",
"author": "opensource@apollographql.com",

@@ -28,5 +28,5 @@ "browser": "react-apollo.browser.umd.js",

"invariant": "^2.2.2",
"lodash": "4.17.5",
"lodash": "4.17.10",
"prop-types": "^15.6.0"
}
}

@@ -886,3 +886,6 @@ (function (global, factory) {

if (operationOptions.props) {
var newResult = (_c = {}, _c[name] = result, _c.ownProps = props, _c);
var newResult = (_c = {},
_c[name] = result,
_c.ownProps = props,
_c);
lastResultProps = operationOptions.props(newResult, lastResultProps);

@@ -952,3 +955,6 @@ childProps = lastResultProps;

if (operationOptions.props) {
var newResult = (_b = {}, _b[name] = mutate, _b.ownProps = props, _b);
var newResult = (_b = {},
_b[name] = mutate,
_b.ownProps = props,
_b);
childProps = operationOptions.props(newResult);

@@ -1045,3 +1051,6 @@ }

if (operationOptions.props) {
var newResult = (_c = {}, _c[name] = result, _c.ownProps = props, _c);
var newResult = (_c = {},
_c[name] = result,
_c.ownProps = props,
_c);
lastResultProps = operationOptions.props(newResult, lastResultProps);

@@ -1048,0 +1057,0 @@ childProps = lastResultProps;

@@ -886,3 +886,6 @@ (function (global, factory) {

if (operationOptions.props) {
var newResult = (_c = {}, _c[name] = result, _c.ownProps = props, _c);
var newResult = (_c = {},
_c[name] = result,
_c.ownProps = props,
_c);
lastResultProps = operationOptions.props(newResult, lastResultProps);

@@ -952,3 +955,6 @@ childProps = lastResultProps;

if (operationOptions.props) {
var newResult = (_b = {}, _b[name] = mutate, _b.ownProps = props, _b);
var newResult = (_b = {},
_b[name] = mutate,
_b.ownProps = props,
_b);
childProps = operationOptions.props(newResult);

@@ -1045,3 +1051,6 @@ }

if (operationOptions.props) {
var newResult = (_c = {}, _c[name] = result, _c.ownProps = props, _c);
var newResult = (_c = {},
_c[name] = result,
_c.ownProps = props,
_c);
lastResultProps = operationOptions.props(newResult, lastResultProps);

@@ -1048,0 +1057,0 @@ childProps = lastResultProps;

@@ -897,3 +897,3 @@ (function (global, factory) {

var __extends$10 = (undefined && undefined.__extends) || (function () {
var __extends$a = (undefined && undefined.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||

@@ -909,3 +909,3 @@ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||

var MockedProvider = (function (_super) {
__extends$10(MockedProvider, _super);
__extends$a(MockedProvider, _super);
function MockedProvider(props, context) {

@@ -912,0 +912,0 @@ var _this = _super.call(this, props, context) || this;

@@ -31,3 +31,3 @@ import ApolloClient, { ApolloQueryResult, ApolloError, FetchPolicy, ErrorPolicy, FetchMoreOptions, UpdateQueryOptions, FetchMoreQueryOptions, SubscribeToMoreOptions, PureQueryOptions, MutationUpdaterFn } from 'apollo-client';

variables: TGraphQLVariables;
fetchMore: (fetchMoreOptions: FetchMoreQueryOptions & FetchMoreOptions) => Promise<ApolloQueryResult<any>>;
fetchMore: (fetchMoreOptions: FetchMoreQueryOptions<any, any> & FetchMoreOptions) => Promise<ApolloQueryResult<any>>;
refetch: (variables?: TGraphQLVariables) => Promise<ApolloQueryResult<any>>;

@@ -37,3 +37,3 @@ startPolling: (pollInterval: number) => void;

subscribeToMore: (options: SubscribeToMoreOptions) => () => void;
updateQuery: (mapFn: (previousQueryResult: any, options: UpdateQueryOptions) => any) => void;
updateQuery: (mapFn: (previousQueryResult: any, options: UpdateQueryOptions<any>) => any) => void;
}

@@ -40,0 +40,0 @@ export declare type MutationFunc<TData = any, TGraphQLVariables = OperationVariables> = (opts?: MutationOpts<TData, TGraphQLVariables>) => Promise<ApolloQueryResult<TData>>;

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