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

@rpldy/upload-preview

Package Overview
Dependencies
Maintainers
1
Versions
108
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.1.12 to 0.2.0

6

lib/types.js

@@ -27,5 +27,7 @@ // @flow

maxPreviewVideoSize?: number,
//URL to use or function to call with the file to determine fallback for invalid file URLs, none-images or too large files to upload-preview (maxPreviewImageSize)
//URL to use or function to call with the file to determine fallback for
// invalid file URLs, none-images or too large files to upload-preview (maxPreviewImageSize)
fallbackUrl?: string | FallbackMethod,
//the image mime-types to load previews for (default: ["image/jpeg", "image/webp", "image/gif", "image/png", "image/apng", "image/bmp", "image/x-icon", "image/svg+xml"])
//the image mime-types to load previews for
// (default: ["image/jpeg", "image/webp", "image/gif", "image/png", "image/apng", "image/bmp", "image/x-icon", "image/svg+xml"])
imageMimeTypes?: string[],

@@ -32,0 +34,0 @@ //the video mime-types to load upload-preview for (default: ["video/mp4", "video/webm", "video/ogg"])

{
"version": "0.1.12",
"version": "0.2.0",
"name": "@rpldy/upload-preview",

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

"dependencies": {
"@rpldy/shared": "^0.1.12",
"@rpldy/shared-ui": "^0.1.12"
"@rpldy/shared": "^0.2.0",
"@rpldy/shared-ui": "^0.2.0"
},
"devDependencies": {
"@rpldy/upload-button": "^0.1.12",
"@rpldy/upload-url-input": "^0.1.12",
"@rpldy/upload-button": "^0.2.0",
"@rpldy/upload-url-input": "^0.2.0",
"@storybook/addon-knobs": "^5.3.18",

@@ -38,3 +38,3 @@ "flow-bin": "^0.123.0",

},
"gitHead": "054e837009e2c6ea8a98733b09292f48d03c16d9"
"gitHead": "51f53ece84e5caf5a77c2035c10ca1aa93d69216"
}

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