diff --git a/lib/entry-points.js b/lib/entry-points.js index e0c268fa3..e916ad071 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -115079,7 +115079,7 @@ var require_follow_redirects = __commonJS({ options.headers[headerList[i]] = headerList[i + 1]; } } - if (!isArray2(options.sensitiveHeaders)) { + if (!Array.isArray(options.sensitiveHeaders)) { options.sensitiveHeaders = []; } if (options.host) { @@ -115336,9 +115336,6 @@ var require_follow_redirects = __commonJS({ var dot = subdomain.length - domain.length - 1; return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); } - function isArray2(value) { - return value instanceof Array; - } function isString3(value) { return typeof value === "string" || value instanceof String; }