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

@shopify/react-graphql

Package Overview
Dependencies
Maintainers
19
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 0.0.0-snapshot-20220802200234 to 0.0.0-snapshot-20220804203601

15

build/cjs/links.js

@@ -37,13 +37,10 @@ 'use strict';

this.operations.add(promise);
return new apolloLink.Observable(observer => {
return nextLink(operation).subscribe({
complete() {
observer.complete();
operationDone();
},
const observable = nextLink(operation);
observable.subscribe({
complete() {
operationDone();
}
next: observer.next.bind(observer),
error: observer.error.bind(observer)
});
});
return observable;
}

@@ -50,0 +47,0 @@

4

build/ts/links.d.ts

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

import { ApolloLink, Operation, NextLink, Observable, FetchResult } from 'apollo-link';
import { ApolloLink, Operation, NextLink } from 'apollo-link';
export declare function createSsrExtractableLink(): SsrExtractableLink;

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

resolveAll<T>(then: () => T): Promise<T> | T;
request(operation: Operation, nextLink?: NextLink): Observable<FetchResult<{
request(operation: Operation, nextLink?: NextLink): import("apollo-link").Observable<import("apollo-link").FetchResult<{
[key: string]: any;

@@ -9,0 +9,0 @@ }, Record<string, any>, Record<string, any>>>;

{
"name": "@shopify/react-graphql",
"version": "0.0.0-snapshot-20220802200234",
"version": "0.0.0-snapshot-20220804203601",
"license": "MIT",

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

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