@@ -22,7 +22,6 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
- "namespace-emitter": "^2.0.1",
- "whatwg-fetch": "^2.0.4"
+ "namespace-emitter": "^2.0.1"
}
@@ -1,7 +1,6 @@
'use strict'
const RequestClient = require('./RequestClient')
-require('whatwg-fetch')
const _getName = (id) => {
return id.split('-').map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join(' ')
@@ -1,7 +1,5 @@
-
// Remove the trailing slash so we can always safely append /xyz.
function stripSlash (url) {
return url.replace(/\/$/, '')