@daiso-tech/core 0.1.1 → 0.1.3

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 (710) hide show
  1. package/README.md +29 -0
  2. package/dist/cjs/{types.js.map → _shared/types.js.map} +1 -1
  3. package/dist/cjs/collection/_shared.js.map +1 -1
  4. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/_module.js +35 -35
  5. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +1 -0
  6. package/dist/cjs/collection/async-iterable-collection/_shared/async-abort-iterable.js.map +1 -0
  7. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  8. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.js +4 -4
  9. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +1 -0
  10. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  11. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.js +4 -4
  12. package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  13. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  14. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.js +7 -1
  15. package/dist/cjs/collection/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  16. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.js +5 -4
  17. package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  18. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.js +4 -4
  19. package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  20. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.js +7 -7
  21. package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  22. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.js +4 -4
  23. package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  24. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.js +4 -4
  25. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  26. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.js +4 -4
  27. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  28. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.js +7 -7
  29. package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  30. package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  31. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  32. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  33. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.js +4 -4
  34. package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  35. package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  36. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.js +5 -5
  37. package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  38. package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  39. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.js +5 -5
  40. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  41. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.js +4 -4
  42. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  43. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.js +4 -4
  44. package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  45. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.js +5 -5
  46. package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  47. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.js +4 -4
  48. package/dist/cjs/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  49. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.js +5 -5
  50. package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  51. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.js +5 -5
  52. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  53. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.js +4 -4
  54. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  55. package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  56. package/dist/cjs/collection/async-iterable-collection/_shared/async-timeout-iterable.js.map +1 -0
  57. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.js +3 -3
  58. package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  59. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.js +7 -7
  60. package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  61. package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  62. package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  63. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +124 -112
  64. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  65. package/dist/cjs/collection/iterable-collection/_shared/_module.js +49 -0
  66. package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +1 -0
  67. package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  68. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/chunk-whilte-iterable.js +7 -7
  69. package/dist/cjs/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +1 -0
  70. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  71. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.js +7 -7
  72. package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  73. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  74. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.js +4 -4
  75. package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +1 -0
  76. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/filter-iterable.js +7 -7
  77. package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +1 -0
  78. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.js +7 -7
  79. package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  80. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.js +7 -7
  81. package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  82. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/insert-after-iterable.js +8 -7
  83. package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  84. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/insert-before-iterable.js +8 -7
  85. package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  86. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.js +7 -7
  87. package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +1 -0
  88. package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +1 -0
  89. package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  90. package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  91. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/partion-iterable.js +7 -7
  92. package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +1 -0
  93. package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  94. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.js +5 -5
  95. package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  96. package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  97. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.js +6 -5
  98. package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +1 -0
  99. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/skip-until-iterable.js +7 -7
  100. package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  101. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.js +4 -4
  102. package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +1 -0
  103. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.js +5 -5
  104. package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  105. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.js +4 -4
  106. package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +1 -0
  107. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.js +5 -5
  108. package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +1 -0
  109. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.js +6 -5
  110. package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +1 -0
  111. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/take-until-iterable.js +7 -7
  112. package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  113. package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +1 -0
  114. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.js +4 -4
  115. package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +1 -0
  116. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/update-iterable.js +10 -10
  117. package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +1 -0
  118. package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +1 -0
  119. package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +1 -0
  120. package/dist/cjs/collection/iterable-collection/iterable-collection.js +140 -123
  121. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +1 -1
  122. package/dist/cjs/collection/list-collection/list-collection.js +108 -76
  123. package/dist/cjs/collection/list-collection/list-collection.js.map +1 -1
  124. package/dist/cjs/contracts/_module.js +1 -1
  125. package/dist/cjs/contracts/_module.js.map +1 -1
  126. package/dist/cjs/contracts/collection/_module.js.map +1 -1
  127. package/dist/cjs/contracts/collection/_shared.js +1 -1
  128. package/dist/cjs/contracts/collection/_shared.js.map +1 -1
  129. package/dist/esm/{types.js.map → _shared/types.js.map} +1 -1
  130. package/dist/esm/collection/_shared.js.map +1 -1
  131. package/dist/esm/collection/async-iterable-collection/_shared/_module.js +36 -0
  132. package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +1 -0
  133. package/dist/esm/collection/async-iterable-collection/_shared/async-abort-iterable.js.map +1 -0
  134. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  135. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.js +4 -4
  136. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +1 -0
  137. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  138. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.js +4 -4
  139. package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  140. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  141. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.js +7 -1
  142. package/dist/esm/collection/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  143. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.js +5 -4
  144. package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  145. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.js +4 -4
  146. package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  147. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.js +7 -7
  148. package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  149. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.js +4 -4
  150. package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  151. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.js +4 -4
  152. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  153. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.js +4 -4
  154. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  155. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.js +7 -7
  156. package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  157. package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  158. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  159. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  160. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.js +4 -4
  161. package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  162. package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  163. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.js +5 -5
  164. package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  165. package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  166. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.js +5 -5
  167. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  168. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.js +4 -4
  169. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  170. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.js +4 -4
  171. package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  172. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.js +5 -5
  173. package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  174. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.js +4 -4
  175. package/dist/esm/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  176. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.js +5 -5
  177. package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  178. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.js +5 -5
  179. package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  180. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.js +4 -4
  181. package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  182. package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  183. package/dist/esm/collection/async-iterable-collection/_shared/async-timeout-iterable.js.map +1 -0
  184. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.js +3 -3
  185. package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  186. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.js +7 -7
  187. package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  188. package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  189. package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  190. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +124 -112
  191. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  192. package/dist/esm/collection/iterable-collection/_shared/_module.js +33 -0
  193. package/dist/esm/collection/iterable-collection/_shared/_module.js.map +1 -0
  194. package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  195. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/chunk-whilte-iterable.js +7 -7
  196. package/dist/esm/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +1 -0
  197. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  198. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.js +7 -7
  199. package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  200. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  201. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.js +4 -4
  202. package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +1 -0
  203. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/filter-iterable.js +7 -7
  204. package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +1 -0
  205. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.js +7 -7
  206. package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  207. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.js +7 -7
  208. package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  209. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/insert-after-iterable.js +8 -7
  210. package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  211. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/insert-before-iterable.js +8 -7
  212. package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  213. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.js +7 -7
  214. package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +1 -0
  215. package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +1 -0
  216. package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  217. package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  218. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/partion-iterable.js +7 -7
  219. package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +1 -0
  220. package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  221. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.js +5 -5
  222. package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  223. package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  224. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.js +6 -5
  225. package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +1 -0
  226. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/skip-until-iterable.js +7 -7
  227. package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  228. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.js +4 -4
  229. package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +1 -0
  230. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.js +5 -5
  231. package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  232. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.js +4 -4
  233. package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +1 -0
  234. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.js +5 -5
  235. package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +1 -0
  236. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.js +6 -5
  237. package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +1 -0
  238. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/take-until-iterable.js +7 -7
  239. package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  240. package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +1 -0
  241. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.js +4 -4
  242. package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +1 -0
  243. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/update-iterable.js +10 -10
  244. package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +1 -0
  245. package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +1 -0
  246. package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +1 -0
  247. package/dist/esm/collection/iterable-collection/iterable-collection.js +140 -123
  248. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +1 -1
  249. package/dist/esm/collection/list-collection/list-collection.js +108 -76
  250. package/dist/esm/collection/list-collection/list-collection.js.map +1 -1
  251. package/dist/esm/contracts/_module.js +1 -1
  252. package/dist/esm/contracts/_module.js.map +1 -1
  253. package/dist/esm/contracts/collection/_module.js.map +1 -1
  254. package/dist/esm/contracts/collection/_shared.js +1 -1
  255. package/dist/esm/contracts/collection/_shared.js.map +1 -1
  256. package/dist/types/collection/_shared.d.ts +9 -3
  257. package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +35 -0
  258. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.d.ts +3 -3
  259. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.d.ts +2 -2
  260. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.d.ts +2 -2
  261. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.d.ts +3 -3
  262. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.d.ts +3 -3
  263. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.d.ts +2 -2
  264. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.d.ts +3 -3
  265. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.d.ts +3 -3
  266. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.d.ts +3 -3
  267. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.d.ts +3 -3
  268. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.d.ts +2 -2
  269. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.d.ts +2 -2
  270. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.d.ts +3 -3
  271. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.d.ts +2 -2
  272. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.d.ts +2 -2
  273. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.d.ts +2 -2
  274. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.d.ts +2 -2
  275. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.d.ts +2 -2
  276. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.d.ts +3 -3
  277. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.d.ts +2 -2
  278. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.d.ts +4 -4
  279. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +56 -47
  280. package/dist/types/collection/iterable-collection/_shared/_module.d.ts +32 -0
  281. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.d.ts +3 -0
  282. package/dist/types/collection/iterable-collection/_shared/chunk-whilte-iterable.d.ts +12 -0
  283. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.d.ts +3 -0
  284. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.d.ts +6 -3
  285. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.d.ts +3 -0
  286. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.d.ts +5 -2
  287. package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +11 -0
  288. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.d.ts +6 -3
  289. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.d.ts +6 -3
  290. package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +12 -0
  291. package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +12 -0
  292. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.d.ts +6 -3
  293. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.d.ts +3 -0
  294. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.d.ts +3 -0
  295. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.d.ts +3 -0
  296. package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +12 -0
  297. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.d.ts +3 -0
  298. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.d.ts +5 -2
  299. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.d.ts +3 -0
  300. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.d.ts +5 -2
  301. package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +11 -0
  302. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.d.ts +5 -2
  303. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.d.ts +5 -2
  304. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.d.ts +5 -2
  305. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.d.ts +5 -2
  306. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.d.ts +5 -2
  307. package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +11 -0
  308. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.d.ts +3 -0
  309. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.d.ts +5 -2
  310. package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +12 -0
  311. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.d.ts +3 -0
  312. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.d.ts +3 -0
  313. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +55 -46
  314. package/dist/types/collection/list-collection/list-collection.d.ts +55 -47
  315. package/dist/types/contracts/_module.d.ts +1 -1
  316. package/dist/types/contracts/collection/_module.d.ts +3 -0
  317. package/dist/types/contracts/collection/_shared.d.ts +123 -170
  318. package/dist/types/contracts/collection/async-collection.contract.d.ts +608 -188
  319. package/dist/types/contracts/collection/collection.contract.d.ts +548 -159
  320. package/package.json +8 -5
  321. package/.changeset/README.md +0 -8
  322. package/.changeset/config.json +0 -11
  323. package/.eslintignore +0 -3
  324. package/.eslintrc.json +0 -50
  325. package/.gitattributes +0 -6
  326. package/.github/workflows/main.yaml +0 -54
  327. package/.github/workflows/release.yaml +0 -31
  328. package/.prettierignore +0 -4
  329. package/.prettierrc.json +0 -4
  330. package/.vscode/settings.json +0 -46
  331. package/CHANGELOG.md +0 -13
  332. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +0 -1
  333. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +0 -1
  334. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +0 -1
  335. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +0 -1
  336. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +0 -1
  337. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +0 -1
  338. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +0 -1
  339. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +0 -1
  340. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +0 -1
  341. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +0 -1
  342. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +0 -1
  343. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +0 -1
  344. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +0 -1
  345. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +0 -1
  346. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +0 -1
  347. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +0 -1
  348. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +0 -1
  349. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +0 -1
  350. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +0 -1
  351. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +0 -1
  352. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +0 -1
  353. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +0 -1
  354. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +0 -1
  355. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +0 -1
  356. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +0 -1
  357. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +0 -1
  358. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +0 -1
  359. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +0 -1
  360. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +0 -1
  361. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +0 -1
  362. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +0 -1
  363. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +0 -1
  364. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +0 -1
  365. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +0 -1
  366. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +0 -1
  367. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +0 -1
  368. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js +0 -49
  369. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js.map +0 -1
  370. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +0 -1
  371. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +0 -1
  372. package/dist/cjs/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +0 -1
  373. package/dist/cjs/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +0 -1
  374. package/dist/cjs/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +0 -1
  375. package/dist/cjs/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +0 -1
  376. package/dist/cjs/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +0 -1
  377. package/dist/cjs/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +0 -1
  378. package/dist/cjs/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +0 -1
  379. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +0 -1
  380. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +0 -1
  381. package/dist/cjs/collection/iterable-collection/iterable-helpers/map-iterable.js.map +0 -1
  382. package/dist/cjs/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +0 -1
  383. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +0 -1
  384. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +0 -1
  385. package/dist/cjs/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +0 -1
  386. package/dist/cjs/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +0 -1
  387. package/dist/cjs/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +0 -1
  388. package/dist/cjs/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +0 -1
  389. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +0 -1
  390. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +0 -1
  391. package/dist/cjs/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +0 -1
  392. package/dist/cjs/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +0 -1
  393. package/dist/cjs/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +0 -1
  394. package/dist/cjs/collection/iterable-collection/iterable-helpers/split-iterable.js.map +0 -1
  395. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-iterable.js.map +0 -1
  396. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +0 -1
  397. package/dist/cjs/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +0 -1
  398. package/dist/cjs/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +0 -1
  399. package/dist/cjs/collection/iterable-collection/iterable-helpers/update-iterable.js.map +0 -1
  400. package/dist/cjs/collection/iterable-collection/iterable-helpers/when-iterable.js.map +0 -1
  401. package/dist/cjs/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +0 -1
  402. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js +0 -36
  403. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +0 -1
  404. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +0 -1
  405. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +0 -1
  406. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +0 -1
  407. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +0 -1
  408. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +0 -1
  409. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +0 -1
  410. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +0 -1
  411. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +0 -1
  412. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +0 -1
  413. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +0 -1
  414. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +0 -1
  415. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +0 -1
  416. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +0 -1
  417. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +0 -1
  418. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +0 -1
  419. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +0 -1
  420. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +0 -1
  421. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +0 -1
  422. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +0 -1
  423. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +0 -1
  424. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +0 -1
  425. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +0 -1
  426. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +0 -1
  427. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +0 -1
  428. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +0 -1
  429. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +0 -1
  430. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +0 -1
  431. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +0 -1
  432. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +0 -1
  433. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +0 -1
  434. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +0 -1
  435. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +0 -1
  436. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +0 -1
  437. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +0 -1
  438. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +0 -1
  439. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js +0 -33
  440. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js.map +0 -1
  441. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +0 -1
  442. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +0 -1
  443. package/dist/esm/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +0 -1
  444. package/dist/esm/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +0 -1
  445. package/dist/esm/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +0 -1
  446. package/dist/esm/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +0 -1
  447. package/dist/esm/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +0 -1
  448. package/dist/esm/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +0 -1
  449. package/dist/esm/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +0 -1
  450. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +0 -1
  451. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +0 -1
  452. package/dist/esm/collection/iterable-collection/iterable-helpers/map-iterable.js.map +0 -1
  453. package/dist/esm/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +0 -1
  454. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +0 -1
  455. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +0 -1
  456. package/dist/esm/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +0 -1
  457. package/dist/esm/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +0 -1
  458. package/dist/esm/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +0 -1
  459. package/dist/esm/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +0 -1
  460. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +0 -1
  461. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +0 -1
  462. package/dist/esm/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +0 -1
  463. package/dist/esm/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +0 -1
  464. package/dist/esm/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +0 -1
  465. package/dist/esm/collection/iterable-collection/iterable-helpers/split-iterable.js.map +0 -1
  466. package/dist/esm/collection/iterable-collection/iterable-helpers/take-iterable.js.map +0 -1
  467. package/dist/esm/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +0 -1
  468. package/dist/esm/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +0 -1
  469. package/dist/esm/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +0 -1
  470. package/dist/esm/collection/iterable-collection/iterable-helpers/update-iterable.js.map +0 -1
  471. package/dist/esm/collection/iterable-collection/iterable-helpers/when-iterable.js.map +0 -1
  472. package/dist/esm/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +0 -1
  473. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/_module.d.ts +0 -35
  474. package/dist/types/collection/iterable-collection/iterable-helpers/_module.d.ts +0 -32
  475. package/dist/types/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.d.ts +0 -9
  476. package/dist/types/collection/iterable-collection/iterable-helpers/filter-iterable.d.ts +0 -8
  477. package/dist/types/collection/iterable-collection/iterable-helpers/insert-after-iterable.d.ts +0 -9
  478. package/dist/types/collection/iterable-collection/iterable-helpers/insert-before-iterable.d.ts +0 -9
  479. package/dist/types/collection/iterable-collection/iterable-helpers/partion-iterable.d.ts +0 -9
  480. package/dist/types/collection/iterable-collection/iterable-helpers/skip-until-iterable.d.ts +0 -8
  481. package/dist/types/collection/iterable-collection/iterable-helpers/take-until-iterable.d.ts +0 -8
  482. package/dist/types/collection/iterable-collection/iterable-helpers/update-iterable.d.ts +0 -9
  483. package/docs-api/.nojekyll +0 -1
  484. package/docs-api/assets/highlight.css +0 -92
  485. package/docs-api/assets/icons.js +0 -18
  486. package/docs-api/assets/icons.svg +0 -1
  487. package/docs-api/assets/main.js +0 -60
  488. package/docs-api/assets/navigation.js +0 -1
  489. package/docs-api/assets/search.js +0 -1
  490. package/docs-api/assets/style.css +0 -1448
  491. package/docs-api/classes/AsyncIterableCollection.html +0 -437
  492. package/docs-api/classes/CollectionError.html +0 -12
  493. package/docs-api/classes/IndexOverflowError.html +0 -12
  494. package/docs-api/classes/ItemNotFoundError.html +0 -12
  495. package/docs-api/classes/IterableCollection.html +0 -434
  496. package/docs-api/classes/ListCollection.html +0 -434
  497. package/docs-api/classes/MultipleItemsFoundError.html +0 -12
  498. package/docs-api/classes/UnexpectedCollectionError.html +0 -12
  499. package/docs-api/functions/isAsyncIterable.html +0 -1
  500. package/docs-api/functions/isIterable.html +0 -1
  501. package/docs-api/functions/range.html +0 -4
  502. package/docs-api/hierarchy.html +0 -1
  503. package/docs-api/index.html +0 -1
  504. package/docs-api/modules.html +0 -60
  505. package/docs-api/types/AsyncCollapse.html +0 -1
  506. package/docs-api/types/AsyncFilter.html +0 -1
  507. package/docs-api/types/AsyncFilter_.html +0 -1
  508. package/docs-api/types/AsyncFindOrSettings.html +0 -1
  509. package/docs-api/types/AsyncFindSettings.html +0 -1
  510. package/docs-api/types/AsyncForEach.html +0 -1
  511. package/docs-api/types/AsyncForEach_.html +0 -1
  512. package/docs-api/types/AsyncGroupBySettings.html +0 -1
  513. package/docs-api/types/AsyncIterableValue.html +0 -1
  514. package/docs-api/types/AsyncLazyable.html +0 -1
  515. package/docs-api/types/AsyncLazyable_.html +0 -1
  516. package/docs-api/types/AsyncMap.html +0 -1
  517. package/docs-api/types/AsyncMap_.html +0 -1
  518. package/docs-api/types/AsyncModifier.html +0 -1
  519. package/docs-api/types/AsyncModifier_.html +0 -1
  520. package/docs-api/types/AsyncReduce.html +0 -1
  521. package/docs-api/types/AsyncReduceSettings.html +0 -1
  522. package/docs-api/types/AsyncReduce_.html +0 -1
  523. package/docs-api/types/AsyncTap.html +0 -1
  524. package/docs-api/types/AsyncTap_.html +0 -1
  525. package/docs-api/types/AsyncTransform.html +0 -1
  526. package/docs-api/types/AsyncTransform_.html +0 -1
  527. package/docs-api/types/Collapse.html +0 -1
  528. package/docs-api/types/Comparator.html +0 -1
  529. package/docs-api/types/EnsureType.html +0 -1
  530. package/docs-api/types/Filter.html +0 -1
  531. package/docs-api/types/FilterGuard.html +0 -1
  532. package/docs-api/types/Filter_.html +0 -1
  533. package/docs-api/types/FindOrSettings.html +0 -1
  534. package/docs-api/types/FindSettings.html +0 -1
  535. package/docs-api/types/ForEach.html +0 -1
  536. package/docs-api/types/GroupBySettings.html +0 -1
  537. package/docs-api/types/IAsyncCollection.html +0 -357
  538. package/docs-api/types/ICollection.html +0 -357
  539. package/docs-api/types/JoinSettings.html +0 -1
  540. package/docs-api/types/Lazyable.html +0 -1
  541. package/docs-api/types/Map.html +0 -1
  542. package/docs-api/types/Modifier.html +0 -1
  543. package/docs-api/types/PageSettings.html +0 -1
  544. package/docs-api/types/RecordItem.html +0 -1
  545. package/docs-api/types/Reduce.html +0 -1
  546. package/docs-api/types/ReduceSettings.html +0 -1
  547. package/docs-api/types/ReverseSettings.html +0 -1
  548. package/docs-api/types/SliceSettings.html +0 -1
  549. package/docs-api/types/SlidingSettings.html +0 -1
  550. package/docs-api/types/Tap.html +0 -1
  551. package/docs-api/types/Transform.html +0 -1
  552. package/docs-api/types/UpdatedItem.html +0 -1
  553. package/src/_module.ts +0 -2
  554. package/src/collection/_module.ts +0 -4
  555. package/src/collection/_shared.ts +0 -45
  556. package/src/collection/async-iterable-collection/_module.ts +0 -1
  557. package/src/collection/async-iterable-collection/async-iterable-collection.test.ts +0 -3195
  558. package/src/collection/async-iterable-collection/async-iterable-collection.ts +0 -1276
  559. package/src/collection/async-iterable-collection/async-iterable-helpers/_module.ts +0 -35
  560. package/src/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.ts +0 -25
  561. package/src/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.ts +0 -57
  562. package/src/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.ts +0 -54
  563. package/src/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.ts +0 -40
  564. package/src/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.ts +0 -58
  565. package/src/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.ts +0 -69
  566. package/src/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.ts +0 -19
  567. package/src/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.ts +0 -28
  568. package/src/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.ts +0 -42
  569. package/src/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.ts +0 -44
  570. package/src/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.ts +0 -48
  571. package/src/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.ts +0 -57
  572. package/src/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.ts +0 -57
  573. package/src/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.ts +0 -40
  574. package/src/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.ts +0 -35
  575. package/src/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.ts +0 -41
  576. package/src/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.ts +0 -41
  577. package/src/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.ts +0 -63
  578. package/src/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.ts +0 -40
  579. package/src/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.ts +0 -35
  580. package/src/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.ts +0 -23
  581. package/src/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.ts +0 -41
  582. package/src/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.ts +0 -55
  583. package/src/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.ts +0 -33
  584. package/src/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.ts +0 -54
  585. package/src/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.ts +0 -18
  586. package/src/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.ts +0 -64
  587. package/src/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.ts +0 -41
  588. package/src/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.ts +0 -41
  589. package/src/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.ts +0 -34
  590. package/src/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.ts +0 -20
  591. package/src/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.ts +0 -49
  592. package/src/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.ts +0 -64
  593. package/src/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.ts +0 -43
  594. package/src/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.ts +0 -45
  595. package/src/collection/iterable-collection/_module.ts +0 -1
  596. package/src/collection/iterable-collection/iterable-collection.test.ts +0 -2379
  597. package/src/collection/iterable-collection/iterable-collection.ts +0 -1317
  598. package/src/collection/iterable-collection/iterable-helpers/_module.ts +0 -32
  599. package/src/collection/iterable-collection/iterable-helpers/chunk-iterable.ts +0 -49
  600. package/src/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.ts +0 -51
  601. package/src/collection/iterable-collection/iterable-helpers/collapse-iterable.ts +0 -35
  602. package/src/collection/iterable-collection/iterable-helpers/count-by-iterable.ts +0 -49
  603. package/src/collection/iterable-collection/iterable-helpers/cross-join-iterable.ts +0 -57
  604. package/src/collection/iterable-collection/iterable-helpers/entries-iterable.ts +0 -42
  605. package/src/collection/iterable-collection/iterable-helpers/filter-iterable.ts +0 -39
  606. package/src/collection/iterable-collection/iterable-helpers/flat-map-iterable.ts +0 -35
  607. package/src/collection/iterable-collection/iterable-helpers/group-by-iterable.ts +0 -52
  608. package/src/collection/iterable-collection/iterable-helpers/insert-after-iterable.ts +0 -43
  609. package/src/collection/iterable-collection/iterable-helpers/insert-before-iterable.ts +0 -43
  610. package/src/collection/iterable-collection/iterable-helpers/map-iterable.ts +0 -35
  611. package/src/collection/iterable-collection/iterable-helpers/merge-iterable.ts +0 -31
  612. package/src/collection/iterable-collection/iterable-helpers/pad-end-iterable.ts +0 -52
  613. package/src/collection/iterable-collection/iterable-helpers/pad-start-iterable.ts +0 -52
  614. package/src/collection/iterable-collection/iterable-helpers/partion-iterable.ts +0 -46
  615. package/src/collection/iterable-collection/iterable-helpers/repeat-iterable.ts +0 -36
  616. package/src/collection/iterable-collection/iterable-helpers/reverse-iterable.ts +0 -46
  617. package/src/collection/iterable-collection/iterable-helpers/shuffle-iterable.ts +0 -36
  618. package/src/collection/iterable-collection/iterable-helpers/skip-iterable.ts +0 -37
  619. package/src/collection/iterable-collection/iterable-helpers/skip-until-iterable.ts +0 -41
  620. package/src/collection/iterable-collection/iterable-helpers/slice-iterable.ts +0 -47
  621. package/src/collection/iterable-collection/iterable-helpers/sliding-iterable.ts +0 -49
  622. package/src/collection/iterable-collection/iterable-helpers/sort-iterable.ts +0 -29
  623. package/src/collection/iterable-collection/iterable-helpers/split-iterable.ts +0 -58
  624. package/src/collection/iterable-collection/iterable-helpers/take-iterable.ts +0 -37
  625. package/src/collection/iterable-collection/iterable-helpers/take-until-iterable.ts +0 -38
  626. package/src/collection/iterable-collection/iterable-helpers/tap-iterable.ts +0 -31
  627. package/src/collection/iterable-collection/iterable-helpers/unique-iterable.ts +0 -43
  628. package/src/collection/iterable-collection/iterable-helpers/update-iterable.ts +0 -50
  629. package/src/collection/iterable-collection/iterable-helpers/when-iterable.ts +0 -37
  630. package/src/collection/iterable-collection/iterable-helpers/zip-iterable.ts +0 -41
  631. package/src/collection/list-collection/_module.ts +0 -1
  632. package/src/collection/list-collection/list-collection.test.ts +0 -2280
  633. package/src/collection/list-collection/list-collection.ts +0 -1883
  634. package/src/contracts/_module.ts +0 -1
  635. package/src/contracts/collection/_module.ts +0 -3
  636. package/src/contracts/collection/_shared.ts +0 -346
  637. package/src/contracts/collection/async-collection.contract.ts +0 -1028
  638. package/src/contracts/collection/collection.contract.ts +0 -978
  639. package/src/types.ts +0 -2
  640. package/tsconfig.base.json +0 -31
  641. package/tsconfig.cjs.json +0 -12
  642. package/tsconfig.esm.json +0 -12
  643. package/tsconfig.json +0 -10
  644. package/tsconfig.types.json +0 -12
  645. package/vite.config.ts +0 -6
  646. /package/dist/cjs/{types.js → _shared/types.js} +0 -0
  647. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.js +0 -0
  648. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.js +0 -0
  649. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.js +0 -0
  650. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.js +0 -0
  651. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.js +0 -0
  652. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.js +0 -0
  653. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.js +0 -0
  654. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.js +0 -0
  655. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.js +0 -0
  656. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.js +0 -0
  657. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.js +0 -0
  658. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.js +0 -0
  659. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.js +0 -0
  660. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.js +0 -0
  661. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.js +0 -0
  662. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.js +0 -0
  663. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.js +0 -0
  664. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.js +0 -0
  665. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.js +0 -0
  666. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.js +0 -0
  667. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.js +0 -0
  668. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.js +0 -0
  669. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.js +0 -0
  670. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.js +0 -0
  671. /package/dist/esm/{types.js → _shared/types.js} +0 -0
  672. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.js +0 -0
  673. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.js +0 -0
  674. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.js +0 -0
  675. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.js +0 -0
  676. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.js +0 -0
  677. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.js +0 -0
  678. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.js +0 -0
  679. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.js +0 -0
  680. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.js +0 -0
  681. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.js +0 -0
  682. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.js +0 -0
  683. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.js +0 -0
  684. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.js +0 -0
  685. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.js +0 -0
  686. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.js +0 -0
  687. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.js +0 -0
  688. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.js +0 -0
  689. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.js +0 -0
  690. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.js +0 -0
  691. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.js +0 -0
  692. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.js +0 -0
  693. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.js +0 -0
  694. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.js +0 -0
  695. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.js +0 -0
  696. /package/dist/types/{types.d.ts → _shared/types.d.ts} +0 -0
  697. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.d.ts +0 -0
  698. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.d.ts +0 -0
  699. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.d.ts +0 -0
  700. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.d.ts +0 -0
  701. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.d.ts +0 -0
  702. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.d.ts +0 -0
  703. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.d.ts +0 -0
  704. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.d.ts +0 -0
  705. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.d.ts +0 -0
  706. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.d.ts +0 -0
  707. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.d.ts +0 -0
  708. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.d.ts +0 -0
  709. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.d.ts +0 -0
  710. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.d.ts +0 -0
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @daiso-tech/core
2
+
3
+ ## Install
4
+ ```bash
5
+ npm install @daios/core
6
+ ```
7
+
8
+ ## Description
9
+ The library provides modular solutions for the essential features needed in modern web applications. Stop wasting time searching for packages or reinventing the wheel — this framework-agnostic library, built on adaptable components, works well with popular frameworks like Express.js, Fastify, Nest.js, Next.js, Nuxt.js, SvelteKit, and Remix.
10
+
11
+ As of now the library includes:
12
+ * A set of immutable collection classes that simplifies working with iterables and async iterables.
13
+
14
+ In the future the following components will be added:
15
+ * Key value storage adapters that provides a single interface for interacting with different databases.
16
+
17
+ * TTL (Time To Live) Cache adapters that provides a single interface for interacting with different databases.
18
+
19
+ * File storage adapters that provides a single interface for interacting with different filesystems.
20
+
21
+ * A HTTP client built on the web standard Fetch API, featuring a middleware plugin system that includes predefined plugins for retry, timeout, and caching.
22
+
23
+ * Task scheduling adapters that provides a single interface for easily scheduling recuring jobs.
24
+
25
+ * Job queue adapters that provides a single interface for ofloading slow jobs to a background queue.
26
+
27
+ * Notification adapters that provides a single interface for quickly notifications to your users via email, Slack, SMS and in-app.
28
+
29
+ This library is heavily inspired laravel but built in modular way where you can choose which part to use.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/_shared/types.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"_shared.js","sourceRoot":"","sources":["../../../src/collection/_shared.ts"],"names":[],"mappings":";;AAsBA,sBAEC;AAID,gCAMC;AAID,0CAMC;AAzCD,MAAM,aAAa;IAEH;IACA;IAFZ,YACY,IAAY,EACZ,EAAU;QADV,SAAI,GAAJ,IAAI,CAAQ;QACZ,OAAE,GAAF,EAAE,CAAQ;IACnB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;YACxC,MAAM,CAAC,CAAC;QACZ,CAAC;IACL,CAAC;CACJ;AAQD,SAAgB,KAAK,CAAC,IAAY,EAAE,EAAU;IAC1C,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvC,CAAC;AAID,SAAgB,UAAU,CAEtB,KAAU;IAGV,OAAO,OAAO,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC;AACxD,CAAC;AAID,SAAgB,eAAe,CAE3B,KAAU;IAGV,OAAO,OAAO,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,UAAU,CAAC;AAC7D,CAAC"}
1
+ {"version":3,"file":"_shared.js","sourceRoot":"","sources":["../../../src/collection/_shared.ts"],"names":[],"mappings":";;AA2BA,sBAEC;AAMD,gCAMC;AAMD,0CAMC;AA9CD,MAAM,aAAa;IAEH;IACA;IAFZ,YACY,IAAY,EACZ,EAAU;QADV,SAAI,GAAJ,IAAI,CAAQ;QACZ,OAAE,GAAF,EAAE,CAAQ;IACnB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;YACxC,MAAM,CAAC,CAAC;QACZ,CAAC;IACL,CAAC;CACJ;AASD,SAAgB,KAAK,CAAC,IAAY,EAAE,EAAU;IAC1C,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvC,CAAC;AAMD,SAAgB,UAAU,CAEtB,KAAU;IAGV,OAAO,OAAO,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC;AACxD,CAAC;AAMD,SAAgB,eAAe,CAE3B,KAAU;IAGV,OAAO,OAAO,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,UAAU,CAAC;AAC7D,CAAC"}
@@ -14,39 +14,39 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable"), exports);
18
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable"), exports);
19
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable"), exports);
20
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable"), exports);
21
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable"), exports);
22
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable"), exports);
23
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable"), exports);
24
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable"), exports);
25
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable"), exports);
26
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable"), exports);
27
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable"), exports);
28
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-map-iterable"), exports);
29
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable"), exports);
30
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable"), exports);
31
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable"), exports);
32
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable"), exports);
33
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable"), exports);
34
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable"), exports);
35
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable"), exports);
36
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable"), exports);
37
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable"), exports);
38
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable"), exports);
39
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable"), exports);
40
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable"), exports);
41
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-split-iterable"), exports);
42
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-take-iterable"), exports);
43
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable"), exports);
44
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable"), exports);
45
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable"), exports);
46
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-update-iterable"), exports);
47
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-when-iterable"), exports);
48
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable"), exports);
49
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable"), exports);
50
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable"), exports);
51
- __exportStar(require("../../../collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable"), exports);
17
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-chunk-iterable"), exports);
18
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-chunk-whilte-iterable"), exports);
19
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-collapse-iterable"), exports);
20
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-count-by-iterable"), exports);
21
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-cross-join-iterable"), exports);
22
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-entries-iterable"), exports);
23
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-filter-iterable"), exports);
24
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-flat-map-iterable"), exports);
25
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-group-by-iterable"), exports);
26
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-insert-after-iterable"), exports);
27
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-insert-before-iterable"), exports);
28
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-map-iterable"), exports);
29
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-merge-iterable"), exports);
30
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-pad-end-iterable"), exports);
31
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-pad-start-iterable"), exports);
32
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-partion-iterable"), exports);
33
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-repeat-iterable"), exports);
34
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-reverse-iterable"), exports);
35
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-shuffle-iterable"), exports);
36
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-skip-iterable"), exports);
37
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-skip-until-iterable"), exports);
38
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-slice-iterable"), exports);
39
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-sliding-iterable"), exports);
40
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-sort-iterable"), exports);
41
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-split-iterable"), exports);
42
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-take-iterable"), exports);
43
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-take-until-iterable"), exports);
44
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-tap-iterable"), exports);
45
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-unique-iterable"), exports);
46
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-update-iterable"), exports);
47
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-when-iterable"), exports);
48
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-zip-iterable"), exports);
49
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-timeout-iterable"), exports);
50
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-delay-iterable"), exports);
51
+ __exportStar(require("../../../collection/async-iterable-collection/_shared/async-abort-iterable"), exports);
52
52
  //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sGAAoF;AACpF,6GAA2F;AAC3F,yGAAuF;AACvF,yGAAuF;AACvF,2GAAyF;AACzF,wGAAsF;AACtF,uGAAqF;AACrF,yGAAuF;AACvF,yGAAuF;AACvF,6GAA2F;AAC3F,8GAA4F;AAC5F,oGAAkF;AAClF,sGAAoF;AACpF,wGAAsF;AACtF,0GAAwF;AACxF,wGAAsF;AACtF,uGAAqF;AACrF,wGAAsF;AACtF,wGAAsF;AACtF,qGAAmF;AACnF,2GAAyF;AACzF,sGAAoF;AACpF,wGAAsF;AACtF,qGAAmF;AACnF,sGAAoF;AACpF,qGAAmF;AACnF,2GAAyF;AACzF,oGAAkF;AAClF,uGAAqF;AACrF,uGAAqF;AACrF,qGAAmF;AACnF,oGAAkF;AAClF,wGAAsF;AACtF,sGAAoF;AACpF,sGAAoF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-abort-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-abort-iterable.ts"],"names":[],"mappings":";;;AAKA,MAAa,kBAAkB;IAEf;IACA;IAFZ,YACY,UAAoC,EACpC,MAAmB;QADnB,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAa;IAC5B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,UAAU,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE;YACvC,UAAU,GAAG,IAAI,CAAC;QACtB,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YAEvC,IAAI,UAAU,EAAE,CAAC;gBACb,MAAM;YACV,CAAC;YACD,MAAM,IAAI,CAAC;QACf,CAAC;IACL,CAAC;CACJ;AAnBD,gDAmBC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-chunk-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-chunk-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,kBAAkB;IAIf;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,SAAiB,EACjB,cAEqB;QAJrB,eAAU,GAAV,UAAU,CAA0B;QACpC,cAAS,GAAT,SAAS,CAAQ;QACjB,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,KAAK,GAA6B,IAAI,CAAC,cAAc,CACjD,EAAE,CACL,EACD,gBAAgB,GAAG,CAAC,EACpB,gBAAgB,GAAG,IAAI,CAAC;YAC5B,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,gBAAgB,IAAI,IAAI,CAAC,SAAS,CAAC;gBACnC,MAAM,QAAQ,GAAG,gBAAgB,KAAK,CAAC,CAAC;gBACxC,IAAI,CAAC,gBAAgB,IAAI,QAAQ,EAAE,CAAC;oBAChC,MAAM,KAAK,CAAC;oBACZ,KAAK,GAAG,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;gBAC5C,CAAC;gBACD,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC7B,gBAAgB,EAAE,CAAC;gBACnB,gBAAgB,GAAG,KAAK,CAAC;YAC7B,CAAC;YACD,MAAM,OAAO,GAAG,gBAAgB,KAAK,CAAC,CAAC;YACvC,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,KAAK,CAAC;YAChB,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA9CD,gDA8CC"}
