@zajno/common 1.3.10 → 1.3.14

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 (86) hide show
  1. package/coverage/clover.xml +68 -49
  2. package/coverage/coverage-final.json +3 -2
  3. package/coverage/lcov-report/index.html +26 -26
  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/dates/calc.ts.html +1 -1
  9. package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
  10. package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
  11. package/coverage/lcov-report/src/dates/format.ts.html +1 -1
  12. package/coverage/lcov-report/src/dates/index.html +1 -1
  13. package/coverage/lcov-report/src/dates/index.ts.html +1 -1
  14. package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
  15. package/coverage/lcov-report/src/dates/period.ts.html +1 -1
  16. package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
  17. package/coverage/lcov-report/src/dates/types.ts.html +1 -1
  18. package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
  19. package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
  20. package/coverage/lcov-report/src/event.ts.html +1 -1
  21. package/coverage/lcov-report/src/fields/index.html +15 -15
  22. package/coverage/lcov-report/src/fields/update.ts.html +69 -12
  23. package/coverage/lcov-report/src/functions.ts.html +122 -0
  24. package/coverage/lcov-report/src/index.html +32 -17
  25. package/coverage/lcov-report/src/lazy.light.ts.html +33 -21
  26. package/coverage/lcov-report/src/logger/batch.ts.html +1 -1
  27. package/coverage/lcov-report/src/logger/console.ts.html +1 -1
  28. package/coverage/lcov-report/src/logger/index.html +1 -1
  29. package/coverage/lcov-report/src/logger/index.ts.html +1 -1
  30. package/coverage/lcov-report/src/logger/named.ts.html +1 -1
  31. package/coverage/lcov-report/src/logger/proxy.ts.html +1 -1
  32. package/coverage/lcov-report/src/math/arrays.ts.html +1 -1
  33. package/coverage/lcov-report/src/math/calc.ts.html +1 -1
  34. package/coverage/lcov-report/src/math/distribution.ts.html +1 -1
  35. package/coverage/lcov-report/src/math/index.html +1 -1
  36. package/coverage/lcov-report/src/math/index.ts.html +1 -1
  37. package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
  38. package/coverage/lcov-report/src/types.ts.html +1 -1
  39. package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
  40. package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
  41. package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
  42. package/coverage/lcov-report/src/validation/index.html +1 -1
  43. package/coverage/lcov-report/src/validation/index.ts.html +1 -1
  44. package/coverage/lcov-report/src/validation/types.ts.html +1 -1
  45. package/coverage/lcov-report/src/validation/validators.ts.html +1 -1
  46. package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
  47. package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
  48. package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +1 -1
  49. package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +1 -1
  50. package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +1 -1
  51. package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
  52. package/coverage/lcov-report/src/viewModels/index.html +1 -1
  53. package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
  54. package/coverage/lcov.info +172 -113
  55. package/lib/disposer.d.ts.map +1 -1
  56. package/lib/disposer.js +3 -1
  57. package/lib/disposer.js.map +1 -1
  58. package/lib/fields/update.d.ts +8 -2
  59. package/lib/fields/update.d.ts.map +1 -1
  60. package/lib/fields/update.js +13 -1
  61. package/lib/fields/update.js.map +1 -1
  62. package/lib/functions.d.ts +1 -2
  63. package/lib/functions.d.ts.map +1 -1
  64. package/lib/functions.js.map +1 -1
  65. package/lib/lazy.d.ts +6 -2
  66. package/lib/lazy.d.ts.map +1 -1
  67. package/lib/lazy.js +22 -12
  68. package/lib/lazy.js.map +1 -1
  69. package/lib/lazy.light.d.ts +2 -1
  70. package/lib/lazy.light.d.ts.map +1 -1
  71. package/lib/lazy.light.js +11 -9
  72. package/lib/lazy.light.js.map +1 -1
  73. package/lib/pool.d.ts +12 -4
  74. package/lib/pool.d.ts.map +1 -1
  75. package/lib/pool.js +28 -5
  76. package/lib/pool.js.map +1 -1
  77. package/package.json +5 -3
  78. package/src/disposer.ts +4 -1
  79. package/src/fields/update.ts +22 -3
  80. package/src/functions.ts +1 -3
  81. package/src/lazy.light.ts +15 -11
  82. package/src/lazy.ts +22 -15
  83. package/src/pool.ts +31 -8
  84. package/tsconfig.json +6 -4
  85. package/yarn-error.log +3709 -0
  86. package/yarn.lock +1 -1
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1642529337561" clover="3.2.0">
3
- <project timestamp="1642529337561" name="All files">
4
- <metrics statements="1186" coveredstatements="1018" conditionals="746" coveredconditionals="608" methods="351" coveredmethods="256" elements="2283" coveredelements="1882" complexity="0" loc="1186" ncloc="1186" packages="9" files="40" classes="40"/>
2
+ <coverage generated="1642701265700" clover="3.2.0">
3
+ <project timestamp="1642701265700" name="All files">
4
+ <metrics statements="1202" coveredstatements="1031" conditionals="776" coveredconditionals="632" methods="353" coveredmethods="257" elements="2331" coveredelements="1920" complexity="0" loc="1202" ncloc="1202" packages="9" files="41" classes="41"/>
5
5
  <package name="src">
