@zajno/common 1.5.9 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/coverage/clover.xml +86 -83
  2. package/coverage/coverage-final.json +5 -5
  3. package/coverage/lcov-report/index.html +14 -14
  4. package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
  5. package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +1 -1
  6. package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
  7. package/coverage/lcov-report/src/async/index.html +1 -1
  8. package/coverage/lcov-report/src/async/timeout.ts.html +1 -1
  9. package/coverage/lcov-report/src/cache.ts.html +1 -1
  10. package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
  11. package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
  12. package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
  13. package/coverage/lcov-report/src/dates/format.ts.html +1 -1
  14. package/coverage/lcov-report/src/dates/index.html +1 -1
  15. package/coverage/lcov-report/src/dates/index.ts.html +1 -1
  16. package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
  17. package/coverage/lcov-report/src/dates/period.ts.html +1 -1
  18. package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
  19. package/coverage/lcov-report/src/dates/types.ts.html +1 -1
  20. package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
  21. package/coverage/lcov-report/src/disposer.ts.html +1 -1
  22. package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
  23. package/coverage/lcov-report/src/event.ts.html +6 -6
  24. package/coverage/lcov-report/src/fields/index.html +1 -1
  25. package/coverage/lcov-report/src/fields/update.ts.html +1 -1
  26. package/coverage/lcov-report/src/functions.ts.html +1 -1
  27. package/coverage/lcov-report/src/index.html +1 -1
  28. package/coverage/lcov-report/src/lazy.light.ts.html +1 -1
  29. package/coverage/lcov-report/src/logger/batch.ts.html +1 -1
  30. package/coverage/lcov-report/src/logger/console.ts.html +1 -1
  31. package/coverage/lcov-report/src/logger/index.html +1 -1
  32. package/coverage/lcov-report/src/logger/index.ts.html +8 -8
  33. package/coverage/lcov-report/src/logger/named.ts.html +12 -12
  34. package/coverage/lcov-report/src/logger/proxy.ts.html +4 -4
  35. package/coverage/lcov-report/src/math/arrays.ts.html +1 -1
  36. package/coverage/lcov-report/src/math/calc.ts.html +1 -1
  37. package/coverage/lcov-report/src/math/distribution.ts.html +1 -1
  38. package/coverage/lcov-report/src/math/index.html +1 -1
  39. package/coverage/lcov-report/src/math/index.ts.html +1 -1
  40. package/coverage/lcov-report/src/observersMap.ts.html +1 -1
  41. package/coverage/lcov-report/src/observingCache.ts.html +1 -1
  42. package/coverage/lcov-report/src/queue/index.html +14 -14
  43. package/coverage/lcov-report/src/queue/parallel.ts.html +20 -8
  44. package/coverage/lcov-report/src/tempoCache.ts.html +1 -1
  45. package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
  46. package/coverage/lcov-report/src/types.ts.html +1 -1
  47. package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
  48. package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
  49. package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
  50. package/coverage/lcov-report/src/validation/index.html +1 -1
  51. package/coverage/lcov-report/src/validation/index.ts.html +1 -1
  52. package/coverage/lcov-report/src/validation/types.ts.html +1 -1
  53. package/coverage/lcov-report/src/validation/validators.ts.html +1 -1
  54. package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
  55. package/coverage/lcov-report/src/viewModels/CommonModel.ts.html +1 -1
  56. package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
  57. package/coverage/lcov-report/src/viewModels/LoadingModel.ts.html +1 -1
  58. package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +1 -1
  59. package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +1 -1
  60. package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +1 -1
  61. package/coverage/lcov-report/src/viewModels/TextModel.ts.html +1 -1
  62. package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
  63. package/coverage/lcov-report/src/viewModels/index.html +1 -1
  64. package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
  65. package/coverage/lcov.info +180 -175
  66. package/lib/queue/parallel.d.ts +2 -0
  67. package/lib/queue/parallel.d.ts.map +1 -1
  68. package/lib/queue/parallel.js +3 -0
  69. package/lib/queue/parallel.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/queue/parallel.ts +4 -0
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1662643677564" clover="3.2.0">
3
- <project timestamp="1662643677565" name="All files">
4
- <metrics statements="1700" coveredstatements="1393" conditionals="900" coveredconditionals="667" methods="501" coveredmethods="357" elements="3101" coveredelements="2417" complexity="0" loc="1700" ncloc="1700" packages="10" files="51" classes="51"/>
2
+ <coverage generated="1662723001267" clover="3.2.0">
3
+ <project timestamp="1662723001267" name="All files">
4
+ <metrics statements="1703" coveredstatements="1395" conditionals="900" coveredconditionals="667" methods="502" coveredmethods="357" elements="3105" coveredelements="2419" complexity="0" loc="1703" ncloc="1703" packages="10" files="51" classes="51"/>
5
5
  <package name="src">
