xfuture 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/parser.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xfuture",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "electron vpn sdk",
5
5
  "main": "x.js",
6
6
  "scripts": {
package/parser.js CHANGED
@@ -203,19 +203,19 @@ class xParser {
203
203
  getRules() {
204
204
  var rules = [];
205
205
  if (this.isGlobalMode) {
206
- A = {};
206
+ var A = {};
207
207
  A.type = "field";
208
208
  A.domain = ["geosite:cn"];
209
209
  A.outboundTag = "direct";
210
210
  rules.push(A);
211
211
 
212
- B = {};
212
+ var B = {};
213
213
  B.type = "field";
214
214
  B.domain = ["geosite:cn"];
215
215
  B.outboundTag = "direct";
216
216
  rules.push(B);
217
217
 
218
- C = {};
218
+ var C = {};
219
219
  C.type = "field";
220
220
  C.domain = ["geosite:cn"];
221
221
  C.outboundTag = "direct";