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

@types/koa-bodyparser

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-bodyparser - npm Package Compare versions

Comparing version 4.3.1 to 4.3.2

24

koa-bodyparser/index.d.ts

@@ -37,3 +37,3 @@ // Type definitions for koa-bodyparser 4.3

*/
enableTypes?: string[];
enableTypes?: string[] | undefined;

@@ -43,3 +43,3 @@ /**

*/
encode?: string;
encode?: string | undefined;

@@ -50,3 +50,3 @@ /**

*/
formLimit?: string;
formLimit?: string | undefined;

@@ -56,3 +56,3 @@ /**

*/
jsonLimit?: string;
jsonLimit?: string | undefined;

@@ -62,3 +62,3 @@ /**

*/
textLimit?: string;
textLimit?: string | undefined;

@@ -68,3 +68,3 @@ /**

*/
strict?: boolean;
strict?: boolean | undefined;

@@ -74,3 +74,3 @@ /**

*/
detectJSON?: (ctx: Koa.Context) => boolean;
detectJSON?: ((ctx: Koa.Context) => boolean) | undefined;

@@ -81,6 +81,6 @@ /**

extendTypes?: {
json?: string[];
form?: string[];
text?: string[];
};
json?: string[] | undefined;
form?: string[] | undefined;
text?: string[] | undefined;
} | undefined;

@@ -90,3 +90,3 @@ /**

*/
onerror?: (err: Error, ctx: Koa.Context) => void;
onerror?: ((err: Error, ctx: Koa.Context) => void) | undefined;
}

@@ -93,0 +93,0 @@ }

{
"name": "@types/koa-bodyparser",
"version": "4.3.1",
"version": "4.3.2",
"description": "TypeScript definitions for koa-bodyparser",

@@ -45,4 +45,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-bodyparser",

},
"typesPublisherContentHash": "5b8afa647bdd6aa0281026d16ffe93e9d2ac2efeccff30ce8287144d9628760b",
"typesPublisherContentHash": "2a3b15fa39a09b2c0cddc3e96305db19a816a1644f9992270dd86ac20d43aea7",
"typeScriptVersion": "3.6"
}

@@ -47,3 +47,3 @@ # Installation

*/
enableTypes?: string[];
enableTypes?: string[] | undefined;

@@ -53,3 +53,3 @@ /**

*/
encode?: string;
encode?: string | undefined;

@@ -60,3 +60,3 @@ /**

*/
formLimit?: string;
formLimit?: string | undefined;

@@ -66,3 +66,3 @@ /**

*/
jsonLimit?: string;
jsonLimit?: string | undefined;

@@ -72,3 +72,3 @@ /**

*/
textLimit?: string;
textLimit?: string | undefined;

@@ -78,3 +78,3 @@ /**

*/
strict?: boolean;
strict?: boolean | undefined;

@@ -84,3 +84,3 @@ /**

*/
detectJSON?: (ctx: Koa.Context) => boolean;
detectJSON?: ((ctx: Koa.Context) => boolean) | undefined;

@@ -91,6 +91,6 @@ /**

extendTypes?: {
json?: string[];
form?: string[];
text?: string[];
};
json?: string[] | undefined;
form?: string[] | undefined;
text?: string[] | undefined;
} | undefined;

@@ -100,3 +100,3 @@ /**

*/
onerror?: (err: Error, ctx: Koa.Context) => void;
onerror?: ((err: Error, ctx: Koa.Context) => void) | undefined;
}

@@ -110,3 +110,3 @@ }

### Additional Details
* Last updated: Sat, 05 Jun 2021 00:01:32 GMT
* Last updated: Tue, 06 Jul 2021 22:02:37 GMT
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa)

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