@satorijs/router
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -119,3 +119,7 @@ "use strict"; | ||
koa.use(require("koa-bodyparser")({ | ||
enableTypes: ["json", "form", "xml"] | ||
enableTypes: ["json", "form", "xml"], | ||
jsonLimit: "10mb", | ||
formLimit: "10mb", | ||
textLimit: "10mb", | ||
xmlLimit: "10mb" | ||
})); | ||
@@ -122,0 +126,0 @@ koa.use(this.routes()); |
{ | ||
"name": "@satorijs/router", | ||
"description": "Router plugin for cordis", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"main": "lib/index.js", | ||
@@ -40,9 +40,9 @@ "types": "lib/index.d.ts", | ||
"devDependencies": { | ||
"@types/parseurl": "^1.3.1" | ||
"@types/parseurl": "^1.3.2" | ||
}, | ||
"dependencies": { | ||
"@koa/router": "^10.1.1", | ||
"@koa/router": "^12.0.1", | ||
"@types/koa": "*", | ||
"@types/koa__router": "*", | ||
"@types/ws": "^8.5.6", | ||
"@types/ws": "^8.5.8", | ||
"koa": "^2.14.2", | ||
@@ -49,0 +49,0 @@ "koa-bodyparser": "^4.4.1", |
@@ -71,2 +71,6 @@ import { Context, Logger, Schema } from '@satorijs/core' | ||
enableTypes: ['json', 'form', 'xml'], | ||
jsonLimit: '10mb', | ||
formLimit: '10mb', | ||
textLimit: '10mb', | ||
xmlLimit: '10mb', | ||
})) | ||
@@ -73,0 +77,0 @@ koa.use(this.routes()) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27771
607
+ Added@koa/router@12.0.2(transitive)
- Removed@koa/router@10.1.1(transitive)
Updated@koa/router@^12.0.1
Updated@types/ws@^8.5.8