From b8997a55549118feb009e478f4a7c34dce3a199e Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Mon, 13 May 2024 18:20:44 +0100 Subject: [PATCH] chore: Remove `node-fetch` (#318) --- .changeset/spicy-feet-matter.md | 5 ++++ packages/graphqlsp/package.json | 8 ++---- pnpm-lock.yaml | 50 --------------------------------- 3 files changed, 8 insertions(+), 55 deletions(-) create mode 100644 .changeset/spicy-feet-matter.md diff --git a/.changeset/spicy-feet-matter.md b/.changeset/spicy-feet-matter.md new file mode 100644 index 00000000..3aecf028 --- /dev/null +++ b/.changeset/spicy-feet-matter.md @@ -0,0 +1,5 @@ +--- +'@0no-co/graphqlsp': patch +--- + +Remove unused `node-fetch` dependency diff --git a/packages/graphqlsp/package.json b/packages/graphqlsp/package.json index 5b2e19e4..1c48f0a9 100644 --- a/packages/graphqlsp/package.json +++ b/packages/graphqlsp/package.json @@ -45,19 +45,17 @@ "@0no-co/graphql.web": "^1.0.4", "@sindresorhus/fnv1a": "^2.0.0", "@types/node": "^18.15.11", - "@types/node-fetch": "^2.6.3", "graphql-language-service": "^5.2.0", "lru-cache": "^10.0.1", "typescript": "^5.3.3" }, "dependencies": { "@gql.tada/internal": "^0.3.0", - "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", - "node-fetch": "^2.0.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" }, "peerDependencies": { - "typescript": "^5.0.0", - "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", + "typescript": "^5.0.0" }, "publishConfig": { "provenance": true diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dfbfe064..d299c9a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -180,9 +180,6 @@ importers: graphql: specifier: ^15.5.0 || ^16.0.0 || ^17.0.0 version: 16.8.1 - node-fetch: - specifier: ^2.0.0 - version: 2.6.7 devDependencies: '@0no-co/graphql.web': specifier: ^1.0.4 @@ -193,9 +190,6 @@ importers: '@types/node': specifier: ^18.15.11 version: 18.15.11 - '@types/node-fetch': - specifier: ^2.6.3 - version: 2.6.3 graphql-language-service: specifier: ^5.2.0 version: 5.2.0(graphql@16.8.1) @@ -2504,13 +2498,6 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node-fetch@2.6.3: - resolution: {integrity: sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==} - dependencies: - '@types/node': 18.15.11 - form-data: 3.0.1 - dev: true - /@types/node@12.20.55: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true @@ -2857,10 +2844,6 @@ packages: engines: {node: '>=8'} dev: true - /asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: true - /auto-bind@4.0.0: resolution: {integrity: sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==} engines: {node: '>=8'} @@ -3246,13 +3229,6 @@ packages: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} dev: true - /combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - dev: true - /commander@11.1.0: resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} engines: {node: '>=16'} @@ -3457,11 +3433,6 @@ packages: object-keys: 1.1.1 dev: true - /delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - dev: true - /dependency-graph@0.11.0: resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} engines: {node: '>= 0.6.0'} @@ -3805,15 +3776,6 @@ packages: is-callable: 1.2.7 dev: true - /form-data@3.0.1: - resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - /fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -4837,18 +4799,6 @@ packages: picomatch: 2.3.1 dev: true - /mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - dev: true - - /mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.52.0 - dev: true - /mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'}