@vinicunca/perkakas 1.0.4 → 1.0.6

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 (341) hide show
  1. package/dist/add-prop.d.cts +1 -1
  2. package/dist/add-prop.d.ts +1 -1
  3. package/dist/{chunk-LG37S75J.js → chunk-23TPDBES.js} +1 -1
  4. package/dist/chunk-46GBCFAG.js +1 -0
  5. package/dist/chunk-5SEDUH3U.cjs +1 -0
  6. package/dist/{chunk-A62OZTSJ.js → chunk-6B6SBF6V.js} +1 -1
  7. package/dist/chunk-AFO7BV2X.js +1 -0
  8. package/dist/chunk-AQRYBCA3.cjs +1 -0
  9. package/dist/{chunk-7IYJC2PM.cjs → chunk-C6NFG7IS.cjs} +1 -1
  10. package/dist/chunk-CRWFVSUP.cjs +1 -0
  11. package/dist/{chunk-U32YSACL.cjs → chunk-CT4EPN4Q.cjs} +1 -1
  12. package/dist/{chunk-A6WT2DZU.cjs → chunk-D774SJZI.cjs} +1 -1
  13. package/dist/chunk-DQ5MWM7I.cjs +1 -0
  14. package/dist/{chunk-BF6VQFQK.js → chunk-FFGIG2SO.js} +1 -1
  15. package/dist/{chunk-6ALZHU2N.js → chunk-FOP5KNRT.js} +1 -1
  16. package/dist/chunk-G5M5BNF3.cjs +1 -0
  17. package/dist/{chunk-PKGL5JK6.js → chunk-HBSV33EM.js} +1 -1
  18. package/dist/chunk-HXYRD63B.cjs +1 -0
  19. package/dist/chunk-IOSBDH5J.cjs +1 -0
  20. package/dist/{chunk-IZZFU26S.cjs → chunk-K43ZLBUS.cjs} +1 -1
  21. package/dist/{chunk-Z5UEQBZP.cjs → chunk-LBLAWGUH.cjs} +1 -1
  22. package/dist/chunk-LCHZ57HW.js +1 -0
  23. package/dist/chunk-LWCPA2K5.cjs +1 -0
  24. package/dist/chunk-MUD45PL6.js +1 -0
  25. package/dist/chunk-NWEPH7CD.cjs +1 -0
  26. package/dist/chunk-QIZDLB7Z.js +1 -0
  27. package/dist/chunk-QT66COHU.js +1 -0
  28. package/dist/chunk-RJ4SY2RW.js +1 -0
  29. package/dist/chunk-S4XCRT2B.cjs +1 -0
  30. package/dist/{chunk-BGPRJNRQ.js → chunk-SOCUEKNU.js} +1 -1
  31. package/dist/{chunk-C6L5NLLB.js → chunk-SS3ILCPB.js} +1 -1
  32. package/dist/{chunk-NLX7PGPI.cjs → chunk-SU7H3HVP.cjs} +1 -1
  33. package/dist/{chunk-3X6SAJDQ.cjs → chunk-SW6GJ7UA.cjs} +1 -1
  34. package/dist/chunk-T4LCVT74.js +1 -0
  35. package/dist/chunk-TYOJTJP6.js +1 -0
  36. package/dist/chunk-VPLMRR25.cjs +1 -0
  37. package/dist/{chunk-EPHUNAE5.js → chunk-WDT4BJAH.js} +1 -1
  38. package/dist/{chunk-MLLA7SGZ.cjs → chunk-WYRK6YJU.cjs} +1 -1
  39. package/dist/chunk-XYMW4QIS.js +1 -0
  40. package/dist/chunk-Y5OLUMVB.js +1 -0
  41. package/dist/{chunk-LSXNPOLD.js → chunk-Y7ACNJIO.js} +1 -1
  42. package/dist/{chunk-I6VXEY44.cjs → chunk-Y7L64OLN.cjs} +1 -1
  43. package/dist/chunk.d.cts +1 -1
  44. package/dist/chunk.d.ts +1 -1
  45. package/dist/concat.d.cts +1 -1
  46. package/dist/concat.d.ts +1 -1
  47. package/dist/conditional.d.cts +1 -1
  48. package/dist/conditional.d.ts +1 -1
  49. package/dist/conditional.spec-d.cjs +1 -1
  50. package/dist/conditional.spec-d.js +1 -1
  51. package/dist/debounce.spec-d.cjs +1 -1
  52. package/dist/debounce.spec-d.js +1 -1
  53. package/dist/difference-with.cjs +1 -1
  54. package/dist/difference-with.js +1 -1
  55. package/dist/difference.cjs +1 -1
  56. package/dist/difference.js +1 -1
  57. package/dist/do-nothing.cjs +1 -1
  58. package/dist/do-nothing.d.cts +1 -1
  59. package/dist/do-nothing.d.ts +1 -1
  60. package/dist/do-nothing.js +1 -1
  61. package/dist/do-nothing.spec-d.cjs +1 -1
  62. package/dist/do-nothing.spec-d.js +1 -1
  63. package/dist/drop-first-by.d.cts +1 -1
  64. package/dist/drop-first-by.d.ts +1 -1
  65. package/dist/drop-last-while.d.cts +1 -1
  66. package/dist/drop-last-while.d.ts +1 -1
  67. package/dist/drop-last-while.spec-d.cjs +1 -1
  68. package/dist/drop-last-while.spec-d.js +1 -1
  69. package/dist/drop-last.d.cts +1 -1
  70. package/dist/drop-last.d.ts +1 -1
  71. package/dist/drop-last.spec-d.cjs +1 -1
  72. package/dist/drop-last.spec-d.js +1 -1
  73. package/dist/drop-while.d.cts +1 -1
  74. package/dist/drop-while.d.ts +1 -1
  75. package/dist/drop-while.spec-d.cjs +1 -1
  76. package/dist/drop-while.spec-d.js +1 -1
  77. package/dist/drop.cjs +1 -1
  78. package/dist/drop.d.cts +20 -7
  79. package/dist/drop.d.ts +20 -7
  80. package/dist/drop.js +1 -1
  81. package/dist/drop.spec-d.cjs +1 -1
  82. package/dist/drop.spec-d.js +1 -1
  83. package/dist/evolve.d.cts +1 -1
  84. package/dist/evolve.d.ts +1 -1
  85. package/dist/evolve.spec-d.cjs +1 -1
  86. package/dist/evolve.spec-d.js +1 -1
  87. package/dist/filter.cjs +1 -1
  88. package/dist/filter.js +1 -1
  89. package/dist/filter.spec-d.cjs +1 -1
  90. package/dist/filter.spec-d.js +1 -1
  91. package/dist/find.cjs +1 -1
  92. package/dist/find.js +1 -1
  93. package/dist/find.spec-d.cjs +1 -1
  94. package/dist/find.spec-d.js +1 -1
  95. package/dist/first-by.d.cts +1 -1
  96. package/dist/first-by.d.ts +1 -1
  97. package/dist/first-by.spec-d.cjs +1 -1
  98. package/dist/first-by.spec-d.js +1 -1
  99. package/dist/first.d.cts +1 -1
  100. package/dist/first.d.ts +1 -1
  101. package/dist/flat.cjs +1 -1
  102. package/dist/flat.d.cts +1 -1
  103. package/dist/flat.d.ts +1 -1
  104. package/dist/flat.js +1 -1
  105. package/dist/flat.spec-d.cjs +1 -1
  106. package/dist/flat.spec-d.js +1 -1
  107. package/dist/for-each-obj.d.cts +1 -1
  108. package/dist/for-each-obj.d.ts +1 -1
  109. package/dist/for-each-obj.spec-d.cjs +1 -1
  110. package/dist/for-each-obj.spec-d.js +1 -1
  111. package/dist/for-each.d.cts +1 -1
  112. package/dist/for-each.d.ts +1 -1
  113. package/dist/for-each.spec-d.cjs +1 -1
  114. package/dist/for-each.spec-d.js +1 -1
  115. package/dist/from-entries.d.cts +1 -1
  116. package/dist/from-entries.d.ts +1 -1
  117. package/dist/from-keys.d.cts +1 -1
  118. package/dist/from-keys.d.ts +1 -1
  119. package/dist/from-keys.spec-d.cjs +1 -1
  120. package/dist/from-keys.spec-d.js +1 -1
  121. package/dist/group-by.d.cts +1 -1
  122. package/dist/group-by.d.ts +1 -1
  123. package/dist/has-at-least.d.cts +1 -1
  124. package/dist/has-at-least.d.ts +1 -1
  125. package/dist/has-sub-object.d.cts +1 -1
  126. package/dist/has-sub-object.d.ts +1 -1
  127. package/dist/has-sub-object.spec-d.cjs +1 -1
  128. package/dist/has-sub-object.spec-d.js +1 -1
  129. package/dist/human-readable-file-size.d.cts +1 -0
  130. package/dist/human-readable-file-size.d.ts +1 -0
  131. package/dist/identity.cjs +1 -1
  132. package/dist/identity.d.cts +1 -1
  133. package/dist/identity.d.ts +1 -1
  134. package/dist/identity.js +1 -1
  135. package/dist/identity.spec-d.cjs +1 -1
  136. package/dist/identity.spec-d.js +1 -1
  137. package/dist/index-by.d.cts +1 -1
  138. package/dist/index-by.d.ts +1 -1
  139. package/dist/index-by.spec-d.cjs +1 -1
  140. package/dist/index-by.spec-d.js +1 -1
  141. package/dist/index.cjs +1 -1
  142. package/dist/index.d.cts +2 -1
  143. package/dist/index.d.ts +2 -1
  144. package/dist/index.js +1 -1
  145. package/dist/intersection-with.cjs +1 -1
  146. package/dist/intersection-with.js +1 -1
  147. package/dist/intersection.cjs +1 -1
  148. package/dist/intersection.js +1 -1
  149. package/dist/intersection.spec-d.cjs +1 -1
  150. package/dist/intersection.spec-d.js +1 -1
  151. package/dist/is-array.d.cts +1 -1
  152. package/dist/is-array.d.ts +1 -1
  153. package/dist/is-big-int.d.cts +1 -1
  154. package/dist/is-big-int.d.ts +1 -1
  155. package/dist/is-boolean.d.cts +1 -1
  156. package/dist/is-boolean.d.ts +1 -1
  157. package/dist/is-deep-equal.spec-d.cjs +1 -1
  158. package/dist/is-deep-equal.spec-d.js +1 -1
  159. package/dist/is-empty.d.cts +1 -1
  160. package/dist/is-empty.d.ts +1 -1
  161. package/dist/is-included-in.d.cts +1 -1
  162. package/dist/is-included-in.d.ts +1 -1
  163. package/dist/is-nullish.d.cts +1 -1
  164. package/dist/is-nullish.d.ts +1 -1
  165. package/dist/is-number.d.cts +1 -1
  166. package/dist/is-number.d.ts +1 -1
  167. package/dist/is-object-type.d.cts +1 -1
  168. package/dist/is-object-type.d.ts +1 -1
  169. package/dist/is-plain-object.d.cts +1 -1
  170. package/dist/is-plain-object.d.ts +1 -1
  171. package/dist/is-shallow-equal.spec-d.cjs +1 -1
  172. package/dist/is-shallow-equal.spec-d.js +1 -1
  173. package/dist/is-strict-equal.spec-d.cjs +1 -1
  174. package/dist/is-strict-equal.spec-d.js +1 -1
  175. package/dist/is-string.d.cts +1 -1
  176. package/dist/is-string.d.ts +1 -1
  177. package/dist/is-symbol.d.cts +1 -1
  178. package/dist/is-symbol.d.ts +1 -1
  179. package/dist/keys.d.cts +1 -1
  180. package/dist/keys.d.ts +1 -1
  181. package/dist/keys.spec-d.cjs +1 -1
  182. package/dist/keys.spec-d.js +1 -1
  183. package/dist/last.d.cts +1 -1
  184. package/dist/last.d.ts +1 -1
  185. package/dist/last.spec-d.cjs +1 -1
  186. package/dist/last.spec-d.js +1 -1
  187. package/dist/map-keys.d.cts +1 -1
  188. package/dist/map-keys.d.ts +1 -1
  189. package/dist/map-keys.spec-d.cjs +1 -1
  190. package/dist/map-keys.spec-d.js +1 -1
  191. package/dist/map-values.d.cts +1 -1
  192. package/dist/map-values.d.ts +1 -1
  193. package/dist/map-values.spec-d.cjs +1 -1
  194. package/dist/map-values.spec-d.js +1 -1
  195. package/dist/map-with-feedback.cjs +1 -1
  196. package/dist/map-with-feedback.d.cts +1 -1
  197. package/dist/map-with-feedback.d.ts +1 -1
  198. package/dist/map-with-feedback.js +1 -1
  199. package/dist/map-with-feedback.spec-d.cjs +1 -1
  200. package/dist/map-with-feedback.spec-d.js +1 -1
  201. package/dist/map.d.cts +1 -1
  202. package/dist/map.d.ts +1 -1
  203. package/dist/nth-by.d.cts +1 -1
  204. package/dist/nth-by.d.ts +1 -1
  205. package/dist/nth-by.spec-d.cjs +1 -1
  206. package/dist/nth-by.spec-d.js +1 -1
  207. package/dist/omit-by.d.cts +1 -1
  208. package/dist/omit-by.d.ts +1 -1
  209. package/dist/omit-by.spec-d.cjs +1 -1
  210. package/dist/omit-by.spec-d.js +1 -1
  211. package/dist/omit.spec-d.cjs +1 -1
  212. package/dist/omit.spec-d.js +1 -1
  213. package/dist/only.d.cts +1 -1
  214. package/dist/only.d.ts +1 -1
  215. package/dist/partition.spec-d.cjs +1 -1
  216. package/dist/partition.spec-d.js +1 -1
  217. package/dist/pick-by.d.cts +1 -1
  218. package/dist/pick-by.d.ts +1 -1
  219. package/dist/pick-by.spec-d.cjs +1 -1
  220. package/dist/pick-by.spec-d.js +1 -1
  221. package/dist/pick.spec-d.cjs +1 -1
  222. package/dist/pick.spec-d.js +1 -1
  223. package/dist/pipe.cjs +1 -1
  224. package/dist/pipe.js +1 -1
  225. package/dist/piped.cjs +1 -1
  226. package/dist/piped.js +1 -1
  227. package/dist/product.d.cts +1 -1
  228. package/dist/product.d.ts +1 -1
  229. package/dist/product.spec-d.cjs +1 -1
  230. package/dist/product.spec-d.js +1 -1
  231. package/dist/prop.spec-d.cjs +1 -1
  232. package/dist/prop.spec-d.js +1 -1
  233. package/dist/pull-object.d.cts +1 -1
  234. package/dist/pull-object.d.ts +1 -1
  235. package/dist/pull-object.spec-d.cjs +1 -1
  236. package/dist/pull-object.spec-d.js +1 -1
  237. package/dist/random-integer.cjs +1 -0
  238. package/dist/random-integer.d.cts +20 -0
  239. package/dist/random-integer.d.ts +20 -0
  240. package/dist/random-integer.js +1 -0
  241. package/dist/random-integer.spec-d.cjs +1 -0
  242. package/dist/random-integer.spec-d.d.cts +2 -0
  243. package/dist/random-integer.spec-d.d.ts +2 -0
  244. package/dist/random-integer.spec-d.js +1 -0
  245. package/dist/rank-by.d.cts +1 -1
  246. package/dist/rank-by.d.ts +1 -1
  247. package/dist/reverse.spec-d.cjs +1 -1
  248. package/dist/reverse.spec-d.js +1 -1
  249. package/dist/sample.d.cts +1 -1
  250. package/dist/sample.d.ts +1 -1
  251. package/dist/set-path.spec-d.cjs +1 -1
  252. package/dist/set-path.spec-d.js +1 -1
  253. package/dist/set.d.cts +1 -1
  254. package/dist/set.d.ts +1 -1
  255. package/dist/shuffle.d.cts +1 -1
  256. package/dist/shuffle.d.ts +1 -1
  257. package/dist/shuffle.spec-d.cjs +1 -1
  258. package/dist/shuffle.spec-d.js +1 -1
  259. package/dist/sort-by.d.cts +1 -1
  260. package/dist/sort-by.d.ts +1 -1
  261. package/dist/sort-by.spec-d.cjs +1 -1
  262. package/dist/sort-by.spec-d.js +1 -1
  263. package/dist/sort.d.cts +1 -1
  264. package/dist/sort.d.ts +1 -1
  265. package/dist/sum.d.cts +1 -1
  266. package/dist/sum.d.ts +1 -1
  267. package/dist/sum.spec-d.cjs +1 -1
  268. package/dist/sum.spec-d.js +1 -1
  269. package/dist/swap-indices.d.cts +1 -1
  270. package/dist/swap-indices.d.ts +1 -1
  271. package/dist/take-first-by.d.cts +1 -1
  272. package/dist/take-first-by.d.ts +1 -1
  273. package/dist/take-last-while.d.cts +1 -1
  274. package/dist/take-last-while.d.ts +1 -1
  275. package/dist/take-last-while.spec-d-.cjs +1 -1
  276. package/dist/take-last-while.spec-d-.js +1 -1
  277. package/dist/take-last.d.cts +1 -1
  278. package/dist/take-last.d.ts +1 -1
  279. package/dist/take-last.spec-d.cjs +1 -1
  280. package/dist/take-last.spec-d.js +1 -1
  281. package/dist/take-while.d.cts +1 -1
  282. package/dist/take-while.d.ts +1 -1
  283. package/dist/take-white.spec-d.cjs +1 -1
  284. package/dist/take-white.spec-d.js +1 -1
  285. package/dist/take.cjs +1 -1
  286. package/dist/take.d.cts +1 -1
  287. package/dist/take.d.ts +1 -1
  288. package/dist/take.js +1 -1
  289. package/dist/take.spec-d.cjs +1 -1
  290. package/dist/take.spec-d.js +1 -1
  291. package/dist/tap.spec-d.cjs +1 -1
  292. package/dist/tap.spec-d.js +1 -1
  293. package/dist/times.spec-d.cjs +1 -1
  294. package/dist/times.spec-d.js +1 -1
  295. package/dist/{types-BE3YOWVA.d.cts → types-CC8iZVKO.d.cts} +12 -2
  296. package/dist/{types-BE3YOWVA.d.ts → types-CC8iZVKO.d.ts} +12 -2
  297. package/dist/unique-by.cjs +1 -1
  298. package/dist/unique-by.d.cts +1 -1
  299. package/dist/unique-by.d.ts +1 -1
  300. package/dist/unique-by.js +1 -1
  301. package/dist/unique-with.cjs +1 -1
  302. package/dist/unique-with.d.cts +1 -1
  303. package/dist/unique-with.d.ts +1 -1
  304. package/dist/unique-with.js +1 -1
  305. package/dist/unique.cjs +1 -1
  306. package/dist/unique.d.cts +1 -1
  307. package/dist/unique.d.ts +1 -1
  308. package/dist/unique.js +1 -1
  309. package/dist/values.d.cts +1 -1
  310. package/dist/values.d.ts +1 -1
  311. package/dist/values.spec-d.cjs +1 -1
  312. package/dist/values.spec-d.js +1 -1
  313. package/dist/zip-with.d.cts +1 -1
  314. package/dist/zip-with.d.ts +1 -1
  315. package/dist/zip-with.spec-d.cjs +1 -1
  316. package/dist/zip-with.spec-d.js +1 -1
  317. package/dist/zip.d.cts +1 -1
  318. package/dist/zip.d.ts +1 -1
  319. package/dist/zip.spec-d.cjs +1 -1
  320. package/dist/zip.spec-d.js +1 -1
  321. package/package.json +14 -13
  322. package/dist/chunk-A535Z4LW.cjs +0 -1
  323. package/dist/chunk-AKGWT6GC.js +0 -1
  324. package/dist/chunk-BRLENORL.js +0 -1
  325. package/dist/chunk-E6RBEL5Z.cjs +0 -1
  326. package/dist/chunk-EKYCE7XE.cjs +0 -1
  327. package/dist/chunk-FNZCH7TN.cjs +0 -1
  328. package/dist/chunk-GNPFJJSC.cjs +0 -1
  329. package/dist/chunk-HTO3K3VA.cjs +0 -1
  330. package/dist/chunk-IRH6TGG5.js +0 -1
  331. package/dist/chunk-JLRJ44YR.js +0 -1
  332. package/dist/chunk-KITVKWLP.cjs +0 -1
  333. package/dist/chunk-MADDQNAR.cjs +0 -1
  334. package/dist/chunk-MYLYERXO.js +0 -1
  335. package/dist/chunk-NULDWRPD.cjs +0 -1
  336. package/dist/chunk-PHKKU45J.js +0 -1
  337. package/dist/chunk-RCENCAXY.cjs +0 -1
  338. package/dist/chunk-UNKQWZT6.js +0 -1
  339. package/dist/chunk-WQDEYM64.js +0 -1
  340. package/dist/chunk-WRKGH4XX.js +0 -1
  341. package/dist/chunk-WUAU3LTQ.js +0 -1
