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 3.1.1 to 3.2.0-alpha.0

3

lib/index.d.ts

@@ -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

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