@flemist/simple-utils 2.1.6 → 2.1.8
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 +150 -147
- package/build/common/converter/converterBufferToGzip.d.ts +4 -0
- package/build/common/converter/converterErrorToBuffer.d.ts +2 -2
- package/build/common/converter/converterErrorToGzip.d.ts +4 -0
- package/build/common/converter/converterJsonBuffer.d.ts +2 -2
- package/build/common/converter/converterJsonGzip.d.ts +4 -0
- package/build/common/converter/index.d.ts +3 -0
- package/build/common/index.cjs +1 -1
- package/build/common/index.mjs +150 -147
- package/build/node/cache/FileStorage.d.ts +3 -1
- package/build/node/cache/createFileCacheOptions.d.ts +5 -1
- package/build/node/index.cjs +5 -5
- package/build/node/index.mjs +474 -471
- package/build/{urlGet-OHY_Qdk-.mjs → urlGet-BtyqjC2r.mjs} +731 -695
- package/build/urlGet-BukRa7Gq.js +17 -0
- package/package.json +36 -33
- package/build/urlGet-BoqnOos7.js +0 -17
package/build/browser/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../urlGet-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../urlGet-BukRa7Gq.js");exports.Cache=e.Cache;exports.CacheStats=e.CacheStats;exports.CheckError=e.CheckError;exports.ConsoleMessageLevel=e.ConsoleMessageLevel;exports.Lazy=e.Lazy;exports.LazyWithId=e.LazyWithId;exports.Locker=e.Locker;exports.LockerWithId=e.LockerWithId;exports.LogLevel=e.LogLevel;exports.MAX_REPORT_ITEMS_DEFAULT=e.MAX_REPORT_ITEMS_DEFAULT;exports.MatchInternalError=e.MatchInternalError;exports.Matcher=e.Matcher;exports.MatcherAny=e.MatcherAny;exports.MatcherArray=e.MatcherArray;exports.MatcherArrayItem=e.MatcherArrayItem;exports.MatcherConvert=e.MatcherConvert;exports.MatcherCustom=e.MatcherCustom;exports.MatcherFew=e.MatcherFew;exports.MatcherIn=e.MatcherIn;exports.MatcherInstanceOf=e.MatcherInstanceOf;exports.MatcherIs=e.MatcherIs;exports.MatcherNever=e.MatcherNever;exports.MatcherNot=e.MatcherNot;exports.MatcherNumber=e.MatcherNumber;exports.MatcherObject=e.MatcherObject;exports.MatcherObjectEntry=e.MatcherObjectEntry;exports.MatcherRef=e.MatcherRef;exports.MatcherString=e.MatcherString;exports.MemoryStorage=e.MemoryStorage;exports.Random=e.Random;exports.Subject=e.Subject;exports.SubjectWithId=e.SubjectWithId;exports.UNIQUE_PSEUDO_RANDOM_MAX_COUNT=e.UNIQUE_PSEUDO_RANDOM_MAX_COUNT;exports.alertConsole=e.alertConsole;exports.alertReplace=e.alertReplace;exports.argsToString=e.argsToString;exports.check=e.check;exports.checkFunc=e.checkFunc;exports.compressGzip=e.compressGzip;exports.consoleIntercept=e.consoleIntercept;exports.consoleMessageToString=e.consoleMessageToString;exports.consoleReplace=e.consoleReplace;exports.convertTimeZone=e.convertTimeZone;exports.converterErrorToBuffer=e.converterErrorToBuffer;exports.converterJson=e.converterJson;exports.converterJsonBuffer=e.converterJsonBuffer;exports.converterStringToBuffer=e.converterStringToBuffer;exports.createConverterBufferToGzip=e.createConverterBufferToGzip;exports.createConverterErrorToGzip=e.createConverterErrorToGzip;exports.createConverterJsonGzip=e.createConverterJsonGzip;exports.createMatchResult=e.createMatchResult;exports.createMatchResultBoolean=e.createMatchResultBoolean;exports.createMatchResultError=e.createMatchResultError;exports.createTaskDelayRetry=e.createTaskDelayRetry;exports.createUniquePseudoRandom=e.createUniquePseudoRandom;exports.dateNowUnique=e.dateNowUnique;exports.decompressGzip=e.decompressGzip;exports.deepCloneJsonLike=e.deepCloneJsonLike;exports.deepEqualJsonLike=e.deepEqualJsonLike;exports.deepEqualJsonLikeMap=e.deepEqualJsonLikeMap;exports.equalArray=e.equalArray;exports.escapeHtml=e.escapeHtml;exports.escapeRegExp=e.escapeRegExp;exports.expectedToString=e.expectedToString;exports.filterMatchResult=e.filterMatchResult;exports.filterMatchResultNested=e.filterMatchResultNested;exports.fixStackTrace=e.fixStackTrace;exports.formatAny=e.formatAny;exports.formatDate=e.formatDate;exports.formatDateFileName=e.formatDateFileName;exports.getConsoleMessages=e.getConsoleMessages;exports.getDateInet=e.getDateInet;exports.getHashKey=e.getHashKey;exports.getJsonKey=e.getJsonKey;exports.getNormalizedObject=e.getNormalizedObject;exports.getObjectId=e.getObjectId;exports.getRandomFunc=e.getRandomFunc;exports.getRandomSeed=e.getRandomSeed;exports.getStackTrace=e.getStackTrace;exports.isGzipCompressed=e.isGzipCompressed;exports.isMatcher=e.isMatcher;exports.isObservable=e.isObservable;exports.mapObjectConverter=e.mapObjectConverter;exports.match=e.match;exports.matchAnd=e.matchAnd;exports.matchAndPipe=e.matchAndPipe;exports.matchAny=e.matchAny;exports.matchArray=e.matchArray;exports.matchArrayBuffer=e.matchArrayBuffer;exports.matchArrayIncludes=e.matchArrayIncludes;exports.matchArrayItem=e.matchArrayItem;exports.matchArrayLength=e.matchArrayLength;exports.matchArrayWith=e.matchArrayWith;exports.matchBoolean=e.matchBoolean;exports.matchConstructor=e.matchConstructor;exports.matchConvert=e.matchConvert;exports.matchCustom=e.matchCustom;exports.matchDeep=e.matchDeep;exports.matchEnum=e.matchEnum;exports.matchFloat=e.matchFloat;exports.matchIn=e.matchIn;exports.matchInstanceOf=e.matchInstanceOf;exports.matchInt=e.matchInt;exports.matchIntDate=e.matchIntDate;exports.matchIs=e.matchIs;exports.matchIsNonStrict=e.matchIsNonStrict;exports.matchNever=e.matchNever;exports.matchNot=e.matchNot;exports.matchNotNullish=e.matchNotNullish;exports.matchNullish=e.matchNullish;exports.matchNumber=e.matchNumber;exports.matchObject=e.matchObject;exports.matchObjectEntries=e.matchObjectEntries;exports.matchObjectEntry=e.matchObjectEntry;exports.matchObjectKey=e.matchObjectKey;exports.matchObjectKeyValue=e.matchObjectKeyValue;exports.matchObjectKeys=e.matchObjectKeys;exports.matchObjectKeysNotNull=e.matchObjectKeysNotNull;exports.matchObjectPartial=e.matchObjectPartial;exports.matchObjectValue=e.matchObjectValue;exports.matchObjectValues=e.matchObjectValues;exports.matchObjectWith=e.matchObjectWith;exports.matchOptional=e.matchOptional;exports.matchOr=e.matchOr;exports.matchOrPipe=e.matchOrPipe;exports.matchRange=e.matchRange;exports.matchRangeDate=e.matchRangeDate;exports.matchRef=e.matchRef;exports.matchResultNestedToString=e.matchResultNestedToString;exports.matchResultToString=e.matchResultToString;exports.matchString=e.matchString;exports.matchStringLength=e.matchStringLength;exports.matchTypeOf=e.matchTypeOf;exports.matchUuid=e.matchUuid;exports.matchValueState=e.matchValueState;exports.max=e.max;exports.min=e.min;exports.minMax=e.minMax;exports.numberMod=e.numberMod;exports.promiseAllWait=e.promiseAllWait;exports.randomBoolean=e.randomBoolean;exports.randomEnum=e.randomEnum;exports.randomFloat=e.randomFloat;exports.randomIndexWeighted=e.randomIndexWeighted;exports.randomInt=e.randomInt;exports.randomItem=e.randomItem;exports.randomItems=e.randomItems;exports.setArrayConverter=e.setArrayConverter;exports.setFuncName=e.setFuncName;exports.sha256=e.sha256;exports.sha256Buffer=e.sha256Buffer;exports.timeoutAbortController=e.timeoutAbortController;exports.toConvertFrom=e.toConvertFrom;exports.toConvertTo=e.toConvertTo;exports.toConvertWithDefaultFrom=e.toConvertWithDefaultFrom;exports.toConvertWithDefaultTo=e.toConvertWithDefaultTo;exports.toConverter=e.toConverter;exports.toConverterFrom=e.toConverterFrom;exports.toConverterTo=e.toConverterTo;exports.toConverterWithDefault=e.toConverterWithDefault;exports.toConverterWithDefaultFrom=e.toConverterWithDefaultFrom;exports.toConverterWithDefaultTo=e.toConverterWithDefaultTo;exports.toCorrect=e.toCorrect;exports.toCorrectWithDefault=e.toCorrectWithDefault;exports.toHex=e.toHex;exports.truncateString=e.truncateString;exports.urlGetBoolean=e.urlGetBoolean;exports.urlGetFloat=e.urlGetFloat;exports.urlGetInt=e.urlGetInt;exports.urlGetParams=e.urlGetParams;exports.urlGetString=e.urlGetString;exports.urlParamToBoolean=e.urlParamToBoolean;exports.urlParamToFloat=e.urlParamToFloat;exports.urlParamToInt=e.urlParamToInt;exports.validateMatchResult=e.validateMatchResult;exports.waitObservable=e.waitObservable;exports.withConsoleReplace=e.withConsoleReplace;exports.withRetry=e.withRetry;exports.withTimeout=e.withTimeout;
|
package/build/browser/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as t, b as s, aI as r, af as c, an as o, ao as n, ap as h, aq as m, ai as b, aP as l, ay as i, az as u, bB as M, bC as d, bD as C, bE as g, bF as f, bG as p, bH as v, bQ as y, bI as O, bJ as I, bK as T, bL as R, bM as S, bN as A, bO as N, bP as j, M as E, R as D, av as F, aw as L, U as W, ae as k, aa as B, aC as G, aJ as P, aK as z, B as x, ad as U, ab as J, ag as w, Y as K, u as _, o as q, q as V, p as H, r as X, v as Q, s as Y, aG as Z, aF as $, aE as aa, as as ea, V as ta, W as sa, E as ra, a4 as ca, a5 as oa, a6 as na, a7 as ha, Z as ma, _ as ba, aB as la, aM as ia, aL as ua, aj as Ma, $ as da, a0 as Ca, a1 as ga, ac as fa, X as pa, a as va, g as ya, a8 as Oa, a2 as Ia, K as Ta, J as Ra, ak as Sa, D as Aa, aA as Na, au as ja, w as Ea, aH as Da, bb as Fa, bd as La, aS as Wa, aQ as ka, bA as Ba, aR as Ga, aV as Pa, bf as za, bi as xa, b7 as Ua, b6 as Ja, aW as wa, bt as Ka, b1 as _a, bs as qa, a$ as Va, br as Ha, b4 as Xa, a_ as Qa, bu as Ya, aY as Za, aX as $a, aU as ae, bx as ee, b9 as te, b8 as se, aZ as re, b0 as ce, bl as oe, bm as ne, bn as he, bp as me, bj as be, bq as le, b2 as ie, bo as ue, bk as Me, bh as de, be as Ce, ba as ge, bc as fe, bv as pe, bw as ve, aT as ye, aN as Oe, aO as Ie, b3 as Te, bg as Re, b5 as Se, by as Ae, bz as Ne, G as je, F as Ee, H as De, I as Fe, at as Le, O as We, T as ke, L as Be, P as Ge, N as Pe, Q as ze, S as xe, x as Ue, a9 as Je, z as we, y as Ke, al as _e, k as qe, j as Ve, e as He, d as Xe, n as Qe, m as Ye, l as Ze, i as $e, h as at, f as et, c as tt, t as st, A as rt, a3 as ct, bW as ot, bY as nt, bX as ht, bR as mt, bV as bt, bS as lt, bU as it, bT as ut, aD as Mt, ax as dt, ah as Ct, ar as gt, am as ft } from "../urlGet-BtyqjC2r.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
t as Cache,
|
|
4
4
|
s as CacheStats,
|
|
5
5
|
r as CheckError,
|
|
6
6
|
c as ConsoleMessageLevel,
|
|
@@ -14,16 +14,16 @@ export {
|
|
|
14
14
|
u as Matcher,
|
|
15
15
|
M as MatcherAny,
|
|
16
16
|
d as MatcherArray,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
C as MatcherArrayItem,
|
|
18
|
+
g as MatcherConvert,
|
|
19
19
|
f as MatcherCustom,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
p as MatcherFew,
|
|
21
|
+
v as MatcherIn,
|
|
22
|
+
y as MatcherInstanceOf,
|
|
23
|
+
O as MatcherIs,
|
|
24
|
+
I as MatcherNever,
|
|
25
|
+
T as MatcherNot,
|
|
26
|
+
R as MatcherNumber,
|
|
27
27
|
S as MatcherObject,
|
|
28
28
|
A as MatcherObjectEntry,
|
|
29
29
|
N as MatcherRef,
|
|
@@ -35,145 +35,148 @@ export {
|
|
|
35
35
|
W as UNIQUE_PSEUDO_RANDOM_MAX_COUNT,
|
|
36
36
|
k as alertConsole,
|
|
37
37
|
B as alertReplace,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
G as argsToString,
|
|
39
|
+
P as check,
|
|
40
|
+
z as checkFunc,
|
|
41
|
+
x as compressGzip,
|
|
42
|
+
U as consoleIntercept,
|
|
43
|
+
J as consoleMessageToString,
|
|
44
|
+
w as consoleReplace,
|
|
45
45
|
K as convertTimeZone,
|
|
46
46
|
_ as converterErrorToBuffer,
|
|
47
47
|
q as converterJson,
|
|
48
48
|
V as converterJsonBuffer,
|
|
49
49
|
H as converterStringToBuffer,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
sa as
|
|
59
|
-
ra as
|
|
60
|
-
ca as
|
|
61
|
-
oa as
|
|
62
|
-
na as
|
|
63
|
-
ha as
|
|
64
|
-
ma as
|
|
65
|
-
ba as
|
|
66
|
-
la as
|
|
67
|
-
ia as
|
|
68
|
-
ua as
|
|
69
|
-
Ma as
|
|
70
|
-
da as
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
fa as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Sa as
|
|
82
|
-
Aa as
|
|
83
|
-
Na as
|
|
84
|
-
ja as
|
|
85
|
-
Ea as
|
|
86
|
-
Da as
|
|
87
|
-
Fa as
|
|
88
|
-
La as
|
|
89
|
-
Wa as
|
|
90
|
-
ka as
|
|
91
|
-
Ba as
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Ka as
|
|
100
|
-
_a as
|
|
101
|
-
qa as
|
|
102
|
-
Va as
|
|
103
|
-
Ha as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
$a as
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
$
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
50
|
+
X as createConverterBufferToGzip,
|
|
51
|
+
Q as createConverterErrorToGzip,
|
|
52
|
+
Y as createConverterJsonGzip,
|
|
53
|
+
Z as createMatchResult,
|
|
54
|
+
$ as createMatchResultBoolean,
|
|
55
|
+
aa as createMatchResultError,
|
|
56
|
+
ea as createTaskDelayRetry,
|
|
57
|
+
ta as createUniquePseudoRandom,
|
|
58
|
+
sa as dateNowUnique,
|
|
59
|
+
ra as decompressGzip,
|
|
60
|
+
ca as deepCloneJsonLike,
|
|
61
|
+
oa as deepEqualJsonLike,
|
|
62
|
+
na as deepEqualJsonLikeMap,
|
|
63
|
+
ha as equalArray,
|
|
64
|
+
ma as escapeHtml,
|
|
65
|
+
ba as escapeRegExp,
|
|
66
|
+
la as expectedToString,
|
|
67
|
+
ia as filterMatchResult,
|
|
68
|
+
ua as filterMatchResultNested,
|
|
69
|
+
Ma as fixStackTrace,
|
|
70
|
+
da as formatAny,
|
|
71
|
+
Ca as formatDate,
|
|
72
|
+
ga as formatDateFileName,
|
|
73
|
+
fa as getConsoleMessages,
|
|
74
|
+
pa as getDateInet,
|
|
75
|
+
va as getHashKey,
|
|
76
|
+
ya as getJsonKey,
|
|
77
|
+
Oa as getNormalizedObject,
|
|
78
|
+
Ia as getObjectId,
|
|
79
|
+
Ta as getRandomFunc,
|
|
80
|
+
Ra as getRandomSeed,
|
|
81
|
+
Sa as getStackTrace,
|
|
82
|
+
Aa as isGzipCompressed,
|
|
83
|
+
Na as isMatcher,
|
|
84
|
+
ja as isObservable,
|
|
85
|
+
Ea as mapObjectConverter,
|
|
86
|
+
Da as match,
|
|
87
|
+
Fa as matchAnd,
|
|
88
|
+
La as matchAndPipe,
|
|
89
|
+
Wa as matchAny,
|
|
90
|
+
ka as matchArray,
|
|
91
|
+
Ba as matchArrayBuffer,
|
|
92
|
+
Ga as matchArrayIncludes,
|
|
93
|
+
Pa as matchArrayItem,
|
|
94
|
+
za as matchArrayLength,
|
|
95
|
+
xa as matchArrayWith,
|
|
96
|
+
Ua as matchBoolean,
|
|
97
|
+
Ja as matchConstructor,
|
|
98
|
+
wa as matchConvert,
|
|
99
|
+
Ka as matchCustom,
|
|
100
|
+
_a as matchDeep,
|
|
101
|
+
qa as matchEnum,
|
|
102
|
+
Va as matchFloat,
|
|
103
|
+
Ha as matchIn,
|
|
104
|
+
Xa as matchInstanceOf,
|
|
105
|
+
Qa as matchInt,
|
|
106
|
+
Ya as matchIntDate,
|
|
107
|
+
Za as matchIs,
|
|
108
|
+
$a as matchIsNonStrict,
|
|
109
|
+
ae as matchNever,
|
|
110
|
+
ee as matchNot,
|
|
111
|
+
te as matchNotNullish,
|
|
112
|
+
se as matchNullish,
|
|
113
|
+
re as matchNumber,
|
|
114
|
+
ce as matchObject,
|
|
115
|
+
oe as matchObjectEntries,
|
|
116
|
+
ne as matchObjectEntry,
|
|
117
|
+
he as matchObjectKey,
|
|
118
|
+
me as matchObjectKeyValue,
|
|
119
|
+
be as matchObjectKeys,
|
|
120
|
+
le as matchObjectKeysNotNull,
|
|
121
|
+
ie as matchObjectPartial,
|
|
122
|
+
ue as matchObjectValue,
|
|
123
|
+
Me as matchObjectValues,
|
|
124
|
+
de as matchObjectWith,
|
|
125
|
+
Ce as matchOptional,
|
|
126
|
+
ge as matchOr,
|
|
127
|
+
fe as matchOrPipe,
|
|
128
|
+
pe as matchRange,
|
|
129
|
+
ve as matchRangeDate,
|
|
130
|
+
ye as matchRef,
|
|
131
|
+
Oe as matchResultNestedToString,
|
|
132
|
+
Ie as matchResultToString,
|
|
133
|
+
Te as matchString,
|
|
134
|
+
Re as matchStringLength,
|
|
135
|
+
Se as matchTypeOf,
|
|
136
|
+
Ae as matchUuid,
|
|
137
|
+
Ne as matchValueState,
|
|
138
|
+
je as max,
|
|
139
|
+
Ee as min,
|
|
140
|
+
De as minMax,
|
|
141
|
+
Fe as numberMod,
|
|
142
|
+
Le as promiseAllWait,
|
|
143
|
+
We as randomBoolean,
|
|
144
|
+
ke as randomEnum,
|
|
145
|
+
Be as randomFloat,
|
|
146
|
+
Ge as randomIndexWeighted,
|
|
147
|
+
Pe as randomInt,
|
|
148
|
+
ze as randomItem,
|
|
149
|
+
xe as randomItems,
|
|
150
|
+
Ue as setArrayConverter,
|
|
151
|
+
Je as setFuncName,
|
|
152
|
+
we as sha256,
|
|
153
|
+
Ke as sha256Buffer,
|
|
154
|
+
_e as timeoutAbortController,
|
|
155
|
+
qe as toConvertFrom,
|
|
156
|
+
Ve as toConvertTo,
|
|
157
|
+
He as toConvertWithDefaultFrom,
|
|
158
|
+
Xe as toConvertWithDefaultTo,
|
|
159
|
+
Qe as toConverter,
|
|
160
|
+
Ye as toConverterFrom,
|
|
161
|
+
Ze as toConverterTo,
|
|
162
|
+
$e as toConverterWithDefault,
|
|
163
|
+
at as toConverterWithDefaultFrom,
|
|
164
|
+
et as toConverterWithDefaultTo,
|
|
165
|
+
tt as toCorrect,
|
|
166
|
+
st as toCorrectWithDefault,
|
|
167
|
+
rt as toHex,
|
|
168
|
+
ct as truncateString,
|
|
169
|
+
ot as urlGetBoolean,
|
|
170
|
+
nt as urlGetFloat,
|
|
171
|
+
ht as urlGetInt,
|
|
172
|
+
mt as urlGetParams,
|
|
173
|
+
bt as urlGetString,
|
|
174
|
+
lt as urlParamToBoolean,
|
|
175
|
+
it as urlParamToFloat,
|
|
176
|
+
ut as urlParamToInt,
|
|
177
|
+
Mt as validateMatchResult,
|
|
178
|
+
dt as waitObservable,
|
|
179
|
+
Ct as withConsoleReplace,
|
|
180
|
+
gt as withRetry,
|
|
181
|
+
ft as withTimeout
|
|
179
182
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConverterAsync } from './types';
|
|
2
|
+
import { CompressGzipOptions } from '../gzip/compressGzip';
|
|
3
|
+
/** @param options null/undefined disables gzip, including decompression */
|
|
4
|
+
export declare function createConverterBufferToGzip(options: CompressGzipOptions | null | undefined): ConverterAsync<Uint8Array, Uint8Array>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const converterErrorToBuffer:
|
|
1
|
+
import { Converter } from './types';
|
|
2
|
+
export declare const converterErrorToBuffer: Converter<any, Uint8Array>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConverterAsync } from './types';
|
|
2
|
+
import { CompressGzipOptions } from '../gzip/compressGzip';
|
|
3
|
+
/** @param options null/undefined disables gzip, including decompression */
|
|
4
|
+
export declare function createConverterErrorToGzip(options: null | undefined | CompressGzipOptions): ConverterAsync<any, Uint8Array>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const converterJsonBuffer:
|
|
1
|
+
import { Converter } from './types';
|
|
2
|
+
export declare const converterJsonBuffer: Converter<any, Uint8Array>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConverterAsync } from './types';
|
|
2
|
+
import { CompressGzipOptions } from '../gzip/compressGzip';
|
|
3
|
+
/** @param options null/undefined disables gzip, including decompression */
|
|
4
|
+
export declare function createConverterJsonGzip(options: CompressGzipOptions | null | undefined): ConverterAsync<any, Uint8Array>;
|
|
@@ -3,6 +3,9 @@ export * from './helpers';
|
|
|
3
3
|
export * from './converterJson';
|
|
4
4
|
export * from './converterStringToBuffer';
|
|
5
5
|
export * from './converterJsonBuffer';
|
|
6
|
+
export * from './converterBufferToGzip';
|
|
7
|
+
export * from './converterJsonGzip';
|
|
6
8
|
export * from './converterErrorToBuffer';
|
|
9
|
+
export * from './converterErrorToGzip';
|
|
7
10
|
export * from './mapObjectConverter';
|
|
8
11
|
export * from './setArrayConverter';
|
package/build/common/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../urlGet-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../urlGet-BukRa7Gq.js");exports.Cache=e.Cache;exports.CacheStats=e.CacheStats;exports.CheckError=e.CheckError;exports.ConsoleMessageLevel=e.ConsoleMessageLevel;exports.Lazy=e.Lazy;exports.LazyWithId=e.LazyWithId;exports.Locker=e.Locker;exports.LockerWithId=e.LockerWithId;exports.LogLevel=e.LogLevel;exports.MAX_REPORT_ITEMS_DEFAULT=e.MAX_REPORT_ITEMS_DEFAULT;exports.MatchInternalError=e.MatchInternalError;exports.Matcher=e.Matcher;exports.MatcherAny=e.MatcherAny;exports.MatcherArray=e.MatcherArray;exports.MatcherArrayItem=e.MatcherArrayItem;exports.MatcherConvert=e.MatcherConvert;exports.MatcherCustom=e.MatcherCustom;exports.MatcherFew=e.MatcherFew;exports.MatcherIn=e.MatcherIn;exports.MatcherInstanceOf=e.MatcherInstanceOf;exports.MatcherIs=e.MatcherIs;exports.MatcherNever=e.MatcherNever;exports.MatcherNot=e.MatcherNot;exports.MatcherNumber=e.MatcherNumber;exports.MatcherObject=e.MatcherObject;exports.MatcherObjectEntry=e.MatcherObjectEntry;exports.MatcherRef=e.MatcherRef;exports.MatcherString=e.MatcherString;exports.MemoryStorage=e.MemoryStorage;exports.Random=e.Random;exports.Subject=e.Subject;exports.SubjectWithId=e.SubjectWithId;exports.UNIQUE_PSEUDO_RANDOM_MAX_COUNT=e.UNIQUE_PSEUDO_RANDOM_MAX_COUNT;exports.alertConsole=e.alertConsole;exports.alertReplace=e.alertReplace;exports.argsToString=e.argsToString;exports.check=e.check;exports.checkFunc=e.checkFunc;exports.compressGzip=e.compressGzip;exports.consoleIntercept=e.consoleIntercept;exports.consoleMessageToString=e.consoleMessageToString;exports.consoleReplace=e.consoleReplace;exports.convertTimeZone=e.convertTimeZone;exports.converterErrorToBuffer=e.converterErrorToBuffer;exports.converterJson=e.converterJson;exports.converterJsonBuffer=e.converterJsonBuffer;exports.converterStringToBuffer=e.converterStringToBuffer;exports.createConverterBufferToGzip=e.createConverterBufferToGzip;exports.createConverterErrorToGzip=e.createConverterErrorToGzip;exports.createConverterJsonGzip=e.createConverterJsonGzip;exports.createMatchResult=e.createMatchResult;exports.createMatchResultBoolean=e.createMatchResultBoolean;exports.createMatchResultError=e.createMatchResultError;exports.createTaskDelayRetry=e.createTaskDelayRetry;exports.createUniquePseudoRandom=e.createUniquePseudoRandom;exports.dateNowUnique=e.dateNowUnique;exports.decompressGzip=e.decompressGzip;exports.deepCloneJsonLike=e.deepCloneJsonLike;exports.deepEqualJsonLike=e.deepEqualJsonLike;exports.deepEqualJsonLikeMap=e.deepEqualJsonLikeMap;exports.equalArray=e.equalArray;exports.escapeHtml=e.escapeHtml;exports.escapeRegExp=e.escapeRegExp;exports.expectedToString=e.expectedToString;exports.filterMatchResult=e.filterMatchResult;exports.filterMatchResultNested=e.filterMatchResultNested;exports.fixStackTrace=e.fixStackTrace;exports.formatAny=e.formatAny;exports.formatDate=e.formatDate;exports.formatDateFileName=e.formatDateFileName;exports.getConsoleMessages=e.getConsoleMessages;exports.getDateInet=e.getDateInet;exports.getHashKey=e.getHashKey;exports.getJsonKey=e.getJsonKey;exports.getNormalizedObject=e.getNormalizedObject;exports.getObjectId=e.getObjectId;exports.getRandomFunc=e.getRandomFunc;exports.getRandomSeed=e.getRandomSeed;exports.getStackTrace=e.getStackTrace;exports.isGzipCompressed=e.isGzipCompressed;exports.isMatcher=e.isMatcher;exports.isObservable=e.isObservable;exports.mapObjectConverter=e.mapObjectConverter;exports.match=e.match;exports.matchAnd=e.matchAnd;exports.matchAndPipe=e.matchAndPipe;exports.matchAny=e.matchAny;exports.matchArray=e.matchArray;exports.matchArrayBuffer=e.matchArrayBuffer;exports.matchArrayIncludes=e.matchArrayIncludes;exports.matchArrayItem=e.matchArrayItem;exports.matchArrayLength=e.matchArrayLength;exports.matchArrayWith=e.matchArrayWith;exports.matchBoolean=e.matchBoolean;exports.matchConstructor=e.matchConstructor;exports.matchConvert=e.matchConvert;exports.matchCustom=e.matchCustom;exports.matchDeep=e.matchDeep;exports.matchEnum=e.matchEnum;exports.matchFloat=e.matchFloat;exports.matchIn=e.matchIn;exports.matchInstanceOf=e.matchInstanceOf;exports.matchInt=e.matchInt;exports.matchIntDate=e.matchIntDate;exports.matchIs=e.matchIs;exports.matchIsNonStrict=e.matchIsNonStrict;exports.matchNever=e.matchNever;exports.matchNot=e.matchNot;exports.matchNotNullish=e.matchNotNullish;exports.matchNullish=e.matchNullish;exports.matchNumber=e.matchNumber;exports.matchObject=e.matchObject;exports.matchObjectEntries=e.matchObjectEntries;exports.matchObjectEntry=e.matchObjectEntry;exports.matchObjectKey=e.matchObjectKey;exports.matchObjectKeyValue=e.matchObjectKeyValue;exports.matchObjectKeys=e.matchObjectKeys;exports.matchObjectKeysNotNull=e.matchObjectKeysNotNull;exports.matchObjectPartial=e.matchObjectPartial;exports.matchObjectValue=e.matchObjectValue;exports.matchObjectValues=e.matchObjectValues;exports.matchObjectWith=e.matchObjectWith;exports.matchOptional=e.matchOptional;exports.matchOr=e.matchOr;exports.matchOrPipe=e.matchOrPipe;exports.matchRange=e.matchRange;exports.matchRangeDate=e.matchRangeDate;exports.matchRef=e.matchRef;exports.matchResultNestedToString=e.matchResultNestedToString;exports.matchResultToString=e.matchResultToString;exports.matchString=e.matchString;exports.matchStringLength=e.matchStringLength;exports.matchTypeOf=e.matchTypeOf;exports.matchUuid=e.matchUuid;exports.matchValueState=e.matchValueState;exports.max=e.max;exports.min=e.min;exports.minMax=e.minMax;exports.numberMod=e.numberMod;exports.promiseAllWait=e.promiseAllWait;exports.randomBoolean=e.randomBoolean;exports.randomEnum=e.randomEnum;exports.randomFloat=e.randomFloat;exports.randomIndexWeighted=e.randomIndexWeighted;exports.randomInt=e.randomInt;exports.randomItem=e.randomItem;exports.randomItems=e.randomItems;exports.setArrayConverter=e.setArrayConverter;exports.setFuncName=e.setFuncName;exports.sha256=e.sha256;exports.sha256Buffer=e.sha256Buffer;exports.timeoutAbortController=e.timeoutAbortController;exports.toConvertFrom=e.toConvertFrom;exports.toConvertTo=e.toConvertTo;exports.toConvertWithDefaultFrom=e.toConvertWithDefaultFrom;exports.toConvertWithDefaultTo=e.toConvertWithDefaultTo;exports.toConverter=e.toConverter;exports.toConverterFrom=e.toConverterFrom;exports.toConverterTo=e.toConverterTo;exports.toConverterWithDefault=e.toConverterWithDefault;exports.toConverterWithDefaultFrom=e.toConverterWithDefaultFrom;exports.toConverterWithDefaultTo=e.toConverterWithDefaultTo;exports.toCorrect=e.toCorrect;exports.toCorrectWithDefault=e.toCorrectWithDefault;exports.toHex=e.toHex;exports.truncateString=e.truncateString;exports.urlGetBoolean=e.urlGetBoolean;exports.urlGetFloat=e.urlGetFloat;exports.urlGetInt=e.urlGetInt;exports.urlGetParams=e.urlGetParams;exports.urlGetString=e.urlGetString;exports.urlParamToBoolean=e.urlParamToBoolean;exports.urlParamToFloat=e.urlParamToFloat;exports.urlParamToInt=e.urlParamToInt;exports.validateMatchResult=e.validateMatchResult;exports.waitObservable=e.waitObservable;exports.withConsoleReplace=e.withConsoleReplace;exports.withRetry=e.withRetry;exports.withTimeout=e.withTimeout;
|