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

react-apollo

Package Overview
Dependencies
Maintainers
6
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.0.3 to 2.0.4

4

browser.d.ts

@@ -6,3 +6,3 @@ export { default as ApolloProvider } from './ApolloProvider';

export { getDataFromTree } from './getDataFromTree';
import flowRight from 'lodash-es/flowRight';
export { flowRight as compose };
import * as compose from 'lodash.flowright';
export { compose };

@@ -5,4 +5,4 @@ export { default as ApolloProvider } from './ApolloProvider';

export { getDataFromTree } from './getDataFromTree';
import flowRight from 'lodash-es/flowRight';
export { flowRight as compose };
import * as compose from 'lodash.flowright';
export { compose };
//# sourceMappingURL=browser.js.map

@@ -24,3 +24,3 @@ var __extends = (this && this.__extends) || (function () {

var assign = require('object-assign');
import pick from 'lodash-es/pick';
var pick = require('lodash.pick');
var hoistNonReactStatics = require('hoist-non-react-statics');

@@ -191,4 +191,3 @@ import { parser, DocumentType } from './parser';

invariant(typeof props[variable.name.value] !== 'undefined', "The operation '" + operation.name + "' wrapping '" + getDisplayName(WrappedComponent) + "' " +
("is expecting a variable: '" + variable.name
.value + "' but it was not found in the props ") +
("is expecting a variable: '" + variable.name.value + "' but it was not found in the props ") +
("passed to '" + graphQLDisplayName + "'"));

@@ -195,0 +194,0 @@ }

{
"name": "react-apollo",
"version": "2.0.3",
"version": "2.0.4",
"description": "React data container for Apollo Client",

@@ -36,3 +36,2 @@ "main": "react-apollo.umd.js",

"@types/lodash": "4.14.86",
"@types/lodash-es": "4.17.0",
"@types/node": "8.0.31",

@@ -107,5 +106,6 @@ "@types/object-assign": "4.0.30",

"invariant": "^2.2.1",
"lodash-es": "^4.17.4",
"lodash.flowright": "^3.5.0",
"lodash.pick": "^4.4.0",
"prop-types": "^15.5.8"
}
}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('lodash-es/pick'), require('lodash-es/flowRight')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', 'lodash-es/pick', 'lodash-es/flowRight'], factory) :
(factory((global['react-apollo'] = {}),global.React,global.PropTypes,global.pick,global.flowRight));
}(this, (function (exports,React,PropTypes,pick,flowRight) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('lodash.flowright')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', 'lodash.flowright'], factory) :
(factory((global['react-apollo'] = {}),global.React,global.PropTypes,global.lodash_flowright));
}(this, (function (exports,React,PropTypes,lodash_flowright) { 'use strict';
pick = pick && pick.hasOwnProperty('default') ? pick['default'] : pick;
flowRight = flowRight && flowRight.hasOwnProperty('default') ? flowRight['default'] : flowRight;
function shallowEqual(objA, objB) {

@@ -218,2 +215,3 @@ if (!objA || !objB)

var assign = require('object-assign');
var pick = require('lodash.pick');
var hoistNonReactStatics = require('hoist-non-react-statics');

@@ -383,4 +381,3 @@ var defaultMapPropsToOptions = function () { return ({}); };

invariant$1(typeof props[variable.name.value] !== 'undefined', "The operation '" + operation.name + "' wrapping '" + getDisplayName(WrappedComponent) + "' " +
("is expecting a variable: '" + variable.name
.value + "' but it was not found in the props ") +
("is expecting a variable: '" + variable.name.value + "' but it was not found in the props ") +
("passed to '" + graphQLDisplayName + "'"));

@@ -774,3 +771,3 @@ }

exports.compose = flowRight;
exports.compose = lodash_flowright;
exports.ApolloProvider = ApolloProvider;

@@ -777,0 +774,0 @@ exports.graphql = graphql;

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('lodash-es/pick'), require('lodash-es/flowRight'), require('react-dom/server')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', 'lodash-es/pick', 'lodash-es/flowRight', 'react-dom/server'], factory) :
(factory((global['react-apollo'] = {}),global.React,global.PropTypes,global.pick,global.flowRight,global.ReactDOM));
}(this, (function (exports,React,PropTypes,pick,flowRight,ReactDOM) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('lodash.flowright'), require('react-dom/server')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', 'lodash.flowright', 'react-dom/server'], factory) :
(factory((global['react-apollo'] = {}),global.React,global.PropTypes,global.lodash_flowright,global.ReactDOM));
}(this, (function (exports,React,PropTypes,lodash_flowright,ReactDOM) { 'use strict';
pick = pick && pick.hasOwnProperty('default') ? pick['default'] : pick;
flowRight = flowRight && flowRight.hasOwnProperty('default') ? flowRight['default'] : flowRight;
function shallowEqual(objA, objB) {

@@ -218,2 +215,3 @@ if (!objA || !objB)

var assign = require('object-assign');
var pick = require('lodash.pick');
var hoistNonReactStatics = require('hoist-non-react-statics');

@@ -383,4 +381,3 @@ var defaultMapPropsToOptions = function () { return ({}); };

invariant$1(typeof props[variable.name.value] !== 'undefined', "The operation '" + operation.name + "' wrapping '" + getDisplayName(WrappedComponent) + "' " +
("is expecting a variable: '" + variable.name
.value + "' but it was not found in the props ") +
("is expecting a variable: '" + variable.name.value + "' but it was not found in the props ") +
("passed to '" + graphQLDisplayName + "'"));

@@ -783,3 +780,3 @@ }

exports.walkTree = walkTree;
exports.compose = flowRight;
exports.compose = lodash_flowright;
exports.ApolloProvider = ApolloProvider;

@@ -786,0 +783,0 @@ exports.graphql = graphql;

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

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