@flemist/simple-utils 2.1.3 → 2.1.5
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/build/browser/index.cjs +1 -1
- package/build/browser/index.mjs +148 -115
- package/build/common/index.cjs +1 -1
- package/build/common/index.mjs +148 -115
- package/build/common/string/format/index.d.ts +1 -0
- package/build/common/test/match/index.d.ts +6 -2
- package/build/common/test/match/matchers/index.d.ts +17 -0
- package/build/node/index.cjs +8 -8
- package/build/node/index.mjs +862 -668
- package/build/node/test/helpers/common.d.ts +2 -0
- package/build/node/test/helpers/createTestE2e.d.ts +30 -0
- package/build/node/test/helpers/index.d.ts +3 -0
- package/build/node/test/helpers/waitPageStable.d.ts +35 -0
- package/build/node/test/index.d.ts +1 -0
- package/build/urlGet-CerQ1cKh.js +17 -0
- package/build/{urlGet-BCW9jvAm.mjs → urlGet-DZEwtNXt.mjs} +614 -561
- package/package.json +1 -1
- package/build/urlGet-BOGFUahf.js +0 -17
package/build/browser/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../urlGet-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../urlGet-CerQ1cKh.js");exports.CheckError=t.CheckError;exports.ConsoleMessageLevel=t.ConsoleMessageLevel;exports.Lazy=t.Lazy;exports.LazyWithId=t.LazyWithId;exports.LogLevel=t.LogLevel;exports.MAX_REPORT_ITEMS_DEFAULT=t.MAX_REPORT_ITEMS_DEFAULT;exports.MatchInternalError=t.MatchInternalError;exports.Matcher=t.Matcher;exports.MatcherAny=t.MatcherAny;exports.MatcherArray=t.MatcherArray;exports.MatcherArrayItem=t.MatcherArrayItem;exports.MatcherConvert=t.MatcherConvert;exports.MatcherCustom=t.MatcherCustom;exports.MatcherFew=t.MatcherFew;exports.MatcherIn=t.MatcherIn;exports.MatcherInstanceOf=t.MatcherInstanceOf;exports.MatcherIs=t.MatcherIs;exports.MatcherNever=t.MatcherNever;exports.MatcherNot=t.MatcherNot;exports.MatcherNumber=t.MatcherNumber;exports.MatcherObject=t.MatcherObject;exports.MatcherObjectEntry=t.MatcherObjectEntry;exports.MatcherRef=t.MatcherRef;exports.MatcherString=t.MatcherString;exports.Random=t.Random;exports.Subject=t.Subject;exports.SubjectWithId=t.SubjectWithId;exports.UNIQUE_PSEUDO_RANDOM_MAX_COUNT=t.UNIQUE_PSEUDO_RANDOM_MAX_COUNT;exports.alertConsole=t.alertConsole;exports.alertReplace=t.alertReplace;exports.argsToString=t.argsToString;exports.check=t.check;exports.checkFunc=t.checkFunc;exports.consoleIntercept=t.consoleIntercept;exports.consoleMessageToString=t.consoleMessageToString;exports.consoleReplace=t.consoleReplace;exports.convertTimeZone=t.convertTimeZone;exports.createMatchResult=t.createMatchResult;exports.createMatchResultBoolean=t.createMatchResultBoolean;exports.createMatchResultError=t.createMatchResultError;exports.createTaskDelayRetry=t.createTaskDelayRetry;exports.createUniquePseudoRandom=t.createUniquePseudoRandom;exports.dateNowUnique=t.dateNowUnique;exports.deepCloneJsonLike=t.deepCloneJsonLike;exports.deepEqualJsonLike=t.deepEqualJsonLike;exports.deepEqualJsonLikeMap=t.deepEqualJsonLikeMap;exports.equalArray=t.equalArray;exports.escapeHtml=t.escapeHtml;exports.escapeRegExp=t.escapeRegExp;exports.expectedToString=t.expectedToString;exports.filterMatchResult=t.filterMatchResult;exports.filterMatchResultNested=t.filterMatchResultNested;exports.fixStackTrace=t.fixStackTrace;exports.formatAny=t.formatAny;exports.formatDate=t.formatDate;exports.formatDateFileName=t.formatDateFileName;exports.getConsoleMessages=t.getConsoleMessages;exports.getDateInet=t.getDateInet;exports.getNormalizedObject=t.getNormalizedObject;exports.getObjectId=t.getObjectId;exports.getRandomFunc=t.getRandomFunc;exports.getRandomSeed=t.getRandomSeed;exports.getStackTrace=t.getStackTrace;exports.isMatcher=t.isMatcher;exports.isObservable=t.isObservable;exports.match=t.match;exports.matchAnd=t.matchAnd;exports.matchAndPipe=t.matchAndPipe;exports.matchAny=t.matchAny;exports.matchArray=t.matchArray;exports.matchArrayBuffer=t.matchArrayBuffer;exports.matchArrayIncludes=t.matchArrayIncludes;exports.matchArrayItem=t.matchArrayItem;exports.matchArrayLength=t.matchArrayLength;exports.matchArrayWith=t.matchArrayWith;exports.matchBoolean=t.matchBoolean;exports.matchConstructor=t.matchConstructor;exports.matchConvert=t.matchConvert;exports.matchCustom=t.matchCustom;exports.matchDeep=t.matchDeep;exports.matchEnum=t.matchEnum;exports.matchFloat=t.matchFloat;exports.matchIn=t.matchIn;exports.matchInstanceOf=t.matchInstanceOf;exports.matchInt=t.matchInt;exports.matchIntDate=t.matchIntDate;exports.matchIs=t.matchIs;exports.matchIsNonStrict=t.matchIsNonStrict;exports.matchNever=t.matchNever;exports.matchNot=t.matchNot;exports.matchNotNullish=t.matchNotNullish;exports.matchNullish=t.matchNullish;exports.matchNumber=t.matchNumber;exports.matchObject=t.matchObject;exports.matchObjectEntries=t.matchObjectEntries;exports.matchObjectEntry=t.matchObjectEntry;exports.matchObjectKey=t.matchObjectKey;exports.matchObjectKeyValue=t.matchObjectKeyValue;exports.matchObjectKeys=t.matchObjectKeys;exports.matchObjectKeysNotNull=t.matchObjectKeysNotNull;exports.matchObjectPartial=t.matchObjectPartial;exports.matchObjectValue=t.matchObjectValue;exports.matchObjectValues=t.matchObjectValues;exports.matchObjectWith=t.matchObjectWith;exports.matchOptional=t.matchOptional;exports.matchOr=t.matchOr;exports.matchOrPipe=t.matchOrPipe;exports.matchRange=t.matchRange;exports.matchRangeDate=t.matchRangeDate;exports.matchRef=t.matchRef;exports.matchResultNestedToString=t.matchResultNestedToString;exports.matchResultToString=t.matchResultToString;exports.matchString=t.matchString;exports.matchStringLength=t.matchStringLength;exports.matchTypeOf=t.matchTypeOf;exports.matchUuid=t.matchUuid;exports.matchValueState=t.matchValueState;exports.max=t.max;exports.min=t.min;exports.minMax=t.minMax;exports.numberMod=t.numberMod;exports.randomBoolean=t.randomBoolean;exports.randomEnum=t.randomEnum;exports.randomFloat=t.randomFloat;exports.randomIndexWeighted=t.randomIndexWeighted;exports.randomInt=t.randomInt;exports.randomItem=t.randomItem;exports.randomItems=t.randomItems;exports.setFuncName=t.setFuncName;exports.sha256=t.sha256;exports.sha256Buffer=t.sha256Buffer;exports.timeoutAbortController=t.timeoutAbortController;exports.toHex=t.toHex;exports.truncateString=t.truncateString;exports.urlGetBoolean=t.urlGetBoolean;exports.urlGetFloat=t.urlGetFloat;exports.urlGetInt=t.urlGetInt;exports.urlGetParams=t.urlGetParams;exports.urlGetString=t.urlGetString;exports.urlParamToBoolean=t.urlParamToBoolean;exports.urlParamToFloat=t.urlParamToFloat;exports.urlParamToInt=t.urlParamToInt;exports.validateMatchResult=t.validateMatchResult;exports.waitObservable=t.waitObservable;exports.withConsoleReplace=t.withConsoleReplace;exports.withRetry=t.withRetry;exports.withTimeout=t.withTimeout;
|
package/build/browser/index.mjs
CHANGED
|
@@ -1,117 +1,150 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ac as e, M as s, W as c, X as r, P as h, aj as m, a2 as n, a3 as o, b5 as l, b6 as b, b7 as u, b8 as i, b9 as M, ba as d, bb as g, bk as O, bc as I, bd as R, be as y, bf as N, bg as p, bh as A, bi as S, bj as j, R as T, $ as f, a0 as E, U as C, L, H as k, a6 as v, ad as D, ae as F, K as P, I as x, N as U, q as B, aa as _, a9 as q, a8 as w, Z as G, l as W, o as K, B as V, C as z, D as J, E as H, z as X, A as Q, a5 as Z, ag as Y, af as $, Q as aa, u as ta, v as ea, w as sa, J as ca, p as ra, F as ha, x as ma, d as na, g as oa, S as la, a4 as ba, _ as ua, ab as ia, aH as Ma, aJ as da, am as ga, ak as Oa, b4 as Ia, al as Ra, ap as ya, aL as Na, aO as pa, aD as Aa, aC as Sa, aq as ja, aZ as Ta, ax as fa, aY as Ea, av as Ca, aX as La, aA as ka, au as va, a_ as Da, as as Fa, ar as Pa, ao as xa, b1 as Ua, aF as Ba, aE as _a, at as qa, aw as wa, aR as Ga, aS as Wa, aT as Ka, aV as Va, aP as za, aW as Ja, ay as Ha, aU as Xa, aQ as Qa, aN as Za, aK as Ya, aG as $a, aI as at, a$ as tt, b0 as et, an as st, ah as ct, ai as rt, az as ht, aM as mt, aB as nt, b2 as ot, b3 as lt, b as bt, m as ut, c as it, n as Mt, f as dt, k as gt, r as Ot, h as It, e as Rt, i as yt, j as Nt, G as pt, a as At, s as St, T as jt, t as Tt, y as ft, bq as Et, bs as Ct, br as Lt, bl as kt, bp as vt, bm as Dt, bo as Ft, bn as Pt, a7 as xt, a1 as Ut, O as Bt, Y as _t, V as qt } from "../urlGet-DZEwtNXt.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
c as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
n as
|
|
10
|
-
|
|
11
|
-
l as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
g as
|
|
18
|
-
|
|
19
|
-
I as
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
S as
|
|
26
|
-
|
|
27
|
-
T as
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
U as
|
|
39
|
-
B as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
H as
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Z as
|
|
53
|
-
Y as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ca as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
na as
|
|
64
|
-
|
|
65
|
-
la as
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ga as
|
|
72
|
-
|
|
73
|
-
Ia as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Sa as
|
|
80
|
-
|
|
81
|
-
Ta as
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Ua as
|
|
93
|
-
Ba as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Ha as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Za as
|
|
107
|
-
Ya as
|
|
108
|
-
$a as
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
3
|
+
e as CheckError,
|
|
4
|
+
s as ConsoleMessageLevel,
|
|
5
|
+
c as Lazy,
|
|
6
|
+
r as LazyWithId,
|
|
7
|
+
h as LogLevel,
|
|
8
|
+
m as MAX_REPORT_ITEMS_DEFAULT,
|
|
9
|
+
n as MatchInternalError,
|
|
10
|
+
o as Matcher,
|
|
11
|
+
l as MatcherAny,
|
|
12
|
+
b as MatcherArray,
|
|
13
|
+
u as MatcherArrayItem,
|
|
14
|
+
i as MatcherConvert,
|
|
15
|
+
M as MatcherCustom,
|
|
16
|
+
d as MatcherFew,
|
|
17
|
+
g as MatcherIn,
|
|
18
|
+
O as MatcherInstanceOf,
|
|
19
|
+
I as MatcherIs,
|
|
20
|
+
R as MatcherNever,
|
|
21
|
+
y as MatcherNot,
|
|
22
|
+
N as MatcherNumber,
|
|
23
|
+
p as MatcherObject,
|
|
24
|
+
A as MatcherObjectEntry,
|
|
25
|
+
S as MatcherRef,
|
|
26
|
+
j as MatcherString,
|
|
27
|
+
T as Random,
|
|
28
|
+
f as Subject,
|
|
29
|
+
E as SubjectWithId,
|
|
30
|
+
C as UNIQUE_PSEUDO_RANDOM_MAX_COUNT,
|
|
31
|
+
L as alertConsole,
|
|
32
|
+
k as alertReplace,
|
|
33
|
+
v as argsToString,
|
|
34
|
+
D as check,
|
|
35
|
+
F as checkFunc,
|
|
36
|
+
P as consoleIntercept,
|
|
37
|
+
x as consoleMessageToString,
|
|
38
|
+
U as consoleReplace,
|
|
39
|
+
B as convertTimeZone,
|
|
40
|
+
_ as createMatchResult,
|
|
41
|
+
q as createMatchResultBoolean,
|
|
42
|
+
w as createMatchResultError,
|
|
43
|
+
G as createTaskDelayRetry,
|
|
44
|
+
W as createUniquePseudoRandom,
|
|
45
|
+
K as dateNowUnique,
|
|
46
|
+
V as deepCloneJsonLike,
|
|
47
|
+
z as deepEqualJsonLike,
|
|
48
|
+
J as deepEqualJsonLikeMap,
|
|
49
|
+
H as equalArray,
|
|
50
|
+
X as escapeHtml,
|
|
51
|
+
Q as escapeRegExp,
|
|
52
|
+
Z as expectedToString,
|
|
53
|
+
Y as filterMatchResult,
|
|
54
|
+
$ as filterMatchResultNested,
|
|
55
|
+
aa as fixStackTrace,
|
|
56
|
+
ta as formatAny,
|
|
57
|
+
ea as formatDate,
|
|
58
|
+
sa as formatDateFileName,
|
|
59
|
+
ca as getConsoleMessages,
|
|
60
|
+
ra as getDateInet,
|
|
61
|
+
ha as getNormalizedObject,
|
|
62
|
+
ma as getObjectId,
|
|
63
|
+
na as getRandomFunc,
|
|
64
|
+
oa as getRandomSeed,
|
|
65
|
+
la as getStackTrace,
|
|
66
|
+
ba as isMatcher,
|
|
67
|
+
ua as isObservable,
|
|
68
|
+
ia as match,
|
|
69
|
+
Ma as matchAnd,
|
|
70
|
+
da as matchAndPipe,
|
|
71
|
+
ga as matchAny,
|
|
72
|
+
Oa as matchArray,
|
|
73
|
+
Ia as matchArrayBuffer,
|
|
74
|
+
Ra as matchArrayIncludes,
|
|
75
|
+
ya as matchArrayItem,
|
|
76
|
+
Na as matchArrayLength,
|
|
77
|
+
pa as matchArrayWith,
|
|
78
|
+
Aa as matchBoolean,
|
|
79
|
+
Sa as matchConstructor,
|
|
80
|
+
ja as matchConvert,
|
|
81
|
+
Ta as matchCustom,
|
|
82
|
+
fa as matchDeep,
|
|
83
|
+
Ea as matchEnum,
|
|
84
|
+
Ca as matchFloat,
|
|
85
|
+
La as matchIn,
|
|
86
|
+
ka as matchInstanceOf,
|
|
87
|
+
va as matchInt,
|
|
88
|
+
Da as matchIntDate,
|
|
89
|
+
Fa as matchIs,
|
|
90
|
+
Pa as matchIsNonStrict,
|
|
91
|
+
xa as matchNever,
|
|
92
|
+
Ua as matchNot,
|
|
93
|
+
Ba as matchNotNullish,
|
|
94
|
+
_a as matchNullish,
|
|
95
|
+
qa as matchNumber,
|
|
96
|
+
wa as matchObject,
|
|
97
|
+
Ga as matchObjectEntries,
|
|
98
|
+
Wa as matchObjectEntry,
|
|
99
|
+
Ka as matchObjectKey,
|
|
100
|
+
Va as matchObjectKeyValue,
|
|
101
|
+
za as matchObjectKeys,
|
|
102
|
+
Ja as matchObjectKeysNotNull,
|
|
103
|
+
Ha as matchObjectPartial,
|
|
104
|
+
Xa as matchObjectValue,
|
|
105
|
+
Qa as matchObjectValues,
|
|
106
|
+
Za as matchObjectWith,
|
|
107
|
+
Ya as matchOptional,
|
|
108
|
+
$a as matchOr,
|
|
109
|
+
at as matchOrPipe,
|
|
110
|
+
tt as matchRange,
|
|
111
|
+
et as matchRangeDate,
|
|
112
|
+
st as matchRef,
|
|
113
|
+
ct as matchResultNestedToString,
|
|
114
|
+
rt as matchResultToString,
|
|
115
|
+
ht as matchString,
|
|
116
|
+
mt as matchStringLength,
|
|
117
|
+
nt as matchTypeOf,
|
|
118
|
+
ot as matchUuid,
|
|
119
|
+
lt as matchValueState,
|
|
120
|
+
bt as max,
|
|
121
|
+
ut as min,
|
|
122
|
+
it as minMax,
|
|
123
|
+
Mt as numberMod,
|
|
124
|
+
dt as randomBoolean,
|
|
125
|
+
gt as randomEnum,
|
|
126
|
+
Ot as randomFloat,
|
|
127
|
+
It as randomIndexWeighted,
|
|
128
|
+
Rt as randomInt,
|
|
129
|
+
yt as randomItem,
|
|
130
|
+
Nt as randomItems,
|
|
131
|
+
pt as setFuncName,
|
|
132
|
+
At as sha256,
|
|
133
|
+
St as sha256Buffer,
|
|
134
|
+
jt as timeoutAbortController,
|
|
135
|
+
Tt as toHex,
|
|
136
|
+
ft as truncateString,
|
|
137
|
+
Et as urlGetBoolean,
|
|
138
|
+
Ct as urlGetFloat,
|
|
139
|
+
Lt as urlGetInt,
|
|
140
|
+
kt as urlGetParams,
|
|
141
|
+
vt as urlGetString,
|
|
142
|
+
Dt as urlParamToBoolean,
|
|
143
|
+
Ft as urlParamToFloat,
|
|
144
|
+
Pt as urlParamToInt,
|
|
145
|
+
xt as validateMatchResult,
|
|
146
|
+
Ut as waitObservable,
|
|
147
|
+
Bt as withConsoleReplace,
|
|
148
|
+
_t as withRetry,
|
|
149
|
+
qt as withTimeout
|
|
117
150
|
};
|
package/build/common/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../urlGet-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../urlGet-CerQ1cKh.js");exports.CheckError=t.CheckError;exports.ConsoleMessageLevel=t.ConsoleMessageLevel;exports.Lazy=t.Lazy;exports.LazyWithId=t.LazyWithId;exports.LogLevel=t.LogLevel;exports.MAX_REPORT_ITEMS_DEFAULT=t.MAX_REPORT_ITEMS_DEFAULT;exports.MatchInternalError=t.MatchInternalError;exports.Matcher=t.Matcher;exports.MatcherAny=t.MatcherAny;exports.MatcherArray=t.MatcherArray;exports.MatcherArrayItem=t.MatcherArrayItem;exports.MatcherConvert=t.MatcherConvert;exports.MatcherCustom=t.MatcherCustom;exports.MatcherFew=t.MatcherFew;exports.MatcherIn=t.MatcherIn;exports.MatcherInstanceOf=t.MatcherInstanceOf;exports.MatcherIs=t.MatcherIs;exports.MatcherNever=t.MatcherNever;exports.MatcherNot=t.MatcherNot;exports.MatcherNumber=t.MatcherNumber;exports.MatcherObject=t.MatcherObject;exports.MatcherObjectEntry=t.MatcherObjectEntry;exports.MatcherRef=t.MatcherRef;exports.MatcherString=t.MatcherString;exports.Random=t.Random;exports.Subject=t.Subject;exports.SubjectWithId=t.SubjectWithId;exports.UNIQUE_PSEUDO_RANDOM_MAX_COUNT=t.UNIQUE_PSEUDO_RANDOM_MAX_COUNT;exports.alertConsole=t.alertConsole;exports.alertReplace=t.alertReplace;exports.argsToString=t.argsToString;exports.check=t.check;exports.checkFunc=t.checkFunc;exports.consoleIntercept=t.consoleIntercept;exports.consoleMessageToString=t.consoleMessageToString;exports.consoleReplace=t.consoleReplace;exports.convertTimeZone=t.convertTimeZone;exports.createMatchResult=t.createMatchResult;exports.createMatchResultBoolean=t.createMatchResultBoolean;exports.createMatchResultError=t.createMatchResultError;exports.createTaskDelayRetry=t.createTaskDelayRetry;exports.createUniquePseudoRandom=t.createUniquePseudoRandom;exports.dateNowUnique=t.dateNowUnique;exports.deepCloneJsonLike=t.deepCloneJsonLike;exports.deepEqualJsonLike=t.deepEqualJsonLike;exports.deepEqualJsonLikeMap=t.deepEqualJsonLikeMap;exports.equalArray=t.equalArray;exports.escapeHtml=t.escapeHtml;exports.escapeRegExp=t.escapeRegExp;exports.expectedToString=t.expectedToString;exports.filterMatchResult=t.filterMatchResult;exports.filterMatchResultNested=t.filterMatchResultNested;exports.fixStackTrace=t.fixStackTrace;exports.formatAny=t.formatAny;exports.formatDate=t.formatDate;exports.formatDateFileName=t.formatDateFileName;exports.getConsoleMessages=t.getConsoleMessages;exports.getDateInet=t.getDateInet;exports.getNormalizedObject=t.getNormalizedObject;exports.getObjectId=t.getObjectId;exports.getRandomFunc=t.getRandomFunc;exports.getRandomSeed=t.getRandomSeed;exports.getStackTrace=t.getStackTrace;exports.isMatcher=t.isMatcher;exports.isObservable=t.isObservable;exports.match=t.match;exports.matchAnd=t.matchAnd;exports.matchAndPipe=t.matchAndPipe;exports.matchAny=t.matchAny;exports.matchArray=t.matchArray;exports.matchArrayBuffer=t.matchArrayBuffer;exports.matchArrayIncludes=t.matchArrayIncludes;exports.matchArrayItem=t.matchArrayItem;exports.matchArrayLength=t.matchArrayLength;exports.matchArrayWith=t.matchArrayWith;exports.matchBoolean=t.matchBoolean;exports.matchConstructor=t.matchConstructor;exports.matchConvert=t.matchConvert;exports.matchCustom=t.matchCustom;exports.matchDeep=t.matchDeep;exports.matchEnum=t.matchEnum;exports.matchFloat=t.matchFloat;exports.matchIn=t.matchIn;exports.matchInstanceOf=t.matchInstanceOf;exports.matchInt=t.matchInt;exports.matchIntDate=t.matchIntDate;exports.matchIs=t.matchIs;exports.matchIsNonStrict=t.matchIsNonStrict;exports.matchNever=t.matchNever;exports.matchNot=t.matchNot;exports.matchNotNullish=t.matchNotNullish;exports.matchNullish=t.matchNullish;exports.matchNumber=t.matchNumber;exports.matchObject=t.matchObject;exports.matchObjectEntries=t.matchObjectEntries;exports.matchObjectEntry=t.matchObjectEntry;exports.matchObjectKey=t.matchObjectKey;exports.matchObjectKeyValue=t.matchObjectKeyValue;exports.matchObjectKeys=t.matchObjectKeys;exports.matchObjectKeysNotNull=t.matchObjectKeysNotNull;exports.matchObjectPartial=t.matchObjectPartial;exports.matchObjectValue=t.matchObjectValue;exports.matchObjectValues=t.matchObjectValues;exports.matchObjectWith=t.matchObjectWith;exports.matchOptional=t.matchOptional;exports.matchOr=t.matchOr;exports.matchOrPipe=t.matchOrPipe;exports.matchRange=t.matchRange;exports.matchRangeDate=t.matchRangeDate;exports.matchRef=t.matchRef;exports.matchResultNestedToString=t.matchResultNestedToString;exports.matchResultToString=t.matchResultToString;exports.matchString=t.matchString;exports.matchStringLength=t.matchStringLength;exports.matchTypeOf=t.matchTypeOf;exports.matchUuid=t.matchUuid;exports.matchValueState=t.matchValueState;exports.max=t.max;exports.min=t.min;exports.minMax=t.minMax;exports.numberMod=t.numberMod;exports.randomBoolean=t.randomBoolean;exports.randomEnum=t.randomEnum;exports.randomFloat=t.randomFloat;exports.randomIndexWeighted=t.randomIndexWeighted;exports.randomInt=t.randomInt;exports.randomItem=t.randomItem;exports.randomItems=t.randomItems;exports.setFuncName=t.setFuncName;exports.sha256=t.sha256;exports.sha256Buffer=t.sha256Buffer;exports.timeoutAbortController=t.timeoutAbortController;exports.toHex=t.toHex;exports.truncateString=t.truncateString;exports.urlGetBoolean=t.urlGetBoolean;exports.urlGetFloat=t.urlGetFloat;exports.urlGetInt=t.urlGetInt;exports.urlGetParams=t.urlGetParams;exports.urlGetString=t.urlGetString;exports.urlParamToBoolean=t.urlParamToBoolean;exports.urlParamToFloat=t.urlParamToFloat;exports.urlParamToInt=t.urlParamToInt;exports.validateMatchResult=t.validateMatchResult;exports.waitObservable=t.waitObservable;exports.withConsoleReplace=t.withConsoleReplace;exports.withRetry=t.withRetry;exports.withTimeout=t.withTimeout;
|
package/build/common/index.mjs
CHANGED
|
@@ -1,117 +1,150 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ac as e, M as s, W as c, X as r, P as h, aj as m, a2 as n, a3 as o, b5 as l, b6 as b, b7 as u, b8 as i, b9 as M, ba as d, bb as g, bk as O, bc as I, bd as R, be as y, bf as N, bg as p, bh as A, bi as S, bj as j, R as T, $ as f, a0 as E, U as C, L, H as k, a6 as v, ad as D, ae as F, K as P, I as x, N as U, q as B, aa as _, a9 as q, a8 as w, Z as G, l as W, o as K, B as V, C as z, D as J, E as H, z as X, A as Q, a5 as Z, ag as Y, af as $, Q as aa, u as ta, v as ea, w as sa, J as ca, p as ra, F as ha, x as ma, d as na, g as oa, S as la, a4 as ba, _ as ua, ab as ia, aH as Ma, aJ as da, am as ga, ak as Oa, b4 as Ia, al as Ra, ap as ya, aL as Na, aO as pa, aD as Aa, aC as Sa, aq as ja, aZ as Ta, ax as fa, aY as Ea, av as Ca, aX as La, aA as ka, au as va, a_ as Da, as as Fa, ar as Pa, ao as xa, b1 as Ua, aF as Ba, aE as _a, at as qa, aw as wa, aR as Ga, aS as Wa, aT as Ka, aV as Va, aP as za, aW as Ja, ay as Ha, aU as Xa, aQ as Qa, aN as Za, aK as Ya, aG as $a, aI as at, a$ as tt, b0 as et, an as st, ah as ct, ai as rt, az as ht, aM as mt, aB as nt, b2 as ot, b3 as lt, b as bt, m as ut, c as it, n as Mt, f as dt, k as gt, r as Ot, h as It, e as Rt, i as yt, j as Nt, G as pt, a as At, s as St, T as jt, t as Tt, y as ft, bq as Et, bs as Ct, br as Lt, bl as kt, bp as vt, bm as Dt, bo as Ft, bn as Pt, a7 as xt, a1 as Ut, O as Bt, Y as _t, V as qt } from "../urlGet-DZEwtNXt.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
c as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
n as
|
|
10
|
-
|
|
11
|
-
l as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
g as
|
|
18
|
-
|
|
19
|
-
I as
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
S as
|
|
26
|
-
|
|
27
|
-
T as
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
U as
|
|
39
|
-
B as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
H as
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Z as
|
|
53
|
-
Y as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ca as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
na as
|
|
64
|
-
|
|
65
|
-
la as
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ga as
|
|
72
|
-
|
|
73
|
-
Ia as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Sa as
|
|
80
|
-
|
|
81
|
-
Ta as
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Ua as
|
|
93
|
-
Ba as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Ha as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Za as
|
|
107
|
-
Ya as
|
|
108
|
-
$a as
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
3
|
+
e as CheckError,
|
|
4
|
+
s as ConsoleMessageLevel,
|
|
5
|
+
c as Lazy,
|
|
6
|
+
r as LazyWithId,
|
|
7
|
+
h as LogLevel,
|
|
8
|
+
m as MAX_REPORT_ITEMS_DEFAULT,
|
|
9
|
+
n as MatchInternalError,
|
|
10
|
+
o as Matcher,
|
|
11
|
+
l as MatcherAny,
|
|
12
|
+
b as MatcherArray,
|
|
13
|
+
u as MatcherArrayItem,
|
|
14
|
+
i as MatcherConvert,
|
|
15
|
+
M as MatcherCustom,
|
|
16
|
+
d as MatcherFew,
|
|
17
|
+
g as MatcherIn,
|
|
18
|
+
O as MatcherInstanceOf,
|
|
19
|
+
I as MatcherIs,
|
|
20
|
+
R as MatcherNever,
|
|
21
|
+
y as MatcherNot,
|
|
22
|
+
N as MatcherNumber,
|
|
23
|
+
p as MatcherObject,
|
|
24
|
+
A as MatcherObjectEntry,
|
|
25
|
+
S as MatcherRef,
|
|
26
|
+
j as MatcherString,
|
|
27
|
+
T as Random,
|
|
28
|
+
f as Subject,
|
|
29
|
+
E as SubjectWithId,
|
|
30
|
+
C as UNIQUE_PSEUDO_RANDOM_MAX_COUNT,
|
|
31
|
+
L as alertConsole,
|
|
32
|
+
k as alertReplace,
|
|
33
|
+
v as argsToString,
|
|
34
|
+
D as check,
|
|
35
|
+
F as checkFunc,
|
|
36
|
+
P as consoleIntercept,
|
|
37
|
+
x as consoleMessageToString,
|
|
38
|
+
U as consoleReplace,
|
|
39
|
+
B as convertTimeZone,
|
|
40
|
+
_ as createMatchResult,
|
|
41
|
+
q as createMatchResultBoolean,
|
|
42
|
+
w as createMatchResultError,
|
|
43
|
+
G as createTaskDelayRetry,
|
|
44
|
+
W as createUniquePseudoRandom,
|
|
45
|
+
K as dateNowUnique,
|
|
46
|
+
V as deepCloneJsonLike,
|
|
47
|
+
z as deepEqualJsonLike,
|
|
48
|
+
J as deepEqualJsonLikeMap,
|
|
49
|
+
H as equalArray,
|
|
50
|
+
X as escapeHtml,
|
|
51
|
+
Q as escapeRegExp,
|
|
52
|
+
Z as expectedToString,
|
|
53
|
+
Y as filterMatchResult,
|
|
54
|
+
$ as filterMatchResultNested,
|
|
55
|
+
aa as fixStackTrace,
|
|
56
|
+
ta as formatAny,
|
|
57
|
+
ea as formatDate,
|
|
58
|
+
sa as formatDateFileName,
|
|
59
|
+
ca as getConsoleMessages,
|
|
60
|
+
ra as getDateInet,
|
|
61
|
+
ha as getNormalizedObject,
|
|
62
|
+
ma as getObjectId,
|
|
63
|
+
na as getRandomFunc,
|
|
64
|
+
oa as getRandomSeed,
|
|
65
|
+
la as getStackTrace,
|
|
66
|
+
ba as isMatcher,
|
|
67
|
+
ua as isObservable,
|
|
68
|
+
ia as match,
|
|
69
|
+
Ma as matchAnd,
|
|
70
|
+
da as matchAndPipe,
|
|
71
|
+
ga as matchAny,
|
|
72
|
+
Oa as matchArray,
|
|
73
|
+
Ia as matchArrayBuffer,
|
|
74
|
+
Ra as matchArrayIncludes,
|
|
75
|
+
ya as matchArrayItem,
|
|
76
|
+
Na as matchArrayLength,
|
|
77
|
+
pa as matchArrayWith,
|
|
78
|
+
Aa as matchBoolean,
|
|
79
|
+
Sa as matchConstructor,
|
|
80
|
+
ja as matchConvert,
|
|
81
|
+
Ta as matchCustom,
|
|
82
|
+
fa as matchDeep,
|
|
83
|
+
Ea as matchEnum,
|
|
84
|
+
Ca as matchFloat,
|
|
85
|
+
La as matchIn,
|
|
86
|
+
ka as matchInstanceOf,
|
|
87
|
+
va as matchInt,
|
|
88
|
+
Da as matchIntDate,
|
|
89
|
+
Fa as matchIs,
|
|
90
|
+
Pa as matchIsNonStrict,
|
|
91
|
+
xa as matchNever,
|
|
92
|
+
Ua as matchNot,
|
|
93
|
+
Ba as matchNotNullish,
|
|
94
|
+
_a as matchNullish,
|
|
95
|
+
qa as matchNumber,
|
|
96
|
+
wa as matchObject,
|
|
97
|
+
Ga as matchObjectEntries,
|
|
98
|
+
Wa as matchObjectEntry,
|
|
99
|
+
Ka as matchObjectKey,
|
|
100
|
+
Va as matchObjectKeyValue,
|
|
101
|
+
za as matchObjectKeys,
|
|
102
|
+
Ja as matchObjectKeysNotNull,
|
|
103
|
+
Ha as matchObjectPartial,
|
|
104
|
+
Xa as matchObjectValue,
|
|
105
|
+
Qa as matchObjectValues,
|
|
106
|
+
Za as matchObjectWith,
|
|
107
|
+
Ya as matchOptional,
|
|
108
|
+
$a as matchOr,
|
|
109
|
+
at as matchOrPipe,
|
|
110
|
+
tt as matchRange,
|
|
111
|
+
et as matchRangeDate,
|
|
112
|
+
st as matchRef,
|
|
113
|
+
ct as matchResultNestedToString,
|
|
114
|
+
rt as matchResultToString,
|
|
115
|
+
ht as matchString,
|
|
116
|
+
mt as matchStringLength,
|
|
117
|
+
nt as matchTypeOf,
|
|
118
|
+
ot as matchUuid,
|
|
119
|
+
lt as matchValueState,
|
|
120
|
+
bt as max,
|
|
121
|
+
ut as min,
|
|
122
|
+
it as minMax,
|
|
123
|
+
Mt as numberMod,
|
|
124
|
+
dt as randomBoolean,
|
|
125
|
+
gt as randomEnum,
|
|
126
|
+
Ot as randomFloat,
|
|
127
|
+
It as randomIndexWeighted,
|
|
128
|
+
Rt as randomInt,
|
|
129
|
+
yt as randomItem,
|
|
130
|
+
Nt as randomItems,
|
|
131
|
+
pt as setFuncName,
|
|
132
|
+
At as sha256,
|
|
133
|
+
St as sha256Buffer,
|
|
134
|
+
jt as timeoutAbortController,
|
|
135
|
+
Tt as toHex,
|
|
136
|
+
ft as truncateString,
|
|
137
|
+
Et as urlGetBoolean,
|
|
138
|
+
Ct as urlGetFloat,
|
|
139
|
+
Lt as urlGetInt,
|
|
140
|
+
kt as urlGetParams,
|
|
141
|
+
vt as urlGetString,
|
|
142
|
+
Dt as urlParamToBoolean,
|
|
143
|
+
Ft as urlParamToFloat,
|
|
144
|
+
Pt as urlParamToInt,
|
|
145
|
+
xt as validateMatchResult,
|
|
146
|
+
Ut as waitObservable,
|
|
147
|
+
Bt as withConsoleReplace,
|
|
148
|
+
_t as withRetry,
|
|
149
|
+
qt as withTimeout
|
|
117
150
|
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './Matcher';
|
|
3
|
+
export * from './helpers';
|
|
4
|
+
export * from './match';
|
|
5
|
+
export * from './check';
|
|
6
|
+
export * from './report';
|
|
1
7
|
export * from './matchers';
|
|
2
|
-
export { match } from './match';
|
|
3
|
-
export { check } from './check';
|
|
@@ -1 +1,18 @@
|
|
|
1
|
+
export * from './constants';
|
|
1
2
|
export * from './matchers';
|
|
3
|
+
export * from './MatcherAny';
|
|
4
|
+
export * from './MatcherArray';
|
|
5
|
+
export * from './MatcherArrayItem';
|
|
6
|
+
export * from './MatcherConvert';
|
|
7
|
+
export * from './MatcherCustom';
|
|
8
|
+
export * from './MatcherFew';
|
|
9
|
+
export * from './MatcherIn';
|
|
10
|
+
export * from './MatcherIs';
|
|
11
|
+
export * from './MatcherNever';
|
|
12
|
+
export * from './MatcherNot';
|
|
13
|
+
export * from './MatcherNumber';
|
|
14
|
+
export * from './MatcherObject';
|
|
15
|
+
export * from './MatcherObjectEntry';
|
|
16
|
+
export * from './MatcherRef';
|
|
17
|
+
export * from './MatcherString';
|
|
18
|
+
export * from './MatchInstanceOf';
|