Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@filerobot/utils

Package Overview
Dependencies
Maintainers
2
Versions
1366
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 1.0.91-alpha.3 to 1.0.91-alpha.4

7

lib/getItemIcon.js

@@ -44,2 +44,9 @@ import getFileExtension from './getFileExtension';

if (_link) {
// TODO: ADD A CDN URL THAT LOAD ANY URL FOR SUPPORTING RESIZED THUMBNAILS FROM OTHER 3RD PARTIES AS scaleflex.cloudimg.io HAS SPECIFIC DOMAINS.
// TMP SOLUTION FOR AVOIDING ADDING THE CDN'S QUERY PARAMS
// THAT CAUSE AN ERROR IN LOADING THE FILE OF CANVA DESIGN FROM THEIR URL
if (_link.startsWith('https://export-download.canva.com')) {
return _link;
}
var _separator = _link.lastIndexOf('?') !== -1 ? '&' : '?';

@@ -46,0 +53,0 @@

4

package.json

@@ -6,3 +6,3 @@ {

"types": "types/index.d.ts",
"version": "1.0.91-alpha.3",
"version": "1.0.91-alpha.4",
"files": [

@@ -15,3 +15,3 @@ "/dist",

"dependencies": {
"@filerobot/icons": "1.0.91-alpha.3",
"@filerobot/icons": "1.0.91-alpha.4",
"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