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

@rubynetwork/rh

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rubynetwork/rh - npm Package Compare versions

Comparing version 1.2.73 to 1.2.74

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 1.2.74
- Enforce https://
## 1.2.73

@@ -2,0 +6,0 @@

2

package.json
{
"name": "@rubynetwork/rh",
"version": "1.2.73",
"version": "1.2.74",
"description": "User friendly web proxy powered by testcafe-hammerhead",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -37,2 +37,3 @@ import fs from 'fs';

const { origin_proxy } = cookie.parse(req.headers.cookie || '');
console.log(req.socket)
let origin;

@@ -43,3 +44,3 @@ try {

console.log(err, req.headers.cookie);
origin = new URL(`${req.socket.encrypted ? 'https:' : 'http:'}//${req.headers.host}`);
origin = new URL(`https://${req.headers.host}`);
}

@@ -46,0 +47,0 @@ const { hostname, port, protocol } = origin;

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