@whatwg-node/node-fetch 0.0.1-alpha-20221230080146-72104f6 → 0.0.1-alpha-20221230081647-5963234
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/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -303,7 +303,7 @@ class PonyfillFormData {
|
|
303
303
|
controller.enqueue(Buffer.from(`\r\n--${boundary}\r\n`));
|
304
304
|
}
|
305
305
|
}
|
306
|
-
}
|
306
|
+
},
|
307
307
|
});
|
308
308
|
}
|
309
309
|
}
|
@@ -334,7 +334,7 @@ class PonyfillBody {
|
|
334
334
|
this._body = null;
|
335
335
|
this.contentType = null;
|
336
336
|
this.contentLength = null;
|
337
|
-
const { body, contentType, contentLength, bodyType
|
337
|
+
const { body, contentType, contentLength, bodyType } = processBodyInit(bodyInit);
|
338
338
|
this._body = body;
|
339
339
|
this.contentType = contentType;
|
340
340
|
this.contentLength = contentLength;
|
package/index.mjs
CHANGED
@@ -297,7 +297,7 @@ class PonyfillFormData {
|
|
297
297
|
controller.enqueue(Buffer.from(`\r\n--${boundary}\r\n`));
|
298
298
|
}
|
299
299
|
}
|
300
|
-
}
|
300
|
+
},
|
301
301
|
});
|
302
302
|
}
|
303
303
|
}
|
@@ -328,7 +328,7 @@ class PonyfillBody {
|
|
328
328
|
this._body = null;
|
329
329
|
this.contentType = null;
|
330
330
|
this.contentLength = null;
|
331
|
-
const { body, contentType, contentLength, bodyType
|
331
|
+
const { body, contentType, contentLength, bodyType } = processBodyInit(bodyInit);
|
332
332
|
this._body = body;
|
333
333
|
this.contentType = contentType;
|
334
334
|
this.contentLength = contentLength;
|
package/package.json
CHANGED