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

@bytescale/upload-widget-jquery

Package Overview
Dependencies
Maintainers
2
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.14.0 to 4.15.0

11

dist/main.js

@@ -24,18 +24,13 @@ /******/ (function() { // webpackBootstrap

;// CONCATENATED MODULE: external "@bytescale/upload-widget"
var upload_widget_namespaceObject = require("@bytescale/upload-widget");;
var upload_widget_namespaceObject = require("@bytescale/upload-widget");
;// CONCATENATED MODULE: ./src/index.ts
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
(function ($) {
var funcs = $.fn;
funcs.bytescaleUploadWidget = function (options) {
var _a, _b;
var handleOnComplete = function handleOnComplete(promise) {
promise.then(function (files) {
var onComplete = options.onComplete;
if (onComplete !== undefined) {

@@ -48,3 +43,2 @@ onComplete(files);

};
if (options.layout === "inline" || options.dropzone === true || _typeof(options.dropzone) === "object") {

@@ -70,3 +64,2 @@ var dropzone = _typeof(options.dropzone) === "object" ? options.dropzone : undefined;

}
return this;

@@ -73,0 +66,0 @@ };

32

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

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

"peerDependencies": {
"jquery": "3.6.0"
"jquery": "^3.6.0"
},
"dependencies": {
"@bytescale/upload-widget": "^4.24.0"
"@bytescale/upload-widget": "^4.27.0"
},
"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.8",
"@babel/preset-env": "7.16.11",
"@babel/cli": "7.24.1",
"@babel/core": "7.24.1",
"@babel/preset-env": "7.24.1",
"@types/jest": "27.4.1",

@@ -93,5 +93,5 @@ "@types/jquery": "3.5.14",

"@wdio/spec-reporter": "^7.19.1",
"babel-loader": "8.2.3",
"babel-plugin-transform-async-to-promises": "0.8.15",
"chromedriver": "^121.0.0",
"babel-loader": "8.3.0",
"babel-plugin-transform-async-to-promises": "0.8.18",
"chromedriver": "^123.0.0",
"enzyme": "3.11.0",

@@ -107,22 +107,22 @@ "eslint": "7.32.0",

"eslint-plugin-wdio": "^7.19.0",
"html-webpack-plugin": "5.5.0",
"html-webpack-plugin": "5.6.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "10.5.1",
"prettier": "2.1.2",
"prettier": "2.8.8",
"resize-observer-polyfill": "^1.5.1",
"ts-jest": "27.1.3",
"ts-loader": "8.0.11",
"ts-loader": "9.5.1",
"ts-node": "^10.7.0",
"tsc-alias": "1.2.10",
"typescript": "4.6.2",
"typescript": "4.7.4",
"wdio-chromedriver-service": "^7.3.2",
"wdio-wait-for": "^2.2.5",
"webdriverio": "^7.19.3",
"webpack": "5.24.1",
"webpack": "5.90.3",
"webpack-bundle-analyzer": "4.2.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.7.4",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.15.2",
"webpack-node-externals": "2.5.2"
}
}

@@ -6,3 +6,3 @@ <h1 align="center">

</h1>
<p align="center"><b>Beautiful File Upload Widget for jQuery</b><br/> (With Built-in Cloud Storage)</p>
<p align="center"><b>Beautiful File Upload Widget for jQuery</b><br/> (Works out-the-box, storage included)</p>
<br/>

@@ -494,2 +494,19 @@ <p align="center">

#### Antivirus
To scan the file `example.zip` for viruses, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/antivirus/example.zip"
UrlBuilder.url({
accountId: "1234abc",
filePath: "/example.zip",
options: {
transformation: "antivirus"
}
});
```
[Antivirus API Docs ยป](https://www.bytescale.com/docs/antivirus-api)
## ๐Ÿ™‹ Can I use my own storage?

@@ -496,0 +513,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