6
- <metrics statements="175" coveredstatements="154" conditionals="99" coveredconditionals="82" methods="66" coveredmethods="54"/>
6
+ <metrics statements="182" coveredstatements="159" conditionals="101" coveredconditionals="83" methods="68" coveredmethods="55"/>
7
7
  <file name="enumHelper.ts" path="/Users/idudinov/projects/zajno-common-utils/src/enumHelper.ts">
8
8
  <metrics statements="50" coveredstatements="50" conditionals="41" coveredconditionals="36" methods="25" coveredmethods="25"/>
9
9
  <line num="1" count="5" type="stmt"/>
@@ -83,15 +83,25 @@
83
83
  <line num="60" count="0" type="stmt"/>
84
84
  <line num="64" count="0" type="stmt"/>
85
85
  </file>
86
+ <file name="functions.ts" path="/Users/idudinov/projects/zajno-common-utils/src/functions.ts">
87
+ <metrics statements="3" coveredstatements="2" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
88
+ <line num="10" count="1" type="stmt"/>
89
+ <line num="11" count="17" type="cond" truecount="1" falsecount="1"/>
90
+ <line num="12" count="0" type="stmt"/>
91
+ </file>
86
92
  <file name="lazy.light.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy.light.ts">
87
- <metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="4" coveredmethods="3"/>
88
- <line num="9" count="2" type="stmt"/>
89
- <line num="10" count="11" type="stmt"/>
90
- <line num="14" count="19" type="cond" truecount="2" falsecount="0"/>
91
- <line num="15" count="1" type="stmt"/>
92
- <line num="17" count="19" type="stmt"/>
93
- <line num="19" count="27" type="stmt"/>
94
- <line num="21" count="0" type="stmt"/>
93
+ <metrics statements="11" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="3"/>
94
+ <line num="10" count="2" type="stmt"/>
95
+ <line num="11" count="11" type="stmt"/>
96
+ <line num="12" count="11" type="stmt"/>
97
+ <line num="14" count="11" type="stmt"/>
98
+ <line num="16" count="19" type="cond" truecount="2" falsecount="0"/>
99
+ <line num="17" count="1" type="stmt"/>
100
+ <line num="19" count="19" type="stmt"/>
101
+ <line num="21" count="27" type="stmt"/>
102
+ <line num="23" count="0" type="stmt"/>
103
+ <line num="25" count="0" type="stmt"/>
104
+ <line num="28" count="11" type="stmt"/>
95
105
  </file>
96
106
  <file name="transitionObserver.ts" path="/Users/idudinov/projects/zajno-common-utils/src/transitionObserver.ts">
97
107
  <metrics statements="86" coveredstatements="77" conditionals="42" coveredconditionals="33" methods="22" coveredmethods="18"/>
@@ -602,46 +612,55 @@
602
612
  </file>
603
613
  </package>
604
614
  <package name="src.fields">
605
- <metrics statements="37" coveredstatements="29" conditionals="50" coveredconditionals="40" methods="11" coveredmethods="5"/>
615
+ <metrics statements="46" coveredstatements="37" conditionals="78" coveredconditionals="63" methods="11" coveredmethods="5"/>
606
616
  <file name="update.ts" path="/Users/idudinov/projects/zajno-common-utils/src/fields/update.ts">
607
- <metrics statements="37" coveredstatements="29" conditionals="50" coveredconditionals="40" methods="11" coveredmethods="5"/>
608
- <line num="11" count="1" type="cond" truecount="0" falsecount="1"/>
609
- <line num="12" count="0" type="stmt"/>
610
- <line num="15" count="1" type="stmt"/>
611
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
612
- <line num="26" count="0" type="stmt"/>
613
- <line num="28" count="0" type="cond" truecount="0" falsecount="4"/>
614
- <line num="29" count="0" type="stmt"/>
617
+ <metrics statements="46" coveredstatements="37" conditionals="78" coveredconditionals="63" methods="11" coveredmethods="5"/>
618
+ <line num="1" count="1" type="stmt"/>
619
+ <line num="12" count="1" type="cond" truecount="0" falsecount="1"/>
620
+ <line num="13" count="0" type="stmt"/>
621
+ <line num="16" count="1" type="stmt"/>
622
+ <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
623
+ <line num="27" count="0" type="stmt"/>
624
+ <line num="29" count="0" type="cond" truecount="0" falsecount="4"/>
615
625
  <line num="30" count="0" type="stmt"/>
