Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

corsify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corsify - npm Package Compare versions

Comparing version 0.1.0 to 1.0.1

7

index.js

@@ -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 @@

20

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc