
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@types/tunnel
Advanced tools
TypeScript definitions for tunnel
npm install --save @types/tunnel
This package contains type definitions for tunnel (https://github.com/koichik/node-tunnel/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel.
/// <reference types="node" />
import { Agent, AgentOptions as HttpAgentOptions } from "http";
import { Agent as HttpsAgent, AgentOptions as HttpsAgentOptions } from "https";
export function httpOverHttp(options?: HttpOptions): Agent;
export function httpsOverHttp(options?: HttpsOverHttpOptions): Agent;
export function httpOverHttps(options?: HttpOverHttpsOptions): HttpsAgent;
export function httpsOverHttps(options?: HttpsOverHttpsOptions): HttpsAgent;
export interface HttpOptions extends HttpAgentOptions {
proxy?: ProxyOptions | undefined;
}
export interface HttpsOptions extends HttpsAgentOptions {
proxy?: ProxyOptions | undefined;
}
export interface HttpsOverHttpOptions extends HttpsOptions {
ca?: Buffer[] | undefined;
key?: Buffer | undefined;
cert?: Buffer | undefined;
}
export interface HttpOverHttpsOptions extends HttpOptions {
proxy?: HttpsProxyOptions | undefined;
}
export interface HttpsOverHttpsOptions extends HttpsOverHttpOptions {
proxy?: HttpsProxyOptions | undefined;
}
export interface ProxyOptions {
host: string;
port: number;
localAddress?: string | undefined;
proxyAuth?: string | undefined;
headers?: { [key: string]: any } | undefined;
}
export interface HttpsProxyOptions extends ProxyOptions {
ca?: Buffer[] | undefined;
servername?: string | undefined;
key?: Buffer | undefined;
cert?: Buffer | undefined;
}
These definitions were written by BendingBender.
FAQs
TypeScript definitions for tunnel
The npm package @types/tunnel receives a total of 1,211,147 weekly downloads. As such, @types/tunnel popularity was classified as popular.
We found that @types/tunnel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.