@whatwg-node/node-fetch 0.0.1-alpha-20221225155445-dfcb269 → 0.0.1-alpha-20221225155816-6b54cb4

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.
@@ -6,7 +6,7 @@ export declare class PonyfillReadableStream<T> implements ReadableStream<T> {
6
6
  cancel(reason?: any): Promise<void>;
7
7
  locked: boolean;
8
8
  getReader(options: {
9
- mode: "byob";
9
+ mode: 'byob';
10
10
  }): ReadableStreamBYOBReader;
11
11
  getReader(): ReadableStreamDefaultReader<T>;
12
12
  [Symbol.asyncIterator](): AsyncIterableIterator<any>;
package/index.js CHANGED
@@ -576,7 +576,7 @@ class PonyfillResponse extends PonyfillBody {
576
576
  return new PonyfillResponse(JSON.stringify(data), {
577
577
  ...init,
578
578
  headers: {
579
- "Content-Type": "application/json",
579
+ 'Content-Type': 'application/json',
580
580
  ...init === null || init === void 0 ? void 0 : init.headers,
581
581
  },
582
582
  });
package/index.mjs CHANGED
@@ -572,7 +572,7 @@ class PonyfillResponse extends PonyfillBody {
572
572
  return new PonyfillResponse(JSON.stringify(data), {
573
573
  ...init,
574
574
  headers: {
575
- "Content-Type": "application/json",
575
+ 'Content-Type': 'application/json',
576
576
  ...init === null || init === void 0 ? void 0 : init.headers,
577
577
  },
578
578
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.0.1-alpha-20221225155445-dfcb269",
3
+ "version": "0.0.1-alpha-20221225155816-6b54cb4",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {