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

fast-proxy-lite

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

fast-proxy-lite - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

lib/utils.js

@@ -92,4 +92,8 @@ 'use strict'

function buildURL (source = '', reqBase) {
// issue ref: https://github.com/fastify/fast-proxy/issues/42
const cleanSource = source.replace(/\/+/g, '/')
// issue ref: https://github.com/fastify/fast-proxy/issues/42, https://github.com/fastify/fast-proxy/issues/76
let i = 0
while (source[i] === '/') {
i++
}
const cleanSource = i > 0 ? '/' + source.substring(i) : source

@@ -96,0 +100,0 @@ return new URL(cleanSource, reqBase)

{
"name": "fast-proxy-lite",
"version": "1.1.1",
"version": "1.1.2",
"description": "Forward your HTTP request to another server.",

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