6
6
  <metrics statements="460" coveredstatements="360" conditionals="189" coveredconditionals="125" methods="148" coveredmethods="112"/>
7
7
  <file name="cache.ts" path="/Users/idudinov/projects/zajno-common-utils/src/cache.ts">
@@ -198,15 +198,15 @@
198
198
  <line num="3" count="3" type="stmt"/>
199
199
  <line num="4" count="3" type="stmt"/>
200
200
  <line num="13" count="3" type="stmt"/>
201
- <line num="14" count="13" type="stmt"/>
202
- <line num="15" count="13" type="stmt"/>
203
- <line num="22" count="13" type="cond" truecount="1" falsecount="1"/>
201
+ <line num="14" count="14" type="stmt"/>
202
+ <line num="15" count="14" type="stmt"/>
203
+ <line num="22" count="14" type="cond" truecount="1" falsecount="1"/>
204
204
  <line num="28" count="5" type="stmt"/>
205
205
  <line num="29" count="5" type="stmt"/>
206
206
  <line num="30" count="4" type="stmt"/>
207
207
  <line num="35" count="4" type="stmt"/>
208
- <line num="39" count="29" type="cond" truecount="1" falsecount="0"/>
209
- <line num="40" count="13" type="stmt"/>
208
+ <line num="39" count="30" type="cond" truecount="1" falsecount="0"/>
209
+ <line num="40" count="14" type="stmt"/>
210
210
  <line num="43" count="16" type="stmt"/>
211
211
  <line num="44" count="16" type="stmt"/>
212
212
  <line num="45" count="16" type="stmt"/>
@@ -1056,10 +1056,10 @@
1056
1056
  <line num="14" count="6" type="cond" truecount="2" falsecount="0"/>
1057
1057
  <line num="16" count="6" type="stmt"/>
1058
1058
  <line num="18" count="6" type="cond" truecount="1" falsecount="0"/>
1059
- <line num="19" count="65" type="stmt"/>
1060
- <line num="20" count="65" type="stmt"/>
1061
- <line num="21" count="65" type="stmt"/>
1062
- <line num="22" count="65" type="stmt"/>
1059
+ <line num="19" count="66" type="stmt"/>
1060
+ <line num="20" count="66" type="stmt"/>
1061
+ <line num="21" count="66" type="stmt"/>
1062
+ <line num="22" count="66" type="stmt"/>
1063
1063
  <line num="25" count="6" type="cond" truecount="0" falsecount="1"/>
1064
1064
  <line num="26" count="0" type="stmt"/>
1065
1065
  <line num="27" count="0" type="cond" truecount="0" falsecount="1"/>
@@ -1077,9 +1077,9 @@
1077
1077
  <line num="50" count="29" type="stmt"/>
1078
1078
  <line num="52" count="6" type="stmt"/>
1079
1079
  <line num="54" count="6" type="stmt"/>
1080
- <line num="57" count="171" type="cond" truecount="2" falsecount="0"/>
1081
- <line num="58" count="171" type="stmt"/>
1082
- <line num="60" count="75" type="stmt"/>
1080
+ <line num="57" count="172" type="cond" truecount="2" falsecount="0"/>
1081
+ <line num="58" count="172" type="stmt"/>
1082
+ <line num="60" count="76" type="stmt"/>
1083
1083
  <line num="64" count="35" type="stmt"/>
