From b732f4595b2619cc0f0c23e69e8316f37e29713b Mon Sep 17 00:00:00 2001 From: Jason Kuhrt Date: Fri, 1 Nov 2024 21:18:55 -0400 Subject: [PATCH] fix: remove reference to type-fest closes #1249 --- package.json | 2 +- pnpm-lock.yaml | 89 ---------------------------------------------- src/lib/prelude.ts | 4 --- 3 files changed, 1 insertion(+), 94 deletions(-) diff --git a/package.json b/package.json index 57465b4af..109d40ebb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-request", - "version": "7.1.1", + "version": "7.1.2", "packageManager": "pnpm@9.4.0", "type": "module", "main": "./build/entrypoints/main.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1e1728de..c1dbdd256 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,18 +8,9 @@ importers: .: dependencies: - '@dprint/formatter': - specifier: ^0.3.0 - version: 0.3.0 - '@dprint/typescript': - specifier: ^0.91.1 - version: 0.91.1 '@graphql-typed-document-node/core': specifier: ^3.2.0 version: 3.2.0(graphql@16.9.0) - dprint: - specifier: ^0.46.2 - version: 0.46.2 devDependencies: '@arethetypeswrong/cli': specifier: ^0.15.3 @@ -210,47 +201,6 @@ packages: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} - '@dprint/darwin-arm64@0.46.2': - resolution: {integrity: sha512-IA/VIWwmIJ4a9rLB0paU0ryXFHRV+NHyWykDa4F+3WgbyXVlv1PVncW5wgfZJ38wQM8FDfPUO2Ar8+Nkx8Fkfg==} - cpu: [arm64] - os: [darwin] - - '@dprint/darwin-x64@0.46.2': - resolution: {integrity: sha512-YMY40MsN1CL/8fGPcZaA/3KeE09GHt7y4ZRJGCw8Cx7AjZ3P+SlNxL6X9v72eXUfotzudcZc5yC72tdUFaN7oA==} - cpu: [x64] - os: [darwin] - - '@dprint/formatter@0.3.0': - resolution: {integrity: sha512-N9fxCxbaBOrDkteSOzaCqwWjso5iAe+WJPsHC021JfHNj2ThInPNEF13ORDKta3llq5D1TlclODCvOvipH7bWQ==} - - '@dprint/linux-arm64-glibc@0.46.2': - resolution: {integrity: sha512-brllu3G7nPV5GQTHnDF54ihGwgWHxRr03EQI0Mbbif94P/jl+Dqf9I6qWBSDVt/zQTThY1aYIZt+mpblD4oXZQ==} - cpu: [arm64] - os: [linux] - - '@dprint/linux-arm64-musl@0.46.2': - resolution: {integrity: sha512-+9pF6qmSMobvtlTk/PnyqYE66nlwyrg7TeJb+RhqAT3y40v8TT4XafdK5p5GOrC1qf1QV4PCLAuOrHAKaYLNqg==} - cpu: [arm64] - os: [linux] - - '@dprint/linux-x64-glibc@0.46.2': - resolution: {integrity: sha512-iq0WfIyLrxaE0PVXw89FKwC2VIbo3Hb6PscEVtzWDOpm/bmURXs5JIjRFpAaGfwCZcwzds70bb7utT5ItgZtlA==} - cpu: [x64] - os: [linux] - - '@dprint/linux-x64-musl@0.46.2': - resolution: {integrity: sha512-Ins2SD0v5Q61b6WIcxnsoHT84E+kyiUjjespxcWzqLrXdPgy8ATLMfcx1vHS4ALD687+PkwCgPF8N2jK66Md6A==} - cpu: [x64] - os: [linux] - - '@dprint/typescript@0.91.1': - resolution: {integrity: sha512-BX3TneRLf3OuO/3tsxbseHqWbpCPOOb2vOm9OlKgSYIKqOsCHpz5kWx5iDuGrNwxWWMKife/1ccz87I5tBLaNA==} - - '@dprint/win32-x64@0.46.2': - resolution: {integrity: sha512-4msLVoyMppU5yPlxnCU0ibk6ahSQs1vcc7ToJkOi3LiCqu/KU+hYk2+bwqiZaQ1usi24iA9AIB+aBVA6X3VDXg==} - cpu: [x64] - os: [win32] - '@es-joy/jsdoccomment@0.4.4': resolution: {integrity: sha512-ua4qDt9dQb4qt5OI38eCZcQZYE5Bq3P0GzgvDARdT8Lt0mAUpxKTPy8JGGqEvF77tG1irKDZ3WreeezEa3P43w==} engines: {node: '>=10.0.0'} @@ -1377,10 +1327,6 @@ packages: domutils@2.8.0: resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} - dprint@0.46.2: - resolution: {integrity: sha512-wjbOghUDqy4gNgW2TNkGOBCAfxwkWBUAyCEkqFZbrBKTGZ1DVbHB1YZOTwVlQNIcDcLWTZQz2AnIK1HjQC/rIQ==} - hasBin: true - dripip@0.10.0: resolution: {integrity: sha512-FaHkW6uXAa57pJwz+SRxTvTDiybSH9w4PGWXkheoIPNs4HcHM688rfsKzvedoaLvQul4UaAoRr+2CHc7V25biA==} hasBin: true @@ -3459,31 +3405,6 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@dprint/darwin-arm64@0.46.2': - optional: true - - '@dprint/darwin-x64@0.46.2': - optional: true - - '@dprint/formatter@0.3.0': {} - - '@dprint/linux-arm64-glibc@0.46.2': - optional: true - - '@dprint/linux-arm64-musl@0.46.2': - optional: true - - '@dprint/linux-x64-glibc@0.46.2': - optional: true - - '@dprint/linux-x64-musl@0.46.2': - optional: true - - '@dprint/typescript@0.91.1': {} - - '@dprint/win32-x64@0.46.2': - optional: true - '@es-joy/jsdoccomment@0.4.4': dependencies: comment-parser: 1.1.5 @@ -4734,16 +4655,6 @@ snapshots: domelementtype: 2.3.0 domhandler: 4.3.1 - dprint@0.46.2: - optionalDependencies: - '@dprint/darwin-arm64': 0.46.2 - '@dprint/darwin-x64': 0.46.2 - '@dprint/linux-arm64-glibc': 0.46.2 - '@dprint/linux-arm64-musl': 0.46.2 - '@dprint/linux-x64-glibc': 0.46.2 - '@dprint/linux-x64-musl': 0.46.2 - '@dprint/win32-x64': 0.46.2 - dripip@0.10.0: dependencies: '@oclif/command': 1.8.36(@oclif/config@1.18.17) diff --git a/src/lib/prelude.ts b/src/lib/prelude.ts index 109a9784e..a3ebb24b1 100644 --- a/src/lib/prelude.ts +++ b/src/lib/prelude.ts @@ -1,5 +1,3 @@ -import type { ConditionalSimplifyDeep } from 'type-fest/source/conditional-simplify.js' - /* eslint-disable */ export type RemoveIndex = { [K in keyof T as string extends K ? never : number extends K ? never : K]: T[K] @@ -182,8 +180,6 @@ export type Values = T[keyof T] export type GetKeyOr = Key extends keyof T ? T[Key] : Or -export type SimplifyDeep = ConditionalSimplifyDeep | Date, object> - export type As = U extends T ? U : never export type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never