iter-fest 0.1.1-main.c619924 → 0.1.1-main.cc53108

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 (469) hide show
  1. package/README.md +212 -33
  2. package/dist/chunk-2DE3J4J7.mjs +35 -0
  3. package/dist/chunk-2DE3J4J7.mjs.map +1 -0
  4. package/dist/chunk-3S6LCGE6.mjs +10 -0
  5. package/dist/chunk-3S6LCGE6.mjs.map +1 -0
  6. package/dist/chunk-4RT2FROS.mjs +10 -0
  7. package/dist/chunk-4RT2FROS.mjs.map +1 -0
  8. package/dist/chunk-4ZBMXHD6.mjs +10 -0
  9. package/dist/chunk-4ZBMXHD6.mjs.map +1 -0
  10. package/dist/{chunk-UIEKIMLW.mjs → chunk-AN54W42O.mjs} +8 -5
  11. package/dist/chunk-AN54W42O.mjs.map +1 -0
  12. package/dist/chunk-ANRVAYLW.mjs +35 -0
  13. package/dist/chunk-ANRVAYLW.mjs.map +1 -0
  14. package/dist/chunk-AOZVPHE4.mjs +10 -0
  15. package/dist/chunk-AOZVPHE4.mjs.map +1 -0
  16. package/dist/chunk-BSAPKNNZ.mjs +16 -0
  17. package/dist/chunk-BSAPKNNZ.mjs.map +1 -0
  18. package/dist/chunk-BWMXKULC.mjs +46 -0
  19. package/dist/chunk-BWMXKULC.mjs.map +1 -0
  20. package/dist/chunk-CNCNQPK3.mjs +16 -0
  21. package/dist/chunk-CNCNQPK3.mjs.map +1 -0
  22. package/dist/chunk-CNKIGQUS.mjs +10 -0
  23. package/dist/chunk-CNKIGQUS.mjs.map +1 -0
  24. package/dist/chunk-EIIP7YWB.mjs +27 -0
  25. package/dist/chunk-EIIP7YWB.mjs.map +1 -0
  26. package/dist/{chunk-KONB7TV6.mjs → chunk-EQZQP6GW.mjs} +8 -5
  27. package/dist/chunk-EQZQP6GW.mjs.map +1 -0
  28. package/dist/chunk-EUVK4YM7.mjs +25 -0
  29. package/dist/chunk-EUVK4YM7.mjs.map +1 -0
  30. package/dist/chunk-FBST4AUL.mjs +10 -0
  31. package/dist/chunk-FBST4AUL.mjs.map +1 -0
  32. package/dist/chunk-FEEBFWAI.mjs +24 -0
  33. package/dist/chunk-FEEBFWAI.mjs.map +1 -0
  34. package/dist/chunk-FMIHIL6A.mjs +10 -0
  35. package/dist/chunk-FMIHIL6A.mjs.map +1 -0
  36. package/dist/chunk-GFJGWVES.mjs +10 -0
  37. package/dist/chunk-GFJGWVES.mjs.map +1 -0
  38. package/dist/{chunk-27NJVC7K.mjs → chunk-H27CTQGV.mjs} +8 -5
  39. package/dist/chunk-H27CTQGV.mjs.map +1 -0
  40. package/dist/{chunk-MDBK7ND5.mjs → chunk-H5ARVU55.mjs} +8 -5
  41. package/dist/chunk-H5ARVU55.mjs.map +1 -0
  42. package/dist/{chunk-WKIRSZXX.mjs → chunk-IZXDQ25M.mjs} +8 -5
  43. package/dist/chunk-IZXDQ25M.mjs.map +1 -0
  44. package/dist/chunk-J3FQSENW.mjs +10 -0
  45. package/dist/chunk-J3FQSENW.mjs.map +1 -0
  46. package/dist/chunk-K4RCFPTZ.mjs +10 -0
  47. package/dist/chunk-K4RCFPTZ.mjs.map +1 -0
  48. package/dist/chunk-KYMTQJIJ.mjs +10 -0
  49. package/dist/chunk-KYMTQJIJ.mjs.map +1 -0
  50. package/dist/chunk-LB3MK3EU.mjs +10 -0
  51. package/dist/chunk-LB3MK3EU.mjs.map +1 -0
  52. package/dist/chunk-LIMQXDFK.mjs +10 -0
  53. package/dist/chunk-LIMQXDFK.mjs.map +1 -0
  54. package/dist/chunk-MO7HMLOZ.mjs +24 -0
  55. package/dist/chunk-MO7HMLOZ.mjs.map +1 -0
  56. package/dist/chunk-MYSNSDM7.mjs +13 -0
  57. package/dist/chunk-MYSNSDM7.mjs.map +1 -0
  58. package/dist/chunk-NZRXO7EY.mjs +24 -0
  59. package/dist/chunk-NZRXO7EY.mjs.map +1 -0
  60. package/dist/chunk-OCK7PKGO.mjs +23 -0
  61. package/dist/chunk-OCK7PKGO.mjs.map +1 -0
  62. package/dist/chunk-ODPKEUIR.mjs +10 -0
  63. package/dist/chunk-ODPKEUIR.mjs.map +1 -0
  64. package/dist/chunk-OWUGLCQB.mjs +10 -0
  65. package/dist/chunk-OWUGLCQB.mjs.map +1 -0
  66. package/dist/chunk-P4OSZLEH.mjs +15 -0
  67. package/dist/chunk-P4OSZLEH.mjs.map +1 -0
  68. package/dist/chunk-PGJSIDLV.mjs +25 -0
  69. package/dist/chunk-PGJSIDLV.mjs.map +1 -0
  70. package/dist/chunk-QLVU73KN.mjs +10 -0
  71. package/dist/chunk-QLVU73KN.mjs.map +1 -0
  72. package/dist/chunk-R6SXIXMH.mjs +10 -0
  73. package/dist/chunk-R6SXIXMH.mjs.map +1 -0
  74. package/dist/chunk-TDHR35S7.mjs +10 -0
  75. package/dist/chunk-TDHR35S7.mjs.map +1 -0
  76. package/dist/chunk-TQCZXEK7.mjs +10 -0
  77. package/dist/chunk-TQCZXEK7.mjs.map +1 -0
  78. package/dist/chunk-VCKLUCOT.mjs +10 -0
  79. package/dist/chunk-VCKLUCOT.mjs.map +1 -0
  80. package/dist/chunk-VIMGYUMQ.mjs +10 -0
  81. package/dist/chunk-VIMGYUMQ.mjs.map +1 -0
  82. package/dist/chunk-WUFMEPOM.mjs +10 -0
  83. package/dist/chunk-WUFMEPOM.mjs.map +1 -0
  84. package/dist/chunk-XQDGXAAF.mjs +10 -0
  85. package/dist/chunk-XQDGXAAF.mjs.map +1 -0
  86. package/dist/chunk-YJSIVBF7.mjs +22 -0
  87. package/dist/chunk-YJSIVBF7.mjs.map +1 -0
  88. package/dist/chunk-YLERARWI.mjs +10 -0
  89. package/dist/chunk-YLERARWI.mjs.map +1 -0
  90. package/dist/iter-fest.asyncGeneratorWithLastValue.d.mts +6 -0
  91. package/dist/iter-fest.asyncGeneratorWithLastValue.d.ts +6 -0
  92. package/dist/iter-fest.asyncGeneratorWithLastValue.js +59 -0
  93. package/dist/iter-fest.asyncGeneratorWithLastValue.js.map +1 -0
  94. package/dist/iter-fest.asyncGeneratorWithLastValue.mjs +7 -0
  95. package/dist/iter-fest.asyncIteratorDrop.d.mts +12 -0
  96. package/dist/iter-fest.asyncIteratorDrop.d.ts +12 -0
  97. package/dist/iter-fest.asyncIteratorDrop.js +44 -0
  98. package/dist/iter-fest.asyncIteratorDrop.js.map +1 -0
  99. package/dist/iter-fest.asyncIteratorDrop.mjs +7 -0
  100. package/dist/iter-fest.asyncIteratorEvery.d.mts +25 -0
  101. package/dist/iter-fest.asyncIteratorEvery.d.ts +25 -0
  102. package/dist/iter-fest.asyncIteratorEvery.js +44 -0
  103. package/dist/iter-fest.asyncIteratorEvery.js.map +1 -0
  104. package/dist/iter-fest.asyncIteratorEvery.mjs +7 -0
  105. package/dist/iter-fest.asyncIteratorFilter.d.mts +18 -0
  106. package/dist/iter-fest.asyncIteratorFilter.d.ts +18 -0
  107. package/dist/iter-fest.asyncIteratorFilter.js +44 -0
  108. package/dist/iter-fest.asyncIteratorFilter.js.map +1 -0
  109. package/dist/iter-fest.asyncIteratorFilter.mjs +7 -0
  110. package/dist/iter-fest.asyncIteratorFind.d.mts +14 -0
  111. package/dist/iter-fest.asyncIteratorFind.d.ts +14 -0
  112. package/dist/iter-fest.asyncIteratorFind.js +44 -0
  113. package/dist/iter-fest.asyncIteratorFind.js.map +1 -0
  114. package/dist/iter-fest.asyncIteratorFind.mjs +7 -0
  115. package/dist/iter-fest.asyncIteratorFlatMap.d.mts +12 -0
  116. package/dist/iter-fest.asyncIteratorFlatMap.d.ts +12 -0
  117. package/dist/iter-fest.asyncIteratorFlatMap.js +44 -0
  118. package/dist/iter-fest.asyncIteratorFlatMap.js.map +1 -0
  119. package/dist/iter-fest.asyncIteratorFlatMap.mjs +7 -0
  120. package/dist/iter-fest.asyncIteratorForEach.d.mts +10 -0
  121. package/dist/iter-fest.asyncIteratorForEach.d.ts +10 -0
  122. package/dist/iter-fest.asyncIteratorForEach.js +44 -0
  123. package/dist/iter-fest.asyncIteratorForEach.js.map +1 -0
  124. package/dist/iter-fest.asyncIteratorForEach.mjs +7 -0
  125. package/dist/iter-fest.asyncIteratorMap.d.mts +10 -0
  126. package/dist/iter-fest.asyncIteratorMap.d.ts +10 -0
  127. package/dist/iter-fest.asyncIteratorMap.js +44 -0
  128. package/dist/iter-fest.asyncIteratorMap.js.map +1 -0
  129. package/dist/iter-fest.asyncIteratorMap.mjs +7 -0
  130. package/dist/iter-fest.asyncIteratorReduce.d.mts +23 -0
  131. package/dist/iter-fest.asyncIteratorReduce.d.ts +23 -0
  132. package/dist/iter-fest.asyncIteratorReduce.js +44 -0
  133. package/dist/iter-fest.asyncIteratorReduce.js.map +1 -0
  134. package/dist/iter-fest.asyncIteratorReduce.mjs +7 -0
  135. package/dist/iter-fest.asyncIteratorSome.d.mts +10 -0
  136. package/dist/iter-fest.asyncIteratorSome.d.ts +10 -0
  137. package/dist/iter-fest.asyncIteratorSome.js +44 -0
  138. package/dist/iter-fest.asyncIteratorSome.js.map +1 -0
  139. package/dist/iter-fest.asyncIteratorSome.mjs +7 -0
  140. package/dist/iter-fest.asyncIteratorTake.d.mts +12 -0
  141. package/dist/iter-fest.asyncIteratorTake.d.ts +12 -0
  142. package/dist/iter-fest.asyncIteratorTake.js +44 -0
  143. package/dist/iter-fest.asyncIteratorTake.js.map +1 -0
  144. package/dist/iter-fest.asyncIteratorTake.mjs +7 -0
  145. package/dist/iter-fest.asyncIteratorToArray.d.mts +13 -0
  146. package/dist/iter-fest.asyncIteratorToArray.d.ts +13 -0
  147. package/dist/iter-fest.asyncIteratorToArray.js +44 -0
  148. package/dist/iter-fest.asyncIteratorToArray.js.map +1 -0
  149. package/dist/iter-fest.asyncIteratorToArray.mjs +7 -0
  150. package/dist/iter-fest.asyncIteratorToAsyncIterable.d.mts +3 -0
  151. package/dist/iter-fest.asyncIteratorToAsyncIterable.d.ts +3 -0
  152. package/dist/{iter-fest.iterableConcat.js → iter-fest.asyncIteratorToAsyncIterable.js} +15 -16
  153. package/dist/iter-fest.asyncIteratorToAsyncIterable.js.map +1 -0
  154. package/dist/iter-fest.asyncIteratorToAsyncIterable.mjs +7 -0
  155. package/dist/iter-fest.d.mts +44 -21
  156. package/dist/iter-fest.d.ts +44 -21
  157. package/dist/iter-fest.generatorWithLastValue.d.mts +6 -0
  158. package/dist/iter-fest.generatorWithLastValue.d.ts +6 -0
  159. package/dist/iter-fest.generatorWithLastValue.js +59 -0
  160. package/dist/iter-fest.generatorWithLastValue.js.map +1 -0
  161. package/dist/iter-fest.generatorWithLastValue.mjs +7 -0
  162. package/dist/iter-fest.iterableWritableStream.d.mts +7 -0
  163. package/dist/iter-fest.iterableWritableStream.d.ts +7 -0
  164. package/dist/{iter-fest.observableValues.js → iter-fest.iterableWritableStream.js} +39 -57
  165. package/dist/iter-fest.iterableWritableStream.js.map +1 -0
  166. package/dist/iter-fest.iterableWritableStream.mjs +7 -0
  167. package/dist/{iter-fest.iterableAt.d.ts → iter-fest.iteratorAt.d.mts} +2 -2
  168. package/dist/{iter-fest.iterableAt.d.mts → iter-fest.iteratorAt.d.ts} +2 -2
  169. package/dist/{iter-fest.iterableAt.js → iter-fest.iteratorAt.js} +21 -10
  170. package/dist/iter-fest.iteratorAt.js.map +1 -0
  171. package/dist/iter-fest.iteratorAt.mjs +9 -0
  172. package/dist/iter-fest.iteratorConcat.d.mts +16 -0
  173. package/dist/iter-fest.iteratorConcat.d.ts +16 -0
  174. package/dist/iter-fest.iteratorConcat.js +56 -0
  175. package/dist/iter-fest.iteratorConcat.js.map +1 -0
  176. package/dist/iter-fest.iteratorConcat.mjs +8 -0
  177. package/dist/iter-fest.iteratorDrop.d.mts +12 -0
  178. package/dist/iter-fest.iteratorDrop.d.ts +12 -0
  179. package/dist/iter-fest.iteratorDrop.js +44 -0
  180. package/dist/iter-fest.iteratorDrop.js.map +1 -0
  181. package/dist/iter-fest.iteratorDrop.mjs +7 -0
  182. package/dist/iter-fest.iteratorEntries.d.mts +6 -0
  183. package/dist/iter-fest.iteratorEntries.d.ts +6 -0
  184. package/dist/{iter-fest.iterableEntries.js → iter-fest.iteratorEntries.js} +22 -9
  185. package/dist/iter-fest.iteratorEntries.js.map +1 -0
  186. package/dist/iter-fest.iteratorEntries.mjs +8 -0
  187. package/dist/iter-fest.iteratorEvery.d.mts +25 -0
  188. package/dist/iter-fest.iteratorEvery.d.ts +25 -0
  189. package/dist/iter-fest.iteratorEvery.js +44 -0
  190. package/dist/iter-fest.iteratorEvery.js.map +1 -0
  191. package/dist/iter-fest.iteratorEvery.mjs +7 -0
  192. package/dist/iter-fest.iteratorFilter.d.mts +18 -0
  193. package/dist/iter-fest.iteratorFilter.d.ts +18 -0
  194. package/dist/iter-fest.iteratorFilter.js +44 -0
  195. package/dist/iter-fest.iteratorFilter.js.map +1 -0
  196. package/dist/iter-fest.iteratorFilter.mjs +7 -0
  197. package/dist/iter-fest.iteratorFind.d.mts +14 -0
  198. package/dist/iter-fest.iteratorFind.d.ts +14 -0
  199. package/dist/iter-fest.iteratorFind.js +44 -0
  200. package/dist/iter-fest.iteratorFind.js.map +1 -0
  201. package/dist/iter-fest.iteratorFind.mjs +7 -0
  202. package/dist/iter-fest.iteratorFind.mjs.map +1 -0
  203. package/dist/{iter-fest.iterableFindIndex.d.mts → iter-fest.iteratorFindIndex.d.mts} +4 -4
  204. package/dist/{iter-fest.iterableFindIndex.d.ts → iter-fest.iteratorFindIndex.d.ts} +4 -4
  205. package/dist/{iter-fest.iterableFindIndex.js → iter-fest.iteratorFindIndex.js} +23 -10
  206. package/dist/iter-fest.iteratorFindIndex.js.map +1 -0
  207. package/dist/iter-fest.iteratorFindIndex.mjs +8 -0
  208. package/dist/iter-fest.iteratorFindIndex.mjs.map +1 -0
  209. package/dist/{iter-fest.iterableFindLast.d.mts → iter-fest.iteratorFindLast.d.mts} +5 -5
  210. package/dist/{iter-fest.iterableFindLast.d.ts → iter-fest.iteratorFindLast.d.ts} +5 -5
  211. package/dist/{iter-fest.iterableFindLast.js → iter-fest.iteratorFindLast.js} +23 -10
  212. package/dist/iter-fest.iteratorFindLast.js.map +1 -0
  213. package/dist/iter-fest.iteratorFindLast.mjs +8 -0
  214. package/dist/iter-fest.iteratorFindLast.mjs.map +1 -0
  215. package/dist/{iter-fest.iterableFindLastIndex.d.mts → iter-fest.iteratorFindLastIndex.d.mts} +4 -4
  216. package/dist/{iter-fest.iterableFindLastIndex.d.ts → iter-fest.iteratorFindLastIndex.d.ts} +4 -4
  217. package/dist/{iter-fest.iterableFindLastIndex.js → iter-fest.iteratorFindLastIndex.js} +23 -10
  218. package/dist/iter-fest.iteratorFindLastIndex.js.map +1 -0
  219. package/dist/iter-fest.iteratorFindLastIndex.mjs +8 -0
  220. package/dist/iter-fest.iteratorFindLastIndex.mjs.map +1 -0
  221. package/dist/iter-fest.iteratorFlatMap.d.mts +12 -0
  222. package/dist/iter-fest.iteratorFlatMap.d.ts +12 -0
  223. package/dist/iter-fest.iteratorFlatMap.js +44 -0
  224. package/dist/iter-fest.iteratorFlatMap.js.map +1 -0
  225. package/dist/iter-fest.iteratorFlatMap.mjs +7 -0
  226. package/dist/iter-fest.iteratorFlatMap.mjs.map +1 -0
  227. package/dist/iter-fest.iteratorForEach.d.mts +10 -0
  228. package/dist/iter-fest.iteratorForEach.d.ts +10 -0
  229. package/dist/iter-fest.iteratorForEach.js +44 -0
  230. package/dist/iter-fest.iteratorForEach.js.map +1 -0
  231. package/dist/iter-fest.iteratorForEach.mjs +7 -0
  232. package/dist/iter-fest.iteratorForEach.mjs.map +1 -0
  233. package/dist/iter-fest.iteratorFrom.d.mts +12 -0
  234. package/dist/iter-fest.iteratorFrom.d.ts +12 -0
  235. package/dist/iter-fest.iteratorFrom.js +44 -0
  236. package/dist/iter-fest.iteratorFrom.js.map +1 -0
  237. package/dist/iter-fest.iteratorFrom.mjs +7 -0
  238. package/dist/iter-fest.iteratorFrom.mjs.map +1 -0
  239. package/dist/iter-fest.iteratorIncludes.d.mts +9 -0
  240. package/dist/iter-fest.iteratorIncludes.d.ts +9 -0
  241. package/dist/{iter-fest.iterableIncludes.js → iter-fest.iteratorIncludes.js} +21 -10
  242. package/dist/iter-fest.iteratorIncludes.js.map +1 -0
  243. package/dist/iter-fest.iteratorIncludes.mjs +9 -0
  244. package/dist/iter-fest.iteratorIncludes.mjs.map +1 -0
  245. package/dist/iter-fest.iteratorIndexOf.d.mts +9 -0
  246. package/dist/iter-fest.iteratorIndexOf.d.ts +9 -0
  247. package/dist/{iter-fest.iterableIndexOf.js → iter-fest.iteratorIndexOf.js} +21 -10
  248. package/dist/iter-fest.iteratorIndexOf.js.map +1 -0
  249. package/dist/iter-fest.iteratorIndexOf.mjs +9 -0
  250. package/dist/iter-fest.iteratorIndexOf.mjs.map +1 -0
  251. package/dist/iter-fest.iteratorJoin.d.mts +8 -0
  252. package/dist/iter-fest.iteratorJoin.d.ts +8 -0
  253. package/dist/{iter-fest.iterableToString.js → iter-fest.iteratorJoin.js} +21 -15
  254. package/dist/iter-fest.iteratorJoin.js.map +1 -0
  255. package/dist/iter-fest.iteratorJoin.mjs +8 -0
  256. package/dist/iter-fest.iteratorJoin.mjs.map +1 -0
  257. package/dist/iter-fest.iteratorKeys.d.mts +6 -0
  258. package/dist/iter-fest.iteratorKeys.d.ts +6 -0
  259. package/dist/{iter-fest.iterableKeys.js → iter-fest.iteratorKeys.js} +22 -9
  260. package/dist/iter-fest.iteratorKeys.js.map +1 -0
  261. package/dist/iter-fest.iteratorKeys.mjs +8 -0
  262. package/dist/iter-fest.iteratorKeys.mjs.map +1 -0
  263. package/dist/iter-fest.iteratorMap.d.mts +10 -0
  264. package/dist/iter-fest.iteratorMap.d.ts +10 -0
  265. package/dist/iter-fest.iteratorMap.js +44 -0
  266. package/dist/iter-fest.iteratorMap.js.map +1 -0
  267. package/dist/iter-fest.iteratorMap.mjs +7 -0
  268. package/dist/iter-fest.iteratorMap.mjs.map +1 -0
  269. package/dist/{iter-fest.iterableReduce.d.mts → iter-fest.iteratorReduce.d.mts} +13 -9
  270. package/dist/{iter-fest.iterableReduce.d.ts → iter-fest.iteratorReduce.d.ts} +13 -9
  271. package/dist/iter-fest.iteratorReduce.js +44 -0
  272. package/dist/iter-fest.iteratorReduce.js.map +1 -0
  273. package/dist/iter-fest.iteratorReduce.mjs +7 -0
  274. package/dist/iter-fest.iteratorReduce.mjs.map +1 -0
  275. package/dist/{iter-fest.iterableSlice.d.mts → iter-fest.iteratorSlice.d.mts} +8 -8
  276. package/dist/{iter-fest.iterableSlice.d.ts → iter-fest.iteratorSlice.d.ts} +8 -8
  277. package/dist/{iter-fest.iterableSlice.js → iter-fest.iteratorSlice.js} +21 -10
  278. package/dist/iter-fest.iteratorSlice.js.map +1 -0
  279. package/dist/iter-fest.iteratorSlice.mjs +9 -0
  280. package/dist/iter-fest.iteratorSlice.mjs.map +1 -0
  281. package/dist/iter-fest.iteratorSome.d.mts +10 -0
  282. package/dist/iter-fest.iteratorSome.d.ts +10 -0
  283. package/dist/iter-fest.iteratorSome.js +44 -0
  284. package/dist/iter-fest.iteratorSome.js.map +1 -0
  285. package/dist/iter-fest.iteratorSome.mjs +7 -0
  286. package/dist/iter-fest.iteratorSome.mjs.map +1 -0
  287. package/dist/iter-fest.iteratorTake.d.mts +12 -0
  288. package/dist/iter-fest.iteratorTake.d.ts +12 -0
  289. package/dist/iter-fest.iteratorTake.js +44 -0
  290. package/dist/iter-fest.iteratorTake.js.map +1 -0
  291. package/dist/iter-fest.iteratorTake.mjs +7 -0
  292. package/dist/iter-fest.iteratorTake.mjs.map +1 -0
  293. package/dist/iter-fest.iteratorToArray.d.mts +13 -0
  294. package/dist/iter-fest.iteratorToArray.d.ts +13 -0
  295. package/dist/iter-fest.iteratorToArray.js +44 -0
  296. package/dist/iter-fest.iteratorToArray.js.map +1 -0
  297. package/dist/iter-fest.iteratorToArray.mjs +7 -0
  298. package/dist/iter-fest.iteratorToArray.mjs.map +1 -0
  299. package/dist/iter-fest.iteratorToAsync.d.mts +10 -0
  300. package/dist/iter-fest.iteratorToAsync.d.ts +10 -0
  301. package/dist/iter-fest.iteratorToAsync.js +44 -0
  302. package/dist/iter-fest.iteratorToAsync.js.map +1 -0
  303. package/dist/iter-fest.iteratorToAsync.mjs +7 -0
  304. package/dist/iter-fest.iteratorToAsync.mjs.map +1 -0
  305. package/dist/{iter-fest.iterableToSpliced.d.mts → iter-fest.iteratorToSpliced.d.mts} +3 -3
  306. package/dist/{iter-fest.iterableToSpliced.d.ts → iter-fest.iteratorToSpliced.d.ts} +3 -3
  307. package/dist/{iter-fest.iterableToSpliced.js → iter-fest.iteratorToSpliced.js} +21 -10
  308. package/dist/iter-fest.iteratorToSpliced.js.map +1 -0
  309. package/dist/iter-fest.iteratorToSpliced.mjs +9 -0
  310. package/dist/iter-fest.iteratorToSpliced.mjs.map +1 -0
  311. package/dist/iter-fest.iteratorToString.d.mts +6 -0
  312. package/dist/iter-fest.iteratorToString.d.ts +6 -0
  313. package/dist/{iter-fest.iterableJoin.js → iter-fest.iteratorToString.js} +27 -9
  314. package/dist/iter-fest.iteratorToString.js.map +1 -0
  315. package/dist/iter-fest.iteratorToString.mjs +9 -0
  316. package/dist/iter-fest.iteratorToString.mjs.map +1 -0
  317. package/dist/iter-fest.js +442 -227
  318. package/dist/iter-fest.js.map +1 -1
  319. package/dist/iter-fest.mjs +162 -70
  320. package/dist/{iter-fest.observableValues.d.mts → iter-fest.observableSubscribeAsReadable.d.mts} +2 -2
  321. package/dist/{iter-fest.observableValues.d.ts → iter-fest.observableSubscribeAsReadable.d.ts} +2 -2
  322. package/dist/iter-fest.observableSubscribeAsReadable.js +51 -0
  323. package/dist/iter-fest.observableSubscribeAsReadable.js.map +1 -0
  324. package/dist/iter-fest.observableSubscribeAsReadable.mjs +7 -0
  325. package/dist/iter-fest.observableSubscribeAsReadable.mjs.map +1 -0
  326. package/dist/iter-fest.readableStreamFrom.d.mts +3 -0
  327. package/dist/iter-fest.readableStreamFrom.d.ts +3 -0
  328. package/dist/{iter-fest.iterableFilter.js → iter-fest.readableStreamFrom.js} +21 -17
  329. package/dist/iter-fest.readableStreamFrom.js.map +1 -0
  330. package/dist/iter-fest.readableStreamFrom.mjs +7 -0
  331. package/dist/iter-fest.readableStreamFrom.mjs.map +1 -0
  332. package/dist/iter-fest.readerValues.d.mts +3 -0
  333. package/dist/iter-fest.readerValues.d.ts +3 -0
  334. package/dist/{iter-fest.iterableEvery.js → iter-fest.readerValues.js} +24 -18
  335. package/dist/iter-fest.readerValues.js.map +1 -0
  336. package/dist/iter-fest.readerValues.mjs +7 -0
  337. package/dist/iter-fest.readerValues.mjs.map +1 -0
  338. package/package.json +337 -107
  339. package/dist/chunk-27NJVC7K.mjs.map +0 -1
  340. package/dist/chunk-44W7OTNE.mjs +0 -12
  341. package/dist/chunk-44W7OTNE.mjs.map +0 -1
  342. package/dist/chunk-5CHMNKXJ.mjs +0 -20
  343. package/dist/chunk-5CHMNKXJ.mjs.map +0 -1
  344. package/dist/chunk-5CRMPYKD.mjs +0 -19
  345. package/dist/chunk-5CRMPYKD.mjs.map +0 -1
  346. package/dist/chunk-6C3P4TNK.mjs +0 -19
  347. package/dist/chunk-6C3P4TNK.mjs.map +0 -1
  348. package/dist/chunk-EZC33HE6.mjs +0 -15
  349. package/dist/chunk-EZC33HE6.mjs.map +0 -1
  350. package/dist/chunk-GWZF5BB7.mjs +0 -16
  351. package/dist/chunk-GWZF5BB7.mjs.map +0 -1
  352. package/dist/chunk-HYU4EN7J.mjs +0 -20
  353. package/dist/chunk-HYU4EN7J.mjs.map +0 -1
  354. package/dist/chunk-JU353VSE.mjs +0 -16
  355. package/dist/chunk-JU353VSE.mjs.map +0 -1
  356. package/dist/chunk-KONB7TV6.mjs.map +0 -1
  357. package/dist/chunk-MDBK7ND5.mjs.map +0 -1
  358. package/dist/chunk-MNLOWKTC.mjs +0 -19
  359. package/dist/chunk-MNLOWKTC.mjs.map +0 -1
  360. package/dist/chunk-QDUX45ZP.mjs +0 -64
  361. package/dist/chunk-QDUX45ZP.mjs.map +0 -1
  362. package/dist/chunk-TEI3K6GT.mjs +0 -21
  363. package/dist/chunk-TEI3K6GT.mjs.map +0 -1
  364. package/dist/chunk-UIEKIMLW.mjs.map +0 -1
  365. package/dist/chunk-V6OWQQ3Q.mjs +0 -20
  366. package/dist/chunk-V6OWQQ3Q.mjs.map +0 -1
  367. package/dist/chunk-WKIRSZXX.mjs.map +0 -1
  368. package/dist/chunk-XKBVB2JN.mjs +0 -12
  369. package/dist/chunk-XKBVB2JN.mjs.map +0 -1
  370. package/dist/chunk-XW34KZRY.mjs +0 -17
  371. package/dist/chunk-XW34KZRY.mjs.map +0 -1
  372. package/dist/chunk-Y5M2C7NQ.mjs +0 -13
  373. package/dist/chunk-Y5M2C7NQ.mjs.map +0 -1
  374. package/dist/chunk-ZUBHGSCW.mjs +0 -18
  375. package/dist/chunk-ZUBHGSCW.mjs.map +0 -1
  376. package/dist/iter-fest.iterableAt.js.map +0 -1
  377. package/dist/iter-fest.iterableAt.mjs +0 -8
  378. package/dist/iter-fest.iterableConcat.d.mts +0 -16
  379. package/dist/iter-fest.iterableConcat.d.ts +0 -16
  380. package/dist/iter-fest.iterableConcat.js.map +0 -1
  381. package/dist/iter-fest.iterableConcat.mjs +0 -7
  382. package/dist/iter-fest.iterableEntries.d.mts +0 -6
  383. package/dist/iter-fest.iterableEntries.d.ts +0 -6
  384. package/dist/iter-fest.iterableEntries.js.map +0 -1
  385. package/dist/iter-fest.iterableEntries.mjs +0 -7
  386. package/dist/iter-fest.iterableEvery.d.mts +0 -24
  387. package/dist/iter-fest.iterableEvery.d.ts +0 -24
  388. package/dist/iter-fest.iterableEvery.js.map +0 -1
  389. package/dist/iter-fest.iterableEvery.mjs +0 -7
  390. package/dist/iter-fest.iterableFilter.d.mts +0 -16
  391. package/dist/iter-fest.iterableFilter.d.ts +0 -16
  392. package/dist/iter-fest.iterableFilter.js.map +0 -1
  393. package/dist/iter-fest.iterableFilter.mjs +0 -7
  394. package/dist/iter-fest.iterableFind.d.mts +0 -15
  395. package/dist/iter-fest.iterableFind.d.ts +0 -15
  396. package/dist/iter-fest.iterableFind.js +0 -43
  397. package/dist/iter-fest.iterableFind.js.map +0 -1
  398. package/dist/iter-fest.iterableFind.mjs +0 -7
  399. package/dist/iter-fest.iterableFindIndex.js.map +0 -1
  400. package/dist/iter-fest.iterableFindIndex.mjs +0 -7
  401. package/dist/iter-fest.iterableFindLast.js.map +0 -1
  402. package/dist/iter-fest.iterableFindLast.mjs +0 -7
  403. package/dist/iter-fest.iterableFindLastIndex.js.map +0 -1
  404. package/dist/iter-fest.iterableFindLastIndex.mjs +0 -7
  405. package/dist/iter-fest.iterableForEach.d.mts +0 -10
  406. package/dist/iter-fest.iterableForEach.d.ts +0 -10
  407. package/dist/iter-fest.iterableForEach.js +0 -40
  408. package/dist/iter-fest.iterableForEach.js.map +0 -1
  409. package/dist/iter-fest.iterableForEach.mjs +0 -7
  410. package/dist/iter-fest.iterableIncludes.d.mts +0 -9
  411. package/dist/iter-fest.iterableIncludes.d.ts +0 -9
  412. package/dist/iter-fest.iterableIncludes.js.map +0 -1
  413. package/dist/iter-fest.iterableIncludes.mjs +0 -8
  414. package/dist/iter-fest.iterableIndexOf.d.mts +0 -9
  415. package/dist/iter-fest.iterableIndexOf.d.ts +0 -9
  416. package/dist/iter-fest.iterableIndexOf.js.map +0 -1
  417. package/dist/iter-fest.iterableIndexOf.mjs +0 -8
  418. package/dist/iter-fest.iterableJoin.d.mts +0 -8
  419. package/dist/iter-fest.iterableJoin.d.ts +0 -8
  420. package/dist/iter-fest.iterableJoin.js.map +0 -1
  421. package/dist/iter-fest.iterableJoin.mjs +0 -7
  422. package/dist/iter-fest.iterableKeys.d.mts +0 -6
  423. package/dist/iter-fest.iterableKeys.d.ts +0 -6
  424. package/dist/iter-fest.iterableKeys.js.map +0 -1
  425. package/dist/iter-fest.iterableKeys.mjs +0 -7
  426. package/dist/iter-fest.iterableMap.d.mts +0 -8
  427. package/dist/iter-fest.iterableMap.d.ts +0 -8
  428. package/dist/iter-fest.iterableMap.js +0 -39
  429. package/dist/iter-fest.iterableMap.js.map +0 -1
  430. package/dist/iter-fest.iterableMap.mjs +0 -7
  431. package/dist/iter-fest.iterableReduce.js +0 -41
  432. package/dist/iter-fest.iterableReduce.js.map +0 -1
  433. package/dist/iter-fest.iterableReduce.mjs +0 -7
  434. package/dist/iter-fest.iterableSlice.js.map +0 -1
  435. package/dist/iter-fest.iterableSlice.mjs +0 -8
  436. package/dist/iter-fest.iterableSome.d.mts +0 -12
  437. package/dist/iter-fest.iterableSome.d.ts +0 -12
  438. package/dist/iter-fest.iterableSome.js +0 -43
  439. package/dist/iter-fest.iterableSome.js.map +0 -1
  440. package/dist/iter-fest.iterableSome.mjs +0 -7
  441. package/dist/iter-fest.iterableToSpliced.js.map +0 -1
  442. package/dist/iter-fest.iterableToSpliced.mjs +0 -8
  443. package/dist/iter-fest.iterableToString.d.mts +0 -6
  444. package/dist/iter-fest.iterableToString.d.ts +0 -6
  445. package/dist/iter-fest.iterableToString.js.map +0 -1
  446. package/dist/iter-fest.iterableToString.mjs +0 -8
  447. package/dist/iter-fest.observableValues.js.map +0 -1
  448. package/dist/iter-fest.observableValues.mjs +0 -7
  449. /package/dist/{iter-fest.iterableAt.mjs.map → iter-fest.asyncGeneratorWithLastValue.mjs.map} +0 -0
  450. /package/dist/{iter-fest.iterableConcat.mjs.map → iter-fest.asyncIteratorDrop.mjs.map} +0 -0
  451. /package/dist/{iter-fest.iterableEntries.mjs.map → iter-fest.asyncIteratorEvery.mjs.map} +0 -0
  452. /package/dist/{iter-fest.iterableEvery.mjs.map → iter-fest.asyncIteratorFilter.mjs.map} +0 -0
  453. /package/dist/{iter-fest.iterableFilter.mjs.map → iter-fest.asyncIteratorFind.mjs.map} +0 -0
  454. /package/dist/{iter-fest.iterableFind.mjs.map → iter-fest.asyncIteratorFlatMap.mjs.map} +0 -0
  455. /package/dist/{iter-fest.iterableFindIndex.mjs.map → iter-fest.asyncIteratorForEach.mjs.map} +0 -0
  456. /package/dist/{iter-fest.iterableFindLast.mjs.map → iter-fest.asyncIteratorMap.mjs.map} +0 -0
  457. /package/dist/{iter-fest.iterableFindLastIndex.mjs.map → iter-fest.asyncIteratorReduce.mjs.map} +0 -0
  458. /package/dist/{iter-fest.iterableForEach.mjs.map → iter-fest.asyncIteratorSome.mjs.map} +0 -0
  459. /package/dist/{iter-fest.iterableIncludes.mjs.map → iter-fest.asyncIteratorTake.mjs.map} +0 -0
  460. /package/dist/{iter-fest.iterableIndexOf.mjs.map → iter-fest.asyncIteratorToArray.mjs.map} +0 -0
  461. /package/dist/{iter-fest.iterableJoin.mjs.map → iter-fest.asyncIteratorToAsyncIterable.mjs.map} +0 -0
  462. /package/dist/{iter-fest.iterableKeys.mjs.map → iter-fest.generatorWithLastValue.mjs.map} +0 -0
  463. /package/dist/{iter-fest.iterableMap.mjs.map → iter-fest.iterableWritableStream.mjs.map} +0 -0
  464. /package/dist/{iter-fest.iterableReduce.mjs.map → iter-fest.iteratorAt.mjs.map} +0 -0
  465. /package/dist/{iter-fest.iterableSlice.mjs.map → iter-fest.iteratorConcat.mjs.map} +0 -0
  466. /package/dist/{iter-fest.iterableSome.mjs.map → iter-fest.iteratorDrop.mjs.map} +0 -0
  467. /package/dist/{iter-fest.iterableToSpliced.mjs.map → iter-fest.iteratorEntries.mjs.map} +0 -0
  468. /package/dist/{iter-fest.iterableToString.mjs.map → iter-fest.iteratorEvery.mjs.map} +0 -0
  469. /package/dist/{iter-fest.observableValues.mjs.map → iter-fest.iteratorFilter.mjs.map} +0 -0
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorFind
3
+ } from "./chunk-CNKIGQUS.mjs";
4
+ export {
5
+ asyncIteratorFind
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorFind.mjs.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `.flatMap` takes a mapping function as an argument. It returns an iterator that produces all elements of the iterators produced by applying the mapping function to the elements produced by the underlying iterator.
3
+ *
4
+ * @param mapperFn
5
+ *
6
+ * @return Returns an iterator of flat values.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorFlatMap<T, U>(asyncIterator: AsyncIterator<T>, mapperFn: (value: T, index: number) => Promise<U>): AsyncIterator<T>;
11
+
12
+ export { asyncIteratorFlatMap };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `.flatMap` takes a mapping function as an argument. It returns an iterator that produces all elements of the iterators produced by applying the mapping function to the elements produced by the underlying iterator.
3
+ *
4
+ * @param mapperFn
5
+ *
6
+ * @return Returns an iterator of flat values.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorFlatMap<T, U>(asyncIterator: AsyncIterator<T>, mapperFn: (value: T, index: number) => Promise<U>): AsyncIterator<T>;
11
+
12
+ export { asyncIteratorFlatMap };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorFlatMap.ts
31
+ var asyncIteratorFlatMap_exports = {};
32
+ __export(asyncIteratorFlatMap_exports, {
33
+ asyncIteratorFlatMap: () => asyncIteratorFlatMap
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorFlatMap_exports);
36
+ var import_flat_map = __toESM(require("core-js-pure/full/async-iterator/flat-map"));
37
+ function asyncIteratorFlatMap(asyncIterator, mapperFn) {
38
+ return (0, import_flat_map.default)(asyncIterator, mapperFn);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorFlatMap
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorFlatMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorFlatMap.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport flatMap from 'core-js-pure/full/async-iterator/flat-map';\n\n/**\n * `.flatMap` takes a mapping function as an argument. It returns an iterator that produces all elements of the iterators produced by applying the mapping function to the elements produced by the underlying iterator.\n *\n * @param mapperFn\n *\n * @return Returns an iterator of flat values.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorFlatMap<T, U>(\n asyncIterator: AsyncIterator<T>,\n mapperFn: (value: T, index: number) => Promise<U>\n): AsyncIterator<T> {\n return flatMap(asyncIterator, mapperFn);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,sBAAoB;AAWb,SAAS,qBACd,eACA,UACkB;AAClB,aAAO,gBAAAA,SAAQ,eAAe,QAAQ;AACxC;","names":["flatMap"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorFlatMap
3
+ } from "./chunk-GFJGWVES.mjs";
4
+ export {
5
+ asyncIteratorFlatMap
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorFlatMap.mjs.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Performs the specified action for each element in an iterator.
3
+ *
4
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the iterator.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorForEach<T>(asyncIterator: AsyncIterator<T>, callbackfn: (value: T, index: number) => Promise<void>): Promise<void>;
9
+
10
+ export { asyncIteratorForEach };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Performs the specified action for each element in an iterator.
3
+ *
4
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the iterator.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorForEach<T>(asyncIterator: AsyncIterator<T>, callbackfn: (value: T, index: number) => Promise<void>): Promise<void>;
9
+
10
+ export { asyncIteratorForEach };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorForEach.ts
31
+ var asyncIteratorForEach_exports = {};
32
+ __export(asyncIteratorForEach_exports, {
33
+ asyncIteratorForEach: () => asyncIteratorForEach
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorForEach_exports);
36
+ var import_for_each = __toESM(require("core-js-pure/full/async-iterator/for-each"));
37
+ function asyncIteratorForEach(asyncIterator, callbackfn) {
38
+ return (0, import_for_each.default)(asyncIterator, callbackfn);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorForEach
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorForEach.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorForEach.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport forEach from 'core-js-pure/full/async-iterator/for-each';\n\n/**\n * Performs the specified action for each element in an iterator.\n *\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the iterator.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorForEach<T>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (value: T, index: number) => Promise<void>\n): Promise<void> {\n return forEach(asyncIterator, callbackfn);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,sBAAoB;AASb,SAAS,qBACd,eACA,YACe;AACf,aAAO,gBAAAA,SAAQ,eAAe,UAAU;AAC1C;","names":["forEach"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorForEach
3
+ } from "./chunk-J3FQSENW.mjs";
4
+ export {
5
+ asyncIteratorForEach
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorForEach.mjs.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Calls a defined callback function on each element of an array, and returns an array that contains the results.
3
+ *
4
+ * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorMap<T, U>(asyncIterator: AsyncIterator<T>, callbackfn: (value: T, index: number) => U): AsyncIterableIterator<U>;
9
+
10
+ export { asyncIteratorMap };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Calls a defined callback function on each element of an array, and returns an array that contains the results.
3
+ *
4
+ * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorMap<T, U>(asyncIterator: AsyncIterator<T>, callbackfn: (value: T, index: number) => U): AsyncIterableIterator<U>;
9
+
10
+ export { asyncIteratorMap };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorMap.ts
31
+ var asyncIteratorMap_exports = {};
32
+ __export(asyncIteratorMap_exports, {
33
+ asyncIteratorMap: () => asyncIteratorMap
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorMap_exports);
36
+ var import_map = __toESM(require("core-js-pure/full/async-iterator/map"));
37
+ function asyncIteratorMap(asyncIterator, callbackfn) {
38
+ return (0, import_map.default)(asyncIterator, callbackfn);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorMap
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorMap.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport map from 'core-js-pure/full/async-iterator/map';\n\n/**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n *\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorMap<T, U>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (value: T, index: number) => U\n): AsyncIterableIterator<U> {\n return map(asyncIterator, callbackfn);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAgB;AAST,SAAS,iBACd,eACA,YAC0B;AAC1B,aAAO,WAAAA,SAAI,eAAe,UAAU;AACtC;","names":["map"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorMap
3
+ } from "./chunk-LB3MK3EU.mjs";
4
+ export {
5
+ asyncIteratorMap
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorMap.mjs.map
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
3
+ *
4
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.
5
+ *
6
+ * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an iterator value.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorReduce<T>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>): Promise<T>;
11
+ declare function asyncIteratorReduce<T>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>, initialValue: T): T;
12
+ /**
13
+ * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
14
+ *
15
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.
16
+ *
17
+ * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
18
+ *
19
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
20
+ */
21
+ declare function asyncIteratorReduce<T, U>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => Promise<U>, initialValue: U): U;
22
+
23
+ export { asyncIteratorReduce };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
3
+ *
4
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.
5
+ *
6
+ * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an iterator value.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorReduce<T>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>): Promise<T>;
11
+ declare function asyncIteratorReduce<T>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>, initialValue: T): T;
12
+ /**
13
+ * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
14
+ *
15
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.
16
+ *
17
+ * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
18
+ *
19
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
20
+ */
21
+ declare function asyncIteratorReduce<T, U>(asyncIterator: AsyncIterator<T>, callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => Promise<U>, initialValue: U): U;
22
+
23
+ export { asyncIteratorReduce };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorReduce.ts
31
+ var asyncIteratorReduce_exports = {};
32
+ __export(asyncIteratorReduce_exports, {
33
+ asyncIteratorReduce: () => asyncIteratorReduce
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorReduce_exports);
36
+ var import_reduce = __toESM(require("core-js-pure/full/async-iterator/reduce"));
37
+ function asyncIteratorReduce(asyncIterator, callbackfn, initialValue) {
38
+ return (0, import_reduce.default)(asyncIterator, callbackfn, initialValue);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorReduce
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorReduce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorReduce.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport reduce from 'core-js-pure/full/async-iterator/reduce';\n\n/**\n * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n *\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.\n *\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an iterator value.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorReduce<T>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>\n): Promise<T>;\n\nexport function asyncIteratorReduce<T>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => Promise<T>,\n initialValue: T\n): T;\n\n/**\n * Calls the specified callback function for all the elements in an iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n *\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the iterator.\n *\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorReduce<T, U>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => Promise<U>,\n initialValue: U\n): U;\n\nexport function asyncIteratorReduce<T, U = undefined>(\n asyncIterator: AsyncIterator<T>,\n callbackfn: (previousValue: U | undefined, currentValue: T, currentIndex: number) => Promise<U>,\n initialValue?: U\n): Promise<U | undefined> {\n return reduce(asyncIterator, callbackfn, initialValue);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,oBAAmB;AAqCZ,SAAS,oBACd,eACA,YACA,cACwB;AACxB,aAAO,cAAAA,SAAO,eAAe,YAAY,YAAY;AACvD;","names":["reduce"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorReduce
3
+ } from "./chunk-QLVU73KN.mjs";
4
+ export {
5
+ asyncIteratorReduce
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorReduce.mjs.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Determines whether the specified callback function returns true for any element of an iterable.
3
+ *
4
+ * @param predicate A function that accepts up to three arguments. The some method calls the predicate function for each element in the iterable until the predicate returns a value which is coercible to the Boolean value true, or until the end of the iterable.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorSome<T>(asyncIterator: AsyncIterator<T>, predicate: (value: T, index: number) => Promise<unknown>): Promise<boolean>;
9
+
10
+ export { asyncIteratorSome };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Determines whether the specified callback function returns true for any element of an iterable.
3
+ *
4
+ * @param predicate A function that accepts up to three arguments. The some method calls the predicate function for each element in the iterable until the predicate returns a value which is coercible to the Boolean value true, or until the end of the iterable.
5
+ *
6
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
7
+ */
8
+ declare function asyncIteratorSome<T>(asyncIterator: AsyncIterator<T>, predicate: (value: T, index: number) => Promise<unknown>): Promise<boolean>;
9
+
10
+ export { asyncIteratorSome };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorSome.ts
31
+ var asyncIteratorSome_exports = {};
32
+ __export(asyncIteratorSome_exports, {
33
+ asyncIteratorSome: () => asyncIteratorSome
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorSome_exports);
36
+ var import_some = __toESM(require("core-js-pure/full/async-iterator/some"));
37
+ function asyncIteratorSome(asyncIterator, predicate) {
38
+ return (0, import_some.default)(asyncIterator, predicate);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorSome
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorSome.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorSome.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport some from 'core-js-pure/full/async-iterator/some';\n\n/**\n * Determines whether the specified callback function returns true for any element of an iterable.\n *\n * @param predicate A function that accepts up to three arguments. The some method calls the predicate function for each element in the iterable until the predicate returns a value which is coercible to the Boolean value true, or until the end of the iterable.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorSome<T>(\n asyncIterator: AsyncIterator<T>,\n predicate: (value: T, index: number) => Promise<unknown>\n): Promise<boolean> {\n return some(asyncIterator, predicate);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAAiB;AASV,SAAS,kBACd,eACA,WACkB;AAClB,aAAO,YAAAA,SAAK,eAAe,SAAS;AACtC;","names":["some"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorSome
3
+ } from "./chunk-ODPKEUIR.mjs";
4
+ export {
5
+ asyncIteratorSome
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorSome.mjs.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `take` takes an integer as an argument. It returns an iterator that produces, at most, the given number of elements produced by the underlying iterator.
3
+ *
4
+ * @param limit
5
+ *
6
+ * @return Returns an iterator with items from the original iterator from 0 until the limit.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorTake<T>(asyncIterator: AsyncIterator<T>, limit: number): AsyncIterator<T>;
11
+
12
+ export { asyncIteratorTake };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `take` takes an integer as an argument. It returns an iterator that produces, at most, the given number of elements produced by the underlying iterator.
3
+ *
4
+ * @param limit
5
+ *
6
+ * @return Returns an iterator with items from the original iterator from 0 until the limit.
7
+ *
8
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
9
+ */
10
+ declare function asyncIteratorTake<T>(asyncIterator: AsyncIterator<T>, limit: number): AsyncIterator<T>;
11
+
12
+ export { asyncIteratorTake };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorTake.ts
31
+ var asyncIteratorTake_exports = {};
32
+ __export(asyncIteratorTake_exports, {
33
+ asyncIteratorTake: () => asyncIteratorTake
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorTake_exports);
36
+ var import_take = __toESM(require("core-js-pure/full/async-iterator/take"));
37
+ function asyncIteratorTake(asyncIterator, limit) {
38
+ return (0, import_take.default)(asyncIterator, limit);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorTake
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorTake.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorTake.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport take from 'core-js-pure/full/async-iterator/take';\n\n/**\n * `take` takes an integer as an argument. It returns an iterator that produces, at most, the given number of elements produced by the underlying iterator.\n *\n * @param limit\n *\n * @return Returns an iterator with items from the original iterator from 0 until the limit.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorTake<T>(asyncIterator: AsyncIterator<T>, limit: number): AsyncIterator<T> {\n return take(asyncIterator, limit);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAAiB;AAWV,SAAS,kBAAqB,eAAiC,OAAiC;AACrG,aAAO,YAAAA,SAAK,eAAe,KAAK;AAClC;","names":["take"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorTake
3
+ } from "./chunk-AOZVPHE4.mjs";
4
+ export {
5
+ asyncIteratorTake
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorTake.mjs.map
@@ -0,0 +1,13 @@
1
+ type AsyncIteratorLike<T> = Pick<AsyncIterator<T>, 'next'>;
2
+ /**
3
+ * When you have a non-infinite iterator which you wish to transform into an array, you can do so with the builtin toArray method.
4
+ *
5
+ * @param limit
6
+ *
7
+ * @return Returns an Array containing the values from the iterator.
8
+ *
9
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
10
+ */
11
+ declare function asyncIteratorToArray<T>(asyncIteratorLike: AsyncIteratorLike<T>): Promise<T[]>;
12
+
13
+ export { asyncIteratorToArray };
@@ -0,0 +1,13 @@
1
+ type AsyncIteratorLike<T> = Pick<AsyncIterator<T>, 'next'>;
2
+ /**
3
+ * When you have a non-infinite iterator which you wish to transform into an array, you can do so with the builtin toArray method.
4
+ *
5
+ * @param limit
6
+ *
7
+ * @return Returns an Array containing the values from the iterator.
8
+ *
9
+ * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md
10
+ */
11
+ declare function asyncIteratorToArray<T>(asyncIteratorLike: AsyncIteratorLike<T>): Promise<T[]>;
12
+
13
+ export { asyncIteratorToArray };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/asyncIteratorToArray.ts
31
+ var asyncIteratorToArray_exports = {};
32
+ __export(asyncIteratorToArray_exports, {
33
+ asyncIteratorToArray: () => asyncIteratorToArray
34
+ });
35
+ module.exports = __toCommonJS(asyncIteratorToArray_exports);
36
+ var import_to_array = __toESM(require("core-js-pure/full/async-iterator/to-array"));
37
+ function asyncIteratorToArray(asyncIteratorLike) {
38
+ return (0, import_to_array.default)(asyncIteratorLike);
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ asyncIteratorToArray
43
+ });
44
+ //# sourceMappingURL=iter-fest.asyncIteratorToArray.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/asyncIteratorToArray.ts"],"sourcesContent":["// @ts-expect-error core-js-pure is not typed.\nimport toArray from 'core-js-pure/full/async-iterator/to-array';\n\ntype AsyncIteratorLike<T> = Pick<AsyncIterator<T>, 'next'>;\n\n/**\n * When you have a non-infinite iterator which you wish to transform into an array, you can do so with the builtin toArray method.\n *\n * @param limit\n *\n * @return Returns an Array containing the values from the iterator.\n *\n * @link https://github.com/tc39/proposal-iterator-helpers/blob/main/README.md\n */\nexport function asyncIteratorToArray<T>(asyncIteratorLike: AsyncIteratorLike<T>): Promise<T[]> {\n return toArray(asyncIteratorLike);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,sBAAoB;AAab,SAAS,qBAAwB,mBAAuD;AAC7F,aAAO,gBAAAA,SAAQ,iBAAiB;AAClC;","names":["toArray"]}
@@ -0,0 +1,7 @@
1
+ import {
2
+ asyncIteratorToArray
3
+ } from "./chunk-TQCZXEK7.mjs";
4
+ export {
5
+ asyncIteratorToArray
6
+ };
7
+ //# sourceMappingURL=iter-fest.asyncIteratorToArray.mjs.map
@@ -0,0 +1,3 @@
1
+ declare function asyncIteratorToAsyncIterable<T>(asyncIterator: AsyncIterator<T>): AsyncIterableIterator<T>;
2
+
3
+ export { asyncIteratorToAsyncIterable };