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.1 to 2.0.2

4

dist/index.d.ts
/// <reference types="node" />
import { IncomingMessage } from 'http';
import ipaddr from 'ipaddr.js';
import { IPv6, IPv4 } from 'ipaddr.js';
/**

@@ -24,3 +24,3 @@ * Get all addresses in the request, optionally stopping

*/
export declare function parseIPNotation(note: string): (string | number | ipaddr.IPv4 | ipaddr.IPv6)[];
export declare function parseIPNotation(note: string): [IPv4 | IPv6, string | number];
/**

@@ -27,0 +27,0 @@ * Determine address of proxied request.

{
"name": "@tinyhttp/proxy-addr",
"version": "2.0.1",
"version": "2.0.2",
"type": "module",

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

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

@@ -34,0 +34,0 @@ },

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