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

@citizenfx/http-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citizenfx/http-wrapper - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

index.js

@@ -107,3 +107,3 @@ const flatMap = require('array.prototype.flatmap');

getHeader(name) {
return this.headers[name];
return this.headers[name.toLowerCase()];
}

@@ -121,11 +121,11 @@

hasHeader(name) {
return (this.headers[name] !== undefined);
return (this.headers[name.toLowerCase()] !== undefined);
}
removeHeader(name) {
delete this.headers[name];
delete this.headers[name.toLowerCase()];
}
setHeader(name, value) {
this.headers[name] = value;
this.headers[name.toLowerCase()] = value;
}

@@ -132,0 +132,0 @@

{
"name": "@citizenfx/http-wrapper",
"version": "0.1.1",
"version": "0.1.2",
"description": "A HTTP wrapper for CitizenFX SetHttpHandler.",

@@ -5,0 +5,0 @@ "main": "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