New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-enforces-ssl

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-enforces-ssl - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

index.js

@@ -9,9 +9,3 @@ "use strict";

// Second, if the request headers can be trusted (e.g. because they are send
// by a proxy), check if x-forward-proto is set to https
if(!isHttps) {
isHttps = (req.protocol === "https");
}
if(isHttps) {
next();

@@ -18,0 +12,0 @@ } else {

2

package.json
{
"name": "express-enforces-ssl",
"version": "0.2.0",
"version": "0.2.1",
"description": "Enforces SSL for node.js express projects",

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