vpn-split 18.0.19 → 18.0.21

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.
@@ -1,6 +1,6 @@
1
1
  THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
2
2
 
3
- Assets from this folder are being shipped with this npm package (vpn-split@18.0.19)
3
+ Assets from this folder are being shipped with this npm package (vpn-split@18.0.20)
4
4
  created from this project.
5
5
 
6
6
  THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
package/bin/vpn-split CHANGED
@@ -1,11 +1,11 @@
1
- #!/usr/bin/env node
2
- var { fse, crossPlatformPath, path } = require('tnp-core');
3
- var path = {
4
- dist: path.join(crossPlatformPath(__dirname), '../dist/start.backend.js'),
5
- bundle: path.join(crossPlatformPath(__dirname), '../start.backend.js')
6
- }
7
- var p = fse.existsSync(path.dist) ? path.dist : path.bundle;
8
- global.globalSystemToolMode = true;
9
- var run = require(p).run;
10
- run(process.argv.slice(2));
11
-
1
+ #!/usr/bin/env node
2
+ var { fse, crossPlatformPath, path } = require('tnp-core');
3
+ var path = {
4
+ dist: path.join(crossPlatformPath(__dirname), '../dist/start.backend.js'),
5
+ bundle: path.join(crossPlatformPath(__dirname), '../start.backend.js')
6
+ }
7
+ var p = fse.existsSync(path.dist) ? path.dist : path.bundle;
8
+ global.globalSystemToolMode = true;
9
+ var run = require(p).run;
10
+ run(process.argv.slice(2));
11
+
@@ -1,11 +1,11 @@
1
- #!/usr/bin/env node --inspect
2
- var { fse, crossPlatformPath, path } = require('tnp-core');
3
- var path = {
4
- dist: path.join(crossPlatformPath(__dirname), '../dist/start.backend.js'),
5
- bundle: path.join(crossPlatformPath(__dirname), '../start.backend.js')
6
- }
7
- var p = fse.existsSync(path.dist) ? path.dist : path.bundle;
8
- global.globalSystemToolMode = true;
9
- var run = require(p).run;
10
- run(process.argv.slice(2));
11
-
1
+ #!/usr/bin/env node --inspect
2
+ var { fse, crossPlatformPath, path } = require('tnp-core');
3
+ var path = {
4
+ dist: path.join(crossPlatformPath(__dirname), '../dist/start.backend.js'),
5
+ bundle: path.join(crossPlatformPath(__dirname), '../start.backend.js')
6
+ }
7
+ var p = fse.existsSync(path.dist) ? path.dist : path.bundle;
8
+ global.globalSystemToolMode = true;
9
+ var run = require(p).run;
10
+ run(process.argv.slice(2));
11
+
package/browser/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/client/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/firedev.jsonc ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "resources": [],
3
+ "overrided": {
4
+ "linkedFolders": [],
5
+ "ignoreDepsPattern": [
6
+ "*"
7
+ ],
8
+ "includeAsDev": [],
9
+ "includeOnly": [
10
+ "tnp-db",
11
+ "hostile",
12
+ "is-elevated"
13
+ ],
14
+ "dependencies": {},
15
+ "npmFixes": [],
16
+ },
17
+ "smartContainerBuildTarget": "",
18
+ "linkedRepos": [],
19
+ "libReleaseOptions": {
20
+ "nodts": false,
21
+ "obscure": false,
22
+ "ugly": false,
23
+ "includeNodeModules": false,
24
+ "cliBuildNoDts": false,
25
+ "cliBuildObscure": false,
26
+ "cliBuildIncludeNodeModules": false,
27
+ "cliBuildUglify": false,
28
+ },
29
+ "smartContainerTarget": "",
30
+ "type": "isomorphic-lib",
31
+ "version": "v16",
32
+ "license": "MIT",
33
+ "private": false,
34
+ "workerPlugins": {},
35
+ }
package/index.js CHANGED
@@ -1,5 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./lib"), exports);
17
+ __exportStar(require("./lib"), exports);
5
18
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,gDAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/vpn-split/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
@@ -1 +1 @@
1
- {"version":3,"file":"build-info._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AACa,QAAA,wBAAwB,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"build-info._auto-generated_.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/vpn-split/src/lib/build-info._auto-generated_.ts"],"names":[],"mappings":";;;AACa,QAAA,wBAAwB,GAAG,KAAK,CAAC"}
@@ -1,15 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Hostile = void 0;
4
- var hostile = require("hostile");
5
- var tnp_core_1 = require("tnp-core");
6
- var Hostile = /** @class */ (function () {
7
- function Hostile() {
8
- }
4
+ const hostile = require("hostile");
5
+ const tnp_core_1 = require("tnp-core");
6
+ class Hostile {
9
7
  /**
10
8
  * Display all current ip records
11
9
  */
12
- Hostile.prototype.list = function () {
10
+ list() {
13
11
  var lines;
14
12
  try {
15
13
  lines = hostile.get(false);
@@ -17,7 +15,7 @@ var Hostile = /** @class */ (function () {
17
15
  catch (err) {
18
16
  return this.error(err);
19
17
  }
20
- lines.forEach(function (item) {
18
+ lines.forEach((item) => {
21
19
  if (item.length > 1) {
22
20
  console.log(item[0], tnp_core_1.chalk.green(item[1]));
23
21
  }
@@ -25,13 +23,13 @@ var Hostile = /** @class */ (function () {
25
23
  console.log(item);
26
24
  }
27
25
  });
28
- };
26
+ }
29
27
  /**
30
28
  * Set a new host
31
29
  * @param {string} ip
32
30
  * @param {string} host
33
31
  */
34
- Hostile.prototype.set = function (ip, host) {
32
+ set(ip, host) {
35
33
  if (!ip || !host) {
36
34
  return this.error('Invalid syntax: hostile set <ip> <host>');
37
35
  }
@@ -48,13 +46,12 @@ var Hostile = /** @class */ (function () {
48
46
  return this.error('Error: ' + err.message + '. Are you running as root?');
49
47
  }
50
48
  console.log(tnp_core_1.chalk.green('Added ' + host));
51
- };
49
+ }
52
50
  /**
53
51
  * Remove a host
54
52
  * @param {string} host
55
53
  */
56
- Hostile.prototype.remove = function (host) {
57
- var _this = this;
54
+ remove(host) {
58
55
  var lines;
59
56
  try {
60
57
  lines = hostile.get(false);
@@ -62,47 +59,45 @@ var Hostile = /** @class */ (function () {
62
59
  catch (err) {
63
60
  return this.error(err);
64
61
  }
65
- lines.forEach(function (item) {
62
+ lines.forEach((item) => {
66
63
  if (item[1] === host) {
67
64
  try {
68
65
  hostile.remove(item[0], host);
69
66
  }
70
67
  catch (err) {
71
- return _this.error('Error: ' + err.message + '. Are you running as root?');
68
+ return this.error('Error: ' + err.message + '. Are you running as root?');
72
69
  }
73
70
  console.log(tnp_core_1.chalk.green('Removed ' + host));
74
71
  }
75
72
  });
76
- };
73
+ }
77
74
  /**
78
75
  * Load hosts given a file
79
76
  * @param {string} filePath
80
77
  */
81
- Hostile.prototype.load = function (filePath) {
82
- var _this = this;
78
+ load(filePath) {
83
79
  var lines = this.parseFile(filePath);
84
- lines.forEach(function (item) {
85
- _this.set(item[0], item[1]);
80
+ lines.forEach((item) => {
81
+ this.set(item[0], item[1]);
86
82
  });
87
83
  console.log(tnp_core_1.chalk.green('\nAdded %d hosts!'), lines.length);
88
- };
84
+ }
89
85
  /**
90
86
  * Remove hosts given a file
91
87
  * @param {string} filePath
92
88
  */
93
- Hostile.prototype.unload = function (filePath) {
94
- var _this = this;
89
+ unload(filePath) {
95
90
  var lines = this.parseFile(filePath);
96
- lines.forEach(function (item) {
97
- _this.remove(item[1]);
91
+ lines.forEach((item) => {
92
+ this.remove(item[1]);
98
93
  });
99
94
  console.log(tnp_core_1.chalk.green('Removed %d hosts!'), lines.length);
100
- };
95
+ }
101
96
  /**
102
97
  * Get all the lines of the file as array of arrays [[IP, host]]
103
98
  * @param {string} filePath
104
99
  */
105
- Hostile.prototype.parseFile = function (filePath) {
100
+ parseFile(filePath) {
106
101
  var lines;
107
102
  try {
108
103
  lines = hostile.getFile(filePath, false);
@@ -111,16 +106,15 @@ var Hostile = /** @class */ (function () {
111
106
  return this.error(err);
112
107
  }
113
108
  return lines;
114
- };
109
+ }
115
110
  /**
116
111
  * Print an error and exit the program
117
112
  * @param {string} message
118
113
  */
119
- Hostile.prototype.error = function (err) {
114
+ error(err) {
120
115
  console.error(tnp_core_1.chalk.red(err.message || err));
121
116
  process.exit(-1);
122
- };
123
- return Hostile;
124
- }());
117
+ }
118
+ }
125
119
  exports.Hostile = Hostile;
126
120
  //# sourceMappingURL=hostile.backend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hostile.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AACA,iCAAmC;AACnC,qCAAsC;AAEtC;IAAA;IAqHA,CAAC;IAnHC;;OAEG;IACH,sBAAI,GAAJ;QACE,IAAI,KAAK,CAAA;QACT,IAAI,CAAC;YACH,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC5B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QACxB,CAAC;QACD,KAAK,CAAC,OAAO,CAAC,UAAC,IAAI;YACjB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACpB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5C,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACnB,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACH,qBAAG,GAAH,UAAI,EAAE,EAAE,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AAK,CAAC,GAAG,CAAC,CAAA;QACxB,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAED;;;OAGG;IACH,uBAAK,GAAL,UAAM,GAAG;QACP,OAAO,CAAC,KAAK,CAAC,gBAAK,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAA;QAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;IAClB,CAAC;IAEH,cAAC;AAAD,CAAC,AArHD,IAqHC;AArHY,0BAAO"}
1
+ {"version":3,"file":"hostile.backend.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/vpn-split/src/lib/hostile.backend.ts"],"names":[],"mappings":";;;AACA,mCAAmC;AACnC,uCAAsC;AAEtC,MAAa,OAAO;IAElB;;OAEG;IACH,IAAI;QACF,IAAI,KAAK,CAAA;QACT,IAAI,CAAC;YACH,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC5B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QACxB,CAAC;QACD,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACrB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACpB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5C,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACnB,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,EAAE,EAAE,IAAI;QACV,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC,KAAK,CAAC,yCAAyC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gBAAK,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAA;QAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;IAClB,CAAC;CAEF;AArHD,0BAqHC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,cAAc;AACd,8CAA8C;AAC9C,2BAA2B;AAC3B,uDAAuD;AACvD,2CAA2C"}
1
+ {"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/vpn-split/src/lib/index._auto-generated_.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,8CAA8C;AAC9C,2BAA2B;AAC3B,uDAAuD;AACvD,2CAA2C"}
package/lib/index.js CHANGED
@@ -1,8 +1,21 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models"), exports);
17
+ __exportStar(require("./models"), exports);
5
18
  //#region @backend
6
- tslib_1.__exportStar(require("./vpn-split.backend"), exports);
19
+ __exportStar(require("./vpn-split.backend"), exports);
7
20
  //#endregion
8
21
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,kBAAkB;AAClB,8DAAoC;AACpC,YAAY"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/vpn-split/src/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kBAAkB;AAClB,sDAAoC;AACpC,YAAY"}