1084
1084
  <line num="68" count="61" type="stmt"/>
1085
1085
  </file>
@@ -1087,21 +1087,21 @@
1087
1087
  <metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
1088
1088
  <line num="3" count="6" type="stmt"/>
1089
1089
  <line num="5" count="6" type="stmt"/>
1090
- <line num="6" count="65" type="stmt"/>
1091
- <line num="7" count="65" type="stmt"/>
1092
- <line num="8" count="65" type="stmt"/>
1093
- <line num="10" count="65" type="stmt"/>
1090
+ <line num="6" count="66" type="stmt"/>
1091
+ <line num="7" count="66" type="stmt"/>
1092
+ <line num="8" count="66" type="stmt"/>
1093
+ <line num="10" count="66" type="stmt"/>
1094
1094
  <line num="12" count="0" type="stmt"/>
1095
- <line num="17" count="65" type="stmt"/>
1096
- <line num="19" count="65" type="cond" truecount="2" falsecount="0"/>
1097
- <line num="20" count="24" type="stmt"/>
1095
+ <line num="17" count="66" type="stmt"/>
1096
+ <line num="19" count="66" type="cond" truecount="2" falsecount="0"/>
1097
+ <line num="20" count="25" type="stmt"/>
1098
1098
  <line num="22" count="41" type="stmt"/>
1099
- <line num="27" count="130" type="cond" truecount="2" falsecount="0"/>
1100
- <line num="29" count="130" type="stmt"/>
1099
+ <line num="27" count="131" type="cond" truecount="2" falsecount="0"/>
1100
+ <line num="29" count="131" type="stmt"/>
1101
1101
  <line num="30" count="10" type="cond" truecount="2" falsecount="0"/>
1102
- <line num="33" count="130" type="stmt"/>
1102
+ <line num="33" count="131" type="stmt"/>
1103
1103
  <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
1104
- <line num="37" count="130" type="stmt"/>
1104
+ <line num="37" count="131" type="stmt"/>
1105
1105
  <line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
1106
1106
  <line num="43" count="103" type="stmt"/>
1107
1107
  <line num="44" count="103" type="stmt"/>
@@ -1113,9 +1113,9 @@
1113
1113
  <line num="4" count="6" type="stmt"/>
1114
1114
  <line num="10" count="6" type="stmt"/>
1115
1115
  <line num="12" count="72" type="cond" truecount="1" falsecount="1"/>
1116
- <line num="14" count="65" type="stmt"/>
1117
- <line num="17" count="65" type="stmt"/>
1118
- <line num="18" count="65" type="stmt"/>
1116
+ <line num="14" count="66" type="stmt"/>
1117
+ <line num="17" count="66" type="stmt"/>
1118
+ <line num="18" count="66" type="stmt"/>
1119
1119
  <line num="22" count="106" type="cond" truecount="1" falsecount="1"/>
1120
1120
  <line num="23" count="106" type="cond" truecount="1" falsecount="1"/>
1121
1121
  <line num="24" count="106" type="stmt"/>
@@ -1334,9 +1334,9 @@
1334
1334
  </file>
1335
1335
  </package>
1336
1336
  <package name="src.queue">
1337
- <metrics statements="69" coveredstatements="54" conditionals="54" coveredconditionals="24" methods="15" coveredmethods="10"/>
1337
+ <metrics statements="72" coveredstatements="56" conditionals="54" coveredconditionals="24" methods="16" coveredmethods="10"/>
1338
1338
  <file name="parallel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/queue/parallel.ts">
1339
- <metrics statements="69" coveredstatements="54" conditionals="54" coveredconditionals="24" methods="15" coveredmethods="10"/>
1339
+ <metrics statements="72" coveredstatements="56" conditionals="54" coveredconditionals="24" methods="16" coveredmethods="10"/>
1340
1340
  <line num="1" count="1" type="stmt"/>
