fyn 1.1.23 → 1.1.24

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/dist/fyn.js +138 -86
  2. package/package.json +1 -1
package/dist/fyn.js CHANGED
@@ -2471,7 +2471,7 @@ const {
2471
2471
  AggregateError
2472
2472
  } = __webpack_require__("./node_modules/.f/_/@jchip/error/1.0.3/@jchip/error/dist/index.js");
2473
2473
 
2474
- const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/lib/index.js");
2474
+ const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/lib/index.js");
2475
2475
 
2476
2476
  const Crypto = __webpack_require__("crypto");
2477
2477
  /**
@@ -5753,7 +5753,7 @@ const {
5753
5753
  const {
5754
5754
  getDepSection,
5755
5755
  makeDepStep
5756
- } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/index.js");
5756
+ } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/index.js");
5757
5757
 
5758
5758
  const xaa = __webpack_require__("./lib/util/xaa.js");
5759
5759
 
@@ -8723,7 +8723,7 @@ const {
8723
8723
 
8724
8724
  const {
8725
8725
  PackageRef
8726
- } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/index.js");
8726
+ } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/index.js");
8727
8727
 
8728
8728
  const WATCH_TIME = 5000; // consider meta cache stale after this much time (30 minutes)
8729
8729
 
@@ -9739,7 +9739,7 @@ const {
9739
9739
  const {
9740
9740
  FynpoConfigManager,
9741
9741
  FynpoDepGraph
9742
- } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/index.js");
9742
+ } = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/index.js");
9743
9743
  /* eslint-disable no-magic-numbers, max-statements, no-empty, complexity, no-eval */
9744
9744
 
9745
9745
 
@@ -11170,7 +11170,7 @@ const Path = __webpack_require__("path");
11170
11170
 
11171
11171
  const mm = __webpack_require__("./node_modules/.f/_/minimatch/3.0.4/minimatch/minimatch.js");
11172
11172
 
11173
- const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/lib/index.js");
11173
+ const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/lib/index.js");
11174
11174
 
11175
11175
  async function _scanFileStats(dir, ignores, baseDir = "") {
11176
11176
  const ignore = fullPath => ignores.find(pattern => mm(fullPath, pattern, {
@@ -11237,7 +11237,7 @@ module.exports = __webpack_require__("./node_modules/.f/_/xaa/1.7.0/xaa/dist/xaa
11237
11237
 
11238
11238
  /***/ }),
11239
11239
 
11240
- /***/ "./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/fynpo-config.js":
11240
+ /***/ "./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/fynpo-config.js":
11241
11241
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
11242
11242
 
11243
11243
  "use strict";
@@ -11387,7 +11387,7 @@ exports.FynpoConfigManager = FynpoConfigManager;
11387
11387
 
11388
11388
  /***/ }),
11389
11389
 
11390
- /***/ "./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/fynpo-dep-graph.js":
11390
+ /***/ "./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/fynpo-dep-graph.js":
11391
11391
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
11392
11392
 
11393
11393
  "use strict";
@@ -11411,14 +11411,14 @@ const path_1 = (0, tslib_1.__importDefault)(__webpack_require__("path"));
11411
11411
 
11412
11412
  const fs_1 = __webpack_require__("fs");
11413
11413
 
11414
- const filter_scan_dir_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/lib/index.js"));
11414
+ const filter_scan_dir_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/lib/index.js"));
11415
11415
  const minimatch_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/minimatch/3.0.4/minimatch/minimatch.js"));
11416
11416
  const lodash_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
11417
11417
  const semver_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/semver/7.3.5/semver/index.js"));
11418
11418
 
11419
- const minimatch_group_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/minimatch-group.js");
11419
+ const minimatch_group_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/minimatch-group.js");
11420
11420
 
11421
- const util_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/util.js");
11421
+ const util_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/util.js");
11422
11422
 
11423
11423
  const is_path_inside_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/is-path-inside/3.0.3/is-path-inside/index.js"));
11424
11424
  const DepSectionMap = {
@@ -12138,7 +12138,7 @@ exports.FynpoDepGraph = FynpoDepGraph;
12138
12138
 
12139
12139
  /***/ }),
