Skip to content

Commit

Permalink
Upgrade version of "graphql-request" (#4026)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
phryneas and donovan-ecargo authored Dec 31, 2023
1 parent 0d1f710 commit 6d6346c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/rtk-query-graphql-request-base-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dev": "microbundle watch"
},
"dependencies": {
"graphql-request": "^4.0.0"
"graphql-request": "^4.0.0 || ^5.0.0 || ^6.0.0"
},
"peerDependencies": {
"@reduxjs/toolkit": "^1.7.1",
Expand Down
47 changes: 39 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5813,6 +5813,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"
Expand Down Expand Up @@ -7240,7 +7249,7 @@ __metadata:
dependencies:
"@reduxjs/toolkit": ^1.6.0
graphql: ^16.5.0
graphql-request: ^4.0.0
graphql-request: ^4.0.0 || ^5.0.0 || ^6.0.0
microbundle: ^0.13.3
rimraf: ^3.0.2
typescript: ^4.3.4
Expand Down Expand Up @@ -12652,6 +12661,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"
Expand Down Expand Up @@ -16429,16 +16447,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:^4.0.0 || ^5.0.0 || ^6.0.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

Expand Down Expand Up @@ -21430,6 +21447,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"
Expand Down

0 comments on commit 6d6346c

Please sign in to comment.