Comparing version 0.1.0 to 1.0.1
@@ -52,3 +52,8 @@ var methods = require("http-methods") | ||
return "endOptions" in opts || | ||
"getOrigin" in opts | ||
"getOrigin" in opts || | ||
"Access-Control-Allow-Origin" in opts || | ||
"Access-Control-Allow-Methods" in opts || | ||
"Access-Control-Allow-Credentials" in opts || | ||
"Access-Control-Max-Age" in opts || | ||
"Access-Control-Allow-Headers" in opts | ||
} | ||
@@ -55,0 +60,0 @@ |
{ | ||
"name": "corsify", | ||
"version": "0.1.0", | ||
"version": "1.0.1", | ||
"description": "CORS up a route handler", | ||
@@ -10,5 +10,7 @@ "keywords": [], | ||
"homepage": "https://github.com/Raynos/corsify", | ||
"contributors": [{ | ||
"name": "Raynos" | ||
}], | ||
"contributors": [ | ||
{ | ||
"name": "Raynos" | ||
} | ||
], | ||
"bugs": { | ||
@@ -22,6 +24,8 @@ "url": "https://github.com/Raynos/corsify/issues", | ||
}, | ||
"licenses": [{ | ||
"type": "MIT", | ||
"url": "http://github.com/Raynos/corsify/raw/master/LICENSE" | ||
}], | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://github.com/Raynos/corsify/raw/master/LICENSE" | ||
} | ||
], | ||
"scripts": { | ||
@@ -28,0 +32,0 @@ "test": "node ./test/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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7617
70
0