Socket
Socket
Sign inDemoInstall

xfuture

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xfuture - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

2

index.js

@@ -98,6 +98,6 @@ let xFuturePath = "";

ff.SetGlobalMode(isGlobalMode, ipdir);
parser.isGlobalMode = isGlobalMode;
if (isGlobalMode == parser.isGlobalMode) {
return;
}
parser.isGlobalMode = isGlobalMode;
let K_Connected = 2;

@@ -104,0 +104,0 @@ if (this.GetCurrentStatus() == K_Connected) {

{
"name": "xfuture",
"version": "1.2.8",
"version": "1.2.9",
"description": "electron vpn sdk",

@@ -46,4 +46,7 @@ "main": "x.js",

}
},
"win":{
"requestedExecutionLevel": "highestAvailable"
}
}
}

@@ -206,19 +206,19 @@

if (!this.isGlobalMode) {
var A = {};
A.type = "field";
A.domain = ["geosite:cn"];
A.outboundTag = "direct";
rules.push(A);
var B = {};
B.type = "field";
B.ip = ["geoip:private", "geoip:cn"];
B.outboundTag = "direct";
rules.push(B);
var C = {};
C.type = "field";
C.domain = ["geosite:geolocation-!cn"];
C.outboundTag = "proxy";
rules.push(C);
rules = [
{
"type":"field",
"domain":["geosite:cn"],
"outboundTag":"direct"
},
{
"type":"field",
"ip":["geoip:private", "geoip:cn"],
"outboundTag":"direct"
},
{
"type":"field",
"domain":["geosite:geolocation-!cn"],
"outboundTag":"proxy"
}
]
}

@@ -230,6 +230,14 @@ return rules;

var base = {
"remark": "Unknown",
"remark": "MaoDou",
"log": {
"loglevel": "info"
},
"tun": {
"inet4_address": "172.19.0.1/30",
"stack": "system",
"mtu": 9000,
"auto_route": true,
"auto_detect_interface": true,
"override_android_vpn": false
},
"inbounds": [

@@ -281,3 +289,10 @@ {

}
]
],
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com",
"dns.google": "8.8.8.8",
},
"servers":["8.8.8.8", "8.8.4.4", "1.1.1.1", "1.0.0.1"]
}
}

@@ -284,0 +299,0 @@ return base;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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