Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@types/busboy

Package Overview
Dependencies
2
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.2 to 0.3.3

80

busboy v0.3/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc