Socket
Socket
Sign inDemoInstall

@s-ui/react-molecule-photo-uploader

Package Overview
Dependencies
63
Maintainers
75
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.26.0 to 2.27.0

3

lib/DragNotification/index.js

@@ -5,4 +5,3 @@ import PropTypes from 'prop-types';

import { MOLECULE_NOTIFICATION_TYPE, NOTIFICATION_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { Fragment as _Fragment } from "react/jsx-runtime";
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
var DragNotification = function DragNotification(_ref) {

@@ -9,0 +8,0 @@ var icon = _ref.icon,

@@ -6,4 +6,3 @@ import cx from 'classnames';

import { DRAG_STATE_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var DragState = function DragState(_ref) {

@@ -10,0 +9,0 @@ var _cx;

@@ -6,4 +6,3 @@ import cx from 'classnames';

import { ALTERNATIVE_ACTION_TEXT, BUTTON_COLOR, BUTTON_DESIGN, BUTTON_SIZE, BUTTON_STATE_CLASS_NAME, EMPTY_VIEW_CLASS_NAME, ICON_EMPTY_VIEW_CLASS_NAME, TEXT_STATE_CLASS_NAME, TEXT_STATE_DIVIDER_CLASS_NAME, TEXT_STATE_TEXT_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var EmptyView = function EmptyView(_ref) {

@@ -10,0 +9,0 @@ var _ref$buttonDesign = _ref.buttonDesign,

@@ -18,5 +18,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import { filterValidFiles, loadInitialPhotos, prepareFiles } from './fileTools.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { Fragment as _Fragment } from "react/jsx-runtime";
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
var noop = function noop() {};

@@ -23,0 +21,0 @@ var MoleculePhotoUploader = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {

@@ -13,5 +13,3 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";

import { PREVIEW_CARD_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { Fragment as _Fragment } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
var PhotosPreview = function PhotosPreview(_ref) {

@@ -18,0 +16,0 @@ var _cx, _cx2;

@@ -256,2 +256,5 @@ import _extends from "@babel/runtime/helpers/esm/extends";

while (offset < length) {
if (offset + 2 > view.byteLength) {
break;
}
if (view.getUint16(offset + 2, false) <= 8) resolve(-1);

@@ -258,0 +261,0 @@ var marker = view.getUint16(offset, false);

import PropTypes from 'prop-types';
import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';
import { SKELETON_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var SkeletonCard = function SkeletonCard(_ref) {

@@ -7,0 +6,0 @@ var icon = _ref.icon,

@@ -5,4 +5,3 @@ import cx from 'classnames';

import { ACTION_THUMB_CARD_CLASS_NAME, BUTTON_THUMB_CARD_CLASS_NAME, CONTAINER_THUMB_CARD_CLASS_NAME, ICON_THUMB_CARD_CLASS_NAME, IMAGE_THUMB_CARD_CLASS_NAME, THUMB_CARD_CLASS_NAME } from './config.js';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var ThumbCard = function ThumbCard(_ref) {

@@ -9,0 +8,0 @@ var _cx, _cx2;

{
"name": "@s-ui/react-molecule-photo-uploader",
"version": "2.26.0",
"version": "2.27.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc