Huge News!Announcing our $40M Series B led by Abstract Ventures.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.30 to 7.0.31

10

react-relay v7.0/lib/relay-experimental/EntryPointTypes.d.ts

@@ -10,3 +10,3 @@ import { ComponentType } from "react";

OperationType,
RequestParameters,
PreloadableConcreteRequest,
VariablesOf,

@@ -40,10 +40,2 @@ } from "relay-runtime";

// Note: the phantom type parameter here helps ensures that the
// $Parameters.js value matches the type param provided to preloadQuery.
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
export type PreloadableConcreteRequest<TQuery extends OperationType> = {
kind: "PreloadableConcreteRequest";
params: RequestParameters;
};
export type EnvironmentProviderOptions<T extends Record<string, unknown> = Record<string, unknown>> = T;

@@ -50,0 +42,0 @@

9

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

@@ -1,8 +0,3 @@

import { GraphQLTaggedNode, IEnvironment, OperationType, VariablesOf } from "relay-runtime";
import {
EnvironmentProviderOptions,
LoadQueryOptions,
PreloadableConcreteRequest,
PreloadedQuery,
} from "./EntryPointTypes";
import { GraphQLTaggedNode, IEnvironment, OperationType, PreloadableConcreteRequest, VariablesOf } from "relay-runtime";
import { EnvironmentProviderOptions, LoadQueryOptions, PreloadedQuery } from "./EntryPointTypes";

@@ -9,0 +4,0 @@ export function loadQuery<

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

import { DisposeFn, GraphQLTaggedNode, OperationType, VariablesOf } from "relay-runtime";
import { LoadQueryOptions, PreloadableConcreteRequest, PreloadedQuery } from "./EntryPointTypes";
import { DisposeFn, GraphQLTaggedNode, OperationType, PreloadableConcreteRequest, VariablesOf } from "relay-runtime";
import { LoadQueryOptions, PreloadedQuery } from "./EntryPointTypes";

@@ -4,0 +4,0 @@ export type useQueryLoaderHookType<TQuery extends OperationType> = [

{
"name": "@types/react-relay",
"version": "7.0.30",
"version": "7.0.31",
"description": "TypeScript definitions for react-relay",

@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-relay",

},
"typesPublisherContentHash": "e076674361add57438321f87020f398c89c8505f508fdaeaefbd3cda87a4a236",
"typeScriptVersion": "4.5"
"typesPublisherContentHash": "82e94bdc9827ccec8606cc676b4a92b8c381bce19787c925edde8a104f011e85",
"typeScriptVersion": "4.6"
}

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

### Additional Details
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT
* Last updated: Thu, 11 Jan 2024 11:35:30 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/relay-runtime](https://npmjs.com/package/@types/relay-runtime)

@@ -14,0 +14,0 @@

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