616
626
  <line num="31" count="0" type="stmt"/>
617
- <line num="34" count="0" type="stmt"/>
618
- <line num="38" count="38" type="stmt"/>
619
- <line num="39" count="1" type="stmt"/>
620
- <line num="49" count="1" type="stmt"/>
621
- <line num="54" count="6" type="cond" truecount="2" falsecount="0"/>
622
- <line num="55" count="1" type="stmt"/>
623
- <line num="58" count="5" type="stmt"/>
624
- <line num="59" count="5" type="stmt"/>
625
- <line num="63" count="5" type="cond" truecount="6" falsecount="0"/>
626
- <line num="64" count="5" type="cond" truecount="6" falsecount="0"/>
627
- <line num="67" count="5" type="cond" truecount="5" falsecount="1"/>
628
- <line num="68" count="5" type="stmt"/>
629
- <line num="69" count="31" type="cond" truecount="2" falsecount="0"/>
630
- <line num="70" count="10" type="stmt"/>
631
- <line num="71" count="10" type="stmt"/>
632
- <line num="72" count="10" type="stmt"/>
633
- <line num="78" count="5" type="stmt"/>
634
- <line num="79" count="15" type="stmt"/>
635
- <line num="80" count="12" type="stmt"/>
636
- <line num="81" count="12" type="cond" truecount="2" falsecount="0"/>
637
- <line num="82" count="7" type="stmt"/>
638
- <line num="83" count="7" type="stmt"/>
639
- <line num="84" count="5" type="cond" truecount="2" falsecount="0"/>
640
- <line num="85" count="1" type="stmt"/>
641
- <line num="89" count="5" type="cond" truecount="4" falsecount="0"/>
642
- <line num="90" count="5" type="cond" truecount="2" falsecount="0"/>
643
- <line num="91" count="4" type="cond" truecount="2" falsecount="0"/>
644
- <line num="94" count="5" type="stmt"/>
627
+ <line num="32" count="0" type="stmt"/>
628
+ <line num="35" count="0" type="stmt"/>
629
+ <line num="39" count="38" type="stmt"/>
630
+ <line num="40" count="1" type="stmt"/>
631
+ <line num="57" count="1" type="stmt"/>
632
+ <line num="62" count="6" type="cond" truecount="2" falsecount="0"/>
633
+ <line num="63" count="1" type="stmt"/>
634
+ <line num="66" count="5" type="stmt"/>
635
+ <line num="67" count="5" type="stmt"/>
636
+ <line num="71" count="5" type="cond" truecount="6" falsecount="0"/>
637
+ <line num="72" count="5" type="cond" truecount="6" falsecount="0"/>
638
+ <line num="73" count="5" type="cond" truecount="7" falsecount="1"/>
639
+ <line num="74" count="5" type="cond" truecount="7" falsecount="1"/>
640
+ <line num="75" count="5" type="cond" truecount="7" falsecount="1"/>
641
+ <line num="78" count="5" type="cond" truecount="5" falsecount="1"/>
642
+ <line num="79" count="5" type="stmt"/>
643
+ <line num="80" count="31" type="cond" truecount="2" falsecount="0"/>
644
+ <line num="82" count="10" type="stmt"/>
645
+ <line num="83" count="10" type="stmt"/>
646
+ <line num="85" count="10" type="stmt"/>
647
+ <line num="86" count="10" type="stmt"/>
648
+ <line num="92" count="5" type="stmt"/>
649
+ <line num="93" count="15" type="stmt"/>
650
+ <line num="94" count="12" type="stmt"/>
651
+ <line num="95" count="12" type="cond" truecount="2" falsecount="0"/>
652
+ <line num="96" count="7" type="stmt"/>
653
+ <line num="97" count="7" type="stmt"/>
654
+ <line num="98" count="7" type="stmt"/>
655
+ <line num="99" count="5" type="cond" truecount="2" falsecount="0"/>
656
+ <line num="100" count="1" type="cond" truecount="1" falsecount="1"/>
657
+ <line num="101" count="1" type="stmt"/>
658
+ <line num="102" count="1" type="cond" truecount="1" falsecount="1"/>
659
+ <line num="103" count="0" type="stmt"/>
660
+ <line num="108" count="5" type="cond" truecount="4" falsecount="0"/>
661
+ <line num="109" count="5" type="cond" truecount="2" falsecount="0"/>
662
+ <line num="110" count="4" type="cond" truecount="2" falsecount="0"/>
663
+ <line num="113" count="5" type="stmt"/>
645
664
  </file>
646
665
  </package>
647
666
  <package name="src.logger">