@@ -1 +1 @@
1
- "use strict";var _chunkXSYAC5NVcjs = require('./chunk-XSYAC5NV.cjs');var _chunkMLLA7SGZcjs = require('./chunk-MLLA7SGZ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("works with 0",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 0,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10.5,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10.5,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1e4,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
1
+ "use strict";var _chunkXSYAC5NVcjs = require('./chunk-XSYAC5NV.cjs');var _chunkAQRYBCA3cjs = require('./chunk-AQRYBCA3.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("works with 0",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 0,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10.5,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10.5,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1e4,_chunkAQRYBCA3cjs.a.call(void 0, ));expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
@@ -1 +1 @@
1
- import{a as r}from"./chunk-MZWACWOX.js";import{a as t}from"./chunk-WUAU3LTQ.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("works with 0",()=>{let e=r(0,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=r(-10,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=r(10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=r(-10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=r(1,t());expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=r(1e4,t());expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
1
+ import{a as r}from"./chunk-MZWACWOX.js";import{a as t}from"./chunk-46GBCFAG.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("works with 0",()=>{let e=r(0,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=r(-10,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=r(10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=r(-10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=r(1,t());expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=r(1e4,t());expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
@@ -1,4 +1,4 @@
1
- import { EmptyObject, IsAny, Simplify, IsLiteral, IsNever, KeysOfUnion, IsStringLiteral, IsNumericLiteral, IsSymbolLiteral, Split } from 'type-fest';
1
+ import { EmptyObject, IsAny, Simplify, IsLiteral, IsNever, KeysOfUnion, IsStringLiteral, IsNumericLiteral, IsSymbolLiteral, Split, IfNever } from 'type-fest';
2
2
 
3
3
  declare const __brand: unique symbol;
4
4
  type Branded<T, Brand extends symbol> = T & {
@@ -135,6 +135,16 @@ type TupleParts<T, Prefix extends Array<unknown> = [], Suffix extends Array<unkn
135
135
  item: Item;
136
136
  suffix: Suffix;
137
137
  } : never;
138
+ /**
139
+ * `never[]` and `[]` are not the same type, and in some cases they aren't
140
+ * interchangeable.
141
+ *
142
+ * This type makes it easier to use the result of TupleParts when the input is a
143
+ * fixed-length tuple but we still want to spread the rest of the array. e.g.
144
+ * `[...CoercedArray<TupleParts<T>["item"]>, ...TupleParts<T>["suffix"]]`.
145
+ *
146
+ */
147
+ type CoercedArray<T> = IfNever<T, [], Array<T>>;
138
148
  /**
139
149
  * The result of running a function that would dedupe an array (`unique`,
140
150
  * `uniqueBy`, and `uniqueWith`).
@@ -155,4 +165,4 @@ type Deduped<T extends IterableContainer> = T extends readonly [] ? [
155
165
  ...Array<Rest[number]>
156
166
  ] : T extends readonly [...Array<unknown>, unknown] ? NonEmptyArray<T[number]> : Array<T[number]>;
157
167
 
158
- export type { Branded as B, Deduped as D, EnumerableStringKeyedValueOf as E, GuardType as G, IterableContainer as I, Mapped as M, NTuple as N, ReconstructedRecord as R, TupleParts as T, UpsertProp as U, NonEmptyArray as a, EnumerableStringKeyOf as b, ExactRecord as c, NarrowedTo as d, IsUnion as e, IfBoundedRecord as f, ReorderedArray as g };
168
+ export type { Branded as B, CoercedArray as C, Deduped as D, EnumerableStringKeyedValueOf as E, GuardType as G, IterableContainer as I, Mapped as M, NTuple as N, ReconstructedRecord as R, TupleParts as T, UpsertProp as U, NonEmptyArray as a, EnumerableStringKeyOf as b, ExactRecord as c, NarrowedTo as d, IsUnion as e, IfBoundedRecord as f, ReorderedArray as g };
@@ -1,4 +1,4 @@
1
- import { EmptyObject, IsAny, Simplify, IsLiteral, IsNever, KeysOfUnion, IsStringLiteral, IsNumericLiteral, IsSymbolLiteral, Split } from 'type-fest';
1
+ import { EmptyObject, IsAny, Simplify, IsLiteral, IsNever, KeysOfUnion, IsStringLiteral, IsNumericLiteral, IsSymbolLiteral, Split, IfNever } from 'type-fest';
2
2
 
3
3
  declare const __brand: unique symbol;
4
4
  type Branded<T, Brand extends symbol> = T & {
@@ -135,6 +135,16 @@ type TupleParts<T, Prefix extends Array<unknown> = [], Suffix extends Array<unkn
135
135
  item: Item;
136
136
  suffix: Suffix;
137
137
  } : never;
138
+ /**
139
+ * `never[]` and `[]` are not the same type, and in some cases they aren't
140
+ * interchangeable.
141
+ *
142
+ * This type makes it easier to use the result of TupleParts when the input is a
143
+ * fixed-length tuple but we still want to spread the rest of the array. e.g.
144
+ * `[...CoercedArray<TupleParts<T>["item"]>, ...TupleParts<T>["suffix"]]`.
145
+ *
146
+ */
147
+ type CoercedArray<T> = IfNever<T, [], Array<T>>;
138
148
  /**
139
149
  * The result of running a function that would dedupe an array (`unique`,
140
150
  * `uniqueBy`, and `uniqueWith`).
@@ -155,4 +165,4 @@ type Deduped<T extends IterableContainer> = T extends readonly [] ? [
155
165
  ...Array<Rest[number]>
156
166
  ] : T extends readonly [...Array<unknown>, unknown] ? NonEmptyArray<T[number]> : Array<T[number]>;
157
167
 
158
- export type { Branded as B, Deduped as D, EnumerableStringKeyedValueOf as E, GuardType as G, IterableContainer as I, Mapped as M, NTuple as N, ReconstructedRecord as R, TupleParts as T, UpsertProp as U, NonEmptyArray as a, EnumerableStringKeyOf as b, ExactRecord as c, NarrowedTo as d, IsUnion as e, IfBoundedRecord as f, ReorderedArray as g };
168
+ export type { Branded as B, CoercedArray as C, Deduped as D, EnumerableStringKeyedValueOf as E, GuardType as G, IterableContainer as I, Mapped as M, NTuple as N, ReconstructedRecord as R, TupleParts as T, UpsertProp as U, NonEmptyArray as a, EnumerableStringKeyOf as b, ExactRecord as c, NarrowedTo as d, IsUnion as e, IfBoundedRecord as f, ReorderedArray as g };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkMADDQNARcjs = require('./chunk-MADDQNAR.cjs');require('./chunk-NLX7PGPI.cjs');require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');exports.uniqueBy = _chunkMADDQNARcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDQ5MWM7Icjs = require('./chunk-DQ5MWM7I.cjs');require('./chunk-SU7H3HVP.cjs');require('./chunk-Y7L64OLN.cjs');require('./chunk-SW6GJ7UA.cjs');exports.uniqueBy = _chunkDQ5MWM7Icjs.a;
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  /**
package/dist/unique-by.js CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-WRKGH4XX.js";import"./chunk-C6L5NLLB.js";import"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";export{a as uniqueBy};
1
+ import{a}from"./chunk-RJ4SY2RW.js";import"./chunk-SS3ILCPB.js";import"./chunk-FOP5KNRT.js";import"./chunk-T4LCVT74.js";export{a as uniqueBy};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkE6RBEL5Zcjs = require('./chunk-E6RBEL5Z.cjs');require('./chunk-NLX7PGPI.cjs');require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');exports.uniqueWith = _chunkE6RBEL5Zcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLWCPA2K5cjs = require('./chunk-LWCPA2K5.cjs');require('./chunk-SU7H3HVP.cjs');require('./chunk-Y7L64OLN.cjs');require('./chunk-SW6GJ7UA.cjs');exports.uniqueWith = _chunkLWCPA2K5cjs.a;
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  type IsEquals<T> = (a: T, b: T) => boolean;
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  type IsEquals<T> = (a: T, b: T) => boolean;
@@ -1 +1 @@
1
- import{a}from"./chunk-AKGWT6GC.js";import"./chunk-C6L5NLLB.js";import"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";export{a as uniqueWith};
1
+ import{a}from"./chunk-QIZDLB7Z.js";import"./chunk-SS3ILCPB.js";import"./chunk-FOP5KNRT.js";import"./chunk-T4LCVT74.js";export{a as uniqueWith};
package/dist/unique.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHTO3K3VAcjs = require('./chunk-HTO3K3VA.cjs');require('./chunk-NLX7PGPI.cjs');require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');exports.unique = _chunkHTO3K3VAcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVPLMRR25cjs = require('./chunk-VPLMRR25.cjs');require('./chunk-SU7H3HVP.cjs');require('./chunk-Y7L64OLN.cjs');require('./chunk-SW6GJ7UA.cjs');exports.unique = _chunkVPLMRR25cjs.a;
package/dist/unique.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  /**
package/dist/unique.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, D as Deduped } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer, D as Deduped } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  /**
package/dist/unique.js CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-WQDEYM64.js";import"./chunk-C6L5NLLB.js";import"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";export{a as unique};
1
+ import{a}from"./chunk-LCHZ57HW.js";import"./chunk-SS3ILCPB.js";import"./chunk-FOP5KNRT.js";import"./chunk-T4LCVT74.js";export{a as unique};
package/dist/values.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, E as EnumerableStringKeyedValueOf } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer, E as EnumerableStringKeyedValueOf } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  type Values<T extends object> = T extends IterableContainer ? Array<T[number]> : Array<EnumerableStringKeyedValueOf<T>>;
package/dist/values.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer, E as EnumerableStringKeyedValueOf } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer, E as EnumerableStringKeyedValueOf } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  type Values<T extends object> = T extends IterableContainer ? Array<T[number]> : Array<EnumerableStringKeyedValueOf<T>>;
@@ -1 +1 @@
1
- "use strict";var _chunk47KOI7MWcjs = require('./chunk-47KOI7MW.cjs');var _chunkNULDWRPDcjs = require('./chunk-NULDWRPD.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("should correctly types indexed types",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:"b"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type functions",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, _chunkNULDWRPDcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("should correctly type arrays",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, [1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type const arrays",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, [1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type objects",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type Records",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type union of Records",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:"cat"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type typed objects",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {type:"cat",age:7});expectTypeOf(e).toEqualTypeOf()});it("should skip symbol keys",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {[Symbol("a")]:!0,a:"b",123:456});expectTypeOf(e).toEqualTypeOf()});it("should return a useful type when all keys are symbols",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {[Symbol("a")]:!0,[Symbol("b")]:"c"});expectTypeOf(e).toEqualTypeOf()});
1
+ "use strict";var _chunk47KOI7MWcjs = require('./chunk-47KOI7MW.cjs');var _chunkWYRK6YJUcjs = require('./chunk-WYRK6YJU.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("should correctly types indexed types",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:"b"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type functions",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, _chunkWYRK6YJUcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("should correctly type arrays",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, [1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type const arrays",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, [1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type objects",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type Records",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type union of Records",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {a:"cat"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type typed objects",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {type:"cat",age:7});expectTypeOf(e).toEqualTypeOf()});it("should skip symbol keys",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {[Symbol("a")]:!0,a:"b",123:456});expectTypeOf(e).toEqualTypeOf()});it("should return a useful type when all keys are symbols",()=>{let e=_chunk47KOI7MWcjs.a.call(void 0, {[Symbol("a")]:!0,[Symbol("b")]:"c"});expectTypeOf(e).toEqualTypeOf()});
@@ -1 +1 @@
1
- import{a as t}from"./chunk-22S2LZ25.js";import{a as r}from"./chunk-PHKKU45J.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("should correctly types indexed types",()=>{let e=t({a:"b"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type functions",()=>{let e=t(r());expectTypeOf(e).toEqualTypeOf()});it("should correctly type arrays",()=>{let e=t([1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type const arrays",()=>{let e=t([1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type objects",()=>{let e=t({a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type Records",()=>{let e=t({a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type union of Records",()=>{let e=t({a:"cat"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type typed objects",()=>{let e=t({type:"cat",age:7});expectTypeOf(e).toEqualTypeOf()});it("should skip symbol keys",()=>{let e=t({[Symbol("a")]:!0,a:"b",123:456});expectTypeOf(e).toEqualTypeOf()});it("should return a useful type when all keys are symbols",()=>{let e=t({[Symbol("a")]:!0,[Symbol("b")]:"c"});expectTypeOf(e).toEqualTypeOf()});
1
+ import{a as t}from"./chunk-22S2LZ25.js";import{a as r}from"./chunk-AFO7BV2X.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("should correctly types indexed types",()=>{let e=t({a:"b"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type functions",()=>{let e=t(r());expectTypeOf(e).toEqualTypeOf()});it("should correctly type arrays",()=>{let e=t([1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type const arrays",()=>{let e=t([1,2,3]);expectTypeOf(e).toEqualTypeOf()});it("should correctly type objects",()=>{let e=t({a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type Records",()=>{let e=t({a:!0});expectTypeOf(e).toEqualTypeOf()});it("should correctly type union of Records",()=>{let e=t({a:"cat"});expectTypeOf(e).toEqualTypeOf()});it("should correctly type typed objects",()=>{let e=t({type:"cat",age:7});expectTypeOf(e).toEqualTypeOf()});it("should skip symbol keys",()=>{let e=t({[Symbol("a")]:!0,a:"b",123:456});expectTypeOf(e).toEqualTypeOf()});it("should return a useful type when all keys are symbols",()=>{let e=t({[Symbol("a")]:!0,[Symbol("b")]:"c"});expectTypeOf(e).toEqualTypeOf()});
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  type ZippingFunction<T1 extends IterableContainer = IterableContainer, T2 extends IterableContainer = IterableContainer, Value = unknown> = (first: T1[number], second: T2[number], index: number, data: readonly [first: T1, second: T2]) => Value;
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  type ZippingFunction<T1 extends IterableContainer = IterableContainer, T2 extends IterableContainer = IterableContainer, Value = unknown> = (first: T1[number], second: T2[number], index: number, data: readonly [first: T1, second: T2]) => Value;
@@ -1 +1 @@
1
- "use strict";var _chunkPH45KQNBcjs = require('./chunk-PH45KQNB.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-7T4AVFYJ.cjs');test("data first typings",()=>{let t=_chunkPH45KQNBcjs.a.call(void 0, ["1","2","3"],["a","b","c"],(a,e)=>`${a}${e}`);expectTypeOf(t).toEqualTypeOf()});test("data second typings",()=>{let t=_chunkPH45KQNBcjs.a.call(void 0, (a,e)=>`${a}${e}`)(["1","2","3"],["a","b","c"]);expectTypeOf(t).toEqualTypeOf()});test("data second with initial arg typings",()=>{let t=_chunkI6VXEY44cjs.a.call(void 0, ["1","2","3"],_chunkPH45KQNBcjs.a.call(void 0, ["a","b","c"],(a,e)=>`${a}${e}`));expectTypeOf(t).toEqualTypeOf()});
1
+ "use strict";var _chunkPH45KQNBcjs = require('./chunk-PH45KQNB.cjs');var _chunkY7L64OLNcjs = require('./chunk-Y7L64OLN.cjs');require('./chunk-SW6GJ7UA.cjs');require('./chunk-7T4AVFYJ.cjs');test("data first typings",()=>{let t=_chunkPH45KQNBcjs.a.call(void 0, ["1","2","3"],["a","b","c"],(a,e)=>`${a}${e}`);expectTypeOf(t).toEqualTypeOf()});test("data second typings",()=>{let t=_chunkPH45KQNBcjs.a.call(void 0, (a,e)=>`${a}${e}`)(["1","2","3"],["a","b","c"]);expectTypeOf(t).toEqualTypeOf()});test("data second with initial arg typings",()=>{let t=_chunkY7L64OLNcjs.a.call(void 0, ["1","2","3"],_chunkPH45KQNBcjs.a.call(void 0, ["a","b","c"],(a,e)=>`${a}${e}`));expectTypeOf(t).toEqualTypeOf()});
@@ -1 +1 @@
1
- import{a as i}from"./chunk-PSXTTF2V.js";import{a as p}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-KQGY2DBY.js";test("data first typings",()=>{let t=i(["1","2","3"],["a","b","c"],(a,e)=>`${a}${e}`);expectTypeOf(t).toEqualTypeOf()});test("data second typings",()=>{let t=i((a,e)=>`${a}${e}`)(["1","2","3"],["a","b","c"]);expectTypeOf(t).toEqualTypeOf()});test("data second with initial arg typings",()=>{let t=p(["1","2","3"],i(["a","b","c"],(a,e)=>`${a}${e}`));expectTypeOf(t).toEqualTypeOf()});
1
+ import{a as i}from"./chunk-PSXTTF2V.js";import{a as p}from"./chunk-FOP5KNRT.js";import"./chunk-T4LCVT74.js";import"./chunk-KQGY2DBY.js";test("data first typings",()=>{let t=i(["1","2","3"],["a","b","c"],(a,e)=>`${a}${e}`);expectTypeOf(t).toEqualTypeOf()});test("data second typings",()=>{let t=i((a,e)=>`${a}${e}`)(["1","2","3"],["a","b","c"]);expectTypeOf(t).toEqualTypeOf()});test("data second with initial arg typings",()=>{let t=p(["1","2","3"],i(["a","b","c"],(a,e)=>`${a}${e}`));expectTypeOf(t).toEqualTypeOf()});
package/dist/zip.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer } from './types-BE3YOWVA.cjs';
1
+ import { I as IterableContainer } from './types-CC8iZVKO.cjs';
2
2
  import 'type-fest';
3
3
 
4
4
  type Zipped<Left extends IterableContainer, Right extends IterableContainer> = Left extends readonly [] ? [] : Right extends readonly [] ? [] : Left extends readonly [infer LeftHead, ...infer LeftRest] ? Right extends readonly [infer RightHead, ...infer RightRest] ? [
package/dist/zip.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as IterableContainer } from './types-BE3YOWVA.js';
1
+ import { I as IterableContainer } from './types-CC8iZVKO.js';
2
2
  import 'type-fest';
3
3
 
4
4
  type Zipped<Left extends IterableContainer, Right extends IterableContainer> = Left extends readonly [] ? [] : Right extends readonly [] ? [] : Left extends readonly [infer LeftHead, ...infer LeftRest] ? Right extends readonly [infer RightHead, ...infer RightRest] ? [
@@ -1 +1 @@
1
- "use strict";var _chunkWNL2I2YKcjs = require('./chunk-WNL2I2YK.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("dataFirst",()=>{test("arrays",()=>{let r=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [],[]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=_chunkWNL2I2YKcjs.a.call(void 0, r,t);expectTypeOf(a).toEqualTypeOf();let n=_chunkWNL2I2YKcjs.a.call(void 0, t,r);expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()})});describe("dataLast",()=>{test("arrays",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, ["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, ["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [1,"b","c"],_chunkWNL2I2YKcjs.a.call(void 0, ["a",2,3]));expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=_chunkI6VXEY44cjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=_chunkI6VXEY44cjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=_chunkI6VXEY44cjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkWNL2I2YKcjs.a.call(void 0, []));expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=_chunkI6VXEY44cjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, [4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, [4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=_chunkI6VXEY44cjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, t));expectTypeOf(a).toEqualTypeOf();let n=_chunkI6VXEY44cjs.a.call(void 0, t,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [1,"b","c"],_chunkWNL2I2YKcjs.a.call(void 0, ["a",2,3]));expectTypeOf(a).toEqualTypeOf()})});
1
+ "use strict";var _chunkWNL2I2YKcjs = require('./chunk-WNL2I2YK.cjs');var _chunkY7L64OLNcjs = require('./chunk-Y7L64OLN.cjs');require('./chunk-SW6GJ7UA.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("dataFirst",()=>{test("arrays",()=>{let r=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [],[]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=_chunkWNL2I2YKcjs.a.call(void 0, r,r);expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=_chunkWNL2I2YKcjs.a.call(void 0, r,t);expectTypeOf(a).toEqualTypeOf();let n=_chunkWNL2I2YKcjs.a.call(void 0, t,r);expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=_chunkWNL2I2YKcjs.a.call(void 0, [1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()})});describe("dataLast",()=>{test("arrays",()=>{let r=_chunkY7L64OLNcjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, ["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=_chunkY7L64OLNcjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, ["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=_chunkY7L64OLNcjs.a.call(void 0, [1,"b","c"],_chunkWNL2I2YKcjs.a.call(void 0, ["a",2,3]));expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=_chunkY7L64OLNcjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=_chunkY7L64OLNcjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=_chunkY7L64OLNcjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=_chunkY7L64OLNcjs.a.call(void 0, [],_chunkWNL2I2YKcjs.a.call(void 0, []));expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=_chunkY7L64OLNcjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=_chunkY7L64OLNcjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, [4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=_chunkY7L64OLNcjs.a.call(void 0, [1,2,3],_chunkWNL2I2YKcjs.a.call(void 0, [4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=_chunkY7L64OLNcjs.a.call(void 0, r,_chunkWNL2I2YKcjs.a.call(void 0, t));expectTypeOf(a).toEqualTypeOf();let n=_chunkY7L64OLNcjs.a.call(void 0, t,_chunkWNL2I2YKcjs.a.call(void 0, r));expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=_chunkY7L64OLNcjs.a.call(void 0, [1,"b","c"],_chunkWNL2I2YKcjs.a.call(void 0, ["a",2,3]));expectTypeOf(a).toEqualTypeOf()})});
@@ -1 +1 @@
1
- import{a as e}from"./chunk-QQQIEYAH.js";import{a as s}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("dataFirst",()=>{test("arrays",()=>{let r=e([1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=e([1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=e([1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=e([],[]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=e([1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=e([1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=e(r,t);expectTypeOf(a).toEqualTypeOf();let n=e(t,r);expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=e([1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()})});describe("dataLast",()=>{test("arrays",()=>{let r=s([1,2,3],e(["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=s([1,2,3],e(["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=s([1,"b","c"],e(["a",2,3]));expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=s([],e([]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=s([1,2,3],e([4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=s([1,2,3],e([4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=s(r,e(t));expectTypeOf(a).toEqualTypeOf();let n=s(t,e(r));expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=s([1,"b","c"],e(["a",2,3]));expectTypeOf(a).toEqualTypeOf()})});
1
+ import{a as e}from"./chunk-QQQIEYAH.js";import{a as s}from"./chunk-FOP5KNRT.js";import"./chunk-T4LCVT74.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("dataFirst",()=>{test("arrays",()=>{let r=e([1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=e([1,2,3],["a","b","c"]);expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=e([1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=e([],[]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=e(r,r);expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=e([1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=e([1,2,3],[4,5,6]);expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=e(r,t);expectTypeOf(a).toEqualTypeOf();let n=e(t,r);expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=e([1,"b","c"],["a",2,3]);expectTypeOf(a).toEqualTypeOf()})});describe("dataLast",()=>{test("arrays",()=>{let r=s([1,2,3],e(["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("tuples",()=>{let r=s([1,2,3],e(["a","b","c"]));expectTypeOf(r).toEqualTypeOf()}),test("variadic tuples",()=>{let a=s([1,"b","c"],e(["a",2,3]));expectTypeOf(a).toEqualTypeOf()}),test("on empty tuples",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on empty readonly tuples",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on arrays",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on mixed typeds array",()=>{let a=s([],e([]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly arrays",()=>{let r=[],t=s(r,e(r));expectTypeOf(t).toEqualTypeOf()}),test("on tuples",()=>{let a=s([1,2,3],e([4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on readonly tuples",()=>{let a=s([1,2,3],e([4,5,6]));expectTypeOf(a).toEqualTypeOf()}),test("on tuples of different lengths",()=>{let r=[1,2,3],t=[4,5],a=s(r,e(t));expectTypeOf(a).toEqualTypeOf();let n=s(t,e(r));expectTypeOf(n).toEqualTypeOf()}),test("on variadic tuples",()=>{let a=s([1,"b","c"],e(["a",2,3]));expectTypeOf(a).toEqualTypeOf()})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/perkakas",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "description": "Utility for JavaScript and Typescript.",
6
6
  "author": "praburangki<https://github.com/praburangki>",
7
7
  "license": "MIT",
@@ -37,24 +37,24 @@
37
37
  "node": ">=20.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "type-fest": "^4.23.0"
40
+ "type-fest": "^4.26.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "^22.1.0",
44
- "@vinicunca/eslint-config": "2.7.4",
45
- "@vitest/coverage-v8": "^2.0.5",
46
- "bumpp": "^9.4.2",
47
- "eslint": "^9.8.0",
43
+ "@types/node": "^22.8.2",
44
+ "@vinicunca/eslint-config": "2.12.0",
45
+ "@vitest/coverage-v8": "^2.1.4",
46
+ "bumpp": "^9.8.0",
47
+ "eslint": "^9.13.0",
48
48
  "prettier": "^3.3.3",
49
- "tsup": "^8.2.4",
50
- "typedoc": "^0.26.5",
51
- "typescript": "^5.5.4",
52
- "vitest": "^2.0.5"
49
+ "tsup": "^8.3.5",
50
+ "typedoc": "^0.26.10",
51
+ "typescript": "^5.6.3",
52
+ "vitest": "^2.1.4"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsup",
56
56
  "prepublish": "pnpm run build",
57
- "typedoc": "typedoc --json dist/metadata.json",
57
+ "typedoc": "typedoc --json docs/.vitepress/data/metadata.json",
58
58
  "dev": "pnpm build --watch",
59
59
  "lint": "eslint . --fix",
60
60
  "publish:ci": "pnpm publish --access public --no-git-checks",
@@ -63,6 +63,7 @@
63
63
  "test:runtime": "tsc --project tsconfig.tests.json && vitest",
64
64
  "test:typing": "vitest --typecheck.only --typecheck.ignoreSourceErrors",
65
65
  "typecheck": "tsc --project tsconfig.source.json",
66
- "typecheck:dist": "tsc --project tsconfig.dist.json"
66
+ "typecheck:dist": "tsc --project tsconfig.dist.json",
67
+ "build:docs": "pnpm --filter @vinicunca/perkakas-docs build"
67
68
  }
68
69
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function d(...e){return _chunkNLX7PGPIcjs.a.call(void 0, f,e)}function f(e){if(e.length===0)return _chunk3X6SAJDQcjs.c;let n=new Map;for(let r of e)n.set(r,(_nullishCoalesce(n.get(r), () => (0)))+1);return r=>{let t=n.get(r);return t===void 0||t===0?{done:!1,hasNext:!0,next:r}:(n.set(r,t-1),_chunk3X6SAJDQcjs.a)}}exports.a = d;
@@ -1 +0,0 @@
1
- import{a as r}from"./chunk-C6L5NLLB.js";import{a as t}from"./chunk-MYLYERXO.js";function l(...e){return r(i,e)}function i(e){return(n,a,o)=>o.findIndex(u=>e(n,u))===a?{done:!1,hasNext:!0,next:n}:t}export{l as a};
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-C6L5NLLB.js";import{a as t}from"./chunk-MYLYERXO.js";function c(...r){return n(i,r)}function i(r,a){return o=>r.some(e=>a(o,e))?{done:!1,hasNext:!0,next:o}:t}export{c as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function l(...e){return _chunkNLX7PGPIcjs.a.call(void 0, i,e)}function i(e){return(n,a,o)=>o.findIndex(u=>e(n,u))===a?{done:!1,hasNext:!0,next:n}:_chunk3X6SAJDQcjs.a}exports.a = l;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function c(...r){return _chunkNLX7PGPIcjs.a.call(void 0, i,r)}function i(r,a){return o=>r.some(e=>a(o,e))?{done:!1,hasNext:!0,next:o}:_chunk3X6SAJDQcjs.a}exports.a = c;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function l(...e){return _chunkNLX7PGPIcjs.a.call(void 0, y,e)}function y(e){if(e.length===0)return _chunk3X6SAJDQcjs.b;let n=new Map;for(let r of e)n.set(r,(_nullishCoalesce(n.get(r), () => (0)))+1);return r=>{let t=n.get(r);return t===void 0||t===0?_chunk3X6SAJDQcjs.a:(t===1?n.delete(r):n.set(r,t-1),{hasNext:!0,next:r,done:n.size===0})}}exports.a = l;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');function i(...n){return o=>_chunkI6VXEY44cjs.a.call(void 0, o,...n)}exports.a = i;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function i(...e){return _chunkNLX7PGPIcjs.a.call(void 0, o,e)}function o(){let e=new Set;return t=>e.has(t)?_chunk3X6SAJDQcjs.a:(e.add(t),{done:!1,hasNext:!0,next:t})}exports.a = i;
@@ -1 +0,0 @@
1
- import{a as n,c as o}from"./chunk-MYLYERXO.js";import{a as t}from"./chunk-JFXZ246Y.js";function T(...e){return t(a,e,p)}function a(e,r){return r<0?[...e]:e.slice(r)}function p(e){if(e<=0)return o;let r=e;return u=>r>0?(r-=1,n):{done:!1,hasNext:!0,next:u}}export{T as a};
@@ -1 +0,0 @@
1
- import{a as p}from"./chunk-6ALZHU2N.js";function i(...n){return o=>p(o,...n)}export{i as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function y(...r){return _chunkNLX7PGPIcjs.a.call(void 0, i,r)}function i(r,t){return e=>r.every(a=>!t(e,a))?{done:!1,hasNext:!0,next:e}:_chunk3X6SAJDQcjs.a}exports.a = y;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNLX7PGPIcjs = require('./chunk-NLX7PGPI.cjs');var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');function p(...e){return _chunkNLX7PGPIcjs.a.call(void 0, d,e)}function d(e){let n=new Set;return(t,u,i)=>{let r=e(t,u,i);return n.has(r)?_chunk3X6SAJDQcjs.a:(n.add(r),{done:!1,hasNext:!0,next:t})}}exports.a = p;
@@ -1 +0,0 @@
1
- var e={done:!0,hasNext:!1},a={done:!1,hasNext:!1};function s(){return e}var o=t=>({hasNext:!0,next:t,done:!1});export{a,s as b,o as c};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var t=()=>o;function o(...n){}exports.a = t;
@@ -1 +0,0 @@
1
- var t=()=>o;function o(...n){}export{t as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3X6SAJDQcjs = require('./chunk-3X6SAJDQ.cjs');var _chunkY74ER22Ocjs = require('./chunk-Y74ER22O.cjs');function T(...e){return _chunkY74ER22Ocjs.a.call(void 0, a,e,p)}function a(e,r){return r<0?[...e]:e.slice(r)}function p(e){if(e<=0)return _chunk3X6SAJDQcjs.c;let r=e;return u=>r>0?(r-=1,_chunk3X6SAJDQcjs.a):{done:!1,hasNext:!0,next:u}}exports.a = T;
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-C6L5NLLB.js";import{a as n}from"./chunk-MYLYERXO.js";function y(...r){return o(i,r)}function i(r,t){return e=>r.every(a=>!t(e,a))?{done:!1,hasNext:!0,next:e}:n}export{y as a};
@@ -1 +0,0 @@
1
- import{a as r}from"./chunk-C6L5NLLB.js";import{a as n}from"./chunk-MYLYERXO.js";function i(...e){return r(o,e)}function o(){let e=new Set;return t=>e.has(t)?n:(e.add(t),{done:!1,hasNext:!0,next:t})}export{i as a};
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-C6L5NLLB.js";import{a}from"./chunk-MYLYERXO.js";function p(...e){return o(d,e)}function d(e){let n=new Set;return(t,u,i)=>{let r=e(t,u,i);return n.has(r)?a:(n.add(r),{done:!1,hasNext:!0,next:t})}}export{p as a};
@@ -1 +0,0 @@
1
- var i=()=>t;function t(n,...e){return n}export{i as a};