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

@bytescale/upload-widget

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bytescale/upload-widget - npm Package Compare versions

Comparing version 4.21.0 to 4.22.0

dist/modules/common/ObjectUtils.d.ts

3

dist/config/UploadWidgetConfig.d.ts

@@ -10,2 +10,3 @@ import { UploadWidgetLocale } from "../modules/locales/UploadWidgetLocale";

import { UploadWidgetOnUpdateEvent } from "../config/UploadWidgetOnUpdateEvent";
import { UploadWidgetLocaleDeprecatedFields } from "../modules/locales/UploadWidgetLocaleDeprecatedFields";
export interface UploadWidgetConfig extends BytescaleApiClientConfig {

@@ -15,3 +16,3 @@ container?: string | HTMLElement;

layout?: UploadWidgetLayout;
locale?: UploadWidgetLocale;
locale?: Partial<UploadWidgetLocale> & Partial<UploadWidgetLocaleDeprecatedFields>;
maxFileCount?: number;

@@ -18,0 +19,0 @@ maxFileSizeBytes?: number;

@@ -19,2 +19,2 @@ export { FileLike } from "./modules/FileLike";

export { UploadWidgetMethods } from "./config/UploadWidgetMethods";
export { UploaderLocaleEnUs } from "./modules/locales/EN_US";
export { UploadWidgetLocaleEnUs } from "./modules/locales/EN_US";
import { UploadWidgetLocale } from "../../modules/locales/UploadWidgetLocale";
export declare const UploaderLocaleEnUs: UploadWidgetLocale;
export declare const UploadWidgetLocaleEnUs: UploadWidgetLocale;
export interface UploadWidgetLocale {
"addAnotherFile": string;
"addAnotherImage": string;
"cancel": string;
"cancelInPreviewWindow": string;
"cancelled!": string;
"continue": string;
"crop": string;
"customValidationFailed": string;
"done": string;
"error!": string;
"finish": string;
"finishIcon": boolean;
"image": string;
"maxFilesReached": string;
"maxImagesReached": string;
"maxSize": string;
"next": string;
"of": string;
"orDragDropFile": string;
"orDragDropFiles": string;
"orDragDropImage": string;
"orDragDropImages": string;
"pleaseWait": string;
"processingFile": string;
"remove": string;
"removed!": string;
"skip": string;
"unsupportedFileType": string;
"uploadFile": string;
"uploadFiles": string;
"uploadImage": string;
"uploadImages": string;
addAnotherFileBtn: string;
addAnotherImageBtn: string;
cancelBtn: string;
cancelBtnClicked: string;
cancelPreviewBtn: string;
continueBtn: string;
cropBtn: string;
customValidationFailed: string;
doneBtn: string;
fileSizeLimitPrefix: string;
finishBtn: string;
finishBtnIcon: boolean;
imageCropNumberPrefix: string;
maxFilesReachedPrefix: string;
maxImagesReachedPrefix: string;
orDragDropFile: string;
orDragDropFileMulti: string;
orDragDropImage: string;
orDragDropImageMulti: string;
processingFile: string;
removeBtn: string;
removeBtnClicked: string;
submitBtnError: string;
submitBtnLoading: string;
unsupportedFileType: string;
uploadFileBtn: string;
uploadFileMultiBtn: string;
uploadImageBtn: string;
uploadImageMultiBtn: string;
xOfY: string;
}
{
"name": "@bytescale/upload-widget",
"version": "4.21.0",
"version": "4.22.0",
"author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",

@@ -5,0 +5,0 @@ "description": "File Upload UI Widget โ€” Lightweight & supports: drag and drop, multiple file uploads, image cropping, customization, and more ๐Ÿš€ Comes with Cloud Storage ๐ŸŒ",

@@ -292,34 +292,32 @@ <h1 align="center">

const myCustomLocale = {
"error!": "Error!",
"done": "Done",
"addAnotherFile": "Add another file...",
"addAnotherImage": "Add another image...",
"cancel": "cancel",
"cancelInPreviewWindow": "Cancel",
"cancelled!": "cancelled",
"continue": "Continue",
"customValidationFailed": "Failed to validate file.",
"crop": "Crop",
"finish": "Finished",
"finishIcon": true,
"image": "Image",
"maxFilesReached": "Maximum number of files:",
"maxImagesReached": "Maximum number of images:",
"maxSize": "File size limit:",
"next": "Next",
"of": "of",
"orDragDropFile": "...or drag and drop a file.",
"orDragDropFiles": "...or drag and drop files.",
"orDragDropImage": "...or drag and drop an image.",
"orDragDropImages": "...or drag and drop images.",
"pleaseWait": "Please wait...",
"removed!": "removed",
"remove": "remove",
"skip": "Skip",
"unsupportedFileType": "File type not supported.",
"uploadFile": "Upload a File",
"uploadFiles": "Upload Files",
"uploadImage": "Upload an Image",
"uploadImages": "Upload Images",
"validatingFile": "Validating file..."
addAnotherFileBtn: "Add another file...",
addAnotherImageBtn: "Add another image...",
cancelBtn: "cancel",
cancelBtnClicked: "cancelled",
cancelPreviewBtn: "Cancel",
continueBtn: "Continue",
cropBtn: "Crop",
customValidationFailed: "Failed to validate file.",
doneBtn: "Done",
fileSizeLimitPrefix: "File size limit:",
finishBtn: "Finished",
finishBtnIcon: true,
imageCropNumberPrefix: "Image",
maxFilesReachedPrefix: "Maximum number of files:",
maxImagesReachedPrefix: "Maximum number of images:",
orDragDropFile: "...or drag and drop a file.",
orDragDropFileMulti: "...or drag and drop files.",
orDragDropImage: "...or drag and drop an image.",
orDragDropImageMulti: "...or drag and drop images.",
processingFile: "Processing file...",
removeBtn: "remove",
removeBtnClicked: "removed",
submitBtnError: "Error!",
submitBtnLoading: "Please wait...",
unsupportedFileType: "File type not supported.",
uploadFileBtn: "Upload a File",
uploadFileMultiBtn: "Upload Files",
uploadImageBtn: "Upload an Image",
uploadImageMultiBtn: "Upload Images",
xOfY: "of"
}

@@ -326,0 +324,0 @@ ```

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

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