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

set-global-proxy

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

set-global-proxy - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

index.d.ts

@@ -5,2 +5,3 @@ export interface ProxyOptions {

bypass?: string;
sudo?: boolean;
}

@@ -7,0 +8,0 @@

4

lib/mac/index.js

@@ -51,3 +51,5 @@ var execSync = require('child_process').execSync;

}
options.sudo && execSync(SUDO);
try {
options.sudo && execSync(SUDO);
} catch (e) {}
execSync('\'' + PROXY_HELPER + '\' -m global -p ' + port + ' -r ' + port + ' -s ' + options.host + bypass);

@@ -54,0 +56,0 @@ try {

{
"name": "set-global-proxy",
"description": "Set global proxy for PC",
"version": "0.1.1",
"version": "0.1.2",
"author": "avenwu <avenwu@vip.qq.com>",

@@ -6,0 +6,0 @@ "contributors": [],

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