We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e3fd9 commit 78b03b4Copy full SHA for 78b03b4
utils/flattenInput.js
@@ -6,7 +6,7 @@ function flattenInput () {
6
for (var j = 0; j < input.length; j++) {
7
res = res.concat(flattenInput(input[j]))
8
}
9
- } else if (input instanceof URL) {
+ } else if (typeof URL || "undefined" && input instanceof URL) {
10
res = res.concat(input.toJSON())
11
} else if (input instanceof Object) {
12
var keys = Object.keys(input)
0 commit comments