react-apollo
Advanced tools
Comparing version 3.1.1 to 3.2.0-alpha.0
@@ -1,5 +0,4 @@ | ||
export { ApolloContextValue, getApolloContext, resetApolloContext, ApolloProvider, ApolloConsumer, OperationVariables, Context, ExecutionResult, BaseQueryOptions, QueryFunctionOptions, ObservableQueryFields, QueryResult, RefetchQueriesFunction, BaseMutationOptions, MutationFunctionOptions, MutationResult, MutationFetchResult, MutationFunction, OnSubscriptionDataOptions, BaseSubscriptionOptions, SubscriptionResult } from '@apollo/react-common'; | ||
export { getApolloContext, resetApolloContext, ApolloProvider, ApolloConsumer, OperationVariables, QueryResult, Context, ExecutionResult, BaseQueryOptions, QueryFunctionOptions, ObservableQueryFields, RefetchQueriesFunction, BaseMutationOptions, MutationFunctionOptions, MutationResult, MutationFunction, OnSubscriptionDataOptions, BaseSubscriptionOptions, SubscriptionResult, ApolloContextValue, useQuery, useLazyQuery, useMutation, useSubscription, useApolloClient, QueryOptions, QueryHookOptions, MutationHookOptions, MutationOptions, MutationTuple, SubscriptionHookOptions, SubscriptionOptions, CommonOptions, QueryPreviousData, QueryCurrentObservable, SubscriptionCurrentObservable } from '@apollo/react-common'; | ||
export { Query, Mutation, Subscription, QueryComponentOptions, MutationComponentOptions, SubscriptionComponentOptions } from '@apollo/react-components'; | ||
export { graphql, withQuery, withMutation, withSubscription, withApollo, QueryControls, DataValue, DataProps, MutateProps, ChildProps, ChildDataProps, ChildMutateProps, OptionProps, OperationOption, WithApolloClient } from '@apollo/react-hoc'; | ||
export { useQuery, useLazyQuery, useMutation, useSubscription, useApolloClient, CommonOptions, QueryOptions, QueryHookOptions, QueryPreviousData, QueryCurrentObservable, MutationHookOptions, MutationOptions, MutationTuple, SubscriptionHookOptions, SubscriptionOptions, SubscriptionCurrentObservable } from '@apollo/react-hooks'; | ||
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-ssr'; |
@@ -1,6 +0,5 @@ | ||
export { getApolloContext, resetApolloContext, ApolloProvider, ApolloConsumer } from '@apollo/react-common'; | ||
export { getApolloContext, resetApolloContext, ApolloProvider, ApolloConsumer, useQuery, useLazyQuery, useMutation, useSubscription, useApolloClient } from '@apollo/react-common'; | ||
export { Query, Mutation, Subscription } from '@apollo/react-components'; | ||
export { graphql, withQuery, withMutation, withSubscription, withApollo } from '@apollo/react-hoc'; | ||
export { useQuery, useLazyQuery, useMutation, useSubscription, useApolloClient } from '@apollo/react-hooks'; | ||
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-ssr'; | ||
//# sourceMappingURL=index.js.map |
exports.__esModule = true; | ||
exports.renderToStringWithData = exports.getMarkupFromTree = exports.getDataFromTree = exports.useSubscription = exports.useQuery = exports.useMutation = exports.useLazyQuery = exports.useApolloClient = exports.withSubscription = exports.withQuery = exports.withMutation = exports.withApollo = exports.graphql = exports.Subscription = exports.Query = exports.Mutation = exports.resetApolloContext = exports.getApolloContext = exports.ApolloProvider = exports.ApolloConsumer = void 0; | ||
exports.renderToStringWithData = exports.getMarkupFromTree = exports.getDataFromTree = exports.withSubscription = exports.withQuery = exports.withMutation = exports.withApollo = exports.graphql = exports.Subscription = exports.Query = exports.Mutation = exports.useSubscription = exports.useQuery = exports.useMutation = exports.useLazyQuery = exports.useApolloClient = exports.resetApolloContext = exports.getApolloContext = exports.ApolloProvider = exports.ApolloConsumer = void 0; | ||
@@ -10,2 +10,7 @@ var _reactCommon = require("@apollo/react-common"); | ||
exports.resetApolloContext = _reactCommon.resetApolloContext; | ||
exports.useApolloClient = _reactCommon.useApolloClient; | ||
exports.useLazyQuery = _reactCommon.useLazyQuery; | ||
exports.useMutation = _reactCommon.useMutation; | ||
exports.useQuery = _reactCommon.useQuery; | ||
exports.useSubscription = _reactCommon.useSubscription; | ||
@@ -26,10 +31,2 @@ var _reactComponents = require("@apollo/react-components"); | ||
var _reactHooks = require("@apollo/react-hooks"); | ||
exports.useApolloClient = _reactHooks.useApolloClient; | ||
exports.useLazyQuery = _reactHooks.useLazyQuery; | ||
exports.useMutation = _reactHooks.useMutation; | ||
exports.useQuery = _reactHooks.useQuery; | ||
exports.useSubscription = _reactHooks.useSubscription; | ||
var _reactSsr = require("@apollo/react-ssr"); | ||
@@ -36,0 +33,0 @@ |
@@ -1,1 +0,1 @@ | ||
exports.__esModule=!0,exports.renderToStringWithData=exports.getMarkupFromTree=exports.getDataFromTree=exports.useSubscription=exports.useQuery=exports.useMutation=exports.useLazyQuery=exports.useApolloClient=exports.withSubscription=exports.withQuery=exports.withMutation=exports.withApollo=exports.graphql=exports.Subscription=exports.Query=exports.Mutation=exports.resetApolloContext=exports.getApolloContext=exports.ApolloProvider=exports.ApolloConsumer=void 0;var o=require("@apollo/react-common");exports.ApolloConsumer=o.ApolloConsumer,exports.ApolloProvider=o.ApolloProvider,exports.getApolloContext=o.getApolloContext,exports.resetApolloContext=o.resetApolloContext;var e=require("@apollo/react-components");exports.Mutation=e.Mutation,exports.Query=e.Query,exports.Subscription=e.Subscription;var t=require("@apollo/react-hoc");exports.graphql=t.graphql,exports.withApollo=t.withApollo,exports.withMutation=t.withMutation,exports.withQuery=t.withQuery,exports.withSubscription=t.withSubscription;var r=require("@apollo/react-hooks");exports.useApolloClient=r.useApolloClient,exports.useLazyQuery=r.useLazyQuery,exports.useMutation=r.useMutation,exports.useQuery=r.useQuery,exports.useSubscription=r.useSubscription;var p=require("@apollo/react-ssr");exports.getDataFromTree=p.getDataFromTree,exports.getMarkupFromTree=p.getMarkupFromTree,exports.renderToStringWithData=p.renderToStringWithData; | ||
exports.__esModule=!0,exports.renderToStringWithData=exports.getMarkupFromTree=exports.getDataFromTree=exports.withSubscription=exports.withQuery=exports.withMutation=exports.withApollo=exports.graphql=exports.Subscription=exports.Query=exports.Mutation=exports.useSubscription=exports.useQuery=exports.useMutation=exports.useLazyQuery=exports.useApolloClient=exports.resetApolloContext=exports.getApolloContext=exports.ApolloProvider=exports.ApolloConsumer=void 0;var e=require("@apollo/react-common");exports.ApolloConsumer=e.ApolloConsumer,exports.ApolloProvider=e.ApolloProvider,exports.getApolloContext=e.getApolloContext,exports.resetApolloContext=e.resetApolloContext,exports.useApolloClient=e.useApolloClient,exports.useLazyQuery=e.useLazyQuery,exports.useMutation=e.useMutation,exports.useQuery=e.useQuery,exports.useSubscription=e.useSubscription;var o=require("@apollo/react-components");exports.Mutation=o.Mutation,exports.Query=o.Query,exports.Subscription=o.Subscription;var t=require("@apollo/react-hoc");exports.graphql=t.graphql,exports.withApollo=t.withApollo,exports.withMutation=t.withMutation,exports.withQuery=t.withQuery,exports.withSubscription=t.withSubscription;var r=require("@apollo/react-ssr");exports.getDataFromTree=r.getDataFromTree,exports.getMarkupFromTree=r.getMarkupFromTree,exports.renderToStringWithData=r.renderToStringWithData; |
@@ -1,6 +0,5 @@ | ||
export { ApolloConsumer, ApolloProvider, getApolloContext, resetApolloContext } from '@apollo/react-common'; | ||
export { ApolloConsumer, ApolloProvider, getApolloContext, resetApolloContext, useApolloClient, useLazyQuery, useMutation, useQuery, useSubscription } from '@apollo/react-common'; | ||
export { Mutation, Query, Subscription } from '@apollo/react-components'; | ||
export { graphql, withApollo, withMutation, withQuery, withSubscription } from '@apollo/react-hoc'; | ||
export { useApolloClient, useLazyQuery, useMutation, useQuery, useSubscription } from '@apollo/react-hooks'; | ||
export { getDataFromTree, getMarkupFromTree, renderToStringWithData } from '@apollo/react-ssr'; | ||
//# sourceMappingURL=react-apollo.esm.js.map |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(["exports", "@apollo/react-common", "@apollo/react-components", "@apollo/react-hoc", "@apollo/react-hooks", "@apollo/react-ssr"], factory); | ||
define(["exports", "@apollo/react-common", "@apollo/react-components", "@apollo/react-hoc", "@apollo/react-ssr"], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require("@apollo/react-common"), require("@apollo/react-components"), require("@apollo/react-hoc"), require("@apollo/react-hooks"), require("@apollo/react-ssr")); | ||
factory(exports, require("@apollo/react-common"), require("@apollo/react-components"), require("@apollo/react-hoc"), require("@apollo/react-ssr")); | ||
} else { | ||
@@ -10,9 +10,9 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.reactCommon, global.reactComponents, global.reactHoc, global.reactHooks, global.reactSsr); | ||
factory(mod.exports, global.reactCommon, global.reactComponents, global.reactHoc, global.reactSsr); | ||
global.unknown = mod.exports; | ||
} | ||
})(this, function (_exports, _reactCommon, _reactComponents, _reactHoc, _reactHooks, _reactSsr) { | ||
})(this, function (_exports, _reactCommon, _reactComponents, _reactHoc, _reactSsr) { | ||
_exports.__esModule = true; | ||
_exports.renderToStringWithData = _exports.getMarkupFromTree = _exports.getDataFromTree = _exports.useSubscription = _exports.useQuery = _exports.useMutation = _exports.useLazyQuery = _exports.useApolloClient = _exports.withSubscription = _exports.withQuery = _exports.withMutation = _exports.withApollo = _exports.graphql = _exports.Subscription = _exports.Query = _exports.Mutation = _exports.resetApolloContext = _exports.getApolloContext = _exports.ApolloProvider = _exports.ApolloConsumer = void 0; | ||
_exports.renderToStringWithData = _exports.getMarkupFromTree = _exports.getDataFromTree = _exports.withSubscription = _exports.withQuery = _exports.withMutation = _exports.withApollo = _exports.graphql = _exports.Subscription = _exports.Query = _exports.Mutation = _exports.useSubscription = _exports.useQuery = _exports.useMutation = _exports.useLazyQuery = _exports.useApolloClient = _exports.resetApolloContext = _exports.getApolloContext = _exports.ApolloProvider = _exports.ApolloConsumer = void 0; | ||
_exports.ApolloConsumer = _reactCommon.ApolloConsumer; | ||
@@ -22,2 +22,7 @@ _exports.ApolloProvider = _reactCommon.ApolloProvider; | ||
_exports.resetApolloContext = _reactCommon.resetApolloContext; | ||
_exports.useApolloClient = _reactCommon.useApolloClient; | ||
_exports.useLazyQuery = _reactCommon.useLazyQuery; | ||
_exports.useMutation = _reactCommon.useMutation; | ||
_exports.useQuery = _reactCommon.useQuery; | ||
_exports.useSubscription = _reactCommon.useSubscription; | ||
_exports.Mutation = _reactComponents.Mutation; | ||
@@ -31,7 +36,2 @@ _exports.Query = _reactComponents.Query; | ||
_exports.withSubscription = _reactHoc.withSubscription; | ||
_exports.useApolloClient = _reactHooks.useApolloClient; | ||
_exports.useLazyQuery = _reactHooks.useLazyQuery; | ||
_exports.useMutation = _reactHooks.useMutation; | ||
_exports.useQuery = _reactHooks.useQuery; | ||
_exports.useSubscription = _reactHooks.useSubscription; | ||
_exports.getDataFromTree = _reactSsr.getDataFromTree; | ||
@@ -38,0 +38,0 @@ _exports.getMarkupFromTree = _reactSsr.getMarkupFromTree; |
{ | ||
"name": "react-apollo", | ||
"description": "React Apollo Hooks, Components, and HOC.", | ||
"version": "3.1.1", | ||
"version": "3.2.0-alpha.0", | ||
"author": "opensource@apollographql.com", | ||
@@ -33,7 +33,6 @@ "keywords": [ | ||
"predeploy": "npm run build", | ||
"deploy": "npm publish" | ||
"deploy": "npm publish --tag alpha" | ||
}, | ||
"peerDependencies": { | ||
"@types/react": "^16.8.0", | ||
"apollo-client": "^2.6.4", | ||
"graphql": "^14.3.1", | ||
@@ -43,8 +42,11 @@ "react": "^16.8.0", | ||
}, | ||
"devDependencies": { | ||
"rollup": "1.21.4", | ||
"typescript": "3.6.3" | ||
}, | ||
"dependencies": { | ||
"@apollo/react-common": "^3.1.1", | ||
"@apollo/react-components": "^3.1.1", | ||
"@apollo/react-hoc": "^3.1.1", | ||
"@apollo/react-hooks": "^3.1.1", | ||
"@apollo/react-ssr": "^3.1.1" | ||
"@apollo/react-common": "^3.2.0-alpha.0", | ||
"@apollo/react-components": "^3.2.0-alpha.0", | ||
"@apollo/react-hoc": "^3.2.0-alpha.0", | ||
"@apollo/react-ssr": "^3.2.0-alpha.0" | ||
}, | ||
@@ -57,7 +59,3 @@ "files": [ | ||
}, | ||
"devDependencies": { | ||
"rollup": "1.20.3", | ||
"typescript": "3.5.3" | ||
}, | ||
"gitHead": "1ad1e76c298b8c8ff9a49c03a8dec4b1da812625" | ||
"gitHead": "d6a6c693cde6dcd9cc9845d53daff0d73951ddca" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
8
12105
85
3
+ Added@apollo/client@3.12.3(transitive)
+ Added@apollo/react-common@3.2.0-beta.1(transitive)
+ Added@apollo/react-components@3.2.0-beta.1(transitive)
+ Added@apollo/react-hoc@3.2.0-beta.1(transitive)
+ Added@apollo/react-ssr@3.2.0-beta.1(transitive)
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
+ Added@wry/caches@1.0.1(transitive)
+ Added@wry/context@0.7.4(transitive)
+ Added@wry/equality@0.5.7(transitive)
+ Added@wry/trie@0.5.0(transitive)
+ Addedgraphql@16.10.0(transitive)
+ Addedgraphql-tag@2.12.6(transitive)
+ Addedoptimism@0.18.1(transitive)
+ Addedrehackt@0.1.0(transitive)
+ Addedresponse-iterator@0.2.6(transitive)
+ Addedsymbol-observable@4.0.0(transitive)
+ Addedts-invariant@0.10.3(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedzen-observable-ts@1.2.5(transitive)
- Removed@apollo/react-hooks@^3.1.1
- Removed@apollo/react-common@3.1.4(transitive)
- Removed@apollo/react-components@3.1.5(transitive)
- Removed@apollo/react-hoc@3.1.5(transitive)
- Removed@apollo/react-hooks@3.1.5(transitive)
- Removed@apollo/react-ssr@3.1.5(transitive)
- Removed@types/zen-observable@0.8.7(transitive)
- Removed@wry/equality@0.1.11(transitive)
- Removedapollo-cache@1.3.5(transitive)
- Removedapollo-client@2.6.10(transitive)
- Removedapollo-link@1.2.14(transitive)
- Removedapollo-utilities@1.3.4(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedsymbol-observable@1.2.0(transitive)
- Removedzen-observable-ts@0.8.21(transitive)