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

@bytescale/upload-widget-vue

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bytescale/upload-widget-vue - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

4

package.json
{
"name": "@bytescale/upload-widget-vue",
"version": "4.5.0",
"version": "4.5.1",
"author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",

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

"babel-plugin-transform-async-to-promises": "0.8.15",
"chromedriver": "^115.0.0",
"chromedriver": "^117.0.0",
"enzyme": "3.11.0",

@@ -96,0 +96,0 @@ "eslint": "7.32.0",

@@ -135,4 +135,4 @@ <h1 align="center">

<UploadDropzone :options="options"
:on-complete="onFilesUploaded"
:on-update="onFileListChanged"
:on-complete="onFilesUploaded"
width="600px"

@@ -165,5 +165,5 @@ height="375px" />

methods: {
onFileListChanged(event: UploadWidgetOnUpdateEvent) {
console.log("On update:");
console.log(JSON.stringify(event));
onFileListChanged({ uploadedFiles, pendingFiles }: UploadWidgetOnUpdateEvent) {
const uploadedFileUrls = uploadedFiles.map(x => x.fileUrl).join("\n");
console.log(uploadedFileUrls);
},

@@ -182,2 +182,10 @@ onFilesUploaded(files: UploadWidgetResult[]) {

> **Special behaviour for dropzones:**
>
> `on-complete` only fires when `showFinishButton = true` (i.e. when the user clicks "Finish").
>
> `on-update` must be used when `showFinishButton = false`.
>
> Default value: `showFinishButton = false`
## Result

@@ -184,0 +192,0 @@

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