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

@bytescale/upload-widget-jquery

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.4.1 to 4.4.2

2

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

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

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

apiKey: "free", // Get API keys from: www.bytescale.com
maxFileCount: 10,
showFinishButton: true,
dropzone: {

@@ -124,8 +126,11 @@ width: "600px",

},
onUpdate: ({ uploadedFiles }) => {
if (uploadedFiles.length === 0) {
console.log('No files selected.')
onUpdate: event => {
console.log("On update:");
console.log(JSON.stringify(event));
},
onComplete: files => {
if (files.length === 0) {
alert('No files selected.')
} else {
console.log('Files uploaded:');
console.log(uploadedFiles.map(f => f.fileUrl));
alert(files.map(f => f.fileUrl).join("\n"));
}

@@ -132,0 +137,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