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

@apollo/react-hoc

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/react-hoc - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.3

2

lib/index.d.ts

@@ -6,2 +6,4 @@ export { graphql } from './graphql';

export { withApollo } from './withApollo';
export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext } from '@apollo/react-common';
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-components';
export * from './types';

@@ -6,2 +6,4 @@ export { graphql } from './graphql';

export { withApollo } from './withApollo';
export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext } from '@apollo/react-common';
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-components';
//# sourceMappingURL=index.js.map

@@ -292,2 +292,44 @@ 'use strict';

Object.defineProperty(exports, 'ApolloConsumer', {
enumerable: true,
get: function () {
return reactCommon.ApolloConsumer;
}
});
Object.defineProperty(exports, 'ApolloProvider', {
enumerable: true,
get: function () {
return reactCommon.ApolloProvider;
}
});
Object.defineProperty(exports, 'getApolloContext', {
enumerable: true,
get: function () {
return reactCommon.getApolloContext;
}
});
Object.defineProperty(exports, 'resetApolloContext', {
enumerable: true,
get: function () {
return reactCommon.resetApolloContext;
}
});
Object.defineProperty(exports, 'getDataFromTree', {
enumerable: true,
get: function () {
return reactComponents.getDataFromTree;
}
});
Object.defineProperty(exports, 'getMarkupFromTree', {
enumerable: true,
get: function () {
return reactComponents.getMarkupFromTree;
}
});
Object.defineProperty(exports, 'renderToStringWithData', {
enumerable: true,
get: function () {
return reactComponents.renderToStringWithData;
}
});
exports.graphql = graphql;

@@ -294,0 +336,0 @@ exports.withApollo = withApollo;

import { parser, DocumentType, ApolloConsumer } from '@apollo/react-common';
export { ApolloConsumer, ApolloProvider, getApolloContext, resetApolloContext } from '@apollo/react-common';
import { __extends, __assign, __rest } from 'tslib';

@@ -6,2 +7,3 @@ import React from 'react';

import { Query, Mutation, Subscription } from '@apollo/react-components';
export { getDataFromTree, getMarkupFromTree, renderToStringWithData } from '@apollo/react-components';
import { invariant } from 'ts-invariant';

@@ -8,0 +10,0 @@

@@ -288,2 +288,44 @@ (function (global, factory) {

Object.defineProperty(exports, 'ApolloConsumer', {
enumerable: true,
get: function () {
return reactCommon.ApolloConsumer;
}
});
Object.defineProperty(exports, 'ApolloProvider', {
enumerable: true,
get: function () {
return reactCommon.ApolloProvider;
}
});
Object.defineProperty(exports, 'getApolloContext', {
enumerable: true,
get: function () {
return reactCommon.getApolloContext;
}
});
Object.defineProperty(exports, 'resetApolloContext', {
enumerable: true,
get: function () {
return reactCommon.resetApolloContext;
}
});
Object.defineProperty(exports, 'getDataFromTree', {
enumerable: true,
get: function () {
return reactComponents.getDataFromTree;
}
});
Object.defineProperty(exports, 'getMarkupFromTree', {
enumerable: true,
get: function () {
return reactComponents.getMarkupFromTree;
}
});
Object.defineProperty(exports, 'renderToStringWithData', {
enumerable: true,
get: function () {
return reactComponents.renderToStringWithData;
}
});
exports.graphql = graphql;

@@ -290,0 +332,0 @@ exports.withApollo = withApollo;

6

package.json
{
"name": "@apollo/react-hoc",
"description": "React Apollo `graphql` higher-order component.",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.3",
"author": "opensource@apollographql.com",

@@ -38,3 +38,3 @@ "keywords": [

"@apollo/react-common": "^0.1.0-beta.5",
"@apollo/react-components": "^0.1.0-beta.2",
"@apollo/react-components": "^0.1.0-beta.3",
"ts-invariant": "^0.4.2",

@@ -49,3 +49,3 @@ "tslib": "^1.9.3"

},
"gitHead": "5c3632c2db18a93173c00933fd1ad6cc88da8ed2"
"gitHead": "15dea607a6caf71c0902c788fba43b323aabe12f"
}

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