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

@pothos/core

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pothos/core - npm Package Compare versions

Comparing version 3.31.2 to 3.32.0

6

CHANGELOG.md
# Change Log
## 3.32.0
### Minor Changes
- be23f48d: Fix issue with inputRef not serializing symbols correctly
## 3.31.2

@@ -4,0 +10,0 @@

6

dts/types/utils.d.ts

@@ -32,7 +32,7 @@ export type MaybePromise<T> = Promise<T> | T;

};
export type RecursivelyNormalizeNullableFields<T> = undefined extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : null extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : T extends (infer L)[] ? RecursivelyNormalizeNullableFields<L>[] : T extends (...args: any[]) => unknown ? T : T extends object ? Normalize<{
[K in OptionalKeys<T>]?: RecursivelyNormalizeNullableFields<NonNullable<T[K]>> | null | undefined;
export type RecursivelyNormalizeNullableFields<T> = undefined extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : null extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : T extends (infer L)[] ? RecursivelyNormalizeNullableFields<L>[] : T extends (...args: any[]) => unknown ? T : keyof T extends string ? T extends object ? Normalize<{
[K in OptionalKeys<T>]?: K extends string ? RecursivelyNormalizeNullableFields<NonNullable<T[K]>> | null | undefined : T[K];
} & {
[K in RequiredKeys<T>]: RecursivelyNormalizeNullableFields<NonNullable<T[K]>>;
}> : T;
}> : T : T;
export type RemoveNeverKeys<T extends {}> = {

@@ -39,0 +39,0 @@ [K in keyof T as [T[K]] extends [never] ? never : K]: T[K];

@@ -32,7 +32,7 @@ export type MaybePromise<T> = Promise<T> | T;

};
export type RecursivelyNormalizeNullableFields<T> = undefined extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : null extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : T extends (infer L)[] ? RecursivelyNormalizeNullableFields<L>[] : T extends (...args: any[]) => unknown ? T : T extends object ? Normalize<{
[K in OptionalKeys<T>]?: RecursivelyNormalizeNullableFields<NonNullable<T[K]>> | null | undefined;
export type RecursivelyNormalizeNullableFields<T> = undefined extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : null extends T ? RecursivelyNormalizeNullableFields<NonNullable<T>> | null | undefined : T extends (infer L)[] ? RecursivelyNormalizeNullableFields<L>[] : T extends (...args: any[]) => unknown ? T : keyof T extends string ? T extends object ? Normalize<{
[K in OptionalKeys<T>]?: K extends string ? RecursivelyNormalizeNullableFields<NonNullable<T[K]>> | null | undefined : T[K];
} & {
[K in RequiredKeys<T>]: RecursivelyNormalizeNullableFields<NonNullable<T[K]>>;
}> : T;
}> : T : T;
export type RemoveNeverKeys<T extends {}> = {

@@ -39,0 +39,0 @@ [K in keyof T as [

{
"name": "@pothos/core",
"version": "3.31.2",
"version": "3.32.0",
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -57,13 +57,14 @@ export type MaybePromise<T> = Promise<T> | T;

? T
: T extends object
? Normalize<
{
[K in OptionalKeys<T>]?:
| RecursivelyNormalizeNullableFields<NonNullable<T[K]>>
| null
| undefined;
} & {
[K in RequiredKeys<T>]: RecursivelyNormalizeNullableFields<NonNullable<T[K]>>;
}
>
: keyof T extends string
? T extends object
? Normalize<
{
[K in OptionalKeys<T>]?: K extends string
? RecursivelyNormalizeNullableFields<NonNullable<T[K]>> | null | undefined
: T[K];
} & {
[K in RequiredKeys<T>]: RecursivelyNormalizeNullableFields<NonNullable<T[K]>>;
}
>
: T
: T;

@@ -70,0 +71,0 @@

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