@types/busboy
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -9,4 +9,4 @@ // Type definitions for busboy 0.3 | ||
import * as http from 'http'; | ||
import { Readable, Writable } from 'stream'; | ||
import * as http from "http"; | ||
import { Readable, Writable } from "stream"; | ||
@@ -48,42 +48,42 @@ export = busboy; | ||
| { | ||
/** | ||
* Max field name size (in bytes) | ||
* @default 100 bytes | ||
*/ | ||
fieldNameSize?: number | undefined; | ||
/** | ||
* Max field value size (in bytes) | ||
* @default 1MB | ||
*/ | ||
fieldSize?: number | undefined; | ||
/** | ||
* Max number of non-file fields | ||
* @default Infinity | ||
*/ | ||
fields?: number | undefined; | ||
/** | ||
* For multipart forms, the max file size (in bytes) | ||
* @default Infinity | ||
*/ | ||
fileSize?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of file fields | ||
* @default Infinity | ||
*/ | ||
files?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of parts (fields + files) | ||
* @default Infinity | ||
*/ | ||
parts?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of header key=>value pairs to parse | ||
* @default 2000 (same as node's http) | ||
*/ | ||
headerPairs?: number | undefined; | ||
} | ||
/** | ||
* Max field name size (in bytes) | ||
* @default 100 bytes | ||
*/ | ||
fieldNameSize?: number | undefined; | ||
/** | ||
* Max field value size (in bytes) | ||
* @default 1MB | ||
*/ | ||
fieldSize?: number | undefined; | ||
/** | ||
* Max number of non-file fields | ||
* @default Infinity | ||
*/ | ||
fields?: number | undefined; | ||
/** | ||
* For multipart forms, the max file size (in bytes) | ||
* @default Infinity | ||
*/ | ||
fileSize?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of file fields | ||
* @default Infinity | ||
*/ | ||
files?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of parts (fields + files) | ||
* @default Infinity | ||
*/ | ||
parts?: number | undefined; | ||
/** | ||
* For multipart forms, the max number of header key=>value pairs to parse | ||
* @default 2000 (same as node's http) | ||
*/ | ||
headerPairs?: number | undefined; | ||
} | ||
| undefined; | ||
} | ||
type BusboyHeaders = { 'content-type': string } & http.IncomingHttpHeaders; | ||
type BusboyHeaders = { "content-type": string } & http.IncomingHttpHeaders; | ||
@@ -164,4 +164,4 @@ interface Busboy extends Writable { | ||
(options: BusboyConfig): Busboy; | ||
new (options: BusboyConfig): Busboy; | ||
new(options: BusboyConfig): Busboy; | ||
} | ||
} |
{ | ||
"name": "@types/busboy", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "TypeScript definitions for busboy", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/busboy", | ||
}, | ||
"typesPublisherContentHash": "3435ef142f385f6ba9d3e684a154c000513908dcba6eeda8fadc219316e92410", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "2901cd3fd1e3a2c9b3e89d936c0003d2346dc19dbe38c414125e7450a5a0ec7a", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 06 Jan 2022 17:31:30 GMT | ||
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
9354