@whatwg-node/node-fetch 0.7.9-rc-20250213122200-5d49a5cf3b986fcc2cd43f92c89f192582020426 → 0.7.9-rc-20250213122935-b133db4a0ca63371eefcff8f0cd7be406b1c85c4
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/cjs/Headers.js +1 -1
- package/esm/Headers.js +1 -1
- package/package.json +1 -1
package/cjs/Headers.js
CHANGED
@@ -247,7 +247,7 @@ class PonyfillHeaders {
|
|
247
247
|
record['set-cookie'] = this._setCookies;
|
248
248
|
}
|
249
249
|
else {
|
250
|
-
record[key] = value
|
250
|
+
record[key] = value?.includes(',') ? value.split(',').map(el => el.trim()) : value;
|
251
251
|
}
|
252
252
|
});
|
253
253
|
return `Headers ${(0, node_util_1.inspect)(record)}`;
|
package/esm/Headers.js
CHANGED
@@ -243,7 +243,7 @@ export class PonyfillHeaders {
|
|
243
243
|
record['set-cookie'] = this._setCookies;
|
244
244
|
}
|
245
245
|
else {
|
246
|
-
record[key] = value
|
246
|
+
record[key] = value?.includes(',') ? value.split(',').map(el => el.trim()) : value;
|
247
247
|
}
|
248
248
|
});
|
249
249
|
return `Headers ${inspect(record)}`;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@whatwg-node/node-fetch",
|
3
|
-
"version": "0.7.9-rc-
|
3
|
+
"version": "0.7.9-rc-20250213122935-b133db4a0ca63371eefcff8f0cd7be406b1c85c4",
|
4
4
|
"description": "Fetch API implementation for Node",
|
5
5
|
"sideEffects": false,
|
6
6
|
"dependencies": {
|