react-apollo
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70
357661
8
3170
1
+ Addedlodash.flowright@^3.5.0
+ Addedlodash.pick@^4.4.0
+ Addedlodash.flowright@3.5.0(transitive)
+ Addedlodash.pick@4.4.0(transitive)
- Removedlodash-es@^4.17.4
- Removedlodash-es@4.17.21(transitive)