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

corsable

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corsable - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "corsable",
"version": "2.0.2",
"version": "2.0.3",
"description": "lightweight CORS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,7 +68,21 @@ # simple CORS

default: `[ 'POST','GET','PUT','DELETE','OPTIONS' ]`
default: `[
'POST',
'GET',
'PUT',
'PATCH',
'DELETE',
'OPTIONS'
]`
### `allow_headers` (Access-Control-Allow-Headers)
default: `[ 'X-Requested-With','Access-Control-Allow-Origin','X-HTTP-Method-Override','Content-Type','Authorization','Accept' ]`
default: `[
'X-Requested-With',
'Access-Control-Allow-Origin',
'X-HTTP-Method-Override',
'Content-Type',
'Authorization',
'Accept'
]`

@@ -75,0 +89,0 @@ ### `expose_headers` (Access-Control-Expose-Headers)

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