New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rpldy/upload-preview

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/upload-preview - npm Package Compare versions

Comparing version 0.11.3 to 0.11.4

5

lib/cjs/usePreviewsLoader.js

@@ -68,3 +68,6 @@ "use strict";

if (data) {
props = (0, _shared.isFunction)(previewComponentProps) ? previewComponentProps(item, data.url, data.type) : previewComponentProps;
var _data = data,
url = _data.url,
type = _data.type;
props = (0, _shared.isFunction)(previewComponentProps) ? previewComponentProps(item, url, type) : previewComponentProps;
}

@@ -71,0 +74,0 @@

@@ -57,3 +57,6 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

if (data) {
props = isFunction(previewComponentProps) ? previewComponentProps(item, data.url, data.type) : previewComponentProps;
var _data = data,
url = _data.url,
type = _data.type;
props = isFunction(previewComponentProps) ? previewComponentProps(item, url, type) : previewComponentProps;
}

@@ -60,0 +63,0 @@

14

package.json
{
"version": "0.11.3",
"version": "0.11.4",
"name": "@rpldy/upload-preview",

@@ -21,10 +21,10 @@ "description": "preview component to show image or video being uploaded",

"dependencies": {
"@rpldy/shared": "^0.11.3",
"@rpldy/shared-ui": "^0.11.3"
"@rpldy/shared": "^0.11.4",
"@rpldy/shared-ui": "^0.11.4"
},
"devDependencies": {
"@rpldy/upload-button": "^0.11.3",
"@rpldy/upload-url-input": "^0.11.3",
"@rpldy/upload-button": "^0.11.4",
"@rpldy/upload-url-input": "^0.11.4",
"@storybook/addon-knobs": "^6.1.10",
"flow-bin": "^0.145.0",
"flow-bin": "^0.146.0",
"react-image-crop": "^8.6.4",

@@ -40,3 +40,3 @@ "styled-components": "^5.2.0"

},
"gitHead": "a88fad511336c2349de219612c3c0d27298e5870"
"gitHead": "ffa687483c1ff9d6d2df3c992810b030943482b6"
}
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