@dereekb/util 10.0.19 → 10.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.
- package/fetch/CHANGELOG.md +8 -0
- package/fetch/package.json +1 -1
- package/index.cjs.js +305 -198
- package/index.esm.js +380 -253
- package/package.json +1 -1
- package/src/lib/array/array.d.ts +7 -0
- package/src/lib/array/array.factory.d.ts +16 -0
- package/src/lib/page/page.calculator.d.ts +3 -3
- package/src/lib/page/page.d.ts +1 -1
- package/src/lib/page/page.filter.d.ts +2 -2
- package/src/lib/promise/promise.d.ts +35 -13
- package/src/lib/promise/promise.loop.d.ts +3 -2
- package/test/CHANGELOG.md +8 -0
- package/test/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1770,6 +1770,84 @@ var addToUnscopables = addToUnscopables$2;
|
|
|
1770
1770
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1771
1771
|
addToUnscopables('flat');
|
|
1772
1772
|
|
|
1773
|
+
var aCallable$6 = aCallable$a;
|
|
1774
|
+
var toObject$3 = toObject$7;
|
|
1775
|
+
var IndexedObject$1 = indexedObject;
|
|
1776
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
1777
|
+
|
|
1778
|
+
var $TypeError$9 = TypeError;
|
|
1779
|
+
|
|
1780
|
+
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
1781
|
+
var createMethod$2 = function (IS_RIGHT) {
|
|
1782
|
+
return function (that, callbackfn, argumentsLength, memo) {
|
|
1783
|
+
var O = toObject$3(that);
|
|
1784
|
+
var self = IndexedObject$1(O);
|
|
1785
|
+
var length = lengthOfArrayLike$2(O);
|
|
1786
|
+
aCallable$6(callbackfn);
|
|
1787
|
+
var index = IS_RIGHT ? length - 1 : 0;
|
|
1788
|
+
var i = IS_RIGHT ? -1 : 1;
|
|
1789
|
+
if (argumentsLength < 2) while (true) {
|
|
1790
|
+
if (index in self) {
|
|
1791
|
+
memo = self[index];
|
|
1792
|
+
index += i;
|
|
1793
|
+
break;
|
|
1794
|
+
}
|
|
1795
|
+
index += i;
|
|
1796
|
+
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
1797
|
+
throw new $TypeError$9('Reduce of empty array with no initial value');
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
1801
|
+
memo = callbackfn(memo, self[index], index, O);
|
|
1802
|
+
}
|
|
1803
|
+
return memo;
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
var arrayReduce = {
|
|
1808
|
+
// `Array.prototype.reduce` method
|
|
1809
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
1810
|
+
left: createMethod$2(false),
|
|
1811
|
+
// `Array.prototype.reduceRight` method
|
|
1812
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
1813
|
+
right: createMethod$2(true)
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
var fails$d = fails$p;
|
|
1817
|
+
|
|
1818
|
+
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
1819
|
+
var method = [][METHOD_NAME];
|
|
1820
|
+
return !!method && fails$d(function () {
|
|
1821
|
+
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1822
|
+
method.call(null, argument || function () { return 1; }, 1);
|
|
1823
|
+
});
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
var global$c = global$o;
|
|
1827
|
+
var classof$4 = classofRaw$2;
|
|
1828
|
+
|
|
1829
|
+
var engineIsNode = classof$4(global$c.process) === 'process';
|
|
1830
|
+
|
|
1831
|
+
var $$f = _export;
|
|
1832
|
+
var $reduce = arrayReduce.left;
|
|
1833
|
+
var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
|
|
1834
|
+
var CHROME_VERSION = engineV8Version;
|
|
1835
|
+
var IS_NODE$4 = engineIsNode;
|
|
1836
|
+
|
|
1837
|
+
// Chrome 80-82 has a critical bug
|
|
1838
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
1839
|
+
var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
1840
|
+
var FORCED$2 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
|
|
1841
|
+
|
|
1842
|
+
// `Array.prototype.reduce` method
|
|
1843
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
1844
|
+
$$f({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
1845
|
+
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
1846
|
+
var length = arguments.length;
|
|
1847
|
+
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
1848
|
+
}
|
|
1849
|
+
});
|
|
1850
|
+
|
|
1773
1851
|
// MARK: Types
|
|
1774
1852
|
|
|
1775
1853
|
// MARK: Functions
|
|
@@ -1981,6 +2059,16 @@ function forEachWithArray(array, forEach) {
|
|
|
1981
2059
|
return array;
|
|
1982
2060
|
}
|
|
1983
2061
|
|
|
2062
|
+
/**
|
|
2063
|
+
* Counts all the values in a nested array.
|
|
2064
|
+
*
|
|
2065
|
+
* @param array
|
|
2066
|
+
* @returns
|
|
2067
|
+
*/
|
|
2068
|
+
function countAllInNestedArray(array) {
|
|
2069
|
+
return array.reduce((acc, curr) => acc + curr.length, 0);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
1984
2072
|
// MARK: Compat
|
|
1985
2073
|
/**
|
|
1986
2074
|
* @deprecated Use mergeArraysIntoArray() instead. Will be removed in v10.1.
|
|
@@ -1997,12 +2085,12 @@ const mergeArrayIntoArray = pushArrayItemsIntoArray;
|
|
|
1997
2085
|
*/
|
|
1998
2086
|
const mergeArrayOrValueIntoArray = pushItemOrArrayItemsIntoArray;
|
|
1999
2087
|
|
|
2000
|
-
var classof$
|
|
2088
|
+
var classof$3 = classof$6;
|
|
2001
2089
|
|
|
2002
2090
|
var $String$1 = String;
|
|
2003
2091
|
|
|
2004
2092
|
var toString$c = function (argument) {
|
|
2005
|
-
if (classof$
|
|
2093
|
+
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2006
2094
|
return $String$1(argument);
|
|
2007
2095
|
};
|
|
2008
2096
|
|
|
@@ -2015,9 +2103,9 @@ var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
|
2015
2103
|
return defineProperty$2.f(target, name, descriptor);
|
|
2016
2104
|
};
|
|
2017
2105
|
|
|
2018
|
-
var $$
|
|
2106
|
+
var $$e = _export;
|
|
2019
2107
|
var DESCRIPTORS$4 = descriptors;
|
|
2020
|
-
var global$
|
|
2108
|
+
var global$b = global$o;
|
|
2021
2109
|
var uncurryThis$f = functionUncurryThis;
|
|
2022
2110
|
var hasOwn$3 = hasOwnProperty_1;
|
|
2023
2111
|
var isCallable$7 = isCallable$n;
|
|
@@ -2026,7 +2114,7 @@ var toString$b = toString$c;
|
|
|
2026
2114
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2027
2115
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2028
2116
|
|
|
2029
|
-
var NativeSymbol = global$
|
|
2117
|
+
var NativeSymbol = global$b.Symbol;
|
|
2030
2118
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
2031
2119
|
|
|
2032
2120
|
if (DESCRIPTORS$4 && isCallable$7(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
@@ -2067,7 +2155,7 @@ if (DESCRIPTORS$4 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
|
|
|
2067
2155
|
}
|
|
2068
2156
|
});
|
|
2069
2157
|
|
|
2070
|
-
$$
|
|
2158
|
+
$$e({ global: true, constructor: true, forced: true }, {
|
|
2071
2159
|
Symbol: SymbolWrapper
|
|
2072
2160
|
});
|
|
2073
2161
|
}
|
|
@@ -2757,12 +2845,12 @@ function setsAreEquivalent(a, b) {
|
|
|
2757
2845
|
var DESCRIPTORS$3 = descriptors;
|
|
2758
2846
|
var uncurryThis$e = functionUncurryThis;
|
|
2759
2847
|
var call$e = functionCall;
|
|
2760
|
-
var fails$
|
|
2848
|
+
var fails$c = fails$p;
|
|
2761
2849
|
var objectKeys = objectKeys$2;
|
|
2762
2850
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
2763
2851
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
2764
|
-
var toObject$
|
|
2765
|
-
var IndexedObject
|
|
2852
|
+
var toObject$2 = toObject$7;
|
|
2853
|
+
var IndexedObject = indexedObject;
|
|
2766
2854
|
|
|
2767
2855
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
2768
2856
|
var $assign = Object.assign;
|
|
@@ -2772,7 +2860,7 @@ var concat$1 = uncurryThis$e([].concat);
|
|
|
2772
2860
|
|
|
2773
2861
|
// `Object.assign` method
|
|
2774
2862
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2775
|
-
var objectAssign = !$assign || fails$
|
|
2863
|
+
var objectAssign = !$assign || fails$c(function () {
|
|
2776
2864
|
// should have correct order of operations (Edge bug)
|
|
2777
2865
|
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
2778
2866
|
enumerable: true,
|
|
@@ -2793,13 +2881,13 @@ var objectAssign = !$assign || fails$d(function () {
|
|
|
2793
2881
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
2794
2882
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
2795
2883
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
2796
|
-
var T = toObject$
|
|
2884
|
+
var T = toObject$2(target);
|
|
2797
2885
|
var argumentsLength = arguments.length;
|
|
2798
2886
|
var index = 1;
|
|
2799
2887
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
2800
2888
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
2801
2889
|
while (argumentsLength > index) {
|
|
2802
|
-
var S = IndexedObject
|
|
2890
|
+
var S = IndexedObject(arguments[index++]);
|
|
2803
2891
|
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
2804
2892
|
var length = keys.length;
|
|
2805
2893
|
var j = 0;
|
|
@@ -2811,13 +2899,13 @@ var objectAssign = !$assign || fails$d(function () {
|
|
|
2811
2899
|
} return T;
|
|
2812
2900
|
} : $assign;
|
|
2813
2901
|
|
|
2814
|
-
var $$
|
|
2902
|
+
var $$d = _export;
|
|
2815
2903
|
var assign = objectAssign;
|
|
2816
2904
|
|
|
2817
2905
|
// `Object.assign` method
|
|
2818
2906
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2819
2907
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2820
|
-
$$
|
|
2908
|
+
$$d({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
2821
2909
|
assign: assign
|
|
2822
2910
|
});
|
|
2823
2911
|
|
|
@@ -3407,10 +3495,10 @@ const BooleanStringKeyArrayUtilityInstance = new BooleanKeyArrayUtilityInstance(
|
|
|
3407
3495
|
|
|
3408
3496
|
var tryToString$3 = tryToString$5;
|
|
3409
3497
|
|
|
3410
|
-
var $TypeError$
|
|
3498
|
+
var $TypeError$8 = TypeError;
|
|
3411
3499
|
|
|
3412
3500
|
var deletePropertyOrThrow$1 = function (O, P) {
|
|
3413
|
-
if (!delete O[P]) throw new $TypeError$
|
|
3501
|
+
if (!delete O[P]) throw new $TypeError$8('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
3414
3502
|
};
|
|
3415
3503
|
|
|
3416
3504
|
var uncurryThis$d = functionUncurryThis;
|
|
@@ -3459,16 +3547,6 @@ var sort = function (array, comparefn) {
|
|
|
3459
3547
|
|
|
3460
3548
|
var arraySort = sort;
|
|
3461
3549
|
|
|
3462
|
-
var fails$c = fails$p;
|
|
3463
|
-
|
|
3464
|
-
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
3465
|
-
var method = [][METHOD_NAME];
|
|
3466
|
-
return !!method && fails$c(function () {
|
|
3467
|
-
// eslint-disable-next-line no-useless-call -- required for testing
|
|
3468
|
-
method.call(null, argument || function () { return 1; }, 1);
|
|
3469
|
-
});
|
|
3470
|
-
};
|
|
3471
|
-
|
|
3472
3550
|
var userAgent$4 = engineUserAgent;
|
|
3473
3551
|
|
|
3474
3552
|
var firefox = userAgent$4.match(/firefox\/(\d+)/i);
|
|
@@ -3485,16 +3563,16 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
3485
3563
|
|
|
3486
3564
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
3487
3565
|
|
|
3488
|
-
var $$
|
|
3566
|
+
var $$c = _export;
|
|
3489
3567
|
var uncurryThis$c = functionUncurryThis;
|
|
3490
|
-
var aCallable$
|
|
3491
|
-
var toObject$
|
|
3492
|
-
var lengthOfArrayLike$
|
|
3568
|
+
var aCallable$5 = aCallable$a;
|
|
3569
|
+
var toObject$1 = toObject$7;
|
|
3570
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
3493
3571
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
3494
3572
|
var toString$a = toString$c;
|
|
3495
3573
|
var fails$b = fails$p;
|
|
3496
3574
|
var internalSort = arraySort;
|
|
3497
|
-
var arrayMethodIsStrict
|
|
3575
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
3498
3576
|
var FF = engineFfVersion;
|
|
3499
3577
|
var IE_OR_EDGE = engineIsIeOrEdge;
|
|
3500
3578
|
var V8 = engineV8Version;
|
|
@@ -3513,7 +3591,7 @@ var FAILS_ON_NULL = fails$b(function () {
|
|
|
3513
3591
|
test$1.sort(null);
|
|
3514
3592
|
});
|
|
3515
3593
|
// Old WebKit
|
|
3516
|
-
var STRICT_METHOD = arrayMethodIsStrict
|
|
3594
|
+
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
3517
3595
|
|
|
3518
3596
|
var STABLE_SORT = !fails$b(function () {
|
|
3519
3597
|
// feature detection can be too slow, so check engines versions
|
|
@@ -3550,7 +3628,7 @@ var STABLE_SORT = !fails$b(function () {
|
|
|
3550
3628
|
return result !== 'DGBEFHACIJK';
|
|
3551
3629
|
});
|
|
3552
3630
|
|
|
3553
|
-
var FORCED$
|
|
3631
|
+
var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
|
|
3554
3632
|
|
|
3555
3633
|
var getSortCompare = function (comparefn) {
|
|
3556
3634
|
return function (x, y) {
|
|
@@ -3563,16 +3641,16 @@ var getSortCompare = function (comparefn) {
|
|
|
3563
3641
|
|
|
3564
3642
|
// `Array.prototype.sort` method
|
|
3565
3643
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
3566
|
-
$$
|
|
3644
|
+
$$c({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
3567
3645
|
sort: function sort(comparefn) {
|
|
3568
|
-
if (comparefn !== undefined) aCallable$
|
|
3646
|
+
if (comparefn !== undefined) aCallable$5(comparefn);
|
|
3569
3647
|
|
|
3570
|
-
var array = toObject$
|
|
3648
|
+
var array = toObject$1(this);
|
|
3571
3649
|
|
|
3572
3650
|
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
|
|
3573
3651
|
|
|
3574
3652
|
var items = [];
|
|
3575
|
-
var arrayLength = lengthOfArrayLike$
|
|
3653
|
+
var arrayLength = lengthOfArrayLike$1(array);
|
|
3576
3654
|
var itemsLength, index;
|
|
3577
3655
|
|
|
3578
3656
|
for (index = 0; index < arrayLength; index++) {
|
|
@@ -3581,7 +3659,7 @@ $$d({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
|
3581
3659
|
|
|
3582
3660
|
internalSort(items, getSortCompare(comparefn));
|
|
3583
3661
|
|
|
3584
|
-
itemsLength = lengthOfArrayLike$
|
|
3662
|
+
itemsLength = lengthOfArrayLike$1(items);
|
|
3585
3663
|
index = 0;
|
|
3586
3664
|
|
|
3587
3665
|
while (index < itemsLength) array[index] = items[index++];
|
|
@@ -5006,10 +5084,10 @@ function boundNumber(input, min, max) {
|
|
|
5006
5084
|
}
|
|
5007
5085
|
|
|
5008
5086
|
var fails$9 = fails$p;
|
|
5009
|
-
var global$
|
|
5087
|
+
var global$a = global$o;
|
|
5010
5088
|
|
|
5011
5089
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
5012
|
-
var $RegExp$2 = global$
|
|
5090
|
+
var $RegExp$2 = global$a.RegExp;
|
|
5013
5091
|
|
|
5014
5092
|
var UNSUPPORTED_Y$3 = fails$9(function () {
|
|
5015
5093
|
var re = $RegExp$2('a', 'y');
|
|
@@ -5037,10 +5115,10 @@ var regexpStickyHelpers = {
|
|
|
5037
5115
|
};
|
|
5038
5116
|
|
|
5039
5117
|
var fails$8 = fails$p;
|
|
5040
|
-
var global$
|
|
5118
|
+
var global$9 = global$o;
|
|
5041
5119
|
|
|
5042
5120
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
5043
|
-
var $RegExp$1 = global$
|
|
5121
|
+
var $RegExp$1 = global$9.RegExp;
|
|
5044
5122
|
|
|
5045
5123
|
var regexpUnsupportedDotAll = fails$8(function () {
|
|
5046
5124
|
var re = $RegExp$1('.', 's');
|
|
@@ -5048,10 +5126,10 @@ var regexpUnsupportedDotAll = fails$8(function () {
|
|
|
5048
5126
|
});
|
|
5049
5127
|
|
|
5050
5128
|
var fails$7 = fails$p;
|
|
5051
|
-
var global$
|
|
5129
|
+
var global$8 = global$o;
|
|
5052
5130
|
|
|
5053
5131
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
5054
|
-
var $RegExp = global$
|
|
5132
|
+
var $RegExp = global$8.RegExp;
|
|
5055
5133
|
|
|
5056
5134
|
var regexpUnsupportedNcg = fails$7(function () {
|
|
5057
5135
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -5176,12 +5254,12 @@ if (PATCH) {
|
|
|
5176
5254
|
|
|
5177
5255
|
var regexpExec$2 = patchedExec;
|
|
5178
5256
|
|
|
5179
|
-
var $$
|
|
5257
|
+
var $$b = _export;
|
|
5180
5258
|
var exec$1 = regexpExec$2;
|
|
5181
5259
|
|
|
5182
5260
|
// `RegExp.prototype.exec` method
|
|
5183
5261
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
5184
|
-
$$
|
|
5262
|
+
$$b({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
5185
5263
|
exec: exec$1
|
|
5186
5264
|
});
|
|
5187
5265
|
|
|
@@ -5208,7 +5286,7 @@ var stringRepeat = function repeat(count) {
|
|
|
5208
5286
|
return result;
|
|
5209
5287
|
};
|
|
5210
5288
|
|
|
5211
|
-
var $$
|
|
5289
|
+
var $$a = _export;
|
|
5212
5290
|
var uncurryThis$9 = functionUncurryThis;
|
|
5213
5291
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$7;
|
|
5214
5292
|
var thisNumberValue = thisNumberValue$1;
|
|
@@ -5270,7 +5348,7 @@ var dataToString = function (data) {
|
|
|
5270
5348
|
} return s;
|
|
5271
5349
|
};
|
|
5272
5350
|
|
|
5273
|
-
var FORCED
|
|
5351
|
+
var FORCED = fails$6(function () {
|
|
5274
5352
|
return nativeToFixed(0.00008, 3) !== '0.000' ||
|
|
5275
5353
|
nativeToFixed(0.9, 0) !== '1' ||
|
|
5276
5354
|
nativeToFixed(1.255, 2) !== '1.25' ||
|
|
@@ -5282,7 +5360,7 @@ var FORCED$1 = fails$6(function () {
|
|
|
5282
5360
|
|
|
5283
5361
|
// `Number.prototype.toFixed` method
|
|
5284
5362
|
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
|
|
5285
|
-
$$
|
|
5363
|
+
$$a({ target: 'Number', proto: true, forced: FORCED }, {
|
|
5286
5364
|
toFixed: function toFixed(fractionDigits) {
|
|
5287
5365
|
var number = thisNumberValue(this);
|
|
5288
5366
|
var fractDigits = toIntegerOrInfinity$2(fractionDigits);
|
|
@@ -5774,74 +5852,6 @@ function transformNumberFunction(config) {
|
|
|
5774
5852
|
return chainMapSameFunctions(transformFunctions);
|
|
5775
5853
|
}
|
|
5776
5854
|
|
|
5777
|
-
var aCallable$5 = aCallable$a;
|
|
5778
|
-
var toObject$1 = toObject$7;
|
|
5779
|
-
var IndexedObject = indexedObject;
|
|
5780
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
5781
|
-
|
|
5782
|
-
var $TypeError$8 = TypeError;
|
|
5783
|
-
|
|
5784
|
-
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
5785
|
-
var createMethod$2 = function (IS_RIGHT) {
|
|
5786
|
-
return function (that, callbackfn, argumentsLength, memo) {
|
|
5787
|
-
var O = toObject$1(that);
|
|
5788
|
-
var self = IndexedObject(O);
|
|
5789
|
-
var length = lengthOfArrayLike$1(O);
|
|
5790
|
-
aCallable$5(callbackfn);
|
|
5791
|
-
var index = IS_RIGHT ? length - 1 : 0;
|
|
5792
|
-
var i = IS_RIGHT ? -1 : 1;
|
|
5793
|
-
if (argumentsLength < 2) while (true) {
|
|
5794
|
-
if (index in self) {
|
|
5795
|
-
memo = self[index];
|
|
5796
|
-
index += i;
|
|
5797
|
-
break;
|
|
5798
|
-
}
|
|
5799
|
-
index += i;
|
|
5800
|
-
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
5801
|
-
throw new $TypeError$8('Reduce of empty array with no initial value');
|
|
5802
|
-
}
|
|
5803
|
-
}
|
|
5804
|
-
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
5805
|
-
memo = callbackfn(memo, self[index], index, O);
|
|
5806
|
-
}
|
|
5807
|
-
return memo;
|
|
5808
|
-
};
|
|
5809
|
-
};
|
|
5810
|
-
|
|
5811
|
-
var arrayReduce = {
|
|
5812
|
-
// `Array.prototype.reduce` method
|
|
5813
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
5814
|
-
left: createMethod$2(false),
|
|
5815
|
-
// `Array.prototype.reduceRight` method
|
|
5816
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
5817
|
-
right: createMethod$2(true)
|
|
5818
|
-
};
|
|
5819
|
-
|
|
5820
|
-
var global$8 = global$o;
|
|
5821
|
-
var classof$3 = classofRaw$2;
|
|
5822
|
-
|
|
5823
|
-
var engineIsNode = classof$3(global$8.process) === 'process';
|
|
5824
|
-
|
|
5825
|
-
var $$a = _export;
|
|
5826
|
-
var $reduce = arrayReduce.left;
|
|
5827
|
-
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
5828
|
-
var CHROME_VERSION = engineV8Version;
|
|
5829
|
-
var IS_NODE$4 = engineIsNode;
|
|
5830
|
-
|
|
5831
|
-
// Chrome 80-82 has a critical bug
|
|
5832
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
5833
|
-
var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
5834
|
-
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
|
5835
|
-
|
|
5836
|
-
// `Array.prototype.reduce` method
|
|
5837
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
5838
|
-
$$a({ target: 'Array', proto: true, forced: FORCED }, {
|
|
5839
|
-
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
5840
|
-
var length = arguments.length;
|
|
5841
|
-
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
5842
|
-
}
|
|
5843
|
-
});
|
|
5844
|
-
|
|
5845
5855
|
function reduceNumbersWithMax(array, emptyArrayValue) {
|
|
5846
5856
|
return reduceNumbersWithMaxFn(emptyArrayValue)(array);
|
|
5847
5857
|
}
|
|
@@ -6695,6 +6705,39 @@ function arrayInputFactory(factory) {
|
|
|
6695
6705
|
return input => makeWithFactoryInput(factory, input);
|
|
6696
6706
|
}
|
|
6697
6707
|
|
|
6708
|
+
/**
|
|
6709
|
+
* Creates a factory that returns the items from the input array and returns null after the factory function has exhausted all array values.
|
|
6710
|
+
*
|
|
6711
|
+
* The factory can only be used once.
|
|
6712
|
+
*
|
|
6713
|
+
* @param array
|
|
6714
|
+
*/
|
|
6715
|
+
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* Creates a factory that returns the items from the input array and returns the terminating value if the input array is empty.
|
|
6719
|
+
*
|
|
6720
|
+
* @param array
|
|
6721
|
+
* @param terminatingValue
|
|
6722
|
+
*/
|
|
6723
|
+
|
|
6724
|
+
function terminatingFactoryFromArray(array, terminatingValue) {
|
|
6725
|
+
if (arguments.length === 1) {
|
|
6726
|
+
terminatingValue = null;
|
|
6727
|
+
}
|
|
6728
|
+
let index = 0;
|
|
6729
|
+
return () => {
|
|
6730
|
+
let result;
|
|
6731
|
+
if (array.length > index) {
|
|
6732
|
+
result = array[index];
|
|
6733
|
+
index += 1;
|
|
6734
|
+
} else {
|
|
6735
|
+
result = terminatingValue;
|
|
6736
|
+
}
|
|
6737
|
+
return result;
|
|
6738
|
+
};
|
|
6739
|
+
}
|
|
6740
|
+
|
|
6698
6741
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
6699
6742
|
|
|
6700
6743
|
var call$b = functionCall;
|
|
@@ -13655,7 +13698,7 @@ function modifyModelMapFunction(mapFn, modifyModel, copy = true) {
|
|
|
13655
13698
|
async function performTaskLoop(config) {
|
|
13656
13699
|
let result;
|
|
13657
13700
|
const initValue = config.initValue;
|
|
13658
|
-
const startLoop = initValue == null || config.checkContinue(initValue, -1);
|
|
13701
|
+
const startLoop = initValue == null || (await config.checkContinue(initValue, -1));
|
|
13659
13702
|
if (startLoop) {
|
|
13660
13703
|
let i = 0;
|
|
13661
13704
|
let prevValue = initValue;
|
|
@@ -13663,7 +13706,7 @@ async function performTaskLoop(config) {
|
|
|
13663
13706
|
do {
|
|
13664
13707
|
prevValue = await config.next(i, prevValue);
|
|
13665
13708
|
i += 1;
|
|
13666
|
-
check = config.checkContinue(prevValue, i);
|
|
13709
|
+
check = await config.checkContinue(prevValue, i);
|
|
13667
13710
|
} while (check);
|
|
13668
13711
|
result = prevValue;
|
|
13669
13712
|
} else {
|
|
@@ -13908,6 +13951,41 @@ function stringFactoryFromFactory(factory, toStringFunction) {
|
|
|
13908
13951
|
return () => toStringFunction(factory());
|
|
13909
13952
|
}
|
|
13910
13953
|
|
|
13954
|
+
/**
|
|
13955
|
+
* A promise or a value.
|
|
13956
|
+
*/
|
|
13957
|
+
|
|
13958
|
+
/**
|
|
13959
|
+
* Convenience function for calling Promise.resolve
|
|
13960
|
+
*
|
|
13961
|
+
* @param input
|
|
13962
|
+
* @returns
|
|
13963
|
+
*/
|
|
13964
|
+
function asPromise(input) {
|
|
13965
|
+
return Promise.resolve(input);
|
|
13966
|
+
}
|
|
13967
|
+
|
|
13968
|
+
/**
|
|
13969
|
+
* A reference to a Promise and its resolve/reject functions.
|
|
13970
|
+
*/
|
|
13971
|
+
|
|
13972
|
+
let PROMISE_REF_NUMBER = 0;
|
|
13973
|
+
|
|
13974
|
+
/**
|
|
13975
|
+
* Creates a new promise and returns the full ref for it.
|
|
13976
|
+
*/
|
|
13977
|
+
function promiseReference(executor) {
|
|
13978
|
+
const ref = {};
|
|
13979
|
+
ref.promise = new Promise((resolve, reject) => {
|
|
13980
|
+
ref.resolve = resolve;
|
|
13981
|
+
ref.reject = reject;
|
|
13982
|
+
executor == null || executor(resolve, reject);
|
|
13983
|
+
});
|
|
13984
|
+
ref.number = PROMISE_REF_NUMBER += 1; // added for debugging
|
|
13985
|
+
|
|
13986
|
+
return ref;
|
|
13987
|
+
}
|
|
13988
|
+
|
|
13911
13989
|
/**
|
|
13912
13990
|
* Runs the task using the input config, and returns the value. Is always configured to throw the error if it fails.
|
|
13913
13991
|
*/
|
|
@@ -14040,7 +14118,7 @@ async function _performAsyncTask(value, taskFn, config = {}) {
|
|
|
14040
14118
|
*/
|
|
14041
14119
|
|
|
14042
14120
|
/**
|
|
14043
|
-
* Function that awaits a promise
|
|
14121
|
+
* Function that awaits a promise generated from each of the input values.
|
|
14044
14122
|
*
|
|
14045
14123
|
* Will throw an error if any error is encountered as soon as it is encountered. No further tasks will be dispatched, but tasks that have already been dispatched will continue to run.
|
|
14046
14124
|
*/
|
|
@@ -14062,7 +14140,6 @@ function performTasksInParallel(input, config) {
|
|
|
14062
14140
|
* @param config
|
|
14063
14141
|
*/
|
|
14064
14142
|
function performTasksInParallelFunction(config) {
|
|
14065
|
-
const defaultNonConcurrentTaskKeyFactory = stringFactoryFromFactory(incrementingNumberFactory(), x => x.toString());
|
|
14066
14143
|
const {
|
|
14067
14144
|
taskFactory,
|
|
14068
14145
|
sequential,
|
|
@@ -14072,160 +14149,210 @@ function performTasksInParallelFunction(config) {
|
|
|
14072
14149
|
} = config;
|
|
14073
14150
|
const maxParallelTasks = inputMaxParallelTasks != null ? inputMaxParallelTasks : sequential ? 1 : undefined;
|
|
14074
14151
|
if (!maxParallelTasks && !nonConcurrentTaskKeyFactory) {
|
|
14152
|
+
const defaultNonConcurrentTaskKeyFactory = stringFactoryFromFactory(incrementingNumberFactory(), x => x.toString());
|
|
14153
|
+
|
|
14075
14154
|
// if the max number of parallel tasks is not defined, then run all tasks at once, unless there is a nonConcurrentTaskKeyFactory
|
|
14076
14155
|
return async input => {
|
|
14077
14156
|
await Promise.all(input.map((value, i) => taskFactory(value, i, defaultNonConcurrentTaskKeyFactory())));
|
|
14078
14157
|
};
|
|
14079
14158
|
} else {
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14159
|
+
const performTasks = performTasksFromFactoryInParallelFunction(config);
|
|
14160
|
+
return async input => {
|
|
14161
|
+
const taskInputFactory = terminatingFactoryFromArray([input],
|
|
14162
|
+
// all in a single task array to run concurrently
|
|
14163
|
+
null);
|
|
14164
|
+
return performTasks(taskInputFactory);
|
|
14165
|
+
};
|
|
14166
|
+
}
|
|
14167
|
+
}
|
|
14168
|
+
|
|
14169
|
+
/**
|
|
14170
|
+
* Function that awaits all promises generated from the task factory until the factory returns null.
|
|
14171
|
+
*
|
|
14172
|
+
* If an array is pushed then the task factory will begin (but not necessarily complete) all those tasks before pulling the next set of tasks.
|
|
14173
|
+
*
|
|
14174
|
+
* Will throw an error if any error is encountered as soon as it is encountered. No further tasks will be dispatched, but tasks that have already been dispatched will continue to run.
|
|
14175
|
+
*/
|
|
14176
|
+
|
|
14177
|
+
/**
|
|
14178
|
+
* Creates a function that performs tasks from the task factory in parallel.
|
|
14179
|
+
*
|
|
14180
|
+
* @param config
|
|
14181
|
+
*/
|
|
14182
|
+
function performTasksFromFactoryInParallelFunction(config) {
|
|
14183
|
+
const defaultNonConcurrentTaskKeyFactory = stringFactoryFromFactory(incrementingNumberFactory(), x => x.toString());
|
|
14184
|
+
const {
|
|
14185
|
+
taskFactory,
|
|
14186
|
+
sequential,
|
|
14187
|
+
waitBetweenTaskInputRequests,
|
|
14188
|
+
nonConcurrentTaskKeyFactory,
|
|
14189
|
+
maxParallelTasks: inputMaxParallelTasks,
|
|
14190
|
+
waitBetweenTasks
|
|
14191
|
+
} = config;
|
|
14192
|
+
const maxParallelTasks = inputMaxParallelTasks != null ? inputMaxParallelTasks : sequential ? 1 : undefined;
|
|
14193
|
+
const maxPromisesToRunAtOneTime = Math.max(1, maxParallelTasks != null ? maxParallelTasks : 1);
|
|
14194
|
+
return taskInputFactory => {
|
|
14195
|
+
return new Promise(async (resolve, reject) => {
|
|
14196
|
+
const taskKeyFactory = nonConcurrentTaskKeyFactory != null ? nonConcurrentTaskKeyFactory : defaultNonConcurrentTaskKeyFactory;
|
|
14197
|
+
let incompleteTasks = [];
|
|
14198
|
+
let baseI = 0;
|
|
14199
|
+
let isOutOfTasks = false;
|
|
14200
|
+
let isFulfillingTask = false;
|
|
14201
|
+
const requestTasksQueue = [];
|
|
14202
|
+
async function fulfillRequestMoreTasks(parallelIndex, promiseReference) {
|
|
14203
|
+
if (incompleteTasks.length === 0) {
|
|
14204
|
+
isFulfillingTask = true;
|
|
14205
|
+
const newTasks = await asPromise(taskInputFactory());
|
|
14206
|
+
if (newTasks === null) {
|
|
14207
|
+
isOutOfTasks = true;
|
|
14208
|
+
} else {
|
|
14209
|
+
const newTaskEntries = asArray(newTasks).map((x, i) => [x, asArray(taskKeyFactory(x)), baseI + i]).reverse(); // reverse to use push/pop
|
|
14210
|
+
|
|
14211
|
+
baseI += newTaskEntries.length;
|
|
14212
|
+
incompleteTasks = [...newTaskEntries, ...incompleteTasks]; // new tasks go to the front of the stack
|
|
14213
|
+
}
|
|
14214
|
+
}
|
|
14215
|
+
|
|
14216
|
+
const nextTask = incompleteTasks.pop();
|
|
14217
|
+
promiseReference.resolve(nextTask); // resolve that promise
|
|
14218
|
+
|
|
14219
|
+
isFulfillingTask = false;
|
|
14220
|
+
|
|
14221
|
+
// wait before popping off the next task in the queue, if applicable
|
|
14222
|
+
if (waitBetweenTaskInputRequests) {
|
|
14223
|
+
await waitForMs(waitBetweenTaskInputRequests);
|
|
14224
|
+
}
|
|
14225
|
+
if (!isFulfillingTask && requestTasksQueue.length) {
|
|
14226
|
+
const nextItemInQueue = requestTasksQueue.pop();
|
|
14227
|
+
if (nextItemInQueue) {
|
|
14228
|
+
fulfillRequestMoreTasks(nextItemInQueue[0], nextItemInQueue[1]);
|
|
14229
|
+
}
|
|
14230
|
+
}
|
|
14231
|
+
}
|
|
14232
|
+
async function requestMoreTasks(parallelIndex) {
|
|
14233
|
+
if (isOutOfTasks) {
|
|
14234
|
+
return;
|
|
14235
|
+
} else {
|
|
14236
|
+
const promiseRef = promiseReference();
|
|
14237
|
+
if (isFulfillingTask) {
|
|
14238
|
+
requestTasksQueue.push([parallelIndex, promiseRef]);
|
|
14239
|
+
const waited = await promiseRef.promise;
|
|
14240
|
+
return waited;
|
|
14241
|
+
} else {
|
|
14242
|
+
fulfillRequestMoreTasks(parallelIndex, promiseRef);
|
|
14243
|
+
}
|
|
14244
|
+
return promiseRef.promise;
|
|
14245
|
+
}
|
|
14083
14246
|
}
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14247
|
+
let currentRunIndex = 0;
|
|
14248
|
+
let finishedParallels = 0;
|
|
14249
|
+
let hasEncounteredFailure = false;
|
|
14250
|
+
|
|
14251
|
+
/**
|
|
14252
|
+
* Set of tasks keys that are currently running.
|
|
14253
|
+
*/
|
|
14254
|
+
const currentParellelTaskKeys = new Set();
|
|
14255
|
+
const visitedTaskIndexes = new Set();
|
|
14256
|
+
const waitingConcurrentTasks = multiValueMapBuilder();
|
|
14257
|
+
async function getNextTask(parallelIndex) {
|
|
14258
|
+
let nextTask = undefined;
|
|
14259
|
+
while (!nextTask) {
|
|
14260
|
+
var _nextTask;
|
|
14261
|
+
// request more tasks if the tasks list is empty
|
|
14262
|
+
if (!isOutOfTasks && incompleteTasks.length === 0) {
|
|
14263
|
+
nextTask = await requestMoreTasks(parallelIndex);
|
|
14264
|
+
}
|
|
14265
|
+
nextTask = (_nextTask = nextTask) != null ? _nextTask : incompleteTasks.pop();
|
|
14266
|
+
if (nextTask != null) {
|
|
14267
|
+
const nextTaskTuple = nextTask;
|
|
14268
|
+
const nextTaskTupleIndex = nextTaskTuple[2];
|
|
14269
|
+
if (visitedTaskIndexes.has(nextTaskTupleIndex)) {
|
|
14270
|
+
// already run. Ignore.
|
|
14271
|
+
nextTask = undefined;
|
|
14272
|
+
} else {
|
|
14273
|
+
const keys = nextTaskTuple[1];
|
|
14274
|
+
const keyOfTaskCurrentlyInUse = setContainsAnyValue(currentParellelTaskKeys, keys);
|
|
14275
|
+
if (keyOfTaskCurrentlyInUse) {
|
|
14276
|
+
keys.forEach(key => waitingConcurrentTasks.addTuples(key, nextTaskTuple)); // add to each key as waiting
|
|
14277
|
+
nextTask = undefined; // clear to continue loop
|
|
14109
14278
|
} else {
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
if (keyOfTaskCurrentlyInUse) {
|
|
14113
|
-
keys.forEach(key => waitingConcurrentTasks.addTuples(key, nextTaskTuple)); // add to each key as waiting
|
|
14114
|
-
nextTask = undefined; // clear to continue loop
|
|
14115
|
-
} else {
|
|
14116
|
-
addToSet(currentParellelTaskKeys, keys); // add to the current task keys, exit loop
|
|
14117
|
-
break;
|
|
14118
|
-
}
|
|
14279
|
+
addToSet(currentParellelTaskKeys, keys); // add to the current task keys, exit loop
|
|
14280
|
+
break;
|
|
14119
14281
|
}
|
|
14120
|
-
} else {
|
|
14121
|
-
break; // no tasks remaining, break.
|
|
14122
14282
|
}
|
|
14283
|
+
} else {
|
|
14284
|
+
break; // no tasks remaining, break.
|
|
14123
14285
|
}
|
|
14286
|
+
}
|
|
14124
14287
|
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
}
|
|
14129
|
-
return nextTask;
|
|
14288
|
+
if (nextTask) {
|
|
14289
|
+
// mark to prevent running again/concurrent runs
|
|
14290
|
+
visitedTaskIndexes.add(nextTask[2]);
|
|
14130
14291
|
}
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
incompleteTasks.push(nextWaitingTask);
|
|
14149
|
-
// mark to prevent pushing this one again since it will not get run
|
|
14150
|
-
indexesPushed.add(nextWaitingTaskIndex);
|
|
14151
|
-
break;
|
|
14152
|
-
}
|
|
14292
|
+
return nextTask;
|
|
14293
|
+
}
|
|
14294
|
+
function onTaskCompleted(task, parallelIndex) {
|
|
14295
|
+
const keys = task[1];
|
|
14296
|
+
const indexesPushed = new Set();
|
|
14297
|
+
keys.forEach(key => {
|
|
14298
|
+
// un-reserve the key from each parallel task
|
|
14299
|
+
currentParellelTaskKeys.delete(key);
|
|
14300
|
+
const waitingForKey = waitingConcurrentTasks.get(key);
|
|
14301
|
+
while (true) {
|
|
14302
|
+
const nextWaitingTask = waitingForKey.shift(); // take from the front to retain unique task order
|
|
14303
|
+
|
|
14304
|
+
if (nextWaitingTask) {
|
|
14305
|
+
const nextWaitingTaskIndex = nextWaitingTask[2];
|
|
14306
|
+
if (visitedTaskIndexes.has(nextWaitingTaskIndex) || indexesPushed.has(nextWaitingTaskIndex)) {
|
|
14307
|
+
// if the task has already been visited, then don't push back onto incomplete tasks.
|
|
14308
|
+
continue;
|
|
14153
14309
|
} else {
|
|
14310
|
+
// push to front for the next dispatch to take for this key
|
|
14311
|
+
incompleteTasks.push(nextWaitingTask);
|
|
14312
|
+
// mark to prevent pushing this one again since it will not get run
|
|
14313
|
+
indexesPushed.add(nextWaitingTaskIndex);
|
|
14154
14314
|
break;
|
|
14155
14315
|
}
|
|
14316
|
+
} else {
|
|
14317
|
+
break;
|
|
14156
14318
|
}
|
|
14157
|
-
}
|
|
14158
|
-
}
|
|
14319
|
+
}
|
|
14320
|
+
});
|
|
14321
|
+
}
|
|
14159
14322
|
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14323
|
+
// start initial promises
|
|
14324
|
+
async function dispatchNextPromise(parallelIndex) {
|
|
14325
|
+
// if a failure has been encountered then the promise has already been rejected.
|
|
14326
|
+
if (!hasEncounteredFailure) {
|
|
14327
|
+
const nextTask = await getNextTask(parallelIndex);
|
|
14328
|
+
if (nextTask) {
|
|
14329
|
+
// build/start promise
|
|
14330
|
+
const promise = taskFactory(nextTask[0], currentRunIndex, nextTask[1]);
|
|
14331
|
+
currentRunIndex += 1;
|
|
14332
|
+
promise.then(() => {
|
|
14333
|
+
onTaskCompleted(nextTask);
|
|
14334
|
+
setTimeout(() => dispatchNextPromise(parallelIndex), waitBetweenTasks);
|
|
14335
|
+
}, e => {
|
|
14336
|
+
hasEncounteredFailure = true;
|
|
14337
|
+
reject(e);
|
|
14338
|
+
});
|
|
14339
|
+
} else {
|
|
14340
|
+
finishedParallels += 1;
|
|
14178
14341
|
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
}
|
|
14342
|
+
// only resolve after the last parallel is complete
|
|
14343
|
+
if (finishedParallels === maxPromisesToRunAtOneTime) {
|
|
14344
|
+
resolve();
|
|
14183
14345
|
}
|
|
14184
14346
|
}
|
|
14185
14347
|
}
|
|
14348
|
+
}
|
|
14186
14349
|
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
});
|
|
14350
|
+
// run the initial promises
|
|
14351
|
+
range(0, maxPromisesToRunAtOneTime).forEach(parallelIndex => {
|
|
14352
|
+
dispatchNextPromise(parallelIndex);
|
|
14191
14353
|
});
|
|
14192
|
-
};
|
|
14193
|
-
}
|
|
14194
|
-
}
|
|
14195
|
-
|
|
14196
|
-
/**
|
|
14197
|
-
* A reference to a Promise and its resolve/reject functions.
|
|
14198
|
-
*/
|
|
14199
|
-
|
|
14200
|
-
let PROMISE_REF_NUMBER = 0;
|
|
14201
|
-
|
|
14202
|
-
/**
|
|
14203
|
-
* Creates a new promise and returns the full ref for it.
|
|
14204
|
-
*/
|
|
14205
|
-
function promiseReference(executor) {
|
|
14206
|
-
const ref = {};
|
|
14207
|
-
ref.promise = new Promise((resolve, reject) => {
|
|
14208
|
-
ref.resolve = resolve;
|
|
14209
|
-
ref.reject = reject;
|
|
14210
|
-
executor == null || executor(resolve, reject);
|
|
14211
|
-
});
|
|
14212
|
-
ref.number = PROMISE_REF_NUMBER += 1; // added for debugging
|
|
14213
|
-
|
|
14214
|
-
return ref;
|
|
14215
|
-
}
|
|
14216
|
-
|
|
14217
|
-
/**
|
|
14218
|
-
* A promise or a value.
|
|
14219
|
-
*/
|
|
14220
|
-
|
|
14221
|
-
/**
|
|
14222
|
-
* Convenience function for calling Promise.resolve
|
|
14223
|
-
*
|
|
14224
|
-
* @param input
|
|
14225
|
-
* @returns
|
|
14226
|
-
*/
|
|
14227
|
-
function asPromise(input) {
|
|
14228
|
-
return Promise.resolve(input);
|
|
14354
|
+
});
|
|
14355
|
+
};
|
|
14229
14356
|
}
|
|
14230
14357
|
|
|
14231
14358
|
/**
|
|
@@ -15874,4 +16001,4 @@ async function iterateFilteredPages(inputPage, loadFn, iterFn) {
|
|
|
15874
16001
|
return count;
|
|
15875
16002
|
}
|
|
15876
16003
|
|
|
15877
|
-
export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanKeyArrayUtilityInstance, BooleanStringKeyArrayUtilityInstance, CATCH_ALL_HANDLE_RESULT_KEY, CUT_VALUE_TO_ZERO_PRECISION, DATE_NOW_VALUE, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FullStorageObject, HAS_WEBSITE_DOMAIN_NAME_REGEX, HOURS_IN_DAY, HTTP_OR_HTTPS_REGEX, HashSet, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, PHONE_EXTENSION_NUMBER_REGEX, PRIMATIVE_KEY_DENCODER_VALUE, PageCalculator, PropertyDescriptorUtility, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TimeAM, TypedServiceRegistryInstance, UNLOADED_PAGE, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEB_PROTOCOL_PREFIX_REGEX, ZIP_CODE_STRING_REGEX, addHttpToUrl, addLatLngPoints, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, applyBestFit, applyToMultipleFields, areEqualContext, areEqualPOJOValues, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, boundNumber, boundNumberFunction, boundToRectangle, build, cachedGetter, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, computeNextFractionalHour, computeNextFreeIndexFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertParticipantToEmailParticipantString, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromLogicalDate, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, diffLatLngBoundPoints, diffLatLngPoints, dollarAmountString, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandTreeFunction, expandTrees, extendLatLngBound, filterAndMapFunction, filterEmptyValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterMaybeValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterUndefinedValues, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenTrees, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hashSetForIndexed, hourToFractionalHour, idBatchFactory, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStringOrTrue, isTrueBooleanKeyArray, isUTCDateString, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrayIntoArray, mergeArrayOrValueIntoArray, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeIntoArray, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, objectToTuples, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readUniqueModelKey, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, separateValues, separateValuesToSets, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, slashPathFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathStartTypeFactory, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, stepsFromIndex, stepsFromIndexFunction, stringFactoryFromFactory, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, throwKeyIsRequired, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
|
|
16004
|
+
export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanKeyArrayUtilityInstance, BooleanStringKeyArrayUtilityInstance, CATCH_ALL_HANDLE_RESULT_KEY, CUT_VALUE_TO_ZERO_PRECISION, DATE_NOW_VALUE, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FullStorageObject, HAS_WEBSITE_DOMAIN_NAME_REGEX, HOURS_IN_DAY, HTTP_OR_HTTPS_REGEX, HashSet, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, PHONE_EXTENSION_NUMBER_REGEX, PRIMATIVE_KEY_DENCODER_VALUE, PageCalculator, PropertyDescriptorUtility, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TimeAM, TypedServiceRegistryInstance, UNLOADED_PAGE, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEB_PROTOCOL_PREFIX_REGEX, ZIP_CODE_STRING_REGEX, addHttpToUrl, addLatLngPoints, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, applyBestFit, applyToMultipleFields, areEqualContext, areEqualPOJOValues, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, boundNumber, boundNumberFunction, boundToRectangle, build, cachedGetter, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, computeNextFractionalHour, computeNextFreeIndexFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertParticipantToEmailParticipantString, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromLogicalDate, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, diffLatLngBoundPoints, diffLatLngPoints, dollarAmountString, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandTreeFunction, expandTrees, extendLatLngBound, filterAndMapFunction, filterEmptyValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterMaybeValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterUndefinedValues, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenTrees, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hashSetForIndexed, hourToFractionalHour, idBatchFactory, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStringOrTrue, isTrueBooleanKeyArray, isUTCDateString, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrayIntoArray, mergeArrayOrValueIntoArray, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeIntoArray, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, objectToTuples, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readUniqueModelKey, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, separateValues, separateValuesToSets, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, slashPathFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathStartTypeFactory, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, stepsFromIndex, stepsFromIndexFunction, stringFactoryFromFactory, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
|