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

@types/jquery.fileupload

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jquery.fileupload - npm Package Compare versions

Comparing version 5.40.36 to 9.22.0

50

jquery.fileupload/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for jQuery File Upload Plugin 5.40.1
// Type definitions for jQuery File Upload Plugin 9.22.0
// Project: https://github.com/blueimp/jQuery-File-Upload

@@ -9,3 +9,3 @@ // Definitions by: Rob Alarcon <https://github.com/rob-alarcon/>

// Interface options for the plugin
// Interface options for the plugin
interface JQueryFileInputOptions {

@@ -110,4 +110,4 @@

// The HTTP request method must be "POST" or "PUT"
type?: string,
// The HTTP request method must be "POST" or "PUT"
type?: string,

@@ -204,3 +204,3 @@ /**

*/
add?: (e: JQueryEventObject, data: JQueryFileInputOptions) => void;
add?: (e: JQueryEventObject, data: JqueryFileUploadAddObject) => void;

@@ -215,3 +215,3 @@ // The plugin options are used as settings object for the ajax calls.

timeout?: number;
active?: Function;

@@ -224,9 +224,9 @@ progress?: (e: JQueryEventObject, data: JQueryFileUploadProgressObject) => void;

/**
* The maximum allowed file size in bytes.
* Type: integer
* Default: undefined
* Example: 10000000 // 10 MB
* Note: This option has only an effect for browsers supporting the File API.
* @see https://github.com/blueimp/jQuery-File-Upload/wiki/Options#maxfilesize
*/
* The maximum allowed file size in bytes.
* Type: integer
* Default: undefined
* Example: 10000000 // 10 MB
* Note: This option has only an effect for browsers supporting the File API.
* @see https://github.com/blueimp/jQuery-File-Upload/wiki/Options#maxfilesize
*/
maxFileSize?: number;

@@ -251,3 +251,3 @@

// Others
// Others
url?: string;

@@ -272,2 +272,8 @@ files?: any;

interface JqueryFileUploadEnhancedPromise<T> extends JQueryPromise<T>{
success: JQueryPromise<T>['done'],
error: JQueryPromise<T>['fail'],
complete: JQueryPromise<T>['always'],
}
interface JQuerySupport {

@@ -285,2 +291,16 @@ fileInput?: boolean;

interface JqueryFileUploadConvenienceObject {
abort: () => JqueryFileUploadEnhancedPromise<any>;
process: (resolveFunc?: Function, rejectFunc?: Function) => JqueryFileUploadEnhancedPromise<any>;
processing: () => JqueryFileUploadEnhancedPromise<any>;
progress: () => JqueryFileUploadEnhancedPromise<any>;
response: () => JqueryFileUploadEnhancedPromise<any>;
submit<T>(): JqueryFileUploadEnhancedPromise<T>;
state: () => JqueryFileUploadEnhancedPromise<any>;
}
interface JqueryFileUploadAddObject extends JQueryFileUploadChangeObject, JqueryFileUploadConvenienceObject {
paramName?: string | string[];
}
interface JQueryFileUploadProgressAllObject {

@@ -315,2 +335,2 @@ loaded?: number;

interface JQueryFileUploadDone extends JQueryFileInputOptions, JQueryFileUploadXhr {
}
}
{
"name": "@types/jquery.fileupload",
"version": "5.40.36",
"version": "9.22.0",
"description": "TypeScript definitions for jQuery File Upload Plugin",

@@ -15,3 +15,3 @@ "license": "MIT",

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},

@@ -22,5 +22,4 @@ "scripts": {},

},
"peerDependencies": {},
"typesPublisherContentHash": "f290370a636ccef23b3bc4b616a59f4b3a1ff37418275dc0cf41581687d1570b",
"typesPublisherContentHash": "e89592b797a6c82bd104ad5fa58833d4f94d1caa4c86de4ddf578c6c1ea20f2d",
"typeScriptVersion": "2.3"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.fileupload
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.fileupload
Additional Details
* Last updated: Thu, 15 Jun 2017 20:15:09 GMT
* Last updated: Mon, 30 Jul 2018 23:12:12 GMT
* Dependencies: jquery

@@ -14,0 +14,0 @@ * Global values: none

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