Socket
Socket
Sign inDemoInstall

@haensl/http

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haensl/http - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

16

index.json

@@ -18,2 +18,18 @@ {

"accept": "Accept",
"accessControl": {
"allow": {
"credentials": "Access-Control-Allow-Credentials",
"origin": "Access-Control-Allow-Origin",
"methods": "Access-Control-Allow-Methods",
"headers": "Access-Control-Allow-Headers"
},
"expose": {
"headers": "Access-Control-Expose-Headers"
},
"maxAge": "Access-Control-Max-Age",
"request": {
"headers": "Access-Control-Request-Headers",
"method": "Access-Control-Request-Method"
}
},
"authorization": "Authorization",

@@ -20,0 +36,0 @@ "contentType": "Content-Type",

2

package.json
{
"name": "@haensl/http",
"version": "1.0.0",
"version": "1.1.0",
"description": "Simple JSON object of common HTTP headers, status codes and methods.",

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

@@ -80,2 +80,10 @@ # @haensl/http

"accept": "Accept",
"accessControl": {
"allow": {
"origin": "Access-Control-Allow-Origin",
"methods": "Access-Control-Allow-Methods"
// ...
},
// ...
},
"authorization": "Authorization",

@@ -93,2 +101,4 @@ "contentType": "Content-Type",

### [JSON](index.json)
**Attention:** This JSON object is not exhaustive(, yet)! If you need a status code, header or method added, please [create a feature request](https://github.com/haensl/http/issues/new?labels=feature%20request)

@@ -95,0 +105,0 @@

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