12140
12140
 
12141
- /***/ "./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/index.js":
12141
+ /***/ "./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/index.js":
12142
12142
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
12143
12143
 
12144
12144
  "use strict";
@@ -12155,15 +12155,15 @@ const path_1 = (0, tslib_1.__importDefault)(__webpack_require__("path"));
12155
12155
 
12156
12156
  const fs_1 = __webpack_require__("fs");
12157
12157
 
12158
- const filter_scan_dir_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/lib/index.js"));
12158
+ const filter_scan_dir_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/lib/index.js"));
12159
12159
  const minimatch_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/minimatch/3.0.4/minimatch/minimatch.js"));
12160
12160
  const lodash_1 = (0, tslib_1.__importDefault)(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
12161
12161
 
12162
- const minimatch_group_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/minimatch-group.js");
12162
+ const minimatch_group_1 = __webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/minimatch-group.js");
12163
12163
 
12164
- (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/fynpo-dep-graph.js"), exports);
12165
- (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/fynpo-config.js"), exports);
12166
- (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/util.js"), exports);
12164
+ (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/fynpo-dep-graph.js"), exports);
12165
+ (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/fynpo-config.js"), exports);
12166
+ (0, tslib_1.__exportStar)(__webpack_require__("./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/util.js"), exports);
12167
12167
  /**
12168
12168
  * Take an array of packages and figure out their dependencies on each other
12169
12169
  *
@@ -12418,7 +12418,7 @@ exports.makePkgDeps = makePkgDeps;
12418
12418
 
12419
12419
  /***/ }),
12420
12420
 
12421
- /***/ "./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/minimatch-group.js":
12421
+ /***/ "./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/minimatch-group.js":
12422
12422
  /***/ ((__unused_webpack_module, exports) => {
12423
12423
 
12424
12424
  "use strict";
@@ -12464,7 +12464,7 @@ exports.groupMM = groupMM;
12464
12464
 
12465
12465
  /***/ }),
12466
12466
 
12467
- /***/ "./node_modules/.f/_/@fynpo/base/1.1.7-fynlocal_h/@fynpo/base/dist/util.js":
12467
+ /***/ "./node_modules/.f/_/@fynpo/base/1.1.8-fynlocal_h/@fynpo/base/dist/util.js":
12468
12468
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
12469
12469
 
12470
12470
  "use strict";
@@ -41701,7 +41701,7 @@ function entries(obj) {
41701
41701
 
41702
41702
  /***/ }),
41703
41703
 
41704
- /***/ "./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/dist/filter-scan-dir.js":
41704
+ /***/ "./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/dist/index.js":
41705
41705
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
41706
41706
 
41707
41707
  "use strict";
@@ -41725,6 +41725,19 @@ const path_1 = __importDefault(__webpack_require__("path"));
41725
41725
 
41726
41726
  const util_1 = __importDefault(__webpack_require__("util"));
41727
41727
 
41728
+ const util_2 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/dist/util.js");
41729
+ /**
41730
+ * create a new ExtrasData object
41731
+ *
41732
+ * @param file
41733
+ * @param fullFile
41734
+ * @param path
41735
+ * @param stat
41736
+ * @param options
41737
+ * @returns
41738
+ */
41739
+
41740
+
41728
41741
  function makeExtrasData(file, fullFile, path, stat, options) {
41729
41742
  const dirFile = options._join2(path, file);
41730
41743
 
@@ -41845,29 +41858,6 @@ function getResult(options) {
41845
41858
  files: []
41846
41859
  }, options.result) : options.result.files || [];
41847
41860
  }
41848
- /**
41849
- * compare Dirent for sorting
41850
- *
41851
- * @param a
41852
- * @param b
41853
- * @returns
41854
- */
41855
-
41856
-
41857
- const direntCmp = (a, b) => {
41858
- /* istanbul ignore next */
41859
- if (a.name === b.name) {
41860
- /* istanbul ignore next */
41861
- return 0;
41862
- /* istanbul ignore next */
41863
- } else if (a.name > b.name) {
41864
- /* istanbul ignore next */
41865
- return 1;
41866
- } else {
41867
- /* istanbul ignore next */
41868
- return -1;
41869
- }
41870
- };
41871
41861
  /**
41872
41862
  * sync version of directory walk
41873
41863
  *
@@ -41888,7 +41878,7 @@ function walkSync(path, options, level = 0) {
41888
41878
  if (options.fullStat) {
41889
41879
  files = files.sort();
41890
41880
  } else {
41891
- files = files.sort(direntCmp);
41881
+ files = files.sort(util_2.direntCmp);
41892
41882
  }
41893
41883
  }
41894
41884
 
@@ -41962,7 +41952,7 @@ async function walk(path, options, level = 0) {
41962
41952
  if (options.fullStat) {
41963
41953
  files = files.sort();
41964
41954
  } else {
41965
- files = files.sort(direntCmp);
41955
+ files = files.sort(util_2.direntCmp);
41966
41956
  }
41967
41957
  }
41968
41958
 
@@ -42074,20 +42064,16 @@ function makeOptions(opts) {
42074
42064
  }; // `includeRoot` was renamed to `prependCwd`, this avoid breaking code still using that
42075
42065
 
42076
42066
 
42077
- const prependCwd = (options.hasOwnProperty("includeRoot") ? options.includeRoot : options.prependCwd) || false; // a simple and faster version of path.join that handles just 2
42078
- // arguments using posix separator
42079
-
42080
- const _join2 = (a, b) => a && b ? a + sep + b : a ? a : b; // eslint-disable-line
42081
-
42082
-
42067
+ const prependCwd = (options.hasOwnProperty("includeRoot") ? options.includeRoot : options.prependCwd) || false;
42083
42068
  const opts2 = Object.assign({
42084
- _join2,
42069
+ _join2: undefined,
42085
42070
  maxLevel: Infinity,
42086
42071
  prefix: "",
42087
42072
  prependCwd,
42088
42073
  fullStat: true,
42089
42074
  concurrency: 50,
42090
- readdirOpts: undefined
42075
+ readdirOpts: undefined,
42076
+ grouping: undefined
42091
42077
  }, options, {
42092
42078
  dir: cwd,
42093
42079
  result: {},
@@ -42095,6 +42081,7 @@ function makeOptions(opts) {
42095
42081
  filterExt: [].concat(options.filterExt).map(cleanExt).filter(x => x),
42096
42082
  _concurrentCount: 0
42097
42083
  });
42084
+ opts2._join2 = (0, util_2.makePathJoin2)(sep, opts2.dir, opts2.prefix);
42098
42085
 
42099
42086
  if (!opts2.fullStat) {
42100
42087
  opts2.readdirOpts = {
@@ -42104,12 +42091,6 @@ function makeOptions(opts) {
42104
42091
 
42105
42092
  return opts2;
42106
42093
  }
42107
- /**
42108
- * async version of filter scan dir
42109
- * @param options
42110
- * @returns
42111
- */
42112
-
42113
42094
 
42114
42095
  function filterScanDir(options = {}) {
42115
42096
  const options2 = makeOptions(options);
@@ -42117,7 +42098,6 @@ function filterScanDir(options = {}) {
42117
42098
  }
42118
42099
 
42119
42100
  exports.filterScanDir = filterScanDir;
42120
- /** sync version of filter scan dir */
42121
42101
 
42122
42102
  function filterScanDirSync(options = {}) {
42123
42103
  const options2 = makeOptions(options);
@@ -42128,10 +42108,82 @@ exports.filterScanDirSync = filterScanDirSync;
42128
42108
 
42129
42109
  /***/ }),
42130
42110
 
42131
- /***/ "./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/lib/index.js":
42111
+ /***/ "./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/dist/util.js":
42112
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
42113
+
42114
+ "use strict";
42115
+
42116
+
42117
+ var __importDefault = this && this.__importDefault || function (mod) {
42118
+ return mod && mod.__esModule ? mod : {
42119
+ "default": mod
42120
+ };
42121
+ };
42122
+
42123
+ Object.defineProperty(exports, "__esModule", ({
42124
+ value: true
42125
+ }));
42126
+ exports.makePathJoin2 = exports.direntCmp = void 0;
42127
+
42128
+ const path_1 = __importDefault(__webpack_require__("path"));
42129
+ /* @ignore */
42130
+
42131
+ /**
42132
+ * compare Dirent for sorting
42133
+ *
42134
+ * @param a
42135
+ * @param b
42136
+ * @returns
42137
+ * @ignore
42138
+ */
42139
+
42140
+
42141
+ const direntCmp = (a, b) => {
42142
+ if (a.name === b.name) {
42143
+ return 0;
42144
+ } else if (a.name > b.name) {
42145
+ return 1;
42146
+ } else {
42147
+ return -1;
42148
+ }
42149
+ };
42150
+
42151
+ exports.direntCmp = direntCmp;
42152
+ /**
42153
+ * Make a specialized and simple but faster version of path.join that handles just 2 args
42154
+ */
42155
+
42156
+ const makePathJoin2 = (sep, cwd, prefix) => {
42157
+ // user passed cwd or prefix that contains ../ or ..\\, which only path.join
42158
+ // can handle
42159
+ if (["../", "..\\"].find(s => cwd.includes(s) || prefix.includes(s)) || cwd.startsWith(".") && cwd.length > 1 || prefix.startsWith(".") && prefix.length > 1) {
42160
+ return path_1.default.join;
42161
+ }
42162
+
42163
+ return (a, b) => {
42164
+ if (a === ".") {
42165
+ return b || a;
42166
+ } else if (b === ".") {
42167
+ return a || b;
42168
+ } else if (a && b) {
42169
+ return a + sep + b;
42170
+ } else {
42171
+ return a || b || ".";
42172
+ }
42173
+ };
42174
+ };
42175
+
42176
+ exports.makePathJoin2 = makePathJoin2;
42177
+
42178
+ /***/ }),
42179
+
42180
+ /***/ "./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/lib/index.js":
42132
42181
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
42133
42182
 
