@satorijs/router
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -119,7 +119,7 @@ "use strict"; | ||
koa.use(require("koa-bodyparser")({ | ||
enableTypes: ["json", "form", "xml"], | ||
jsonLimit: "10mb", | ||
formLimit: "10mb", | ||
textLimit: "10mb", | ||
xmlLimit: "10mb" | ||
enableTypes: ["json", "form", "xml"] | ||
// jsonLimit: '10mb', | ||
// formLimit: '10mb', | ||
// textLimit: '10mb', | ||
// xmlLimit: '10mb', | ||
})); | ||
@@ -126,0 +126,0 @@ koa.use(this.routes()); |
{ | ||
"name": "@satorijs/router", | ||
"description": "Router plugin for cordis", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/index.js", | ||
@@ -43,3 +43,3 @@ "types": "lib/index.d.ts", | ||
"dependencies": { | ||
"@koa/router": "^12.0.1", | ||
"@koa/router": "^10.1.1", | ||
"@types/koa": "*", | ||
@@ -55,4 +55,4 @@ "@types/koa__router": "*", | ||
"peerDependencies": { | ||
"@satorijs/satori": "^3.1.0" | ||
"@satorijs/satori": "^3.1.1" | ||
} | ||
} |
@@ -71,6 +71,6 @@ import { Context, Logger, Schema } from '@satorijs/core' | ||
enableTypes: ['json', 'form', 'xml'], | ||
jsonLimit: '10mb', | ||
formLimit: '10mb', | ||
textLimit: '10mb', | ||
xmlLimit: '10mb', | ||
// jsonLimit: '10mb', | ||
// formLimit: '10mb', | ||
// textLimit: '10mb', | ||
// xmlLimit: '10mb', | ||
})) | ||
@@ -77,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
27727
+ Added@koa/router@10.1.1(transitive)
- Removed@koa/router@12.0.2(transitive)
Updated@koa/router@^10.1.1