1341
1341
  <line num="2" count="1" type="stmt"/>
1342
1342
  <line num="8" count="1" type="stmt"/>
@@ -1347,65 +1347,68 @@
1347
1347
  <line num="16" count="1" type="stmt"/>
1348
1348
  <line num="18" count="1" type="stmt"/>
1349
1349
  <line num="19" count="1" type="stmt"/>
1350
- <line num="21" count="2" type="stmt"/>
1351
- <line num="22" count="3" type="stmt"/>
1352
- <line num="24" count="0" type="stmt"/>
1350
+ <line num="20" count="1" type="stmt"/>
1351
+ <line num="22" count="2" type="stmt"/>
1352
+ <line num="23" count="3" type="stmt"/>
1353
1353
  <line num="25" count="0" type="stmt"/>
1354
- <line num="28" count="1" type="cond" truecount="1" falsecount="1"/>
1355
- <line num="29" count="1" type="stmt"/>
1356
- <line num="34" count="5" type="cond" truecount="2" falsecount="0"/>
1357
- <line num="38" count="5" type="cond" truecount="4" falsecount="0"/>
1358
- <line num="40" count="1" type="stmt"/>
1359
- <line num="41" count="1" type="stmt"/>
1360
- <line num="45" count="4" type="stmt"/>
1361
- <line num="46" count="4" type="stmt"/>
1362
- <line num="47" count="4" type="stmt"/>
1354
+ <line num="26" count="0" type="stmt"/>
1355
+ <line num="28" count="0" type="stmt"/>
1356
+ <line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
1357
+ <line num="32" count="1" type="stmt"/>
1358
+ <line num="37" count="5" type="cond" truecount="2" falsecount="0"/>
1359
+ <line num="41" count="5" type="cond" truecount="4" falsecount="0"/>
1360
+ <line num="43" count="1" type="stmt"/>
1361
+ <line num="44" count="1" type="stmt"/>
1362
+ <line num="48" count="4" type="stmt"/>
1363
+ <line num="49" count="4" type="stmt"/>
1363
1364
  <line num="50" count="4" type="stmt"/>
1364
- <line num="52" count="0" type="cond" truecount="0" falsecount="3"/>
1365
- <line num="53" count="0" type="stmt"/>
1366
- <line num="57" count="0" type="stmt"/>
1367
- <line num="58" count="0" type="cond" truecount="0" falsecount="1"/>
1368
- <line num="59" count="0" type="stmt"/>
1369
- <line num="61" count="0" type="stmt"/>
1370
- <line num="63" count="0" type="stmt"/>
1371
- <line num="68" count="2" type="cond" truecount="1" falsecount="0"/>
1372
- <line num="69" count="1" type="stmt"/>
1365
+ <line num="53" count="4" type="stmt"/>
1366
+ <line num="55" count="0" type="cond" truecount="0" falsecount="3"/>
1367
+ <line num="56" count="0" type="stmt"/>
1368
+ <line num="60" count="0" type="stmt"/>
1369
+ <line num="61" count="0" type="cond" truecount="0" falsecount="1"/>
1370
+ <line num="62" count="0" type="stmt"/>
1371
+ <line num="64" count="0" type="stmt"/>
1372
+ <line num="66" count="0" type="stmt"/>
1373
+ <line num="71" count="2" type="cond" truecount="1" falsecount="0"/>
1373
1374
  <line num="72" count="1" type="stmt"/>
