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

setheader

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

setheader - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

index.js

@@ -34,3 +34,5 @@ 'use strict';

//
if (!Object.getOwnPropertyDescriptor(res._headers, key).configurable) {
var described = Object.getOwnPropertyDescriptor(res._headers, key);
if (described && !described.configurable) {
return false;

@@ -37,0 +39,0 @@ }

{
"name": "setheader",
"version": "0.0.3",
"version": "0.0.4",
"description": "Protect headers from being overridden before they are written to response.",

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