@whatwg-node/node-fetch 0.0.1-alpha-20221225172458-8684a84 → 0.0.1-alpha-20221225173053-f9310f6

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.
Files changed (3) hide show
  1. package/index.js +1 -3
  2. package/index.mjs +1 -3
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -453,9 +453,7 @@ class PonyfillHeaders {
453
453
  if (this.map.has(key)) {
454
454
  value = this.map.get(key) + ', ' + value;
455
455
  }
456
- else {
457
- this.map.set(key, value);
458
- }
456
+ this.map.set(key, value);
459
457
  }
460
458
  get(name) {
461
459
  const key = name.toLowerCase();
package/index.mjs CHANGED
@@ -449,9 +449,7 @@ class PonyfillHeaders {
449
449
  if (this.map.has(key)) {
450
450
  value = this.map.get(key) + ', ' + value;
451
451
  }
452
- else {
453
- this.map.set(key, value);
454
- }
452
+ this.map.set(key, value);
455
453
  }
456
454
  get(name) {
457
455
  const key = name.toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.0.1-alpha-20221225172458-8684a84",
3
+ "version": "0.0.1-alpha-20221225173053-f9310f6",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {