Comparing version 0.0.3 to 0.0.5
/** | ||
* CORS middleware | ||
* | ||
* @param {Object} [options] | ||
* @param {Object} [settings] | ||
* @return {Function} | ||
@@ -19,2 +19,4 @@ * @api public | ||
yield next; | ||
var options = settings; | ||
@@ -82,9 +84,6 @@ | ||
this.status = 204; | ||
return; | ||
} | ||
return yield next; | ||
} | ||
}; |
{ | ||
"name": "koa-cors", | ||
"version": "0.0.3", | ||
"description": "CORS middleware for koa", | ||
"version": "0.0.5", | ||
"description": "CORS middleware for Koa", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
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
5900
81