1374
- <line num="73" count="1" type="stmt"/>
1375
- <line num="74" count="1" type="stmt"/>
1376
- <line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
1377
- <line num="77" count="0" type="stmt"/>
1378
- <line num="80" count="1" type="stmt"/>
1379
- <line num="84" count="4" type="stmt"/>
1380
- <line num="85" count="4" type="cond" truecount="1" falsecount="0"/>
1381
- <line num="86" count="2" type="stmt"/>
1382
- <line num="87" count="2" type="stmt"/>
1383
- <line num="90" count="4" type="stmt"/>
1384
- <line num="94" count="2" type="stmt"/>
1385
- <line num="95" count="2" type="stmt"/>
1375
+ <line num="75" count="1" type="stmt"/>
1376
+ <line num="76" count="1" type="stmt"/>
1377
+ <line num="77" count="1" type="stmt"/>
1378
+ <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
1379
+ <line num="80" count="0" type="stmt"/>
1380
+ <line num="83" count="1" type="stmt"/>
1381
+ <line num="87" count="4" type="stmt"/>
1382
+ <line num="88" count="4" type="cond" truecount="1" falsecount="0"/>
1383
+ <line num="89" count="2" type="stmt"/>
1384
+ <line num="90" count="2" type="stmt"/>
1385
+ <line num="93" count="4" type="stmt"/>
1386
1386
  <line num="97" count="2" type="stmt"/>
1387
- <line num="99" count="2" type="cond" truecount="3" falsecount="1"/>
1388
- <line num="100" count="2" type="cond" truecount="0" falsecount="1"/>
1389
- <line num="101" count="0" type="stmt"/>
1390
- <line num="104" count="2" type="cond" truecount="3" falsecount="1"/>
1391
- <line num="106" count="2" type="stmt"/>
1392
- <line num="107" count="2" type="stmt"/>
1393
- <line num="109" count="4" type="stmt"/>
1394
- <line num="112" count="2" type="cond" truecount="5" falsecount="2"/>
1395
- <line num="113" count="0" type="cond" truecount="0" falsecount="4"/>
1396
- <line num="116" count="2" type="stmt"/>
1397
- <line num="118" count="2" type="stmt"/>
1398
- <line num="119" count="2" type="cond" truecount="1" falsecount="0"/>
1399
- <line num="121" count="1" type="stmt"/>
1400
- <line num="122" count="1" type="cond" truecount="3" falsecount="1"/>
1401
- <line num="123" count="1" type="stmt"/>
1387
+ <line num="98" count="2" type="stmt"/>
1388
+ <line num="100" count="2" type="stmt"/>
1389
+ <line num="102" count="2" type="cond" truecount="3" falsecount="1"/>
1390
+ <line num="103" count="2" type="cond" truecount="0" falsecount="1"/>
1391
+ <line num="104" count="0" type="stmt"/>
1392
+ <line num="107" count="2" type="cond" truecount="3" falsecount="1"/>
1393
+ <line num="109" count="2" type="stmt"/>
1394
+ <line num="110" count="2" type="stmt"/>
1395
+ <line num="112" count="4" type="stmt"/>
1396
+ <line num="115" count="2" type="cond" truecount="5" falsecount="2"/>
1397
+ <line num="116" count="0" type="cond" truecount="0" falsecount="4"/>
1398
+ <line num="119" count="2" type="stmt"/>
1399
+ <line num="121" count="2" type="stmt"/>
1400
+ <line num="122" count="2" type="cond" truecount="1" falsecount="0"/>
1401
+ <line num="124" count="1" type="stmt"/>
1402
+ <line num="125" count="1" type="cond" truecount="3" falsecount="1"/>
1402
1403
  <line num="126" count="1" type="stmt"/>
1403
1404
  <line num="127" count="1" type="stmt"/>
1404
1405
  <line num="130" count="1" type="stmt"/>
1405
- <line num="131" count="5" type="stmt"/>
1406
- <line num="132" count="5" type="stmt"/>
1407
- <line num="134" count="0" type="cond" truecount="0" falsecount="6"/>
1408
- <line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
1406
+ <line num="131" count="1" type="stmt"/>
1407
+ <line num="134" count="1" type="stmt"/>
1408
+ <line num="135" count="5" type="stmt"/>
1409
+ <line num="136" count="5" type="stmt"/>
1410
+ <line num="138" count="0" type="cond" truecount="0" falsecount="6"/>
1411
+ <line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
1409
1412
  </file>
1410
1413
  </package>
1411
1414
  <package name="src.validation">