Skip to content

Commit

Permalink
fix(fetch): remove unnecessary Headers.getSetCookie definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Oct 25, 2023
1 parent 323b554 commit 68ac24c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-chicken-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@whatwg-node/fetch': patch
---

Support TypeScript 5.2.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"patch-package": "8.0.0",
"prettier": "3.0.3",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"resolutions": {
"@pulumi/pulumi": "3.90.1"
Expand Down
4 changes: 0 additions & 4 deletions packages/fetch/dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

declare type _URLPattern = typeof URLPattern

interface Headers {
getSetCookie?(): string[];
}

declare module '@whatwg-node/fetch' {
export const fetch: typeof globalThis.fetch;
export const Request: typeof globalThis.Request;
Expand Down
6 changes: 5 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8655,14 +8655,18 @@ [email protected]:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==

[email protected]:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==

typescript@~3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==

uWebSockets.js@uNetworking/uWebSockets.js#v20.27.0:
version "20.27.0"
uid "666954999fb67b303c6bc11b577599d51aa39e7c"
resolved "https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/666954999fb67b303c6bc11b577599d51aa39e7c"

unbox-primitive@^1.0.2:
Expand Down

0 comments on commit 68ac24c

Please sign in to comment.