fetchbasequery 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fetchbasequery",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Library for easily make HTTP queries without mass of boilerplate code.",
5
5
  "type": "module",
6
6
  "main": "src/fetchBaseQuery.js",
@@ -36,8 +36,9 @@ function isPlainObject(value) {
36
36
  typeof value === 'object'
37
37
  // && value !== null
38
38
  && !(value instanceof ArrayBuffer)
39
+ && !ArrayBuffer.isView(value) // TypedArray or DataView
39
40
  && !(value instanceof FormData)
40
- && !(value instanceof Blob)
41
+ && !(value instanceof Blob) // Blob or File
41
42
  && !(value instanceof ReadableStream)
42
43
  && !(value instanceof URLSearchParams)
43
44
  )