File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77React hook for conveniently use Fetch API.
88
9- * ** Tiny** (397 B). Calculated by [ size-limit] ( https://github.com/ai/size-limit )
9+ * ** Tiny** (408 B). Calculated by [ size-limit] ( https://github.com/ai/size-limit )
1010* Both ** Flow** and ** TypeScript** types included
1111
1212``` javascript
Original file line number Diff line number Diff line change 3030 "ignore" : [
3131 " react"
3232 ],
33- "limit" : " 397 B" ,
33+ "limit" : " 408 B" ,
3434 "path" : " index.js" ,
3535 "running" : false
3636 }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function flattenInput () {
66 for ( var j = 0 ; j < input . length ; j ++ ) {
77 res = res . concat ( flattenInput ( input [ j ] ) )
88 }
9- } else if ( input instanceof URL ) {
9+ } else if ( typeof URL !== 'undefined' && input instanceof URL ) {
1010 res = res . concat ( input . toJSON ( ) )
1111 } else if ( input instanceof Object ) {
1212 var keys = Object . keys ( input )
You can’t perform that action at this time.
0 commit comments