Skip to content

Commit 6d6346c

Browse files
phryneasDonovan Hoffman
andauthored
Upgrade version of "graphql-request" (#4026)
* 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. * allow more versions --------- Co-authored-by: Donovan Hoffman <[email protected]>
1 parent 0d1f710 commit 6d6346c

File tree

2 files changed

+40
-9
lines changed

2 files changed

+40
-9
lines changed

packages/rtk-query-graphql-request-base-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dev": "microbundle watch"
2020
},
2121
"dependencies": {
22-
"graphql-request": "^4.0.0"
22+
"graphql-request": "^4.0.0 || ^5.0.0 || ^6.0.0"
2323
},
2424
"peerDependencies": {
2525
"@reduxjs/toolkit": "^1.7.1",

yarn.lock

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5813,6 +5813,15 @@ __metadata:
58135813
languageName: node
58145814
linkType: hard
58155815

5816+
"@graphql-typed-document-node/core@npm:^3.2.0":
5817+
version: 3.2.0
5818+
resolution: "@graphql-typed-document-node/core@npm:3.2.0"
5819+
peerDependencies:
5820+
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
5821+
checksum: fa44443accd28c8cf4cb96aaaf39d144a22e8b091b13366843f4e97d19c7bfeaf609ce3c7603a4aeffe385081eaf8ea245d078633a7324c11c5ec4b2011bb76d
5822+
languageName: node
5823+
linkType: hard
5824+
58165825
"@handlebars/parser@npm:^1.1.0":
58175826
version: 1.1.0
58185827
resolution: "@handlebars/parser@npm:1.1.0"
@@ -7240,7 +7249,7 @@ __metadata:
72407249
dependencies:
72417250
"@reduxjs/toolkit": ^1.6.0
72427251
graphql: ^16.5.0
7243-
graphql-request: ^4.0.0
7252+
graphql-request: ^4.0.0 || ^5.0.0 || ^6.0.0
72447253
microbundle: ^0.13.3
72457254
rimraf: ^3.0.2
72467255
typescript: ^4.3.4
@@ -12652,6 +12661,15 @@ __metadata:
1265212661
languageName: node
1265312662
linkType: hard
1265412663

12664+
"cross-fetch@npm:^3.1.5":
12665+
version: 3.1.6
12666+
resolution: "cross-fetch@npm:3.1.6"
12667+
dependencies:
12668+
node-fetch: ^2.6.11
12669+
checksum: 704b3519ab7de488328cc49a52cf1aa14132ec748382be5b9557b22398c33ffa7f8c2530e8a97ed8cb55da52b0a9740a9791d361271c4591910501682d981d9c
12670+
languageName: node
12671+
linkType: hard
12672+
1265512673
"cross-spawn@npm:^6.0.0":
1265612674
version: 6.0.5
1265712675
resolution: "cross-spawn@npm:6.0.5"
@@ -16429,16 +16447,15 @@ fsevents@^1.2.7:
1642916447
languageName: node
1643016448
linkType: hard
1643116449

16432-
"graphql-request@npm:^4.0.0":
16433-
version: 4.0.0
16434-
resolution: "graphql-request@npm:4.0.0"
16450+
"graphql-request@npm:^4.0.0 || ^5.0.0 || ^6.0.0":
16451+
version: 6.1.0
16452+
resolution: "graphql-request@npm:6.1.0"
1643516453
dependencies:
16436-
cross-fetch: ^3.0.6
16437-
extract-files: ^9.0.0
16438-
form-data: ^3.0.0
16454+
"@graphql-typed-document-node/core": ^3.2.0
16455+
cross-fetch: ^3.1.5
1643916456
peerDependencies:
1644016457
graphql: 14 - 16
16441-
checksum: 0d16c7f06360679c022faaa19554c2693e200263beae0dec920b0668f6c48b0d08de6e1155a50a050283a58a878b29b04db129a2d932a645bfadbe8d55530243
16458+
checksum: 6d62630a0169574442320651c1f7626c0c602025c3c46b19e09417c9579bb209306ee63de9793a03be2e1701bb7f13971f8545d99bc6573e340f823af0ad35b2
1644216459
languageName: node
1644316460
linkType: hard
1644416461

@@ -21430,6 +21447,20 @@ fsevents@^1.2.7:
2143021447
languageName: node
2143121448
linkType: hard
2143221449

21450+
"node-fetch@npm:^2.6.11":
21451+
version: 2.6.11
21452+
resolution: "node-fetch@npm:2.6.11"
21453+
dependencies:
21454+
whatwg-url: ^5.0.0
21455+
peerDependencies:
21456+
encoding: ^0.1.0
21457+
peerDependenciesMeta:
21458+
encoding:
21459+
optional: true
21460+
checksum: 249d0666a9497553384d46b5ab296ba223521ac88fed4d8a17d6ee6c2efb0fc890f3e8091cafe7f9fba8151a5b8d925db2671543b3409a56c3cd522b468b47b3
21461+
languageName: node
21462+
linkType: hard
21463+
2143321464
"node-forge@npm:^1":
2143421465
version: 1.3.1
2143521466
resolution: "node-forge@npm:1.3.1"

0 commit comments

Comments
 (0)