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

@shopify/react-graphql

Package Overview
Dependencies
Maintainers
27
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-graphql - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

2

build/ts/ApolloProvider.d.ts
import React from 'react';
import { ApolloClient } from '@apollo/client';
import type { ApolloClient } from '@apollo/client';
export interface Props<CacheShape> {

@@ -4,0 +4,0 @@ readonly client: ApolloClient<CacheShape>;

import type { AsyncQueryComponentType } from '../types';
import { Options } from './query';
import type { Options } from './query';
export declare function createAsyncQueryComponent<Data extends {}, Variables extends {}, DeepPartial extends {}>(options: Options<Data, Variables, DeepPartial>): AsyncQueryComponentType<Data, Variables, DeepPartial>;
//# sourceMappingURL=component.d.ts.map
import type { DocumentNode } from 'graphql-typed';
import { ResolverOptions } from '@shopify/async';
import type { ResolverOptions } from '@shopify/async';
import type { AsyncDocumentNode } from '../types';

@@ -4,0 +4,0 @@ export interface Options<Data, Variables, DeepPartial> extends ResolverOptions<DocumentNode<Data, Variables, DeepPartial>> {

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

import { OperationVariables } from '@apollo/client';
import type { OperationVariables } from '@apollo/client';
import type { DocumentNode } from 'graphql-typed';

@@ -3,0 +3,0 @@ import type { IfAllNullableKeys, NoInfer } from '@shopify/useful-types';

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

import { ApolloLink, Operation, NextLink } from '@apollo/client';
import type { Operation, NextLink } from '@apollo/client';
import { ApolloLink } from '@apollo/client';
export declare function createSsrExtractableLink(): SsrExtractableLink;

@@ -3,0 +4,0 @@ export declare class SsrExtractableLink extends ApolloLink {

/// <reference types="react" />
import type { OperationVariables } from '@apollo/client';
import type { DocumentNode } from 'graphql-typed';
import { QueryHookResult, QueryHookOptions } from './hooks';
import type { QueryHookResult, QueryHookOptions } from './hooks';
interface QueryComponentOptions<Data, Variables> extends QueryHookOptions {

@@ -6,0 +6,0 @@ children: (result: QueryHookResult<Data, Variables>) => JSX.Element | null;

{
"name": "@shopify/react-graphql",
"version": "10.0.0",
"version": "10.0.1",
"license": "MIT",

@@ -28,13 +28,13 @@ "description": "Tools for creating type-safe and asynchronous GraphQL components for React",

"@apollo/client": "^3.5.8",
"@shopify/async": "^4.0.2",
"@shopify/react-async": "^5.2.1",
"@shopify/async": "^4.0.3",
"@shopify/react-async": "^5.2.2",
"@shopify/react-effect": "^5.0.3",
"@shopify/react-hooks": "^3.0.3",
"@shopify/react-idle": "^3.1.1",
"@shopify/useful-types": "^5.1.1",
"graphql-typed": "^2.0.1",
"@shopify/react-hooks": "^3.0.4",
"@shopify/react-idle": "^3.1.2",
"@shopify/useful-types": "^5.1.2",
"graphql-typed": "^2.0.2",
"fast-deep-equal": "^3.1.3"
},
"devDependencies": {
"@shopify/react-testing": "^5.1.1"
"@shopify/react-testing": "^5.1.2"
},

@@ -41,0 +41,0 @@ "files": [

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

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

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