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

connect-header

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

connect-header - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

3

lib/header.js

@@ -8,2 +8,3 @@ /**

module.exports = function header(headers) {
headers = headers || {};
if ('object' !== typeof headers || require('util').isArray(headers)) {

@@ -27,2 +28,2 @@ throw new Error('headers should be object, like {"key": "value"}');

}
}
};
{
"name":"connect-header",
"version":"0.0.1",
"version":"0.0.2",
"description":"General header middleware for Connect.",

@@ -21,2 +21,4 @@ "author":{

"devDependencies":{
"qunit": "*",
"github-flavored-markdown": "*"
},

@@ -23,0 +25,0 @@ "scripts":{

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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