New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-relay

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-relay - npm Package Compare versions

Comparing version 7.0.12 to 7.0.13

react-relay/lib/relay-experimental/loadQuery.d.ts

2

react-relay/lib/hooks.d.ts

@@ -10,2 +10,4 @@ export { graphql } from 'relay-runtime';

export { loadQuery } from './relay-experimental/loadQuery';
export { preloadQuery } from './relay-experimental/preloadQuery';

@@ -12,0 +14,0 @@ export { prepareEntryPoint } from './relay-experimental/prepareEntryPoint';

@@ -36,15 +36,49 @@ import {

export interface PreloadedQuery<
export type PreloadedQuery<
TQuery extends OperationType,
TEnvironmentProviderOptions = EnvironmentProviderOptions
> {
readonly environment: IEnvironment;
readonly environmentProviderOptions: TEnvironmentProviderOptions | null | undefined;
readonly fetchKey: string | number | null | undefined;
readonly fetchPolicy: PreloadFetchPolicy;
readonly name: string;
readonly source: Observable<GraphQLResponse> | null | undefined;
readonly variables: TQuery['variables'];
}
> =
| PreloadedQueryInner_DEPRECATED<TQuery, TEnvironmentProviderOptions>
| PreloadedQueryInner<TQuery, TEnvironmentProviderOptions>;
export type PreloadedQueryInner_DEPRECATED<
TQuery extends OperationType,
TEnvironmentProviderOptions = EnvironmentProviderOptions
> = Readonly<{
kind: 'PreloadedQuery_DEPRECATED',
environment: IEnvironment;
environmentProviderOptions?: TEnvironmentProviderOptions | null;
fetchKey?: string | number | null;
fetchPolicy: PreloadFetchPolicy;
networkCacheConfig?: CacheConfig | null,
id?: string | null
name: string;
source?: Observable<GraphQLResponse> | null;
variables: TQuery['variables'];
status: PreloadQueryStatus
}>;
export type PreloadedQueryInner<
TQuery extends OperationType,
TEnvironmentProviderOptions = EnvironmentProviderOptions
> = Readonly<{
dispose: () => void;
environment: IEnvironment;
environmentProviderOptions?: TEnvironmentProviderOptions | null;
fetchPolicy: PreloadFetchPolicy;
id?: string | null;
isDisposed: boolean;
name: string;
networkCacheConfig?: CacheConfig | null;
source?: Observable<GraphQLResponse> | null;
kind: 'PreloadedQuery';
variables: TQuery['variables']
}>;
export type PreloadQueryStatus = Readonly<{
cacheConfig?: CacheConfig | null,
source: 'cache' | 'network',
fetchTime?: number | null,
}>;
/**

@@ -51,0 +85,0 @@ * The Interface of the EntryPoints .entrypoint files

4

react-relay/package.json
{
"name": "@types/react-relay",
"version": "7.0.12",
"version": "7.0.13",
"description": "TypeScript definitions for react-relay",

@@ -80,4 +80,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "b5b4c440966f82b3e208e7d41806206d2ddc6db95e8373d2a9ff1136db8e53b5",
"typesPublisherContentHash": "fccbdcb562f6349224c89bdbaf5d53f2a2506864050c58969b7cb58823540048",
"typeScriptVersion": "3.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 29 Sep 2020 10:37:56 GMT
* Last updated: Thu, 08 Oct 2020 12:17:14 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/relay-runtime](https://npmjs.com/package/@types/relay-runtime)

@@ -14,0 +14,0 @@ * Global values: none

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