Comparing version 3.4.2 to 3.4.3
3.4.3 / 2022-10-08 | ||
================== | ||
**others** | ||
* [[`208b86c`](http://github.com/koajs/cors/commit/208b86c893013d65e4479219aae0763b807bc8a6)] - Revert "fix: Calling all options even if origin header is not present (#87)" (fengmk2 <<fengmk2@gmail.com>>) | ||
3.4.2 / 2022-10-06 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -61,2 +61,4 @@ 'use strict'; | ||
if (!requestOrigin) return await next(); | ||
let origin; | ||
@@ -63,0 +65,0 @@ if (typeof options.origin === 'function') { |
{ | ||
"name": "@koa/cors", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"description": "Cross-Origin Resource Sharing(CORS) for koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
17865
137