@zajno/common 1.4.5 → 1.4.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/coverage/clover.xml +93 -86
- package/coverage/coverage-final.json +46 -46
- package/coverage/lcov-report/index.html +19 -19
- package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
- package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +1 -1
- package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/async/index.html +1 -1
- package/coverage/lcov-report/src/async/timeout.ts.html +1 -1
- package/coverage/lcov-report/src/cache.ts.html +1 -1
- package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
- package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
- package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
- package/coverage/lcov-report/src/dates/format.ts.html +1 -1
- package/coverage/lcov-report/src/dates/index.html +1 -1
- package/coverage/lcov-report/src/dates/index.ts.html +1 -1
- package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
- package/coverage/lcov-report/src/dates/period.ts.html +1 -1
- package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
- package/coverage/lcov-report/src/dates/types.ts.html +1 -1
- package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
- package/coverage/lcov-report/src/disposer.ts.html +1 -1
- package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
- package/coverage/lcov-report/src/event.ts.html +29 -8
- package/coverage/lcov-report/src/fields/index.html +1 -1
- package/coverage/lcov-report/src/fields/update.ts.html +1 -1
- package/coverage/lcov-report/src/functions.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +25 -25
- package/coverage/lcov-report/src/lazy.light.ts.html +1 -1
- package/coverage/lcov-report/src/logger/batch.ts.html +1 -1
- package/coverage/lcov-report/src/logger/console.ts.html +1 -1
- package/coverage/lcov-report/src/logger/index.html +1 -1
- package/coverage/lcov-report/src/logger/index.ts.html +1 -1
- package/coverage/lcov-report/src/logger/named.ts.html +1 -1
- package/coverage/lcov-report/src/logger/proxy.ts.html +1 -1
- package/coverage/lcov-report/src/math/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/math/calc.ts.html +1 -1
- package/coverage/lcov-report/src/math/distribution.ts.html +1 -1
- package/coverage/lcov-report/src/math/index.html +1 -1
- package/coverage/lcov-report/src/math/index.ts.html +1 -1
- package/coverage/lcov-report/src/observersMap.ts.html +1 -1
- package/coverage/lcov-report/src/observingCache.ts.html +58 -13
- package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +1 -1
- package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
- package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
- package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
- package/coverage/lcov-report/src/validation/index.html +1 -1
- package/coverage/lcov-report/src/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/validation/types.ts.html +1 -1
- package/coverage/lcov-report/src/validation/validators.ts.html +1 -1
- package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/index.html +1 -1
- package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
- package/coverage/lcov.info +90 -77
- package/lib/event.d.ts +1 -1
- package/lib/event.d.ts.map +1 -1
- package/lib/event.js +3 -0
- package/lib/event.js.map +1 -1
- package/lib/observingCache.d.ts +2 -0
- package/lib/observingCache.d.ts.map +1 -1
- package/lib/observingCache.js +14 -3
- package/lib/observingCache.js.map +1 -1
- package/lib/viewModels/CommonModel.d.ts.map +1 -1
- package/lib/viewModels/CommonModel.js +1 -0
- package/lib/viewModels/CommonModel.js.map +1 -1
- package/lib/viewModels/InitializableModel.d.ts +6 -0
- package/lib/viewModels/InitializableModel.d.ts.map +1 -0
- package/lib/viewModels/InitializableModel.js +23 -0
- package/lib/viewModels/InitializableModel.js.map +1 -0
- package/lib/viewModels/ValueModel.d.ts +12 -0
- package/lib/viewModels/ValueModel.d.ts.map +1 -0
- package/lib/viewModels/ValueModel.js +29 -0
- package/lib/viewModels/ValueModel.js.map +1 -0
- package/lib/viewModels/index.d.ts +2 -1
- package/lib/viewModels/index.d.ts.map +1 -1
- package/lib/viewModels/index.js +2 -1
- package/lib/viewModels/index.js.map +1 -1
- package/package.json +1 -1
- package/src/event.ts +8 -1
- package/src/observingCache.ts +18 -3
- package/src/viewModels/CommonModel.ts +2 -0
- package/src/viewModels/InitializableModel.ts +17 -0
- package/src/viewModels/ValueModel.ts +34 -0
- package/src/viewModels/index.ts +4 -1
- package/coverage/lcov-report/src/observers.ts.html +0 -368
- package/coverage/lcov-report/update.ts.html +0 -374
- package/yarn-error.log +0 -3709
package/coverage/clover.xml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1647106885739" clover="3.2.0">
|
|
3
|
+
<project timestamp="1647106885739" name="All files">
|
|
4
|
+
<metrics statements="1490" coveredstatements="1216" conditionals="916" coveredconditionals="693" methods="436" coveredmethods="309" elements="2842" coveredelements="2218" complexity="0" loc="1490" ncloc="1490" packages="9" files="46" classes="46"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
7
|
-
<file name="cache.ts" path="/Users/
|
|
6
|
+
<metrics statements="431" coveredstatements="335" conditionals="223" coveredconditionals="148" methods="139" coveredmethods="102"/>
|
|
7
|
+
<file name="cache.ts" path="/Users/danil/common-utils/src/cache.ts">
|
|
8
8
|
<metrics statements="89" coveredstatements="72" conditionals="46" coveredconditionals="26" methods="28" coveredmethods="20"/>
|
|
9
9
|
<line num="1" count="1" type="stmt"/>
|
|
10
10
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<line num="177" count="2" type="stmt"/>
|
|
97
97
|
<line num="179" count="1" type="stmt"/>
|
|
98
98
|
</file>
|
|
99
|
-
<file name="disposer.ts" path="/Users/
|
|
99
|
+
<file name="disposer.ts" path="/Users/danil/common-utils/src/disposer.ts">
|
|
100
100
|
<metrics statements="37" coveredstatements="23" conditionals="20" coveredconditionals="7" methods="12" coveredmethods="10"/>
|
|
101
101
|
<line num="1" count="1" type="stmt"/>
|
|
102
102
|
<line num="11" count="1" type="stmt"/>
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<line num="81" count="2" type="stmt"/>
|
|
137
137
|
<line num="82" count="2" type="stmt"/>
|
|
138
138
|
</file>
|
|
139
|
-
<file name="enumHelper.ts" path="/Users/
|
|
139
|
+
<file name="enumHelper.ts" path="/Users/danil/common-utils/src/enumHelper.ts">
|
|
140
140
|
<metrics statements="50" coveredstatements="50" conditionals="41" coveredconditionals="36" methods="25" coveredmethods="25"/>
|
|
141
141
|
<line num="1" count="5" type="stmt"/>
|
|
142
142
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
<line num="117" count="14" type="stmt"/>
|
|
190
190
|
<line num="121" count="1" type="stmt"/>
|
|
191
191
|
</file>
|
|
192
|
-
<file name="event.ts" path="/Users/
|
|
193
|
-
<metrics statements="
|
|
192
|
+
<file name="event.ts" path="/Users/danil/common-utils/src/event.ts">
|
|
193
|
+
<metrics statements="26" coveredstatements="13" conditionals="6" coveredconditionals="4" methods="11" coveredmethods="4"/>
|
|
194
194
|
<line num="1" count="1" type="stmt"/>
|
|
195
195
|
<line num="2" count="1" type="stmt"/>
|
|
196
196
|
<line num="3" count="1" type="stmt"/>
|
|
@@ -208,20 +208,23 @@
|
|
|
208
208
|
<line num="41" count="4" type="stmt"/>
|
|
209
209
|
<line num="43" count="0" type="stmt"/>
|
|
210
210
|
<line num="49" count="0" type="stmt"/>
|
|
211
|
-
<line num="50" count="0" type="stmt"/>
|
|
212
211
|
<line num="51" count="0" type="stmt"/>
|
|
213
|
-
<line num="
|
|
212
|
+
<line num="53" count="0" type="stmt"/>
|
|
214
213
|
<line num="54" count="0" type="stmt"/>
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
214
|
+
<line num="55" count="0" type="stmt"/>
|
|
215
|
+
<line num="57" count="0" type="stmt"/>
|
|
216
|
+
<line num="59" count="0" type="stmt"/>
|
|
217
|
+
<line num="63" count="0" type="stmt"/>
|
|
218
|
+
<line num="67" count="0" type="stmt"/>
|
|
219
|
+
<line num="71" count="0" type="stmt"/>
|
|
217
220
|
</file>
|
|
218
|
-
<file name="functions.ts" path="/Users/
|
|
221
|
+
<file name="functions.ts" path="/Users/danil/common-utils/src/functions.ts">
|
|
219
222
|
<metrics statements="3" coveredstatements="2" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
220
223
|
<line num="10" count="1" type="stmt"/>
|
|
221
224
|
<line num="11" count="17" type="cond" truecount="1" falsecount="1"/>
|
|
222
225
|
<line num="12" count="0" type="stmt"/>
|
|
223
226
|
</file>
|
|
224
|
-
<file name="lazy.light.ts" path="/Users/
|
|
227
|
+
<file name="lazy.light.ts" path="/Users/danil/common-utils/src/lazy.light.ts">
|
|
225
228
|
<metrics statements="11" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="3"/>
|
|
226
229
|
<line num="10" count="2" type="stmt"/>
|
|
227
230
|
<line num="11" count="11" type="stmt"/>
|
|
@@ -235,7 +238,7 @@
|
|
|
235
238
|
<line num="25" count="0" type="stmt"/>
|
|
236
239
|
<line num="28" count="11" type="stmt"/>
|
|
237
240
|
</file>
|
|
238
|
-
<file name="observersMap.ts" path="/Users/
|
|
241
|
+
<file name="observersMap.ts" path="/Users/danil/common-utils/src/observersMap.ts">
|
|
239
242
|
<metrics statements="53" coveredstatements="35" conditionals="32" coveredconditionals="17" methods="10" coveredmethods="6"/>
|
|
240
243
|
<line num="1" count="1" type="stmt"/>
|
|
241
244
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -291,8 +294,8 @@
|
|
|
291
294
|
<line num="99" count="2" type="stmt"/>
|
|
292
295
|
<line num="103" count="2" type="stmt"/>
|
|
293
296
|
</file>
|
|
294
|
-
<file name="observingCache.ts" path="/Users/
|
|
295
|
-
<metrics statements="
|
|
297
|
+
<file name="observingCache.ts" path="/Users/danil/common-utils/src/observingCache.ts">
|
|
298
|
+
<metrics statements="65" coveredstatements="45" conditionals="24" coveredconditionals="15" methods="20" coveredmethods="11"/>
|
|
296
299
|
<line num="1" count="1" type="stmt"/>
|
|
297
300
|
<line num="2" count="1" type="stmt"/>
|
|
298
301
|
<line num="3" count="1" type="stmt"/>
|
|
@@ -318,44 +321,48 @@
|
|
|
318
321
|
<line num="52" count="0" type="stmt"/>
|
|
319
322
|
<line num="53" count="0" type="stmt"/>
|
|
320
323
|
<line num="54" count="0" type="stmt"/>
|
|
321
|
-
<line num="58" count="
|
|
322
|
-
<line num="
|
|
323
|
-
<line num="
|
|
324
|
-
<line num="
|
|
325
|
-
<line num="65" count="0" type="stmt"/>
|
|
326
|
-
<line num="66" count="0" type="stmt"/>
|
|
324
|
+
<line num="58" count="0" type="stmt"/>
|
|
325
|
+
<line num="62" count="0" type="stmt"/>
|
|
326
|
+
<line num="66" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
327
|
+
<line num="67" count="0" type="stmt"/>
|
|
327
328
|
<line num="70" count="2" type="stmt"/>
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="74" count="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="80" count="2" type="stmt"/>
|
|
329
|
+
<line num="72" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
330
|
+
<line num="74" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
331
|
+
<line num="76" count="0" type="stmt"/>
|
|
332
|
+
<line num="77" count="0" type="stmt"/>
|
|
333
333
|
<line num="81" count="2" type="stmt"/>
|
|
334
|
-
<line num="83" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
335
334
|
<line num="84" count="2" type="stmt"/>
|
|
336
|
-
<line num="85" count="
|
|
337
|
-
<line num="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
347
|
-
<line num="
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
335
|
+
<line num="85" count="0" type="stmt"/>
|
|
336
|
+
<line num="88" count="2" type="stmt"/>
|
|
337
|
+
<line num="89" count="2" type="stmt"/>
|
|
338
|
+
<line num="91" count="2" type="stmt"/>
|
|
339
|
+
<line num="92" count="2" type="stmt"/>
|
|
340
|
+
<line num="94" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
341
|
+
<line num="95" count="2" type="stmt"/>
|
|
342
|
+
<line num="96" count="2" type="stmt"/>
|
|
343
|
+
<line num="98" count="1" type="stmt"/>
|
|
344
|
+
<line num="102" count="2" type="stmt"/>
|
|
345
|
+
<line num="103" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
346
|
+
<line num="105" count="1" type="stmt"/>
|
|
347
|
+
<line num="107" count="1" type="stmt"/>
|
|
348
|
+
<line num="108" count="1" type="stmt"/>
|
|
349
|
+
<line num="114" count="2" type="stmt"/>
|
|
351
350
|
<line num="115" count="0" type="stmt"/>
|
|
352
351
|
<line num="116" count="0" type="stmt"/>
|
|
353
|
-
<line num="120" count="
|
|
354
|
-
<line num="
|
|
352
|
+
<line num="120" count="2" type="stmt"/>
|
|
353
|
+
<line num="121" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
354
|
+
<line num="122" count="0" type="stmt"/>
|
|
355
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
356
|
+
<line num="124" count="0" type="stmt"/>
|
|
355
357
|
<line num="126" count="0" type="stmt"/>
|
|
356
|
-
<line num="
|
|
358
|
+
<line num="127" count="0" type="stmt"/>
|
|
359
|
+
<line num="131" count="1" type="stmt"/>
|
|
360
|
+
<line num="136" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
361
|
+
<line num="137" count="0" type="stmt"/>
|
|
362
|
+
<line num="140" count="2" type="stmt"/>
|
|
363
|
+
<line num="149" count="8" type="stmt"/>
|
|
357
364
|
</file>
|
|
358
|
-
<file name="transitionObserver.ts" path="/Users/
|
|
365
|
+
<file name="transitionObserver.ts" path="/Users/danil/common-utils/src/transitionObserver.ts">
|
|
359
366
|
<metrics statements="88" coveredstatements="78" conditionals="42" coveredconditionals="33" methods="23" coveredmethods="18"/>
|
|
360
367
|
<line num="1" count="1" type="stmt"/>
|
|
361
368
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -446,7 +453,7 @@
|
|
|
446
453
|
<line num="178" count="1" type="stmt"/>
|
|
447
454
|
<line num="179" count="0" type="stmt"/>
|
|
448
455
|
</file>
|
|
449
|
-
<file name="types.ts" path="/Users/
|
|
456
|
+
<file name="types.ts" path="/Users/danil/common-utils/src/types.ts">
|
|
450
457
|
<metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
|
|
451
458
|
<line num="9" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
452
459
|
<line num="10" count="9" type="stmt"/>
|
|
@@ -461,7 +468,7 @@
|
|
|
461
468
|
</package>
|
|
462
469
|
<package name="src.__tests__.helpers">
|
|
463
470
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
464
|
-
<file name="main.ts" path="/Users/
|
|
471
|
+
<file name="main.ts" path="/Users/danil/common-utils/src/__tests__/helpers/main.ts">
|
|
465
472
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
466
473
|
<line num="1" count="2" type="stmt"/>
|
|
467
474
|
<line num="2" count="2" type="stmt"/>
|
|
@@ -473,7 +480,7 @@
|
|
|
473
480
|
</package>
|
|
474
481
|
<package name="src.async">
|
|
475
482
|
<metrics statements="47" coveredstatements="15" conditionals="17" coveredconditionals="3" methods="11" coveredmethods="3"/>
|
|
476
|
-
<file name="arrays.ts" path="/Users/
|
|
483
|
+
<file name="arrays.ts" path="/Users/danil/common-utils/src/async/arrays.ts">
|
|
477
484
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
478
485
|
<line num="3" count="3" type="stmt"/>
|
|
479
486
|
<line num="4" count="0" type="stmt"/>
|
|
@@ -497,7 +504,7 @@
|
|
|
497
504
|
<line num="35" count="0" type="stmt"/>
|
|
498
505
|
<line num="37" count="0" type="stmt"/>
|
|
499
506
|
</file>
|
|
500
|
-
<file name="timeout.ts" path="/Users/
|
|
507
|
+
<file name="timeout.ts" path="/Users/danil/common-utils/src/async/timeout.ts">
|
|
501
508
|
<metrics statements="26" coveredstatements="11" conditionals="13" coveredconditionals="3" methods="7" coveredmethods="3"/>
|
|
502
509
|
<line num="2" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
503
510
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -529,7 +536,7 @@
|
|
|
529
536
|
</package>
|
|
530
537
|
<package name="src.dates">
|
|
531
538
|
<metrics statements="334" coveredstatements="334" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
|
|
532
|
-
<file name="calc.ts" path="/Users/
|
|
539
|
+
<file name="calc.ts" path="/Users/danil/common-utils/src/dates/calc.ts">
|
|
533
540
|
<metrics statements="40" coveredstatements="40" conditionals="30" coveredconditionals="29" methods="7" coveredmethods="7"/>
|
|
534
541
|
<line num="1" count="1" type="stmt"/>
|
|
535
542
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -572,7 +579,7 @@
|
|
|
572
579
|
<line num="69" count="1" type="stmt"/>
|
|
573
580
|
<line num="71" count="1" type="stmt"/>
|
|
574
581
|
</file>
|
|
575
|
-
<file name="convert.ts" path="/Users/
|
|
582
|
+
<file name="convert.ts" path="/Users/danil/common-utils/src/dates/convert.ts">
|
|
576
583
|
<metrics statements="104" coveredstatements="104" conditionals="55" coveredconditionals="55" methods="16" coveredmethods="16"/>
|
|
577
584
|
<line num="1" count="1" type="stmt"/>
|
|
578
585
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -679,7 +686,7 @@
|
|
|
679
686
|
<line num="186" count="12" type="stmt"/>
|
|
680
687
|
<line num="190" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
681
688
|
</file>
|
|
682
|
-
<file name="datex.ts" path="/Users/
|
|
689
|
+
<file name="datex.ts" path="/Users/danil/common-utils/src/dates/datex.ts">
|
|
683
690
|
<metrics statements="25" coveredstatements="25" conditionals="50" coveredconditionals="50" methods="4" coveredmethods="4"/>
|
|
684
691
|
<line num="3" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
685
692
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -707,7 +714,7 @@
|
|
|
707
714
|
<line num="37" count="7" type="stmt"/>
|
|
708
715
|
<line num="40" count="329" type="cond" truecount="2" falsecount="0"/>
|
|
709
716
|
</file>
|
|
710
|
-
<file name="format.ts" path="/Users/
|
|
717
|
+
<file name="format.ts" path="/Users/danil/common-utils/src/dates/format.ts">
|
|
711
718
|
<metrics statements="52" coveredstatements="52" conditionals="54" coveredconditionals="53" methods="10" coveredmethods="10"/>
|
|
712
719
|
<line num="1" count="1" type="stmt"/>
|
|
713
720
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -762,7 +769,7 @@
|
|
|
762
769
|
<line num="97" count="8" type="stmt"/>
|
|
763
770
|
<line num="102" count="7" type="stmt"/>
|
|
764
771
|
</file>
|
|
765
|
-
<file name="index.ts" path="/Users/
|
|
772
|
+
<file name="index.ts" path="/Users/danil/common-utils/src/dates/index.ts">
|
|
766
773
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
767
774
|
<line num="1" count="1" type="stmt"/>
|
|
768
775
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -774,7 +781,7 @@
|
|
|
774
781
|
<line num="8" count="1" type="stmt"/>
|
|
775
782
|
<line num="9" count="1" type="stmt"/>
|
|
776
783
|
</file>
|
|
777
|
-
<file name="parse.ts" path="/Users/
|
|
784
|
+
<file name="parse.ts" path="/Users/danil/common-utils/src/dates/parse.ts">
|
|
778
785
|
<metrics statements="13" coveredstatements="13" conditionals="9" coveredconditionals="9" methods="4" coveredmethods="4"/>
|
|
779
786
|
<line num="2" count="1" type="stmt"/>
|
|
780
787
|
<line num="3" count="360" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -790,7 +797,7 @@
|
|
|
790
797
|
<line num="20" count="1" type="stmt"/>
|
|
791
798
|
<line num="22" count="1" type="stmt"/>
|
|
792
799
|
</file>
|
|
793
|
-
<file name="period.ts" path="/Users/
|
|
800
|
+
<file name="period.ts" path="/Users/danil/common-utils/src/dates/period.ts">
|
|
794
801
|
<metrics statements="11" coveredstatements="11" conditionals="7" coveredconditionals="6" methods="5" coveredmethods="5"/>
|
|
795
802
|
<line num="1" count="1" type="stmt"/>
|
|
796
803
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -804,7 +811,7 @@
|
|
|
804
811
|
<line num="19" count="1" type="stmt"/>
|
|
805
812
|
<line num="20" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
806
813
|
</file>
|
|
807
|
-
<file name="shift.ts" path="/Users/
|
|
814
|
+
<file name="shift.ts" path="/Users/danil/common-utils/src/dates/shift.ts">
|
|
808
815
|
<metrics statements="54" coveredstatements="54" conditionals="22" coveredconditionals="22" methods="5" coveredmethods="5"/>
|
|
809
816
|
<line num="1" count="1" type="stmt"/>
|
|
810
817
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -861,7 +868,7 @@
|
|
|
861
868
|
<line num="88" count="32" type="stmt"/>
|
|
862
869
|
<line num="89" count="32" type="stmt"/>
|
|
863
870
|
</file>
|
|
864
|
-
<file name="types.ts" path="/Users/
|
|
871
|
+
<file name="types.ts" path="/Users/danil/common-utils/src/dates/types.ts">
|
|
865
872
|
<metrics statements="10" coveredstatements="10" conditionals="9" coveredconditionals="9" methods="2" coveredmethods="2"/>
|
|
866
873
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
867
874
|
<line num="6" count="1" type="stmt"/>
|
|
@@ -874,7 +881,7 @@
|
|
|
874
881
|
<line num="24" count="17" type="stmt"/>
|
|
875
882
|
<line num="27" count="3" type="stmt"/>
|
|
876
883
|
</file>
|
|
877
|
-
<file name="yearDate.ts" path="/Users/
|
|
884
|
+
<file name="yearDate.ts" path="/Users/danil/common-utils/src/dates/yearDate.ts">
|
|
878
885
|
<metrics statements="16" coveredstatements="16" conditionals="53" coveredconditionals="51" methods="6" coveredmethods="6"/>
|
|
879
886
|
<line num="1" count="1" type="stmt"/>
|
|
880
887
|
<line num="6" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -896,7 +903,7 @@
|
|
|
896
903
|
</package>
|
|
897
904
|
<package name="src.fields">
|
|
898
905
|
<metrics statements="46" coveredstatements="37" conditionals="78" coveredconditionals="63" methods="11" coveredmethods="5"/>
|
|
899
|
-
<file name="update.ts" path="/Users/
|
|
906
|
+
<file name="update.ts" path="/Users/danil/common-utils/src/fields/update.ts">
|
|
900
907
|
<metrics statements="46" coveredstatements="37" conditionals="78" coveredconditionals="63" methods="11" coveredmethods="5"/>
|
|
901
908
|
<line num="1" count="1" type="stmt"/>
|
|
902
909
|
<line num="12" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -948,7 +955,7 @@
|
|
|
948
955
|
</package>
|
|
949
956
|
<package name="src.logger">
|
|
950
957
|
<metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
|
|
951
|
-
<file name="batch.ts" path="/Users/
|
|
958
|
+
<file name="batch.ts" path="/Users/danil/common-utils/src/logger/batch.ts">
|
|
952
959
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
953
960
|
<line num="3" count="3" type="stmt"/>
|
|
954
961
|
<line num="4" count="3" type="stmt"/>
|
|
@@ -956,7 +963,7 @@
|
|
|
956
963
|
<line num="6" count="2" type="stmt"/>
|
|
957
964
|
<line num="7" count="2" type="stmt"/>
|
|
958
965
|
</file>
|
|
959
|
-
<file name="console.ts" path="/Users/
|
|
966
|
+
<file name="console.ts" path="/Users/danil/common-utils/src/logger/console.ts">
|
|
960
967
|
<metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
961
968
|
<line num="2" count="3" type="stmt"/>
|
|
962
969
|
<line num="4" count="3" type="stmt"/>
|
|
@@ -983,7 +990,7 @@
|
|
|
983
990
|
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
984
991
|
<line num="48" count="0" type="stmt"/>
|
|
985
992
|
</file>
|
|
986
|
-
<file name="index.ts" path="/Users/
|
|
993
|
+
<file name="index.ts" path="/Users/danil/common-utils/src/logger/index.ts">
|
|
987
994
|
<metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
|
|
988
995
|
<line num="1" count="3" type="stmt"/>
|
|
989
996
|
<line num="3" count="3" type="stmt"/>
|
|
@@ -1022,7 +1029,7 @@
|
|
|
1022
1029
|
<line num="64" count="28" type="stmt"/>
|
|
1023
1030
|
<line num="68" count="61" type="stmt"/>
|
|
1024
1031
|
</file>
|
|
1025
|
-
<file name="named.ts" path="/Users/
|
|
1032
|
+
<file name="named.ts" path="/Users/danil/common-utils/src/logger/named.ts">
|
|
1026
1033
|
<metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
|
|
1027
1034
|
<line num="3" count="3" type="stmt"/>
|
|
1028
1035
|
<line num="5" count="3" type="stmt"/>
|
|
@@ -1046,7 +1053,7 @@
|
|
|
1046
1053
|
<line num="44" count="96" type="stmt"/>
|
|
1047
1054
|
<line num="45" count="96" type="stmt"/>
|
|
1048
1055
|
</file>
|
|
1049
|
-
<file name="proxy.ts" path="/Users/
|
|
1056
|
+
<file name="proxy.ts" path="/Users/danil/common-utils/src/logger/proxy.ts">
|
|
1050
1057
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
1051
1058
|
<line num="2" count="3" type="stmt"/>
|
|
1052
1059
|
<line num="4" count="3" type="stmt"/>
|
|
@@ -1063,7 +1070,7 @@
|
|
|
1063
1070
|
</package>
|
|
1064
1071
|
<package name="src.math">
|
|
1065
1072
|
<metrics statements="196" coveredstatements="195" conditionals="141" coveredconditionals="134" methods="40" coveredmethods="39"/>
|
|
1066
|
-
<file name="arrays.ts" path="/Users/
|
|
1073
|
+
<file name="arrays.ts" path="/Users/danil/common-utils/src/math/arrays.ts">
|
|
1067
1074
|
<metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
|
|
1068
1075
|
<line num="1" count="7" type="stmt"/>
|
|
1069
1076
|
<line num="2" count="7" type="stmt"/>
|
|
@@ -1204,7 +1211,7 @@
|
|
|
1204
1211
|
<line num="258" count="5" type="stmt"/>
|
|
1205
1212
|
<line num="260" count="1" type="stmt"/>
|
|
1206
1213
|
</file>
|
|
1207
|
-
<file name="calc.ts" path="/Users/
|
|
1214
|
+
<file name="calc.ts" path="/Users/danil/common-utils/src/math/calc.ts">
|
|
1208
1215
|
<metrics statements="35" coveredstatements="34" conditionals="41" coveredconditionals="37" methods="8" coveredmethods="7"/>
|
|
1209
1216
|
<line num="2" count="8" type="cond" truecount="3" falsecount="0"/>
|
|
1210
1217
|
<line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
|
|
@@ -1242,7 +1249,7 @@
|
|
|
1242
1249
|
<line num="67" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
1243
1250
|
<line num="68" count="0" type="stmt"/>
|
|
1244
1251
|
</file>
|
|
1245
|
-
<file name="distribution.ts" path="/Users/
|
|
1252
|
+
<file name="distribution.ts" path="/Users/danil/common-utils/src/math/distribution.ts">
|
|
1246
1253
|
<metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
1247
1254
|
<line num="8" count="7" type="stmt"/>
|
|
1248
1255
|
<line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
@@ -1253,7 +1260,7 @@
|
|
|
1253
1260
|
<line num="16" count="3" type="stmt"/>
|
|
1254
1261
|
<line num="19" count="4" type="stmt"/>
|
|
1255
1262
|
</file>
|
|
1256
|
-
<file name="index.ts" path="/Users/
|
|
1263
|
+
<file name="index.ts" path="/Users/danil/common-utils/src/math/index.ts">
|
|
1257
1264
|
<metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
|
|
1258
1265
|
<line num="2" count="6" type="stmt"/>
|
|
1259
1266
|
<line num="3" count="6" type="stmt"/>
|
|
@@ -1274,7 +1281,7 @@
|
|
|
1274
1281
|
</package>
|
|
1275
1282
|
<package name="src.validation">
|
|
1276
1283
|
<metrics statements="87" coveredstatements="45" conditionals="58" coveredconditionals="6" methods="29" coveredmethods="4"/>
|
|
1277
|
-
<file name="ValidationErrors.ts" path="/Users/
|
|
1284
|
+
<file name="ValidationErrors.ts" path="/Users/danil/common-utils/src/validation/ValidationErrors.ts">
|
|
1278
1285
|
<metrics statements="21" coveredstatements="21" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1279
1286
|
<line num="1" count="4" type="stmt"/>
|
|
1280
1287
|
<line num="3" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1298,7 +1305,7 @@
|
|
|
1298
1305
|
<line num="24" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1299
1306
|
<line num="25" count="4" type="stmt"/>
|
|
1300
1307
|
</file>
|
|
1301
|
-
<file name="creditCard.ts" path="/Users/
|
|
1308
|
+
<file name="creditCard.ts" path="/Users/danil/common-utils/src/validation/creditCard.ts">
|
|
1302
1309
|
<metrics statements="7" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1303
1310
|
<line num="1" count="4" type="stmt"/>
|
|
1304
1311
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -1308,7 +1315,7 @@
|
|
|
1308
1315
|
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1309
1316
|
<line num="21" count="4" type="stmt"/>
|
|
1310
1317
|
</file>
|
|
1311
|
-
<file name="helpers.ts" path="/Users/
|
|
1318
|
+
<file name="helpers.ts" path="/Users/danil/common-utils/src/validation/helpers.ts">
|
|
1312
1319
|
<metrics statements="19" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
1313
1320
|
<line num="1" count="4" type="stmt"/>
|
|
1314
1321
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -1330,7 +1337,7 @@
|
|
|
1330
1337
|
<line num="42" count="0" type="stmt"/>
|
|
1331
1338
|
<line num="46" count="0" type="stmt"/>
|
|
1332
1339
|
</file>
|
|
1333
|
-
<file name="index.ts" path="/Users/
|
|
1340
|
+
<file name="index.ts" path="/Users/danil/common-utils/src/validation/index.ts">
|
|
1334
1341
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1335
1342
|
<line num="1" count="4" type="stmt"/>
|
|
1336
1343
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -1338,14 +1345,14 @@
|
|
|
1338
1345
|
<line num="4" count="4" type="stmt"/>
|
|
1339
1346
|
<line num="5" count="4" type="stmt"/>
|
|
1340
1347
|
</file>
|
|
1341
|
-
<file name="types.ts" path="/Users/
|
|
1348
|
+
<file name="types.ts" path="/Users/danil/common-utils/src/validation/types.ts">
|
|
1342
1349
|
<metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
1343
1350
|
<line num="8" count="4" type="stmt"/>
|
|
1344
1351
|
<line num="9" count="0" type="stmt"/>
|
|
1345
1352
|
<line num="12" count="0" type="stmt"/>
|
|
1346
1353
|
<line num="13" count="0" type="stmt"/>
|
|
1347
1354
|
</file>
|
|
1348
|
-
<file name="validators.ts" path="/Users/
|
|
1355
|
+
<file name="validators.ts" path="/Users/danil/common-utils/src/validation/validators.ts">
|
|
1349
1356
|
<metrics statements="21" coveredstatements="6" conditionals="33" coveredconditionals="3" methods="13" coveredmethods="2"/>
|
|
1350
1357
|
<line num="1" count="4" type="stmt"/>
|
|
1351
1358
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -1369,7 +1376,7 @@
|
|
|
1369
1376
|
<line num="53" count="802" type="cond" truecount="2" falsecount="0"/>
|
|
1370
1377
|
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1371
1378
|
</file>
|
|
1372
|
-
<file name="wrappers.ts" path="/Users/
|
|
1379
|
+
<file name="wrappers.ts" path="/Users/danil/common-utils/src/validation/wrappers.ts">
|
|
1373
1380
|
<metrics statements="10" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
1374
1381
|
<line num="1" count="4" type="stmt"/>
|
|
1375
1382
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -1385,7 +1392,7 @@
|
|
|
1385
1392
|
</package>
|
|
1386
1393
|
<package name="src.viewModels">
|
|
1387
1394
|
<metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="28" methods="110" coveredmethods="71"/>
|
|
1388
|
-
<file name="FlagModel.ts" path="/Users/
|
|
1395
|
+
<file name="FlagModel.ts" path="/Users/danil/common-utils/src/viewModels/FlagModel.ts">
|
|
1389
1396
|
<metrics statements="22" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="9" coveredmethods="4"/>
|
|
1390
1397
|
<line num="1" count="3" type="stmt"/>
|
|
1391
1398
|
<line num="15" count="3" type="stmt"/>
|
|
@@ -1410,7 +1417,7 @@
|
|
|
1410
1417
|
<line num="60" count="17" type="stmt"/>
|
|
1411
1418
|
<line num="61" count="0" type="stmt"/>
|
|
1412
1419
|
</file>
|
|
1413
|
-
<file name="MultiSelectModel.ts" path="/Users/
|
|
1420
|
+
<file name="MultiSelectModel.ts" path="/Users/danil/common-utils/src/viewModels/MultiSelectModel.ts">
|
|
1414
1421
|
<metrics statements="85" coveredstatements="65" conditionals="18" coveredconditionals="8" methods="42" coveredmethods="28"/>
|
|
1415
1422
|
<line num="1" count="1" type="stmt"/>
|
|
1416
1423
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -1498,7 +1505,7 @@
|
|
|
1498
1505
|
<line num="163" count="1" type="stmt"/>
|
|
1499
1506
|
<line num="166" count="3" type="stmt"/>
|
|
1500
1507
|
</file>
|
|
1501
|
-
<file name="NumberModel.ts" path="/Users/
|
|
1508
|
+
<file name="NumberModel.ts" path="/Users/danil/common-utils/src/viewModels/NumberModel.ts">
|
|
1502
1509
|
<metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="3" methods="8" coveredmethods="6"/>
|
|
1503
1510
|
<line num="1" count="2" type="stmt"/>
|
|
1504
1511
|
<line num="9" count="2" type="stmt"/>
|
|
@@ -1518,7 +1525,7 @@
|
|
|
1518
1525
|
<line num="41" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
1519
1526
|
<line num="44" count="2" type="stmt"/>
|
|
1520
1527
|
</file>
|
|
1521
|
-
<file name="SelectModel.ts" path="/Users/
|
|
1528
|
+
<file name="SelectModel.ts" path="/Users/danil/common-utils/src/viewModels/SelectModel.ts">
|
|
1522
1529
|
<metrics statements="60" coveredstatements="54" conditionals="18" coveredconditionals="15" methods="26" coveredmethods="22"/>
|
|
1523
1530
|
<line num="1" count="1" type="stmt"/>
|
|
1524
1531
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -1581,7 +1588,7 @@
|
|
|
1581
1588
|
<line num="133" count="1" type="stmt"/>
|
|
1582
1589
|
<line num="135" count="3" type="stmt"/>
|
|
1583
1590
|
</file>
|
|
1584
|
-
<file name="Validatable.ts" path="/Users/
|
|
1591
|
+
<file name="Validatable.ts" path="/Users/danil/common-utils/src/viewModels/Validatable.ts">
|
|
1585
1592
|
<metrics statements="43" coveredstatements="17" conditionals="24" coveredconditionals="1" methods="15" coveredmethods="4"/>
|
|
1586
1593
|
<line num="1" count="2" type="stmt"/>
|
|
1587
1594
|
<line num="2" count="2" type="stmt"/>
|
|
@@ -1627,7 +1634,7 @@
|
|
|
1627
1634
|
<line num="96" count="0" type="stmt"/>
|
|
1628
1635
|
<line num="97" count="0" type="stmt"/>
|
|
1629
1636
|
</file>
|
|
1630
|
-
<file name="wrappers.ts" path="/Users/
|
|
1637
|
+
<file name="wrappers.ts" path="/Users/danil/common-utils/src/viewModels/wrappers.ts">
|
|
1631
1638
|
<metrics statements="19" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="7"/>
|
|
1632
1639
|
<line num="1" count="3" type="stmt"/>
|
|
1633
1640
|
<line num="4" count="3" type="stmt"/>
|