From 59f0720d415d29c6bbbad2b2a8719ece6d52cee3 Mon Sep 17 00:00:00 2001 From: Donovan Hoffman Date: Mon, 29 May 2023 15:55:59 +1200 Subject: [PATCH] Upgrade version of "graphql-request" Upgrading the version of "graphql-request" to use the latest. This is not only to get onto the latest version of the package, but also to remove an internal bug to that can surface from it. In this case, there are duplicate `AbortSignal` types, one defined by the Typescript language, and one defined by the package. This update removes this conflict. --- .../package.json | 2 +- yarn.lock | 47 +++++++++++++++---- 2 files changed, 40 insertions(+), 9 deletions(-) diff --git a/packages/rtk-query-graphql-request-base-query/package.json b/packages/rtk-query-graphql-request-base-query/package.json index 34be5c5b84..d163bfac15 100644 --- a/packages/rtk-query-graphql-request-base-query/package.json +++ b/packages/rtk-query-graphql-request-base-query/package.json @@ -19,7 +19,7 @@ "dev": "microbundle watch" }, "dependencies": { - "graphql-request": "^4.0.0" + "graphql-request": "^6.1.0" }, "peerDependencies": { "@reduxjs/toolkit": "^1.7.1", diff --git a/yarn.lock b/yarn.lock index 633251fb06..5d4a67201d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5564,6 +5564,15 @@ __metadata: languageName: node linkType: hard +"@graphql-typed-document-node/core@npm:^3.2.0": + version: 3.2.0 + resolution: "@graphql-typed-document-node/core@npm:3.2.0" + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: fa44443accd28c8cf4cb96aaaf39d144a22e8b091b13366843f4e97d19c7bfeaf609ce3c7603a4aeffe385081eaf8ea245d078633a7324c11c5ec4b2011bb76d + languageName: node + linkType: hard + "@handlebars/parser@npm:^1.1.0": version: 1.1.0 resolution: "@handlebars/parser@npm:1.1.0" @@ -6779,7 +6788,7 @@ __metadata: dependencies: "@reduxjs/toolkit": ^1.6.0 graphql: ^16.5.0 - graphql-request: ^4.0.0 + graphql-request: ^6.1.0 microbundle: ^0.13.3 rimraf: ^3.0.2 typescript: ^4.3.4 @@ -11949,6 +11958,15 @@ __metadata: languageName: node linkType: hard +"cross-fetch@npm:^3.1.5": + version: 3.1.6 + resolution: "cross-fetch@npm:3.1.6" + dependencies: + node-fetch: ^2.6.11 + checksum: 704b3519ab7de488328cc49a52cf1aa14132ec748382be5b9557b22398c33ffa7f8c2530e8a97ed8cb55da52b0a9740a9791d361271c4591910501682d981d9c + languageName: node + linkType: hard + "cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" @@ -15704,16 +15722,15 @@ fsevents@^1.2.7: languageName: node linkType: hard -"graphql-request@npm:^4.0.0": - version: 4.0.0 - resolution: "graphql-request@npm:4.0.0" +"graphql-request@npm:^6.1.0": + version: 6.1.0 + resolution: "graphql-request@npm:6.1.0" dependencies: - cross-fetch: ^3.0.6 - extract-files: ^9.0.0 - form-data: ^3.0.0 + "@graphql-typed-document-node/core": ^3.2.0 + cross-fetch: ^3.1.5 peerDependencies: graphql: 14 - 16 - checksum: 0d16c7f06360679c022faaa19554c2693e200263beae0dec920b0668f6c48b0d08de6e1155a50a050283a58a878b29b04db129a2d932a645bfadbe8d55530243 + checksum: 6d62630a0169574442320651c1f7626c0c602025c3c46b19e09417c9579bb209306ee63de9793a03be2e1701bb7f13971f8545d99bc6573e340f823af0ad35b2 languageName: node linkType: hard @@ -20181,6 +20198,20 @@ fsevents@^1.2.7: languageName: node linkType: hard +"node-fetch@npm:^2.6.11": + version: 2.6.11 + resolution: "node-fetch@npm:2.6.11" + dependencies: + whatwg-url: ^5.0.0 + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: 249d0666a9497553384d46b5ab296ba223521ac88fed4d8a17d6ee6c2efb0fc890f3e8091cafe7f9fba8151a5b8d925db2671543b3409a56c3cd522b468b47b3 + languageName: node + linkType: hard + "node-forge@npm:^1": version: 1.3.1 resolution: "node-forge@npm:1.3.1"