@@ -5,18 +5,18 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncChunkWhileIterable {
6
6
  collection;
7
7
  filter;
8
- throwOnNumberLimit;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, filter, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, filter, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
12
  this.filter = filter;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  async *[Symbol.asyncIterator]() {
17
17
  try {
18
18
  let collection = this.makeCollection([]);
19
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
19
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
20
  if (index === 0) {
21
21
  collection = collection.append([item]);
22
22
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-chunk-whilte-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAMwC;AAKxC,MAAa,uBAAuB;IAIpB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,MAAwD,EACxD,oBAA6B,EAC7B,cAEqB;QALrB,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAkD;QACxD,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,UAAU,GACV,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;YACpC,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;oBACd,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC;oBACpD,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC3C,CAAC;qBAAM,CAAC;oBACJ,MAAM,UAAU,CAAC;oBACjB,UAAU,GAAG,IAAI,CAAC,cAAc,CAAS,CAAC,IAAI,CAAC,CAAC,CAAC;gBACrD,CAAC;YACL,CAAC;YACD,MAAM,UAAU,CAAC;QACrB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA1CD,0DA0CC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-collapse-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-collapse-iterable.ts"],"names":[],"mappings":";;;AAAA,kDAAmE;AACnE,4DAKwC;AAKxC,MAAa,qBAAqB;IAGV;IAApB,YAAoB,UAAoC;QAApC,eAAU,GAAV,UAAU,CAA0B;IAAG,CAAC;IAE5D,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,IAAI,IAAA,oBAAU,EAAS,IAAI,CAAC,IAAI,IAAA,yBAAe,EAAS,IAAI,CAAC,EAAE,CAAC;oBAE5D,KAAK,CAAC,CAAC,IAAW,CAAC;gBACvB,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAA6B,CAAC;gBACxC,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA5BD,sDA4BC"}
@@ -5,16 +5,16 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncCountByIterable {
6
6
  collection;
7
7
  callback;
8
- throwOnNumberLimit;
9
- constructor(collection, callback = (item) => item, throwOnNumberLimit) {
8
+ throwOnIndexOverflow;
9
+ constructor(collection, callback = (item) => item, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
11
  this.callback = callback;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
16
  const map = new Map();
17
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
18
18
  const key = await this.callback(item, index, this.collection);
19
19
  if (!map.has(key)) {
20
20
  map.set(key, 0);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-count-by-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-count-by-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAMwC;AAKxC,MAAa,oBAAoB;IAIjB;IACA;IAOA;IATZ,YACY,UAAoC,EACpC,WAIJ,CAAC,IAAI,EAAE,EAAE,CAET,IAAW,EACP,oBAA6B;QAR7B,eAAU,GAAV,UAAU,CAA0B;QACpC,aAAQ,GAAR,QAAQ,CAMD;QACP,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QAGzB,IAAI,CAAC;YACD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAmB,CAAC;YACvC,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC9D,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;oBAChB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBACpB,CAAC;gBACD,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC7B,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;oBACxB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC;gBAC9B,CAAC;YACL,CAAC;YACD,KAAK,CAAC,CAAC,GAAG,CAAC;QACf,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA9CD,oDA8CC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-cross-join-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-cross-join-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,sBAAsB;IAInB;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,SAA+C,EAC/C,cAEqB;QAJrB,eAAU,GAAV,UAAU,CAA0B;QACpC,cAAS,GAAT,SAAS,CAAsC;QAC/C,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QAGzB,IAAI,CAAC;YACD,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAE9B;gBACE,IAAI,CAAC,UAAU;gBACf,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAA8B,CAAC,QAAQ,EAAE,EAAE,CAC5D,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAChC;aACJ,CAAC,CAAC,MAAM,CAAyD;gBAC9D,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oBACf,OAAO,CAAC;yBACH,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACP,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;wBACR,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBACzB,CAAC,CAAC,CACL;yBACA,MAAM,CAIL;wBACE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;wBAC/B,YAAY,EAAE,IAAI,CAAC,cAAc,CAE/B,EAAE,CAAC;qBACR,CAAC,CAAC;gBACX,CAAC;gBACD,YAAY,EAAE,IAAI,CAAC,cAAc,CAE/B,CAAC,IAAI,CAAC,cAAc,CAAqB,EAAE,CAAC,CAAC,CAAC;aACnD,CAAC,CAAC;QACP,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA1DD,wDA0DC"}
@@ -9,9 +9,15 @@ class AsyncDelayIterable {
9
9
  this.timeInMs = timeInMs;
10
10
  }
11
11
  async *[Symbol.asyncIterator]() {
12
+ let isFirstIteration = true;
12
13
  for await (const item of this.collection) {
14
+ if (!isFirstIteration) {
15
+ await new Promise((resolve) => setTimeout(resolve, this.timeInMs));
16
+ }
17
+ if (isFirstIteration) {
18
+ isFirstIteration = false;
19
+ }
13
20
  yield item;
14
- await new Promise((resolve) => setTimeout(resolve, this.timeInMs));
15
21
  }
16
22
  }
17
23
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-delay-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-delay-iterable.ts"],"names":[],"mappings":";;;AAKA,MAAa,kBAAkB;IAEf;IACA;IAFZ,YACY,UAAoC,EACpC,QAAgB;QADhB,eAAU,GAAV,UAAU,CAA0B;QACpC,aAAQ,GAAR,QAAQ,CAAQ;IACzB,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,gBAAgB,GAAG,IAAI,CAAC;QAC5B,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACvC,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACpB,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAC1B,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,CACrC,CAAC;YACN,CAAC;YACD,IAAI,gBAAgB,EAAE,CAAC;gBACnB,gBAAgB,GAAG,KAAK,CAAC;YAC7B,CAAC;YACD,MAAM,IAAI,CAAC;QACf,CAAC;IACL,CAAC;CACJ;AApBD,gDAoBC"}
@@ -4,15 +4,16 @@ exports.AsyncEntriesIterable = void 0;
4
4
  const _shared_1 = require("../../../contracts/collection/_shared");
5
5
  class AsyncEntriesIterable {
6
6
  iterable;
7
- throwOnNumberLimit;
8
- constructor(iterable, throwOnNumberLimit) {
7
+ throwOnIndexOverflow;
8
+ constructor(iterable, throwOnIndexOverflow) {
9
9
  this.iterable = iterable;
10
- this.throwOnNumberLimit = throwOnNumberLimit;
10
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
11
11
  }
12
12
  async *[Symbol.asyncIterator]() {
13
13
  let index = 0;
14
14
  for await (const item of this.iterable) {
15
- if (this.throwOnNumberLimit && index === Number.MAX_SAFE_INTEGER) {
15
+ if (this.throwOnIndexOverflow &&
16
+ index === Number.MAX_SAFE_INTEGER) {
16
17
  throw new _shared_1.IndexOverflowError("Index has overflowed");
17
18
  }
18
19
  yield [index, item];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-entries-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-entries-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAGwC;AAMxC,MAAa,oBAAoB;IAIjB;IACA;IAFZ,YACY,QAAoC,EACpC,oBAA6B;QAD7B,aAAQ,GAAR,QAAQ,CAA4B;QACpC,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACrC,IACI,IAAI,CAAC,oBAAoB;gBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;gBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;YACzD,CAAC;YACD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YACpB,KAAK,EAAE,CAAC;QACZ,CAAC;IACL,CAAC;CACJ;AArBD,oDAqBC"}
@@ -5,15 +5,15 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncFilterIterable {
6
6
  collection;
7
7
  filter;
8
- throwOnNumberLimit;
9
- constructor(collection, filter, throwOnNumberLimit) {
8
+ throwOnIndexOverflow;
9
+ constructor(collection, filter, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
11
  this.filter = filter;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
16
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
17
  if (await this.filter(item, index, this.collection)) {
18
18
  yield item;
19
19
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-filter-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-filter-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,mBAAmB;IAIhB;IACA;IAKA;IAPZ,YACY,UAAoC,EACpC,MAIP,EACO,oBAA6B;QAN7B,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAIb;QACO,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBAClD,MAAM,IAAe,CAAC;gBAC1B,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAnCD,kDAmCC"}
@@ -4,17 +4,17 @@ exports.AsyncFlatMapIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncFlatMapIterable {
6
6
  collection;
7
- map;
8
- throwOnNumberLimit;
9
- constructor(collection, map, throwOnNumberLimit) {
7
+ mapFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, mapFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.map = map;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.mapFn = mapFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
- yield* await this.map(item, index, this.collection);
16
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
+ yield* await this.mapFn(item, index, this.collection);
18
18
  }
19
19
  }
20
20
  catch (error) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-flat-map-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-flat-map-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,oBAAoB;IAIjB;IACA;IAKA;IAPZ,YACY,UAAoC,EACpC,KAIP,EACO,oBAA6B;QAN7B,eAAU,GAAV,UAAU,CAA0B;QACpC,UAAK,GAAL,KAAK,CAIZ;QACO,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1D,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAjCD,oDAiCC"}
@@ -4,17 +4,17 @@ exports.AsyncGroupByIterable = void 0;
4
4
  class AsyncGroupByIterable {
5
5
  collection;
6
6
  callback;
7
- throwOnNumberLimit;
7
+ throwOnIndexOverflow;
8
8
  makeCollection;
9
- constructor(collection, callback = (item) => item, throwOnNumberLimit, makeCollection) {
9
+ constructor(collection, callback = (item) => item, throwOnIndexOverflow, makeCollection) {
10
10
  this.collection = collection;
11
11
  this.callback = callback;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  this.makeCollection = makeCollection;
14
14
  }
15
15
  async *[Symbol.asyncIterator]() {
16
16
  const map = new Map();
17
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
18
18
  const key = await this.callback(item, index, this.collection);
19
19
  let collection = map.get(key);
20
20
  if (collection === undefined) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-group-by-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-group-by-iterable.ts"],"names":[],"mappings":";;;AAUA,MAAa,oBAAoB;IAIjB;IACA;IAOA;IACA;IAVZ,YACY,UAAoC,EACpC,WAIJ,CAAC,IAAI,EAAE,EAAE,CAET,IAAW,EACP,oBAA6B,EAC7B,cAEqB;QAXrB,eAAU,GAAV,UAAU,CAA0B;QACpC,aAAQ,GAAR,QAAQ,CAMD;QACP,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QAGzB,MAAM,GAAG,GAAG,IAAI,GAAG,EAAqC,CAAC;QAEzD,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;YACA,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAC9D,IAAI,UAAU,GAAyC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACpE,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;gBAC3B,UAAU,GAAG,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;gBAC7C,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;YAC7B,CAAC;YAED,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,CAAC,GAAG,CAAC;IACf,CAAC;CACJ;AArCD,oDAqCC"}
@@ -6,18 +6,18 @@ class AsyncInsertAfterIterable {
6
6
  collection;
7
7
  filter;
8
8
  iterable;
9
- throwOnNumberLimit;
10
- constructor(collection, filter, iterable, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, filter, iterable, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
12
  this.filter = filter;
13
13
  this.iterable = iterable;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  async *[Symbol.asyncIterator]() {
17
17
  try {
18
18
  let hasMatched = false, index = 0;
19
19
  for await (const item of this.collection) {
20
- if (this.throwOnNumberLimit &&
20
+ if (this.throwOnIndexOverflow &&
21
21
  index === Number.MAX_SAFE_INTEGER) {
22
22
  throw new _module_1.IndexOverflowError("Index has overflowed");
23
23
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-insert-after-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-insert-after-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAOwC;AAKxC,MAAa,wBAAwB;IAIrB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,MAAwD,EACxD,QAAgD,EAChD,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAkD;QACxD,aAAQ,GAAR,QAAQ,CAAwC;QAChD,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,EAClB,KAAK,GAAG,CAAC,CAAC;YACd,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,IACI,IAAI,CAAC,oBAAoB;oBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;oBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;gBACzD,CAAC;gBACD,MAAM,IAAI,CAAC;gBACX,IACI,CAAC,UAAU;oBACX,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC;oBACC,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACrB,UAAU,GAAG,IAAI,CAAC;gBACtB,CAAC;gBACD,KAAK,EAAE,CAAC;YACZ,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA5CD,4DA4CC"}
@@ -6,18 +6,18 @@ class AsyncInsertBeforeIterable {
6
6
  collection;
7
7
  filter;
8
8
  iterable;
9
- throwOnNumberLimit;
10
- constructor(collection, filter, iterable, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, filter, iterable, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
12
  this.filter = filter;
13
13
  this.iterable = iterable;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  async *[Symbol.asyncIterator]() {
17
17
  try {
18
18
  let hasMatched = false, index = 0;
19
19
  for await (const item of this.collection) {
20
- if (this.throwOnNumberLimit &&
20
+ if (this.throwOnIndexOverflow &&
21
21
  index === Number.MAX_SAFE_INTEGER) {
22
22
  throw new _module_1.IndexOverflowError("Index has overflowed");
23
23
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-insert-before-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-insert-before-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAOwC;AAKxC,MAAa,yBAAyB;IAItB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,MAAwD,EACxD,QAAgD,EAChD,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAkD;QACxD,aAAQ,GAAR,QAAQ,CAAwC;QAChD,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,EAClB,KAAK,GAAG,CAAC,CAAC;YACd,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,IACI,IAAI,CAAC,oBAAoB;oBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;oBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;gBACzD,CAAC;gBACD,IACI,CAAC,UAAU;oBACX,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC;oBACC,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACrB,UAAU,GAAG,IAAI,CAAC;gBACtB,CAAC;gBACD,MAAM,IAAI,CAAC;gBACX,KAAK,EAAE,CAAC;YACZ,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA5CD,8DA4CC"}
@@ -4,17 +4,17 @@ exports.AsyncMapIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncMapIterable {
6
6
  collection;
7
- map;
8
- throwOnNumberLimit;
9
- constructor(collection, map, throwOnNumberLimit) {
7
+ mapFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, mapFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.map = map;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.mapFn = mapFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
- for await (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
- yield this.map(item, index, this.collection);
16
+ for await (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
+ yield this.mapFn(item, index, this.collection);
18
18
  }
19
19
  }
20
20
  catch (error) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-map-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-map-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,gBAAgB;IAIb;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,KAA0D,EAC1D,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAA0B;QACpC,UAAK,GAAL,KAAK,CAAqD;QAC1D,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACnD,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA7BD,4CA6BC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-merge-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-merge-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,kBAAkB;IAIf;IACA;IAFZ,YACY,SAAqC,EACrC,SAAwC;QADxC,cAAS,GAAT,SAAS,CAA4B;QACrC,cAAS,GAAT,SAAS,CAA+B;IACjD,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;YACtB,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAzBD,gDAyBC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-pad-end-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-pad-end-iterable.ts"],"names":[],"mappings":";;;AAQA,MAAa,mBAAmB;IAIhB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,SAAiB,EACjB,SAAwC,EACxC,cAEqB;QALrB,eAAU,GAAV,UAAU,CAA0B;QACpC,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAA+B;QACxC,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5D,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,IAAI,EAAE,CAAC;QAC9C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;QAC9D,IAAI,gBAAgB,GAChB,IAAI,CAAC,cAAc,CAAqB,EAAE,CAAC,CAAC;QAChD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;YAC1C,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;QAChE,CAAC;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;QAC/D,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CACtC,eAAe,CAAC,KAAK,CAAC;YAClB,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,UAAU;SAClB,CAAC,CACL,CAAC;QACF,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7D,KAAK,CAAC,CAAC,gBAAgB,CAAC;IAC5B,CAAC;CACJ;AAhCD,kDAgCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-pad-start-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-pad-start-iterable.ts"],"names":[],"mappings":";;;AAQA,MAAa,qBAAqB;IAIlB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,SAAiB,EACjB,SAAwC,EACxC,cAEqB;QALrB,eAAU,GAAV,UAAU,CAA0B;QACpC,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAA+B;QACxC,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5D,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,IAAI,EAAE,CAAC;QAC9C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;QAC9D,IAAI,gBAAgB,GAChB,IAAI,CAAC,cAAc,CAAqB,EAAE,CAAC,CAAC;QAChD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;YAC1C,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;QAChE,CAAC;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;QAC/D,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CACtC,eAAe,CAAC,KAAK,CAAC;YAClB,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,UAAU;SAClB,CAAC,CACL,CAAC;QACF,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC5D,KAAK,CAAC,CAAC,gBAAgB,CAAC;IAC5B,CAAC;CACJ;AAhCD,sDAgCC"}
@@ -5,19 +5,19 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncPartionIterable {
6
6
  collection;
7
7
  filter;
8
- throwOnNumberLimit;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, filter, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, filter, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
12
  this.filter = filter;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  async *[Symbol.asyncIterator]() {
17
17
  try {
18
18
  let chunkA = this.makeCollection([]), chunkB = this.makeCollection([]), index = 0;
19
19
  for await (const item of this.collection) {
20
- if (this.throwOnNumberLimit &&
20
+ if (this.throwOnIndexOverflow &&
21
21
  index === Number.MAX_SAFE_INTEGER) {
22
22
  throw new _module_1.IndexOverflowError("Index has overflowed");
23
23
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-partion-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-partion-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAOwC;AAKxC,MAAa,oBAAoB;IAIjB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,MAAwD,EACxD,oBAA6B,EAC7B,cAEqB;QALrB,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAkD;QACxD,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,MAAM,GAA6B,IAAI,CAAC,cAAc,CAClD,EAAE,CACL,EACD,MAAM,GAA6B,IAAI,CAAC,cAAc,CAClD,EAAE,CACL,EACD,KAAK,GAAG,CAAC,CAAC;YACd,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,IACI,IAAI,CAAC,oBAAoB;oBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;oBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;gBACzD,CAAC;gBACD,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBAClD,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACnC,CAAC;qBAAM,CAAC;oBACJ,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACnC,CAAC;gBACD,KAAK,EAAE,CAAC;YACZ,CAAC;YACD,MAAM,MAAM,CAAC;YACb,MAAM,MAAM,CAAC;QACjB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAlDD,oDAkDC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-repeat-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-repeat-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,mBAAmB;IAEhB;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,MAAc,EACd,mBAEqB;QAJrB,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAQ;QACd,wBAAmB,GAAnB,mBAAmB,CAEE;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAS,EAAE,CAAC,CAAC;YACtD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;gBACnD,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACpD,CAAC;YACD,KAAK,CAAC,CAAC,UAAU,CAAC;QACtB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA7BD,kDA6BC"}
@@ -4,23 +4,23 @@ exports.AsyncReverseIterable = void 0;
4
4
  class AsyncReverseIterable {
5
5
  collection;
6
6
  chunkSize;
7
- throwOnNumberLimit;
7
+ throwOnIndexOverflow;
8
8
  makeCollection;
9
- constructor(collection, chunkSize, throwOnNumberLimit, makeCollection) {
9
+ constructor(collection, chunkSize, throwOnIndexOverflow, makeCollection) {
10
10
  this.collection = collection;
11
11
  this.chunkSize = chunkSize;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  this.makeCollection = makeCollection;
14
14
  }
15
15
  async *[Symbol.asyncIterator]() {
16
16
  const collection = this.makeCollection([]);
17
17
  yield* await this.collection
18
18
  .chunk(this.chunkSize)
19
- .map(async (item) => this.makeCollection([...(await item.toArray())].reverse()), this.throwOnNumberLimit)
19
+ .map(async (item) => this.makeCollection([...(await item.toArray())].reverse()), this.throwOnIndexOverflow)
20
20
  .reduce({
21
21
  reduceFn: (collection, item) => collection.prepend(item),
22
22
  initialValue: collection,
23
- throwOnNumberLimit: this.throwOnNumberLimit,
23
+ throwOnIndexOverflow: this.throwOnIndexOverflow,
24
24
  });
25
25
  }
26
26
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-reverse-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-reverse-iterable.ts"],"names":[],"mappings":";;;AAQA,MAAa,oBAAoB;IAEjB;IACA;IACA;IACA;IAJZ,YACY,UAAoC,EACpC,SAAiB,EACjB,oBAA6B,EAC7B,cAEqB;QALrB,eAAU,GAAV,UAAU,CAA0B;QACpC,cAAS,GAAT,SAAS,CAAQ;QACjB,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEO;IAC9B,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,UAAU,GACZ,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;QACpC,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,UAAU;aACvB,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;aACrB,GAAG,CACA,KAAK,EAAE,IAAI,EAAE,EAAE,CACX,IAAI,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,EAC9D,IAAI,CAAC,oBAAoB,CAC5B;aACA,MAAM,CAAC;YACJ,QAAQ,EAAE,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;YACxD,YAAY,EAAE,UAAU;YACxB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;SAClD,CAAC,CAAC;IACX,CAAC;CACJ;AA1BD,oDA0BC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-shuffle-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-shuffle-iterable.ts"],"names":[],"mappings":";;;AAKA,MAAa,oBAAoB;IACT;IAApB,YAAoB,UAAoC;QAApC,eAAU,GAAV,UAAU,CAA0B;IAAG,CAAC;IAE5D,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,MAAM,QAAQ,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QACxD,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC9C,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;YACzB,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC5B,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;YAC9B,CAAC;YACD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrB,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACvB,CAAC;QACL,CAAC;QACD,KAAK,CAAC,CAAC,QAAQ,CAAC;IACpB,CAAC;CACJ;AAjBD,oDAiBC"}
@@ -5,20 +5,20 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncSkipIterable {
6
6
  collection;
7
7
  limit;
8
- throwOnNumberLimit;
9
- constructor(collection, limit, throwOnNumberLimit) {
8
+ throwOnIndexOverflow;
9
+ constructor(collection, limit, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
11
  this.limit = limit;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
16
  if (this.limit < 0) {
17
17
  this.limit =
18
- (await this.collection.size(this.throwOnNumberLimit)) +
18
+ (await this.collection.size(this.throwOnIndexOverflow)) +
19
19
  this.limit;
20
20
  }
21
- yield* this.collection.skipWhile((_item, index) => index < this.limit, this.throwOnNumberLimit);
21
+ yield* this.collection.skipWhile((_item, index) => index < this.limit, this.throwOnIndexOverflow);
22
22
  }
23
23
  catch (error) {
24
24
  if (error instanceof _module_1.CollectionError ||
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-skip-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-skip-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,iBAAiB;IAEd;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,KAAa,EACb,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAA0B;QACpC,UAAK,GAAL,KAAK,CAAQ;QACb,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC;gBACjB,IAAI,CAAC,KAAK;oBACN,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;wBACvD,IAAI,CAAC,KAAK,CAAC;YACnB,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAC5B,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EACpC,IAAI,CAAC,oBAAoB,CAC5B,CAAC;QACN,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA/BD,8CA+BC"}
@@ -5,17 +5,17 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class AsyncSkipUntilIterable {
6
6
  collection;
7
7
  filter;
8
- throwOnNumberLimit;
9
- constructor(collection, filter, throwOnNumberLimit) {
8
+ throwOnIndexOverflow;
9
+ constructor(collection, filter, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
11
  this.filter = filter;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  async *[Symbol.asyncIterator]() {
15
15
  try {
16
16
  let hasMatched = false, index = 0;
17
17
  for await (const item of this.collection) {
18
- if (this.throwOnNumberLimit &&
18
+ if (this.throwOnIndexOverflow &&
19
19
  index === Number.MAX_SAFE_INTEGER) {
20
20
  throw new _module_1.IndexOverflowError("Index has overflowed");
21
21
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-skip-until-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/async-iterable-collection/_shared/async-skip-until-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAMwC;AAKxC,MAAa,sBAAsB;IAEnB;IACA;IACA;IAHZ,YACY,UAAoC,EACpC,MAAwD,EACxD,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAA0B;QACpC,WAAM,GAAN,MAAM,CAAkD;QACxD,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;QACzB,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,EAClB,KAAK,GAAG,CAAC,CAAC;YACd,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACvC,IACI,IAAI,CAAC,oBAAoB;oBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;oBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;gBACzD,CAAC;gBACD,IAAI,CAAC,UAAU,EAAE,CAAC;oBACd,UAAU,GAAG,MAAM,IAAI,CAAC,MAAM,CAC1B,IAAI,EACJ,KAAK,EACL,IAAI,CAAC,UAAU,CAClB,CAAC;gBACN,CAAC;gBACD,IAAI,UAAU,EAAE,CAAC;oBACb,MAAM,IAAI,CAAC;gBACf,CAAC;gBACD,KAAK,EAAE,CAAC;YACZ,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA3CD,wDA2CC"}