42134
- const fsd = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.0/filter-scan-dir/dist/filter-scan-dir.js");
42183
+ "use strict";
42184
+
42185
+
42186
+ const fsd = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/filter-scan-dir/dist/index.js");
42135
42187
 
42136
42188
  const asyncApi = options => fsd.filterScanDir(options);
42137
42189
 
@@ -101619,7 +101671,7 @@ exports.chain = __webpack_require__("./node_modules/.f/_/slide/1.1.6/slide/lib/c
101619
101671
 
101620
101672
  /***/ }),
101621
101673
 
101622
- /***/ "./node_modules/.f/_/smart-buffer/4.1.0/smart-buffer/build/smartbuffer.js":
101674
+ /***/ "./node_modules/.f/_/smart-buffer/4.2.0/smart-buffer/build/smartbuffer.js":
101623
101675
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
101624
101676
 
101625
101677
  "use strict";
@@ -101629,7 +101681,7 @@ Object.defineProperty(exports, "__esModule", ({
101629
101681
  value: true
101630
101682
  }));
101631
101683
 
101632
- const utils_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.1.0/smart-buffer/build/utils.js"); // The default Buffer size if one is not provided.
101684
+ const utils_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.2.0/smart-buffer/build/utils.js"); // The default Buffer size if one is not provided.
101633
101685
 
