npm package diff
Package: @forge/bundler
Versions: 4.23.2-next.10-experimental-76b1041 - 5.0.0-next.12
File: package/out/stubs/http-sandbox-impl.js
Index: package/out/stubs/http-sandbox-impl.js
===================================================================
--- package/out/stubs/http-sandbox-impl.js
+++ package/out/stubs/http-sandbox-impl.js
@@ -102,9 +102,9 @@
return { url, init: chainableOptions };
}
else {
const reqOpts = {};
- if (options.headers && typeof options.headers === 'object' && !Array.isArray(options.headers)) {
+ if (options.headers) {
reqOpts.headers = {};
for (const header in options.headers) {
const headerValue = options.headers[header];
if (headerValue) {