@whatwg-node/fetch 0.9.7-alpha-20230613182236-ce4ebc7 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @whatwg-node/fetch
2
2
 
3
- ## 0.9.7-alpha-20230613182236-ce4ebc7
3
+ ## 0.9.7
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [#616](https://github.com/ardatan/whatwg-node/pull/616)
8
- [`e34c1a8`](https://github.com/ardatan/whatwg-node/commit/e34c1a82316934088845f91b042b6650e3694b17)
9
- Thanks [@ardatan](https://github.com/ardatan)! - Revert some unnecessary changes
7
+ - [`124bbe5`](https://github.com/ardatan/whatwg-node/commit/124bbe55f125dc9248fdde9c7e86637d905739fe)
8
+ Thanks [@ardatan](https://github.com/ardatan)! - Implement Headers.getSetCookie and a custom
9
+ serializer for node.inspect
10
10
 
11
11
  - Updated dependencies
12
- [[`e34c1a8`](https://github.com/ardatan/whatwg-node/commit/e34c1a82316934088845f91b042b6650e3694b17)]:
13
- - @whatwg-node/node-fetch@0.4.6-alpha-20230613182236-ce4ebc7
12
+ [[`124bbe5`](https://github.com/ardatan/whatwg-node/commit/124bbe55f125dc9248fdde9c7e86637d905739fe)]:
13
+ - @whatwg-node/node-fetch@0.4.6
14
14
 
15
15
  ## 0.9.6
16
16
 
package/dist/index.d.ts CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  declare type _URLPattern = typeof URLPattern
6
6
 
7
+ interface Headers {
8
+ getSetCookie?(): string[];
9
+ }
10
+
7
11
  declare module '@whatwg-node/fetch' {
8
12
  export const fetch: typeof globalThis.fetch;
9
13
  export const Request: typeof globalThis.Request;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/fetch",
3
- "version": "0.9.7-alpha-20230613182236-ce4ebc7",
3
+ "version": "0.9.7",
4
4
  "description": "Cross Platform Smart Fetch Ponyfill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "browser": "dist/global-ponyfill.js",
17
17
  "types": "dist/index.d.ts",
18
18
  "dependencies": {
19
- "@whatwg-node/node-fetch": "0.4.6-alpha-20230613182236-ce4ebc7",
19
+ "@whatwg-node/node-fetch": "^0.4.6",
20
20
  "urlpattern-polyfill": "^9.0.0"
21
21
  },
22
22
  "publishConfig": {