Polyfill fetch

This commit is contained in:
richard-dds 2019-08-06 10:39:46 -04:00
parent a4581e7a7c
commit 5329937eb9
3 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import Azure from 'azure-storage'
import 'whatwg-fetch'
class AzureUploader {
constructor(accountName, containerName, sasToken) {

View File

@ -26,7 +26,8 @@
"uswds": "^1.6.9",
"v-tooltip": "^2.0.0-rc.33",
"vue": "2.5.15",
"vue-text-mask": "^6.1.2"
"vue-text-mask": "^6.1.2",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@vue/test-utils": "^1.0.0-beta.25",

View File

@ -9564,6 +9564,11 @@ whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3:
dependencies:
iconv-lite "0.4.24"
whatwg-fetch@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb"
integrity sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==
whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"