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

@outtacontrol/socks-router

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@outtacontrol/socks-router - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "@outtacontrol/socks-router",
"version": "1.0.4",
"version": "1.0.5",
"description": "routes requests on the socks v5 server.",

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

import { SocksRoute } from './interfaces/SocksRoute';
import { SocksConnectionCallback } from "./interfaces/SocksConnectionCallback";
import { SocksAcceptCallback } from "./interfaces/SocksAcceptCallback";
import { SocksDenyCallback } from "./interfaces/SocksDenyCallback";
import { SocksProxyInfo } from "./interfaces/SocksProxyInfo";
import { SocksRoute } from "./interfaces/SocksRoute";
import { SocksRouteInitialize } from "./interfaces/SocksRouteInitialize";
import { SocksRouteInterceptor } from "./interfaces/SocksRouteInterceptor";
import { SocksRouteValidator } from "./interfaces/SocksRouteValidator";
import { isUriValid } from "./util/isUriValid";
export {
SocksConnectionCallback,
SocksAcceptCallback,
SocksDenyCallback,
SocksProxyInfo,
SocksRoute,
SocksRouteInitialize,
SocksRouteInterceptor,
SocksRouteValidator,
isUriValid
}
export class Router {

@@ -33,3 +51,3 @@

}
const validated = route.validate ? await route.validate(info) : undefined;

@@ -41,3 +59,3 @@ if (validated === false) {

}
else if (validated === true) {

@@ -44,0 +62,0 @@ if (route.intercept) {

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