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

@filerobot/common

Package Overview
Dependencies
Maintainers
1
Versions
1532
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/common - npm Package Compare versions

Comparing version 0.0.0-beta.60 to 0.0.0-beta.61

5

lib/ItemIcon.js
import { useState } from 'react';
import { FolderIcon, FileIcon, VideoIcon } from '@filerobot/icons';
import { FolderIcon, FileIcon } from '@filerobot/icons';
import { FILE_TYPES_AND_ICONS } from '@filerobot/utils/lib/constants';

@@ -25,5 +25,2 @@ import { Image } from '.';

case 'video':
return /*#__PURE__*/_jsx(VideoIcon, {});
default:

@@ -30,0 +27,0 @@ return /*#__PURE__*/_jsx(Image, {

22

lib/LinkInput.js

@@ -43,13 +43,15 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

className: "filerobot-common-link-input-header",
children: [/*#__PURE__*/_jsxs("label", {
children: [/*#__PURE__*/_jsx("label", {
className: "filerobot-common-link-input-header-label",
children: [/*#__PURE__*/_jsx(Tooltip, {
message: renderDescription(description),
position: "right",
children: /*#__PURE__*/_jsx(QuestionMarkIcon, {
color: "#5D6D7E"
})
}), /*#__PURE__*/_jsx("span", {
children: props.i18n(labelI18nString)
})]
children: labelI18nString && /*#__PURE__*/_jsxs(_Fragment, {
children: [/*#__PURE__*/_jsx(Tooltip, {
message: renderDescription(description),
position: "right",
children: /*#__PURE__*/_jsx(QuestionMarkIcon, {
color: "#5D6D7E"
})
}), /*#__PURE__*/_jsx("span", {
children: props.i18n(labelI18nString)
})]
})
}), (!isHash || isHash && isShowBlurhashOptions) && /*#__PURE__*/_jsxs("div", {

@@ -56,0 +58,0 @@ className: "filerobot-common-link-input-header-options",

{
"name": "@filerobot/common",
"version": "0.0.0-beta.60",
"version": "0.0.0-beta.61",
"description": "The common components shared between Filerobot Media Asset Widget modules",

@@ -17,4 +17,4 @@ "homepage": "",

"dependencies": {
"@filerobot/icons": "0.0.0-beta.60",
"@filerobot/utils": "0.0.0-beta.60",
"@filerobot/icons": "0.0.0-beta.61",
"@filerobot/utils": "0.0.0-beta.61",
"react": "^17.0.1",

@@ -21,0 +21,0 @@ "react-dom": "^17.0.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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