101634
101686
 
101635
101687
  const DEFAULT_SMARTBUFFER_SIZE = 4096; // The default string encoding to use for reading/writing strings.
@@ -101664,7 +101716,7 @@ class SmartBuffer {
101664
101716
  } // Check for initial Buffer
101665
101717
 
101666
101718
  } else if (options.buff) {
101667
- if (options.buff instanceof Buffer) {
101719
+ if (Buffer.isBuffer(options.buff)) {
101668
101720
  this._buff = options.buff;
101669
101721
  this.length = options.buff.length;
101670
101722
  } else {
@@ -103065,7 +103117,7 @@ exports.SmartBuffer = SmartBuffer;
103065
103117
 
103066
103118
  /***/ }),
103067
103119
 
103068
- /***/ "./node_modules/.f/_/smart-buffer/4.1.0/smart-buffer/build/utils.js":
103120
+ /***/ "./node_modules/.f/_/smart-buffer/4.2.0/smart-buffer/build/utils.js":
103069
103121
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
103070
103122
 
103071
103123
  "use strict";
@@ -103413,7 +103465,7 @@ const debug_1 = __importDefault(__webpack_require__("./stubs/debug.js"));
103413
103465
 
103414
103466
  const agent_base_1 = __webpack_require__("./node_modules/.f/_/agent-base/6.0.2/agent-base/dist/src/index.js");
103415
103467
 
103416
- const socks_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/index.js");
103468
+ const socks_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/index.js");
103417
103469
 
103418
103470
  const debug = debug_1.default('socks-proxy-agent');
103419
103471
 
@@ -103700,7 +103752,7 @@ const net = __webpack_require__("net");
103700
103752
 
103701
103753
  const ip = __webpack_require__("./node_modules/.f/_/ip/1.1.5/ip/lib/ip.js");
103702
103754
 
103703
- const smart_buffer_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.1.0/smart-buffer/build/smartbuffer.js");
103755
+ const smart_buffer_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.2.0/smart-buffer/build/smartbuffer.js");
103704
103756
 
103705
103757
  const constants_1 = __webpack_require__("./node_modules/.f/_/socks/2.3.3/socks/build/common/constants.js");
103706
103758
 
@@ -104868,7 +104920,7 @@ __export(__webpack_require__("./node_modules/.f/_/socks/2.3.3/socks/build/client
104868
104920
 
104869
104921
  /***/ }),
104870
104922
 
104871
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/client/socksclient.js":
104923
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/client/socksclient.js":
104872
104924
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
104873
104925
 
104874
104926
  "use strict";
@@ -104917,15 +104969,15 @@ const net = __webpack_require__("net");
104917
104969
 
104918
104970
  const ip = __webpack_require__("./node_modules/.f/_/ip/1.1.5/ip/lib/ip.js");
104919
104971
 
104920
- const smart_buffer_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.1.0/smart-buffer/build/smartbuffer.js");
104972
+ const smart_buffer_1 = __webpack_require__("./node_modules/.f/_/smart-buffer/4.2.0/smart-buffer/build/smartbuffer.js");
104921
104973
 
104922
- const constants_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/constants.js");
104974
+ const constants_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/constants.js");
104923
104975
 
104924
- const helpers_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/helpers.js");
104976
+ const helpers_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/helpers.js");
104925
104977
 
104926
- const receivebuffer_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/receivebuffer.js");
104978
+ const receivebuffer_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/receivebuffer.js");
104927
104979
 
104928
- const util_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/util.js");
104980
+ const util_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/util.js");
104929
104981
 
104930
104982
  Object.defineProperty(exports, "SocksClientError", ({
104931
104983
  enumerable: true,
@@ -104939,7 +104991,7 @@ class SocksClient extends events_1.EventEmitter {
104939
104991
  super();
104940
104992
  this.options = Object.assign({}, options); // Validate SocksClientOptions
104941
104993
 
104942
- helpers_1.validateSocksClientOptions(options); // Default state
104994
+ (0, helpers_1.validateSocksClientOptions)(options); // Default state
104943
104995
 
104944
104996
  this.setState(constants_1.SocksClientState.Created);
104945
104997
  }
@@ -104957,7 +105009,7 @@ class SocksClient extends events_1.EventEmitter {
104957
105009
  return new Promise((resolve, reject) => {
104958
105010
  // Validate SocksClientOptions
104959
105011
  try {
104960
- helpers_1.validateSocksClientOptions(options, ['connect']);
105012
+ (0, helpers_1.validateSocksClientOptions)(options, ['connect']);
104961
105013
  } catch (err) {
104962
105014
  if (typeof callback === 'function') {
104963
105015
  callback(err);
@@ -105007,7 +105059,7 @@ class SocksClient extends events_1.EventEmitter {
105007
105059
  return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
105008
105060
  // Validate SocksClientChainOptions
105009
105061
  try {
105010
- helpers_1.validateSocksClientChainOptions(options);
105062
+ (0, helpers_1.validateSocksClientChainOptions)(options);
105011
105063
  } catch (err) {
105012
105064
  if (typeof callback === 'function') {
105013
105065
  callback(err);
@@ -105020,7 +105072,7 @@ class SocksClient extends events_1.EventEmitter {
105020
105072
  let sock; // Shuffle proxies
105021
105073
 
105022
105074
  if (options.randomizeChain) {
105023
- util_1.shuffleArray(options.proxies);
105075
+ (0, util_1.shuffleArray)(options.proxies);
105024
105076
  }
105025
105077
 
105026
105078
  try {
@@ -105029,7 +105081,7 @@ class SocksClient extends events_1.EventEmitter {
105029
105081
  const nextProxy = options.proxies[i]; // If we've reached the last proxy in the chain, the destination is the actual destination, otherwise it's the next proxy.
105030
105082
 
105031
105083
  const nextDestination = i === options.proxies.length - 1 ? options.destination : {
105032
- host: options.proxies[i + 1].ipaddress,
105084
+ host: options.proxies[i + 1].host || options.proxies[i + 1].ipaddress,
105033
105085
  port: options.proxies[i + 1].port
105034
105086
  }; // Creates the next connection in the chain.
105035
105087
 
@@ -105770,7 +105822,7 @@ exports.SocksClient = SocksClient;
105770
105822
 
105771
105823
  /***/ }),
105772
105824
 
105773
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/common/constants.js":
105825
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/common/constants.js":
105774
105826
  /***/ ((__unused_webpack_module, exports) => {
105775
105827
 
105776
105828
  "use strict";
@@ -105906,7 +105958,7 @@ exports.SocksClientState = SocksClientState;
105906
105958
 
105907
105959
  /***/ }),
105908
105960
 
105909
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/common/helpers.js":
105961
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/common/helpers.js":
105910
105962
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
105911
105963
 
105912
105964
  "use strict";
@@ -105917,9 +105969,9 @@ Object.defineProperty(exports, "__esModule", ({
105917
105969
  }));
105918
105970
  exports.validateSocksClientChainOptions = exports.validateSocksClientOptions = void 0;
105919
105971
 
105920
- const util_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/util.js");
105972
+ const util_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/util.js");
105921
105973
 
105922
- const constants_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/common/constants.js");
105974
+ const constants_1 = __webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/common/constants.js");
105923
105975
 
105924
105976
  const stream = __webpack_require__("stream");
105925
105977
  /**
@@ -106055,7 +106107,7 @@ function isValidTimeoutValue(value) {
106055
106107
 
106056
106108
  /***/ }),
106057
106109
 
106058
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/common/receivebuffer.js":
106110
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/common/receivebuffer.js":
106059
106111
  /***/ ((__unused_webpack_module, exports) => {
106060
106112
 
106061
106113
  "use strict";
@@ -106118,7 +106170,7 @@ exports.ReceiveBuffer = ReceiveBuffer;
106118
106170
 
106119
106171
  /***/ }),
106120
106172
 
106121
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/common/util.js":
106173
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/common/util.js":
106122
106174
  /***/ ((__unused_webpack_module, exports) => {
106123
106175
 
106124
106176
  "use strict";
@@ -106158,7 +106210,7 @@ exports.shuffleArray = shuffleArray;
106158
106210
 
106159
106211
  /***/ }),
106160
106212
 
106161
- /***/ "./node_modules/.f/_/socks/2.6.1/socks/build/index.js":
106213
+ /***/ "./node_modules/.f/_/socks/2.6.2/socks/build/index.js":
106162
106214
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
106163
106215
 
106164
106216
  "use strict";
@@ -106185,7 +106237,7 @@ Object.defineProperty(exports, "__esModule", ({
106185
106237
  value: true
106186
106238
  }));
106187
106239
 
106188
- __exportStar(__webpack_require__("./node_modules/.f/_/socks/2.6.1/socks/build/client/socksclient.js"), exports);
106240
+ __exportStar(__webpack_require__("./node_modules/.f/_/socks/2.6.2/socks/build/client/socksclient.js"), exports);
106189
106241
 
106190
106242
  /***/ }),
106191
106243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fyn",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "A node package manager, fast, workspace, and better productivity and efficiency",
5
5
  "main": "./bin/fyn.js",
6
6
  "homepage": "https://www.electrode.io/fynpo/",