mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
fix(blob): added a check to make sure the Blob class is available in the browser's global scope; (#5548)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
'use strict'
|
||||
|
||||
export default typeof Blob !== 'undefined' ? Blob : null
|
||||
@@ -1,5 +1,6 @@
|
||||
import URLSearchParams from './classes/URLSearchParams.js'
|
||||
import FormData from './classes/FormData.js'
|
||||
import Blob from './classes/Blob.js'
|
||||
|
||||
/**
|
||||
* Determine if we're running in a standard browser environment
|
||||
|
||||
Reference in New Issue
Block a user