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

@tinyhttp/proxy-addr

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/proxy-addr - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

2

dist/index.js

@@ -73,3 +73,3 @@ import { forwarded } from "@tinyhttp/forwarded";

range = null;
if (range <= 0 || range > max)
if (typeof range === "number" && (range <= 0 || range > max))
throw new TypeError("invalid range on address: " + note);

@@ -76,0 +76,0 @@ return [ip, range];

{
"name": "@tinyhttp/proxy-addr",
"version": "2.0.6",
"version": "2.0.7",
"type": "module",

@@ -31,4 +31,4 @@ "description": "proxy-addr rewrite with TypeScript and ESM support",

"dependencies": {
"@tinyhttp/forwarded": "2.0.6",
"ipaddr.js": "^2.0.1"
"ipaddr.js": "^2.0.1",
"@tinyhttp/forwarded": "2.0.6"
},

@@ -35,0 +35,0 @@ "scripts": {

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