@compas/server
Advanced tools
Comparing version 0.0.241 to 0.0.242
{ | ||
"name": "@compas/server", | ||
"version": "0.0.241", | ||
"version": "0.0.242", | ||
"description": "Koa server and common middleware", | ||
@@ -21,3 +21,3 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@compas/stdlib": "0.0.241", | ||
"@compas/stdlib": "0.0.242", | ||
"@types/formidable": "2.0.5", | ||
@@ -24,0 +24,0 @@ "@types/koa": "2.13.6", |
@@ -12,3 +12,3 @@ /** | ||
* @property {ErrorHandlerOptions|undefined} [errorOptions] Flexible error handling | ||
* options | ||
* options | ||
* @property {HeaderOptions|undefined} [headers] Argument for defaultHeader middleware. | ||
@@ -38,3 +38,3 @@ * Can only be completely disabled by setting `disableHeaders`. | ||
* @property {string|((ctx: Koa.Context) => (string|undefined))} [origin] | ||
* 'Access-Control-Allow-Origin', defaults to the 'Origin' header. | ||
* 'Access-Control-Allow-Origin', defaults to the 'Origin' header. | ||
* @property {string|string[]|undefined} [exposeHeaders] 'Access-Control-Expose-Headers' | ||
@@ -44,3 +44,3 @@ * @property {string|number|undefined} [maxAge] 'Access-Control-Max-Age' in seconds | ||
* @property {string|string[]|undefined} [allowMethods] 'Access-Control-Allow-Methods', | ||
* defaults to ["DELETE", "GET", "PUT", "POST", "PATCH", "HEAD", "OPTIONS"] | ||
* defaults to ["DELETE", "GET", "PUT", "POST", "PATCH", "HEAD", "OPTIONS"] | ||
* @property {string|string[]|undefined} [allowHeaders] 'Access-Control-Allow-Headers' | ||
@@ -47,0 +47,0 @@ */ |
@@ -23,3 +23,3 @@ import { isProduction } from "@compas/stdlib"; | ||
* @property {ErrorHandlerOptions|undefined} [errorOptions] Flexible error handling | ||
* options | ||
* options | ||
* @property {HeaderOptions|undefined} [headers] Argument for defaultHeader middleware. | ||
@@ -52,3 +52,3 @@ * Can only be completely disabled by setting `disableHeaders`. | ||
* @property {string|((ctx: Koa.Context) => (string|undefined))} [origin] | ||
* 'Access-Control-Allow-Origin', defaults to the 'Origin' header. | ||
* 'Access-Control-Allow-Origin', defaults to the 'Origin' header. | ||
* @property {string|string[]|undefined} [exposeHeaders] 'Access-Control-Expose-Headers' | ||
@@ -58,3 +58,3 @@ * @property {string|number|undefined} [maxAge] 'Access-Control-Max-Age' in seconds | ||
* @property {string|string[]|undefined} [allowMethods] 'Access-Control-Allow-Methods', | ||
* defaults to ["DELETE", "GET", "PUT", "POST", "PATCH", "HEAD", "OPTIONS"] | ||
* defaults to ["DELETE", "GET", "PUT", "POST", "PATCH", "HEAD", "OPTIONS"] | ||
* @property {string|string[]|undefined} [allowHeaders] 'Access-Control-Allow-Headers' | ||
@@ -61,0 +61,0 @@ */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36088
+ Added@compas/stdlib@0.0.242(transitive)
- Removed@compas/stdlib@0.0.241(transitive)
Updated@compas/stdlib@0.0.242