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

filepond-plugin-image-preview

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filepond-plugin-image-preview - npm Package Compare versions

Comparing version 4.6.5 to 4.6.6

2

dist/filepond-plugin-image-preview.esm.js
/*!
* FilePondPluginImagePreview 4.6.5
* FilePondPluginImagePreview 4.6.6
* Licensed under MIT, https://opensource.org/licenses/MIT/

@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details.

/*!
* FilePondPluginImagePreview 4.6.5
* FilePondPluginImagePreview 4.6.6
* Licensed under MIT, https://opensource.org/licenses/MIT/

@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details.

/*!
* FilePondPluginImagePreview 4.6.5
* FilePondPluginImagePreview 4.6.6
* Licensed under MIT, https://opensource.org/licenses/MIT/

@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details.

{
"name": "filepond-plugin-image-preview",
"version": "4.6.5",
"version": "4.6.6",
"description": "Image Preview Plugin for FilePond",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,35 +0,36 @@

declare module "filepond-plugin-image-preview" {
const FilePondPluginImagePreview: FilePondPluginImagePreviewProps;
export interface FilePondPluginImagePreviewProps {
/** Enable or disable preview mode */
allowImagePreview?: boolean;
// @ts-ignore
import { FilePondOptions } from "filepond";
/** Minimum image preview height */
imagePreviewMinHeight?: number;
declare module "filepond" {
export interface FilePondOptions {
/** Enable or disable preview mode */
allowImagePreview?: boolean;
/** Maximum image preview height */
imagePreviewMaxHeight?: number;
/** Minimum image preview height */
imagePreviewMinHeight?: number;
/** Fixed image preview height, overrides min and max preview height */
imagePreviewHeight?: number
/** Maximum image preview height */
imagePreviewMaxHeight?: number;
/** Can be used to prevent loading of large images when createImageBitmap is not supported.
* By default no maximum file size is defined, expects a string, like 2MB or 500KB. */
imagePreviewMaxFileSize?: string;
/** Fixed image preview height, overrides min and max preview height */
imagePreviewHeight?: number;
/** Set to 'grid' to render a transparency grid behind the image, set to a color value (for example '#f00') to set transparent image background color.
* Please note that this is only for preview purposes, the background color or grid is not embedded in the output image. */
imagePreviewTransparencyIndicator?: string;
/** Can be used to prevent loading of large images when createImageBitmap is not supported.
* By default no maximum file size is defined, expects a string, like 2MB or 500KB. */
imagePreviewMaxFileSize?: string;
/** Maximum file size for images to preview immediately,
* if files are larger and the browser doesn’t support createImageBitmap the preview is queued till FilePond is in rest state. */
imagePreviewMaxInstantPreviewFileSize?: number;
/** Set to 'grid' to render a transparency grid behind the image, set to a color value (for example '#f00') to set transparent image background color.
* Please note that this is only for preview purposes, the background color or grid is not embedded in the output image. */
imagePreviewTransparencyIndicator?: string;
/** Set to false to hide image markup in the preview panel */
imagePreviewMarkupShow?: boolean;
/** Maximum file size for images to preview immediately,
* if files are larger and the browser doesn’t support createImageBitmap the preview is queued till FilePond is in rest state. */
imagePreviewMaxInstantPreviewFileSize?: number;
/** Use to filter markup items, useful to show only certain items and hide others till the image file is generated by the image transform plugin */
imagePreviewMarkupFilter?: (markupItem: any) => true;
}
export default FilePondPluginImagePreview;
/** Set to false to hide image markup in the preview panel */
imagePreviewMarkupShow?: boolean;
/** Use to filter markup items, useful to show only certain items and hide others till the image file is generated by the image transform plugin */
imagePreviewMarkupFilter?: (markupItem: any) => true;
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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