@filerobot/utils
Advanced tools
Comparing version 0.0.0-beta.49 to 0.0.0-beta.50
@@ -5,4 +5,6 @@ import getFileLink from './getFileLink'; | ||
return new Promise(function (resolve, reject) { | ||
var _file$url; | ||
var xhr = new XMLHttpRequest(); | ||
xhr.open('GET', getFileLink(file)); | ||
xhr.open('GET', ((_file$url = file.url) === null || _file$url === void 0 ? void 0 : _file$url.download) || getFileLink(file, 'permalink')); | ||
xhr.responseType = 'blob'; | ||
@@ -9,0 +11,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"types": "types/index.d.ts", | ||
"version": "0.0.0-beta.49", | ||
"version": "0.0.0-beta.50", | ||
"files": [ | ||
@@ -15,3 +15,3 @@ "/dist", | ||
"dependencies": { | ||
"@filerobot/icons": "0.0.0-beta.49", | ||
"@filerobot/icons": "0.0.0-beta.50", | ||
"abortcontroller-polyfill": "^1.4.0", | ||
@@ -18,0 +18,0 @@ "lodash.throttle": "^4.1.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117566
2550
98
+ Added@filerobot/icons@0.0.0-beta.50(transitive)
- Removed@filerobot/icons@0.0.0-beta.49(transitive)