Socket
Socket
Sign inDemoInstall

@filerobot/utils

Package Overview
Dependencies
Maintainers
1
Versions
1278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/utils - npm Package Compare versions

Comparing version 0.0.0-beta.49 to 0.0.0-beta.50

lib/g.js

4

lib/reqAndDownloadFile.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc