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 4.0.0-beta.0 to 4.0.0-beta.1

2

lib/index.d.ts

@@ -1,4 +0,4 @@

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 * 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 { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-ssr';

@@ -1,2 +0,2 @@

export { getApolloContext, resetApolloContext, ApolloProvider, ApolloConsumer, useQuery, useLazyQuery, useMutation, useSubscription, useApolloClient } from '@apollo/react-common';
export * from '@apollo/react-common';
export { Query, Mutation, Subscription } from '@apollo/react-components';

@@ -3,0 +3,0 @@ export { graphql, withQuery, withMutation, withSubscription, withApollo } from '@apollo/react-hoc';

exports.__esModule = true;
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 _exportNames = {
Mutation: true,
Query: true,
Subscription: true,
graphql: true,
withApollo: true,
withMutation: true,
withQuery: true,
withSubscription: true,
getDataFromTree: true,
getMarkupFromTree: true,
renderToStringWithData: true
};
exports.renderToStringWithData = exports.getMarkupFromTree = exports.getDataFromTree = exports.withSubscription = exports.withQuery = exports.withMutation = exports.withApollo = exports.graphql = exports.Subscription = exports.Query = exports.Mutation = void 0;
var _reactCommon = require("@apollo/react-common");
exports.ApolloConsumer = _reactCommon.ApolloConsumer;
exports.ApolloProvider = _reactCommon.ApolloProvider;
exports.getApolloContext = _reactCommon.getApolloContext;
exports.resetApolloContext = _reactCommon.resetApolloContext;
exports.useApolloClient = _reactCommon.useApolloClient;
exports.useLazyQuery = _reactCommon.useLazyQuery;
exports.useMutation = _reactCommon.useMutation;
exports.useQuery = _reactCommon.useQuery;
exports.useSubscription = _reactCommon.useSubscription;
Object.keys(_reactCommon).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _reactCommon[key];
});

@@ -16,0 +25,0 @@ var _reactComponents = require("@apollo/react-components");

@@ -1,1 +0,1 @@

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;
exports.__esModule=!0;var t={Mutation:!0,Query:!0,Subscription:!0,graphql:!0,withApollo:!0,withMutation:!0,withQuery:!0,withSubscription:!0,getDataFromTree:!0,getMarkupFromTree:!0,renderToStringWithData:!0};exports.renderToStringWithData=exports.getMarkupFromTree=exports.getDataFromTree=exports.withSubscription=exports.withQuery=exports.withMutation=exports.withApollo=exports.graphql=exports.Subscription=exports.Query=exports.Mutation=void 0;var r=require("@apollo/react-common");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(t,e)||(exports[e]=r[e]))}));var e=require("@apollo/react-components");exports.Mutation=e.Mutation,exports.Query=e.Query,exports.Subscription=e.Subscription;var o=require("@apollo/react-hoc");exports.graphql=o.graphql,exports.withApollo=o.withApollo,exports.withMutation=o.withMutation,exports.withQuery=o.withQuery,exports.withSubscription=o.withSubscription;var i=require("@apollo/react-ssr");exports.getDataFromTree=i.getDataFromTree,exports.getMarkupFromTree=i.getMarkupFromTree,exports.renderToStringWithData=i.renderToStringWithData;

@@ -1,2 +0,2 @@

export { ApolloConsumer, ApolloProvider, getApolloContext, resetApolloContext, useApolloClient, useLazyQuery, useMutation, useQuery, useSubscription } from '@apollo/react-common';
export * from '@apollo/react-common';
export { Mutation, Query, Subscription } from '@apollo/react-components';

@@ -3,0 +3,0 @@ export { graphql, withApollo, withMutation, withQuery, withSubscription } from '@apollo/react-hoc';

{
"name": "react-apollo",
"description": "React Apollo Hooks, Components, and HOC.",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"author": "opensource@apollographql.com",

@@ -46,6 +46,7 @@ "keywords": [

"dependencies": {
"@apollo/react-common": "^4.0.0-beta.0",
"@apollo/react-components": "^4.0.0-beta.0",
"@apollo/react-hoc": "^4.0.0-beta.0",
"@apollo/react-ssr": "^4.0.0-beta.0"
"@apollo/react-common": "^4.0.0-beta.1",
"@apollo/react-components": "^4.0.0-beta.1",
"@apollo/react-hoc": "^4.0.0-beta.1",
"@apollo/react-hooks": "^4.0.0-beta.1",
"@apollo/react-ssr": "^4.0.0-beta.1"
},

@@ -58,3 +59,3 @@ "files": [

},
"gitHead": "e7c599ebad00ddf93200e661d4a4c7ecec5148d5"
"gitHead": "b6fe58531562801507b4dc1139744f07ed45ac17"
}

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