@mainsail/utils 0.0.1-alpha.1

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 (793) hide show
  1. package/distribution/assign.d.ts +2 -0
  2. package/distribution/assign.d.ts.map +1 -0
  3. package/distribution/assign.js +14 -0
  4. package/distribution/assign.js.map +1 -0
  5. package/distribution/at.d.ts +2 -0
  6. package/distribution/at.d.ts.map +1 -0
  7. package/distribution/at.js +8 -0
  8. package/distribution/at.js.map +1 -0
  9. package/distribution/base64.d.ts +5 -0
  10. package/distribution/base64.d.ts.map +1 -0
  11. package/distribution/base64.js +7 -0
  12. package/distribution/base64.js.map +1 -0
  13. package/distribution/big-number.d.ts +29 -0
  14. package/distribution/big-number.d.ts.map +1 -0
  15. package/distribution/big-number.js +80 -0
  16. package/distribution/big-number.js.map +1 -0
  17. package/distribution/binary.d.ts +5 -0
  18. package/distribution/binary.d.ts.map +1 -0
  19. package/distribution/binary.js +13 -0
  20. package/distribution/binary.js.map +1 -0
  21. package/distribution/byte-buffer.d.ts +29 -0
  22. package/distribution/byte-buffer.d.ts.map +1 -0
  23. package/distribution/byte-buffer.js +134 -0
  24. package/distribution/byte-buffer.js.map +1 -0
  25. package/distribution/camel-case.d.ts +2 -0
  26. package/distribution/camel-case.d.ts.map +1 -0
  27. package/distribution/camel-case.js +8 -0
  28. package/distribution/camel-case.js.map +1 -0
  29. package/distribution/capped-map.d.ts +17 -0
  30. package/distribution/capped-map.d.ts.map +1 -0
  31. package/distribution/capped-map.js +68 -0
  32. package/distribution/capped-map.js.map +1 -0
  33. package/distribution/capped-set.d.ts +7 -0
  34. package/distribution/capped-set.d.ts.map +1 -0
  35. package/distribution/capped-set.js +36 -0
  36. package/distribution/capped-set.js.map +1 -0
  37. package/distribution/cast-array.d.ts +2 -0
  38. package/distribution/cast-array.d.ts.map +1 -0
  39. package/distribution/cast-array.js +25 -0
  40. package/distribution/cast-array.js.map +1 -0
  41. package/distribution/chars.d.ts +2 -0
  42. package/distribution/chars.d.ts.map +1 -0
  43. package/distribution/chars.js +6 -0
  44. package/distribution/chars.js.map +1 -0
  45. package/distribution/chunk.d.ts +2 -0
  46. package/distribution/chunk.d.ts.map +1 -0
  47. package/distribution/chunk.js +19 -0
  48. package/distribution/chunk.js.map +1 -0
  49. package/distribution/clone-array.d.ts +2 -0
  50. package/distribution/clone-array.d.ts.map +1 -0
  51. package/distribution/clone-array.js +12 -0
  52. package/distribution/clone-array.js.map +1 -0
  53. package/distribution/clone-deep.d.ts +2 -0
  54. package/distribution/clone-deep.d.ts.map +1 -0
  55. package/distribution/clone-deep.js +10 -0
  56. package/distribution/clone-deep.js.map +1 -0
  57. package/distribution/clone-object.d.ts +2 -0
  58. package/distribution/clone-object.d.ts.map +1 -0
  59. package/distribution/clone-object.js +13 -0
  60. package/distribution/clone-object.js.map +1 -0
  61. package/distribution/clone.d.ts +2 -0
  62. package/distribution/clone.d.ts.map +1 -0
  63. package/distribution/clone.js +9 -0
  64. package/distribution/clone.js.map +1 -0
  65. package/distribution/collection.d.ts +20 -0
  66. package/distribution/collection.d.ts.map +1 -0
  67. package/distribution/collection.js +83 -0
  68. package/distribution/collection.js.map +1 -0
  69. package/distribution/concat.d.ts +2 -0
  70. package/distribution/concat.d.ts.map +1 -0
  71. package/distribution/concat.js +21 -0
  72. package/distribution/concat.js.map +1 -0
  73. package/distribution/constant-case.d.ts +2 -0
  74. package/distribution/constant-case.d.ts.map +1 -0
  75. package/distribution/constant-case.js +7 -0
  76. package/distribution/constant-case.js.map +1 -0
  77. package/distribution/dot-case.d.ts +2 -0
  78. package/distribution/dot-case.d.ts.map +1 -0
  79. package/distribution/dot-case.js +7 -0
  80. package/distribution/dot-case.js.map +1 -0
  81. package/distribution/dot-env.d.ts +7 -0
  82. package/distribution/dot-env.d.ts.map +1 -0
  83. package/distribution/dot-env.js +39 -0
  84. package/distribution/dot-env.js.map +1 -0
  85. package/distribution/every.d.ts +3 -0
  86. package/distribution/every.d.ts.map +1 -0
  87. package/distribution/every.js +13 -0
  88. package/distribution/every.js.map +1 -0
  89. package/distribution/expand-tilde.d.ts +2 -0
  90. package/distribution/expand-tilde.d.ts.map +1 -0
  91. package/distribution/expand-tilde.js +18 -0
  92. package/distribution/expand-tilde.js.map +1 -0
  93. package/distribution/extension.d.ts +2 -0
  94. package/distribution/extension.d.ts.map +1 -0
  95. package/distribution/extension.js +7 -0
  96. package/distribution/extension.js.map +1 -0
  97. package/distribution/fill.d.ts +2 -0
  98. package/distribution/fill.d.ts.map +1 -0
  99. package/distribution/fill.js +18 -0
  100. package/distribution/fill.js.map +1 -0
  101. package/distribution/filter-array.d.ts +3 -0
  102. package/distribution/filter-array.d.ts.map +1 -0
  103. package/distribution/filter-array.js +14 -0
  104. package/distribution/filter-array.js.map +1 -0
  105. package/distribution/filter-object.d.ts +3 -0
  106. package/distribution/filter-object.d.ts.map +1 -0
  107. package/distribution/filter-object.js +17 -0
  108. package/distribution/filter-object.js.map +1 -0
  109. package/distribution/filter.d.ts +3 -0
  110. package/distribution/filter.d.ts.map +1 -0
  111. package/distribution/filter.js +9 -0
  112. package/distribution/filter.js.map +1 -0
  113. package/distribution/find-index.d.ts +3 -0
  114. package/distribution/find-index.d.ts.map +1 -0
  115. package/distribution/find-index.js +13 -0
  116. package/distribution/find-index.js.map +1 -0
  117. package/distribution/find-key.d.ts +3 -0
  118. package/distribution/find-key.d.ts.map +1 -0
  119. package/distribution/find-key.js +7 -0
  120. package/distribution/find-key.js.map +1 -0
  121. package/distribution/find.d.ts +3 -0
  122. package/distribution/find.d.ts.map +1 -0
  123. package/distribution/find.js +14 -0
  124. package/distribution/find.js.map +1 -0
  125. package/distribution/first-map-entry.d.ts +2 -0
  126. package/distribution/first-map-entry.d.ts.map +1 -0
  127. package/distribution/first-map-entry.js +6 -0
  128. package/distribution/first-map-entry.js.map +1 -0
  129. package/distribution/first-map-key.d.ts +2 -0
  130. package/distribution/first-map-key.d.ts.map +1 -0
  131. package/distribution/first-map-key.js +7 -0
  132. package/distribution/first-map-key.js.map +1 -0
  133. package/distribution/first-map-value.d.ts +2 -0
  134. package/distribution/first-map-value.d.ts.map +1 -0
  135. package/distribution/first-map-value.js +7 -0
  136. package/distribution/first-map-value.js.map +1 -0
  137. package/distribution/flatten.d.ts +2 -0
  138. package/distribution/flatten.d.ts.map +1 -0
  139. package/distribution/flatten.js +12 -0
  140. package/distribution/flatten.js.map +1 -0
  141. package/distribution/format-number.d.ts +2 -0
  142. package/distribution/format-number.d.ts.map +1 -0
  143. package/distribution/format-number.js +6 -0
  144. package/distribution/format-number.js.map +1 -0
  145. package/distribution/format-string.d.ts +2 -0
  146. package/distribution/format-string.d.ts.map +1 -0
  147. package/distribution/format-string.js +13 -0
  148. package/distribution/format-string.js.map +1 -0
  149. package/distribution/get-path-segments.d.ts +2 -0
  150. package/distribution/get-path-segments.d.ts.map +1 -0
  151. package/distribution/get-path-segments.js +10 -0
  152. package/distribution/get-path-segments.js.map +1 -0
  153. package/distribution/get-type.d.ts +2 -0
  154. package/distribution/get-type.d.ts.map +1 -0
  155. package/distribution/get-type.js +6 -0
  156. package/distribution/get-type.js.map +1 -0
  157. package/distribution/get.d.ts +2 -0
  158. package/distribution/get.d.ts.map +1 -0
  159. package/distribution/get.js +28 -0
  160. package/distribution/get.js.map +1 -0
  161. package/distribution/group-by.d.ts +3 -0
  162. package/distribution/group-by.d.ts.map +1 -0
  163. package/distribution/group-by.js +16 -0
  164. package/distribution/group-by.js.map +1 -0
  165. package/distribution/has-property.d.ts +2 -0
  166. package/distribution/has-property.d.ts.map +1 -0
  167. package/distribution/has-property.js +6 -0
  168. package/distribution/has-property.js.map +1 -0
  169. package/distribution/has-some-property.d.ts +2 -0
  170. package/distribution/has-some-property.d.ts.map +1 -0
  171. package/distribution/has-some-property.js +8 -0
  172. package/distribution/has-some-property.js.map +1 -0
  173. package/distribution/has.d.ts +2 -0
  174. package/distribution/has.d.ts.map +1 -0
  175. package/distribution/has.js +24 -0
  176. package/distribution/has.js.map +1 -0
  177. package/distribution/hash-string.d.ts +2 -0
  178. package/distribution/hash-string.d.ts.map +1 -0
  179. package/distribution/hash-string.js +13 -0
  180. package/distribution/hash-string.js.map +1 -0
  181. package/distribution/head.d.ts +2 -0
  182. package/distribution/head.d.ts.map +1 -0
  183. package/distribution/head.js +6 -0
  184. package/distribution/head.js.map +1 -0
  185. package/distribution/header-case.d.ts +2 -0
  186. package/distribution/header-case.d.ts.map +1 -0
  187. package/distribution/header-case.js +8 -0
  188. package/distribution/header-case.js.map +1 -0
  189. package/distribution/hex.d.ts +5 -0
  190. package/distribution/hex.d.ts.map +1 -0
  191. package/distribution/hex.js +7 -0
  192. package/distribution/hex.js.map +1 -0
  193. package/distribution/http.d.ts +26 -0
  194. package/distribution/http.d.ts.map +1 -0
  195. package/distribution/http.js +103 -0
  196. package/distribution/http.js.map +1 -0
  197. package/distribution/immutable/index.d.ts +4 -0
  198. package/distribution/immutable/index.d.ts.map +1 -0
  199. package/distribution/immutable/index.js +20 -0
  200. package/distribution/immutable/index.js.map +1 -0
  201. package/distribution/immutable/order-by.d.ts +3 -0
  202. package/distribution/immutable/order-by.d.ts.map +1 -0
  203. package/distribution/immutable/order-by.js +7 -0
  204. package/distribution/immutable/order-by.js.map +1 -0
  205. package/distribution/immutable/sort-by-desc.d.ts +3 -0
  206. package/distribution/immutable/sort-by-desc.d.ts.map +1 -0
  207. package/distribution/immutable/sort-by-desc.js +7 -0
  208. package/distribution/immutable/sort-by-desc.js.map +1 -0
  209. package/distribution/immutable/sort-by.d.ts +3 -0
  210. package/distribution/immutable/sort-by.d.ts.map +1 -0
  211. package/distribution/immutable/sort-by.js +7 -0
  212. package/distribution/immutable/sort-by.js.map +1 -0
  213. package/distribution/includes.d.ts +2 -0
  214. package/distribution/includes.d.ts.map +1 -0
  215. package/distribution/includes.js +20 -0
  216. package/distribution/includes.js.map +1 -0
  217. package/distribution/index-of.d.ts +2 -0
  218. package/distribution/index-of.d.ts.map +1 -0
  219. package/distribution/index-of.js +24 -0
  220. package/distribution/index-of.js.map +1 -0
  221. package/distribution/index.d.ts +192 -0
  222. package/distribution/index.d.ts.map +1 -0
  223. package/distribution/index.js +221 -0
  224. package/distribution/index.js.map +1 -0
  225. package/distribution/internal/compound-words.d.ts +2 -0
  226. package/distribution/internal/compound-words.d.ts.map +1 -0
  227. package/distribution/internal/compound-words.js +15 -0
  228. package/distribution/internal/compound-words.js.map +1 -0
  229. package/distribution/internal/index.d.ts +3 -0
  230. package/distribution/internal/index.d.ts.map +1 -0
  231. package/distribution/internal/index.js +19 -0
  232. package/distribution/internal/index.js.map +1 -0
  233. package/distribution/internal/types.d.ts +3 -0
  234. package/distribution/internal/types.d.ts.map +1 -0
  235. package/distribution/internal/types.js +3 -0
  236. package/distribution/internal/types.js.map +1 -0
  237. package/distribution/intersection.d.ts +2 -0
  238. package/distribution/intersection.d.ts.map +1 -0
  239. package/distribution/intersection.js +17 -0
  240. package/distribution/intersection.js.map +1 -0
  241. package/distribution/is-arguments.d.ts +2 -0
  242. package/distribution/is-arguments.d.ts.map +1 -0
  243. package/distribution/is-arguments.js +7 -0
  244. package/distribution/is-arguments.js.map +1 -0
  245. package/distribution/is-array-of-type.d.ts +2 -0
  246. package/distribution/is-array-of-type.d.ts.map +1 -0
  247. package/distribution/is-array-of-type.js +7 -0
  248. package/distribution/is-array-of-type.js.map +1 -0
  249. package/distribution/is-array.d.ts +2 -0
  250. package/distribution/is-array.d.ts.map +1 -0
  251. package/distribution/is-array.js +6 -0
  252. package/distribution/is-array.js.map +1 -0
  253. package/distribution/is-async-function.d.ts +2 -0
  254. package/distribution/is-async-function.d.ts.map +1 -0
  255. package/distribution/is-async-function.js +7 -0
  256. package/distribution/is-async-function.js.map +1 -0
  257. package/distribution/is-between.d.ts +2 -0
  258. package/distribution/is-between.d.ts.map +1 -0
  259. package/distribution/is-between.js +6 -0
  260. package/distribution/is-between.js.map +1 -0
  261. package/distribution/is-bigint.d.ts +2 -0
  262. package/distribution/is-bigint.d.ts.map +1 -0
  263. package/distribution/is-bigint.js +6 -0
  264. package/distribution/is-bigint.js.map +1 -0
  265. package/distribution/is-boolean-array.d.ts +2 -0
  266. package/distribution/is-boolean-array.d.ts.map +1 -0
  267. package/distribution/is-boolean-array.js +7 -0
  268. package/distribution/is-boolean-array.js.map +1 -0
  269. package/distribution/is-boolean.d.ts +2 -0
  270. package/distribution/is-boolean.d.ts.map +1 -0
  271. package/distribution/is-boolean.js +6 -0
  272. package/distribution/is-boolean.js.map +1 -0
  273. package/distribution/is-buffer.d.ts +2 -0
  274. package/distribution/is-buffer.d.ts.map +1 -0
  275. package/distribution/is-buffer.js +6 -0
  276. package/distribution/is-buffer.js.map +1 -0
  277. package/distribution/is-constructor.d.ts +2 -0
  278. package/distribution/is-constructor.d.ts.map +1 -0
  279. package/distribution/is-constructor.js +6 -0
  280. package/distribution/is-constructor.js.map +1 -0
  281. package/distribution/is-date.d.ts +2 -0
  282. package/distribution/is-date.d.ts.map +1 -0
  283. package/distribution/is-date.js +6 -0
  284. package/distribution/is-date.js.map +1 -0
  285. package/distribution/is-empty-array.d.ts +2 -0
  286. package/distribution/is-empty-array.d.ts.map +1 -0
  287. package/distribution/is-empty-array.js +7 -0
  288. package/distribution/is-empty-array.js.map +1 -0
  289. package/distribution/is-empty-map.d.ts +2 -0
  290. package/distribution/is-empty-map.d.ts.map +1 -0
  291. package/distribution/is-empty-map.js +7 -0
  292. package/distribution/is-empty-map.js.map +1 -0
  293. package/distribution/is-empty-object.d.ts +2 -0
  294. package/distribution/is-empty-object.d.ts.map +1 -0
  295. package/distribution/is-empty-object.js +7 -0
  296. package/distribution/is-empty-object.js.map +1 -0
  297. package/distribution/is-empty-set.d.ts +2 -0
  298. package/distribution/is-empty-set.d.ts.map +1 -0
  299. package/distribution/is-empty-set.js +7 -0
  300. package/distribution/is-empty-set.js.map +1 -0
  301. package/distribution/is-empty.d.ts +2 -0
  302. package/distribution/is-empty.d.ts.map +1 -0
  303. package/distribution/is-empty.js +17 -0
  304. package/distribution/is-empty.js.map +1 -0
  305. package/distribution/is-enumerable.d.ts +2 -0
  306. package/distribution/is-enumerable.d.ts.map +1 -0
  307. package/distribution/is-enumerable.js +6 -0
  308. package/distribution/is-enumerable.js.map +1 -0
  309. package/distribution/is-equal.d.ts +3 -0
  310. package/distribution/is-equal.d.ts.map +1 -0
  311. package/distribution/is-equal.js +9 -0
  312. package/distribution/is-equal.js.map +1 -0
  313. package/distribution/is-error.d.ts +2 -0
  314. package/distribution/is-error.d.ts.map +1 -0
  315. package/distribution/is-error.js +6 -0
  316. package/distribution/is-error.js.map +1 -0
  317. package/distribution/is-false.d.ts +2 -0
  318. package/distribution/is-false.d.ts.map +1 -0
  319. package/distribution/is-false.js +6 -0
  320. package/distribution/is-false.js.map +1 -0
  321. package/distribution/is-function.d.ts +2 -0
  322. package/distribution/is-function.d.ts.map +1 -0
  323. package/distribution/is-function.js +8 -0
  324. package/distribution/is-function.js.map +1 -0
  325. package/distribution/is-git.d.ts +2 -0
  326. package/distribution/is-git.d.ts.map +1 -0
  327. package/distribution/is-git.js +6 -0
  328. package/distribution/is-git.js.map +1 -0
  329. package/distribution/is-greater-than-or-equal.d.ts +2 -0
  330. package/distribution/is-greater-than-or-equal.d.ts.map +1 -0
  331. package/distribution/is-greater-than-or-equal.js +6 -0
  332. package/distribution/is-greater-than-or-equal.js.map +1 -0
  333. package/distribution/is-greater-than.d.ts +2 -0
  334. package/distribution/is-greater-than.d.ts.map +1 -0
  335. package/distribution/is-greater-than.js +6 -0
  336. package/distribution/is-greater-than.js.map +1 -0
  337. package/distribution/is-less-than-or-equal.d.ts +2 -0
  338. package/distribution/is-less-than-or-equal.d.ts.map +1 -0
  339. package/distribution/is-less-than-or-equal.js +6 -0
  340. package/distribution/is-less-than-or-equal.js.map +1 -0
  341. package/distribution/is-less-than.d.ts +2 -0
  342. package/distribution/is-less-than.d.ts.map +1 -0
  343. package/distribution/is-less-than.js +6 -0
  344. package/distribution/is-less-than.js.map +1 -0
  345. package/distribution/is-map.d.ts +2 -0
  346. package/distribution/is-map.d.ts.map +1 -0
  347. package/distribution/is-map.js +6 -0
  348. package/distribution/is-map.js.map +1 -0
  349. package/distribution/is-match.d.ts +2 -0
  350. package/distribution/is-match.d.ts.map +1 -0
  351. package/distribution/is-match.js +6 -0
  352. package/distribution/is-match.js.map +1 -0
  353. package/distribution/is-negative-zero.d.ts +2 -0
  354. package/distribution/is-negative-zero.d.ts.map +1 -0
  355. package/distribution/is-negative-zero.js +6 -0
  356. package/distribution/is-negative-zero.js.map +1 -0
  357. package/distribution/is-negative.d.ts +2 -0
  358. package/distribution/is-negative.d.ts.map +1 -0
  359. package/distribution/is-negative.js +7 -0
  360. package/distribution/is-negative.js.map +1 -0
  361. package/distribution/is-nil.d.ts +2 -0
  362. package/distribution/is-nil.d.ts.map +1 -0
  363. package/distribution/is-nil.js +7 -0
  364. package/distribution/is-nil.js.map +1 -0
  365. package/distribution/is-not-between.d.ts +2 -0
  366. package/distribution/is-not-between.d.ts.map +1 -0
  367. package/distribution/is-not-between.js +7 -0
  368. package/distribution/is-not-between.js.map +1 -0
  369. package/distribution/is-not-equal.d.ts +2 -0
  370. package/distribution/is-not-equal.d.ts.map +1 -0
  371. package/distribution/is-not-equal.js +7 -0
  372. package/distribution/is-not-equal.js.map +1 -0
  373. package/distribution/is-null.d.ts +2 -0
  374. package/distribution/is-null.d.ts.map +1 -0
  375. package/distribution/is-null.js +6 -0
  376. package/distribution/is-null.js.map +1 -0
  377. package/distribution/is-number-array.d.ts +2 -0
  378. package/distribution/is-number-array.d.ts.map +1 -0
  379. package/distribution/is-number-array.js +7 -0
  380. package/distribution/is-number-array.js.map +1 -0
  381. package/distribution/is-number.d.ts +2 -0
  382. package/distribution/is-number.d.ts.map +1 -0
  383. package/distribution/is-number.js +6 -0
  384. package/distribution/is-number.js.map +1 -0
  385. package/distribution/is-object.d.ts +2 -0
  386. package/distribution/is-object.d.ts.map +1 -0
  387. package/distribution/is-object.js +6 -0
  388. package/distribution/is-object.js.map +1 -0
  389. package/distribution/is-positive-zero.d.ts +2 -0
  390. package/distribution/is-positive-zero.d.ts.map +1 -0
  391. package/distribution/is-positive-zero.js +6 -0
  392. package/distribution/is-positive-zero.js.map +1 -0
  393. package/distribution/is-positive.d.ts +2 -0
  394. package/distribution/is-positive.d.ts.map +1 -0
  395. package/distribution/is-positive.js +7 -0
  396. package/distribution/is-positive.js.map +1 -0
  397. package/distribution/is-promise.d.ts +2 -0
  398. package/distribution/is-promise.d.ts.map +1 -0
  399. package/distribution/is-promise.js +6 -0
  400. package/distribution/is-promise.js.map +1 -0
  401. package/distribution/is-reg-exp.d.ts +2 -0
  402. package/distribution/is-reg-exp.d.ts.map +1 -0
  403. package/distribution/is-reg-exp.js +6 -0
  404. package/distribution/is-reg-exp.js.map +1 -0
  405. package/distribution/is-set.d.ts +2 -0
  406. package/distribution/is-set.d.ts.map +1 -0
  407. package/distribution/is-set.js +6 -0
  408. package/distribution/is-set.js.map +1 -0
  409. package/distribution/is-ssh.d.ts +2 -0
  410. package/distribution/is-ssh.d.ts.map +1 -0
  411. package/distribution/is-ssh.js +14 -0
  412. package/distribution/is-ssh.js.map +1 -0
  413. package/distribution/is-string-array.d.ts +2 -0
  414. package/distribution/is-string-array.d.ts.map +1 -0
  415. package/distribution/is-string-array.js +7 -0
  416. package/distribution/is-string-array.js.map +1 -0
  417. package/distribution/is-string.d.ts +2 -0
  418. package/distribution/is-string.d.ts.map +1 -0
  419. package/distribution/is-string.js +6 -0
  420. package/distribution/is-string.js.map +1 -0
  421. package/distribution/is-symbol.d.ts +2 -0
  422. package/distribution/is-symbol.d.ts.map +1 -0
  423. package/distribution/is-symbol.js +6 -0
  424. package/distribution/is-symbol.js.map +1 -0
  425. package/distribution/is-sync-function.d.ts +2 -0
  426. package/distribution/is-sync-function.d.ts.map +1 -0
  427. package/distribution/is-sync-function.js +7 -0
  428. package/distribution/is-sync-function.js.map +1 -0
  429. package/distribution/is-true.d.ts +2 -0
  430. package/distribution/is-true.d.ts.map +1 -0
  431. package/distribution/is-true.js +6 -0
  432. package/distribution/is-true.js.map +1 -0
  433. package/distribution/is-undefined.d.ts +2 -0
  434. package/distribution/is-undefined.d.ts.map +1 -0
  435. package/distribution/is-undefined.js +6 -0
  436. package/distribution/is-undefined.js.map +1 -0
  437. package/distribution/is-uri.d.ts +2 -0
  438. package/distribution/is-uri.d.ts.map +1 -0
  439. package/distribution/is-uri.js +6 -0
  440. package/distribution/is-uri.js.map +1 -0
  441. package/distribution/is-url.d.ts +4 -0
  442. package/distribution/is-url.d.ts.map +1 -0
  443. package/distribution/is-url.js +7 -0
  444. package/distribution/is-url.js.map +1 -0
  445. package/distribution/is-weak-map.d.ts +2 -0
  446. package/distribution/is-weak-map.d.ts.map +1 -0
  447. package/distribution/is-weak-map.js +6 -0
  448. package/distribution/is-weak-map.js.map +1 -0
  449. package/distribution/is-weak-set.d.ts +2 -0
  450. package/distribution/is-weak-set.d.ts.map +1 -0
  451. package/distribution/is-weak-set.js +6 -0
  452. package/distribution/is-weak-set.js.map +1 -0
  453. package/distribution/kebab-case.d.ts +2 -0
  454. package/distribution/kebab-case.d.ts.map +1 -0
  455. package/distribution/kebab-case.js +7 -0
  456. package/distribution/kebab-case.js.map +1 -0
  457. package/distribution/key-by.d.ts +3 -0
  458. package/distribution/key-by.d.ts.map +1 -0
  459. package/distribution/key-by.js +9 -0
  460. package/distribution/key-by.js.map +1 -0
  461. package/distribution/keys-in.d.ts +2 -0
  462. package/distribution/keys-in.d.ts.map +1 -0
  463. package/distribution/keys-in.js +9 -0
  464. package/distribution/keys-in.js.map +1 -0
  465. package/distribution/keys.d.ts +2 -0
  466. package/distribution/keys.d.ts.map +1 -0
  467. package/distribution/keys.js +6 -0
  468. package/distribution/keys.js.map +1 -0
  469. package/distribution/last-index-of.d.ts +2 -0
  470. package/distribution/last-index-of.d.ts.map +1 -0
  471. package/distribution/last-index-of.js +21 -0
  472. package/distribution/last-index-of.js.map +1 -0
  473. package/distribution/last-map-entry.d.ts +2 -0
  474. package/distribution/last-map-entry.d.ts.map +1 -0
  475. package/distribution/last-map-entry.js +6 -0
  476. package/distribution/last-map-entry.js.map +1 -0
  477. package/distribution/last-map-key.d.ts +2 -0
  478. package/distribution/last-map-key.d.ts.map +1 -0
  479. package/distribution/last-map-key.js +7 -0
  480. package/distribution/last-map-key.js.map +1 -0
  481. package/distribution/last-map-value.d.ts +2 -0
  482. package/distribution/last-map-value.d.ts.map +1 -0
  483. package/distribution/last-map-value.js +7 -0
  484. package/distribution/last-map-value.js.map +1 -0
  485. package/distribution/last.d.ts +2 -0
  486. package/distribution/last.d.ts.map +1 -0
  487. package/distribution/last.js +7 -0
  488. package/distribution/last.js.map +1 -0
  489. package/distribution/lower-case.d.ts +2 -0
  490. package/distribution/lower-case.d.ts.map +1 -0
  491. package/distribution/lower-case.js +7 -0
  492. package/distribution/lower-case.js.map +1 -0
  493. package/distribution/lower-first.d.ts +2 -0
  494. package/distribution/lower-first.d.ts.map +1 -0
  495. package/distribution/lower-first.js +6 -0
  496. package/distribution/lower-first.js.map +1 -0
  497. package/distribution/map-array.d.ts +3 -0
  498. package/distribution/map-array.d.ts.map +1 -0
  499. package/distribution/map-array.js +12 -0
  500. package/distribution/map-array.js.map +1 -0
  501. package/distribution/map-object.d.ts +3 -0
  502. package/distribution/map-object.d.ts.map +1 -0
  503. package/distribution/map-object.js +13 -0
  504. package/distribution/map-object.js.map +1 -0
  505. package/distribution/map-values.d.ts +3 -0
  506. package/distribution/map-values.d.ts.map +1 -0
  507. package/distribution/map-values.js +13 -0
  508. package/distribution/map-values.js.map +1 -0
  509. package/distribution/map.d.ts +3 -0
  510. package/distribution/map.d.ts.map +1 -0
  511. package/distribution/map.js +9 -0
  512. package/distribution/map.js.map +1 -0
  513. package/distribution/match.d.ts +2 -0
  514. package/distribution/match.d.ts.map +1 -0
  515. package/distribution/match.js +13 -0
  516. package/distribution/match.js.map +1 -0
  517. package/distribution/max-by.d.ts +3 -0
  518. package/distribution/max-by.d.ts.map +1 -0
  519. package/distribution/max-by.js +18 -0
  520. package/distribution/max-by.js.map +1 -0
  521. package/distribution/max.d.ts +2 -0
  522. package/distribution/max.d.ts.map +1 -0
  523. package/distribution/max.js +12 -0
  524. package/distribution/max.js.map +1 -0
  525. package/distribution/merge.d.ts +2 -0
  526. package/distribution/merge.d.ts.map +1 -0
  527. package/distribution/merge.js +9 -0
  528. package/distribution/merge.js.map +1 -0
  529. package/distribution/min-by.d.ts +3 -0
  530. package/distribution/min-by.d.ts.map +1 -0
  531. package/distribution/min-by.js +18 -0
  532. package/distribution/min-by.js.map +1 -0
  533. package/distribution/min.d.ts +2 -0
  534. package/distribution/min.d.ts.map +1 -0
  535. package/distribution/min.js +12 -0
  536. package/distribution/min.js.map +1 -0
  537. package/distribution/nsect.d.ts +8 -0
  538. package/distribution/nsect.d.ts.map +1 -0
  539. package/distribution/nsect.js +99 -0
  540. package/distribution/nsect.js.map +1 -0
  541. package/distribution/number-array.d.ts +2 -0
  542. package/distribution/number-array.d.ts.map +1 -0
  543. package/distribution/number-array.js +6 -0
  544. package/distribution/number-array.js.map +1 -0
  545. package/distribution/number-to-hex.d.ts +2 -0
  546. package/distribution/number-to-hex.d.ts.map +1 -0
  547. package/distribution/number-to-hex.js +9 -0
  548. package/distribution/number-to-hex.js.map +1 -0
  549. package/distribution/omit-by.d.ts +3 -0
  550. package/distribution/omit-by.d.ts.map +1 -0
  551. package/distribution/omit-by.js +7 -0
  552. package/distribution/omit-by.js.map +1 -0
  553. package/distribution/order-by.d.ts +3 -0
  554. package/distribution/order-by.d.ts.map +1 -0
  555. package/distribution/order-by.js +21 -0
  556. package/distribution/order-by.js.map +1 -0
  557. package/distribution/ordinal.d.ts +2 -0
  558. package/distribution/ordinal.d.ts.map +1 -0
  559. package/distribution/ordinal.js +7 -0
  560. package/distribution/ordinal.js.map +1 -0
  561. package/distribution/parse-git-url.d.ts +8 -0
  562. package/distribution/parse-git-url.d.ts.map +1 -0
  563. package/distribution/parse-git-url.js +37 -0
  564. package/distribution/parse-git-url.js.map +1 -0
  565. package/distribution/parse-uri.d.ts +10 -0
  566. package/distribution/parse-uri.d.ts.map +1 -0
  567. package/distribution/parse-uri.js +19 -0
  568. package/distribution/parse-uri.js.map +1 -0
  569. package/distribution/parse.d.ts +2 -0
  570. package/distribution/parse.d.ts.map +1 -0
  571. package/distribution/parse.js +7 -0
  572. package/distribution/parse.js.map +1 -0
  573. package/distribution/partition.d.ts +3 -0
  574. package/distribution/partition.d.ts.map +1 -0
  575. package/distribution/partition.js +9 -0
  576. package/distribution/partition.js.map +1 -0
  577. package/distribution/pascal-case.d.ts +2 -0
  578. package/distribution/pascal-case.d.ts.map +1 -0
  579. package/distribution/pascal-case.js +8 -0
  580. package/distribution/pascal-case.js.map +1 -0
  581. package/distribution/path-case.d.ts +2 -0
  582. package/distribution/path-case.d.ts.map +1 -0
  583. package/distribution/path-case.js +7 -0
  584. package/distribution/path-case.js.map +1 -0
  585. package/distribution/pick-by.d.ts +3 -0
  586. package/distribution/pick-by.d.ts.map +1 -0
  587. package/distribution/pick-by.js +7 -0
  588. package/distribution/pick-by.js.map +1 -0
  589. package/distribution/pick.d.ts +2 -0
  590. package/distribution/pick.d.ts.map +1 -0
  591. package/distribution/pick.js +12 -0
  592. package/distribution/pick.js.map +1 -0
  593. package/distribution/pluck.d.ts +2 -0
  594. package/distribution/pluck.d.ts.map +1 -0
  595. package/distribution/pluck.js +15 -0
  596. package/distribution/pluck.js.map +1 -0
  597. package/distribution/pluralize.d.ts +2 -0
  598. package/distribution/pluralize.d.ts.map +1 -0
  599. package/distribution/pluralize.js +12 -0
  600. package/distribution/pluralize.js.map +1 -0
  601. package/distribution/pretty-bytes.d.ts +2 -0
  602. package/distribution/pretty-bytes.d.ts.map +1 -0
  603. package/distribution/pretty-bytes.js +13 -0
  604. package/distribution/pretty-bytes.js.map +1 -0
  605. package/distribution/pretty-time.d.ts +2 -0
  606. package/distribution/pretty-time.d.ts.map +1 -0
  607. package/distribution/pretty-time.js +34 -0
  608. package/distribution/pretty-time.js.map +1 -0
  609. package/distribution/protocols.d.ts +2 -0
  610. package/distribution/protocols.d.ts.map +1 -0
  611. package/distribution/protocols.js +9 -0
  612. package/distribution/protocols.js.map +1 -0
  613. package/distribution/pull-all-by.d.ts +3 -0
  614. package/distribution/pull-all-by.d.ts.map +1 -0
  615. package/distribution/pull-all-by.js +16 -0
  616. package/distribution/pull-all-by.js.map +1 -0
  617. package/distribution/pull-all.d.ts +2 -0
  618. package/distribution/pull-all.d.ts.map +1 -0
  619. package/distribution/pull-all.js +7 -0
  620. package/distribution/pull-all.js.map +1 -0
  621. package/distribution/pull.d.ts +2 -0
  622. package/distribution/pull.d.ts.map +1 -0
  623. package/distribution/pull.js +7 -0
  624. package/distribution/pull.js.map +1 -0
  625. package/distribution/random-base64.d.ts +2 -0
  626. package/distribution/random-base64.d.ts.map +1 -0
  627. package/distribution/random-base64.js +11 -0
  628. package/distribution/random-base64.js.map +1 -0
  629. package/distribution/random-bits.d.ts +3 -0
  630. package/distribution/random-bits.d.ts.map +1 -0
  631. package/distribution/random-bits.js +7 -0
  632. package/distribution/random-bits.js.map +1 -0
  633. package/distribution/random-hex.d.ts +2 -0
  634. package/distribution/random-hex.d.ts.map +1 -0
  635. package/distribution/random-hex.js +9 -0
  636. package/distribution/random-hex.js.map +1 -0
  637. package/distribution/random-number.d.ts +2 -0
  638. package/distribution/random-number.d.ts.map +1 -0
  639. package/distribution/random-number.js +6 -0
  640. package/distribution/random-number.js.map +1 -0
  641. package/distribution/reduce-array.d.ts +3 -0
  642. package/distribution/reduce-array.d.ts.map +1 -0
  643. package/distribution/reduce-array.js +12 -0
  644. package/distribution/reduce-array.js.map +1 -0
  645. package/distribution/reduce-object.d.ts +3 -0
  646. package/distribution/reduce-object.d.ts.map +1 -0
  647. package/distribution/reduce-object.js +13 -0
  648. package/distribution/reduce-object.js.map +1 -0
  649. package/distribution/reduce-right-array.d.ts +3 -0
  650. package/distribution/reduce-right-array.d.ts.map +1 -0
  651. package/distribution/reduce-right-array.js +12 -0
  652. package/distribution/reduce-right-array.js.map +1 -0
  653. package/distribution/reduce-right-object.d.ts +3 -0
  654. package/distribution/reduce-right-object.d.ts.map +1 -0
  655. package/distribution/reduce-right-object.js +14 -0
  656. package/distribution/reduce-right-object.js.map +1 -0
  657. package/distribution/reduce-right.d.ts +3 -0
  658. package/distribution/reduce-right.d.ts.map +1 -0
  659. package/distribution/reduce-right.js +11 -0
  660. package/distribution/reduce-right.js.map +1 -0
  661. package/distribution/reduce.d.ts +3 -0
  662. package/distribution/reduce.d.ts.map +1 -0
  663. package/distribution/reduce.js +9 -0
  664. package/distribution/reduce.js.map +1 -0
  665. package/distribution/reject.d.ts +3 -0
  666. package/distribution/reject.d.ts.map +1 -0
  667. package/distribution/reject.js +7 -0
  668. package/distribution/reject.js.map +1 -0
  669. package/distribution/reverse.d.ts +2 -0
  670. package/distribution/reverse.d.ts.map +1 -0
  671. package/distribution/reverse.js +6 -0
  672. package/distribution/reverse.js.map +1 -0
  673. package/distribution/safe-equal.d.ts +2 -0
  674. package/distribution/safe-equal.d.ts.map +1 -0
  675. package/distribution/safe-equal.js +14 -0
  676. package/distribution/safe-equal.js.map +1 -0
  677. package/distribution/sample.d.ts +2 -0
  678. package/distribution/sample.d.ts.map +1 -0
  679. package/distribution/sample.js +6 -0
  680. package/distribution/sample.js.map +1 -0
  681. package/distribution/semver.d.ts +9 -0
  682. package/distribution/semver.d.ts.map +1 -0
  683. package/distribution/semver.js +32 -0
  684. package/distribution/semver.js.map +1 -0
  685. package/distribution/set.d.ts +2 -0
  686. package/distribution/set.d.ts.map +1 -0
  687. package/distribution/set.js +25 -0
  688. package/distribution/set.js.map +1 -0
  689. package/distribution/shuffle.d.ts +2 -0
  690. package/distribution/shuffle.d.ts.map +1 -0
  691. package/distribution/shuffle.js +16 -0
  692. package/distribution/shuffle.js.map +1 -0
  693. package/distribution/sleep.d.ts +3 -0
  694. package/distribution/sleep.d.ts.map +1 -0
  695. package/distribution/sleep.js +6 -0
  696. package/distribution/sleep.js.map +1 -0
  697. package/distribution/slice.d.ts +2 -0
  698. package/distribution/slice.d.ts.map +1 -0
  699. package/distribution/slice.js +24 -0
  700. package/distribution/slice.js.map +1 -0
  701. package/distribution/snake-case.d.ts +2 -0
  702. package/distribution/snake-case.d.ts.map +1 -0
  703. package/distribution/snake-case.js +7 -0
  704. package/distribution/snake-case.js.map +1 -0
  705. package/distribution/some.d.ts +3 -0
  706. package/distribution/some.d.ts.map +1 -0
  707. package/distribution/some.js +13 -0
  708. package/distribution/some.js.map +1 -0
  709. package/distribution/sort-by-desc.d.ts +3 -0
  710. package/distribution/sort-by-desc.d.ts.map +1 -0
  711. package/distribution/sort-by-desc.js +7 -0
  712. package/distribution/sort-by-desc.js.map +1 -0
  713. package/distribution/sort-by.d.ts +3 -0
  714. package/distribution/sort-by.d.ts.map +1 -0
  715. package/distribution/sort-by.js +7 -0
  716. package/distribution/sort-by.js.map +1 -0
  717. package/distribution/start-case.d.ts +2 -0
  718. package/distribution/start-case.d.ts.map +1 -0
  719. package/distribution/start-case.js +8 -0
  720. package/distribution/start-case.js.map +1 -0
  721. package/distribution/stringify.d.ts +2 -0
  722. package/distribution/stringify.d.ts.map +1 -0
  723. package/distribution/stringify.js +13 -0
  724. package/distribution/stringify.js.map +1 -0
  725. package/distribution/tail.d.ts +2 -0
  726. package/distribution/tail.d.ts.map +1 -0
  727. package/distribution/tail.js +7 -0
  728. package/distribution/tail.js.map +1 -0
  729. package/distribution/take.d.ts +2 -0
  730. package/distribution/take.d.ts.map +1 -0
  731. package/distribution/take.js +7 -0
  732. package/distribution/take.js.map +1 -0
  733. package/distribution/to-lower.d.ts +2 -0
  734. package/distribution/to-lower.d.ts.map +1 -0
  735. package/distribution/to-lower.js +7 -0
  736. package/distribution/to-lower.js.map +1 -0
  737. package/distribution/to-string.d.ts +2 -0
  738. package/distribution/to-string.d.ts.map +1 -0
  739. package/distribution/to-string.js +13 -0
  740. package/distribution/to-string.js.map +1 -0
  741. package/distribution/to-upper.d.ts +2 -0
  742. package/distribution/to-upper.d.ts.map +1 -0
  743. package/distribution/to-upper.js +7 -0
  744. package/distribution/to-upper.js.map +1 -0
  745. package/distribution/trim-trailing-slash.d.ts +2 -0
  746. package/distribution/trim-trailing-slash.d.ts.map +1 -0
  747. package/distribution/trim-trailing-slash.js +6 -0
  748. package/distribution/trim-trailing-slash.js.map +1 -0
  749. package/distribution/truncate.d.ts +6 -0
  750. package/distribution/truncate.d.ts.map +1 -0
  751. package/distribution/truncate.js +32 -0
  752. package/distribution/truncate.js.map +1 -0
  753. package/distribution/union-by.d.ts +2 -0
  754. package/distribution/union-by.d.ts.map +1 -0
  755. package/distribution/union-by.js +11 -0
  756. package/distribution/union-by.js.map +1 -0
  757. package/distribution/union.d.ts +2 -0
  758. package/distribution/union.d.ts.map +1 -0
  759. package/distribution/union.js +8 -0
  760. package/distribution/union.js.map +1 -0
  761. package/distribution/uniq-by.d.ts +3 -0
  762. package/distribution/uniq-by.d.ts.map +1 -0
  763. package/distribution/uniq-by.js +18 -0
  764. package/distribution/uniq-by.js.map +1 -0
  765. package/distribution/uniq.d.ts +2 -0
  766. package/distribution/uniq.d.ts.map +1 -0
  767. package/distribution/uniq.js +16 -0
  768. package/distribution/uniq.js.map +1 -0
  769. package/distribution/unset.d.ts +2 -0
  770. package/distribution/unset.d.ts.map +1 -0
  771. package/distribution/unset.js +26 -0
  772. package/distribution/unset.js.map +1 -0
  773. package/distribution/upper-case.d.ts +2 -0
  774. package/distribution/upper-case.d.ts.map +1 -0
  775. package/distribution/upper-case.js +7 -0
  776. package/distribution/upper-case.js.map +1 -0
  777. package/distribution/upper-first.d.ts +2 -0
  778. package/distribution/upper-first.d.ts.map +1 -0
  779. package/distribution/upper-first.js +6 -0
  780. package/distribution/upper-first.js.map +1 -0
  781. package/distribution/validator-set-pack.d.ts +3 -0
  782. package/distribution/validator-set-pack.d.ts.map +1 -0
  783. package/distribution/validator-set-pack.js +24 -0
  784. package/distribution/validator-set-pack.js.map +1 -0
  785. package/distribution/words.d.ts +2 -0
  786. package/distribution/words.d.ts.map +1 -0
  787. package/distribution/words.js +6 -0
  788. package/distribution/words.js.map +1 -0
  789. package/distribution/zip-object.d.ts +2 -0
  790. package/distribution/zip-object.d.ts.map +1 -0
  791. package/distribution/zip-object.js +12 -0
  792. package/distribution/zip-object.js.map +1 -0
  793. package/package.json +43 -0
@@ -0,0 +1,2 @@
1
+ export declare const chunk: <T>(iterable: T[], chunkSize: number) => T[][];
2
+ //# sourceMappingURL=chunk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.d.ts","sourceRoot":"","sources":["../source/chunk.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,gCAAiC,MAAM,UAgBxD,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.chunk = void 0;
4
+ const slice_1 = require("./slice");
5
+ const chunk = (iterable, chunkSize) => {
6
+ const iterableLength = iterable.length;
7
+ if (!iterableLength || chunkSize <= 0) {
8
+ return [];
9
+ }
10
+ let index = 0;
11
+ let resIndex = 0;
12
+ const result = Array.from({ length: Math.ceil(iterableLength / chunkSize) });
13
+ while (index < iterableLength) {
14
+ result[resIndex++] = (0, slice_1.slice)(iterable, index, (index += chunkSize));
15
+ }
16
+ return result;
17
+ };
18
+ exports.chunk = chunk;
19
+ //# sourceMappingURL=chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.js","sourceRoot":"","sources":["../source/chunk.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEzB,MAAM,KAAK,GAAG,CAAI,QAAa,EAAE,SAAiB,EAAS,EAAE;IACnE,MAAM,cAAc,GAAW,QAAQ,CAAC,MAAM,CAAC;IAE/C,IAAI,CAAC,cAAc,IAAI,SAAS,IAAI,CAAC,EAAE,CAAC;QACvC,OAAO,EAAE,CAAC;IACX,CAAC;IAED,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,MAAM,MAAM,GAAU,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;IAEpF,OAAO,KAAK,GAAG,cAAc,EAAE,CAAC;QAC/B,MAAM,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAA,aAAK,EAAI,QAAQ,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAhBW,QAAA,KAAK,SAgBhB"}
@@ -0,0 +1,2 @@
1
+ export declare const cloneArray: <T>(input: T[]) => T[];
2
+ //# sourceMappingURL=clone-array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-array.d.ts","sourceRoot":"","sources":["../source/clone-array.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,wBAQtB,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cloneArray = void 0;
4
+ const cloneArray = (input) => {
5
+ const sliced = Array.from({ length: input.length });
6
+ for (const [index, element] of input.entries()) {
7
+ sliced[index] = element;
8
+ }
9
+ return sliced;
10
+ };
11
+ exports.cloneArray = cloneArray;
12
+ //# sourceMappingURL=clone-array.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-array.js","sourceRoot":"","sources":["../source/clone-array.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CAAI,KAAU,EAAO,EAAE;IAChD,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAEvD,KAAK,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;QAChD,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AARW,QAAA,UAAU,cAQrB"}
@@ -0,0 +1,2 @@
1
+ export declare const cloneDeep: <T>(object: T) => T;
2
+ //# sourceMappingURL=clone-deep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-deep.d.ts","sourceRoot":"","sources":["../source/clone-deep.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,qBAAyC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.cloneDeep = void 0;
7
+ const fast_copy_1 = __importDefault(require("fast-copy"));
8
+ const cloneDeep = (object) => (0, fast_copy_1.default)(object);
9
+ exports.cloneDeep = cloneDeep;
10
+ //# sourceMappingURL=clone-deep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-deep.js","sourceRoot":"","sources":["../source/clone-deep.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAkC;AAE3B,MAAM,SAAS,GAAG,CAAI,MAAS,EAAK,EAAE,CAAC,IAAA,mBAAS,EAAC,MAAM,CAAC,CAAC;AAAnD,QAAA,SAAS,aAA0C"}
@@ -0,0 +1,2 @@
1
+ export declare const cloneObject: <T extends {}>(input: T) => T;
2
+ //# sourceMappingURL=clone-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-object.d.ts","sourceRoot":"","sources":["../source/clone-object.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+BASvB,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cloneObject = void 0;
4
+ const cloneObject = (input) => {
5
+ const keys = Object.keys(input);
6
+ const cloned = {};
7
+ for (const key of keys) {
8
+ cloned[key] = input[key];
9
+ }
10
+ return cloned;
11
+ };
12
+ exports.cloneObject = cloneObject;
13
+ //# sourceMappingURL=clone-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-object.js","sourceRoot":"","sources":["../source/clone-object.ts"],"names":[],"mappings":";;;AAAO,MAAM,WAAW,GAAG,CAAe,KAAQ,EAAK,EAAE;IACxD,MAAM,IAAI,GAAa,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACxB,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,OAAO,MAAW,CAAC;AACpB,CAAC,CAAC;AATW,QAAA,WAAW,eAStB"}
@@ -0,0 +1,2 @@
1
+ export declare const clone: <T extends {}>(iterable: T | T[]) => T | T[];
2
+ //# sourceMappingURL=clone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../source/clone.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,8CAC+C,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.clone = void 0;
4
+ const clone_array_1 = require("./clone-array");
5
+ const clone_object_1 = require("./clone-object");
6
+ const is_array_1 = require("./is-array");
7
+ const clone = (iterable) => (0, is_array_1.isArray)(iterable) ? (0, clone_array_1.cloneArray)(iterable) : (0, clone_object_1.cloneObject)(iterable);
8
+ exports.clone = clone;
9
+ //# sourceMappingURL=clone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone.js","sourceRoot":"","sources":["../source/clone.ts"],"names":[],"mappings":";;;AAAA,+CAA2C;AAC3C,iDAA6C;AAC7C,yCAAqC;AAE9B,MAAM,KAAK,GAAG,CAAe,QAAiB,EAAW,EAAE,CACjE,IAAA,kBAAO,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,wBAAU,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,0BAAW,EAAC,QAAQ,CAAC,CAAC;AADrD,QAAA,KAAK,SACgD"}
@@ -0,0 +1,20 @@
1
+ export declare class Collection<T> {
2
+ #private;
3
+ all(): Record<string, T>;
4
+ entries(): Array<[string, T]>;
5
+ keys(): string[];
6
+ values(): T[];
7
+ pull(key: string): T | undefined;
8
+ get(key: string): T | undefined;
9
+ set(key: string, value: T): void;
10
+ forget(key: string): void;
11
+ flush(): void;
12
+ has(key: string): boolean;
13
+ missing(key: string): boolean;
14
+ count(): number;
15
+ isEmpty(): boolean;
16
+ isNotEmpty(): boolean;
17
+ random(): T;
18
+ toJson(): string | undefined;
19
+ }
20
+ //# sourceMappingURL=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../source/collection.ts"],"names":[],"mappings":"AAOA,qBAAa,UAAU,CAAC,CAAC;;IAGjB,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAIxB,OAAO,IAAI,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAI7B,IAAI,IAAI,MAAM,EAAE;IAIhB,MAAM,IAAI,CAAC,EAAE;IAIb,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAQhC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAI/B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAIhC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzB,KAAK,IAAI,IAAI;IAIb,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIzB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAI7B,KAAK,IAAI,MAAM;IAIf,OAAO,IAAI,OAAO;IAIlB,UAAU,IAAI,OAAO;IAIrB,MAAM,IAAI,CAAC;IAIX,MAAM,IAAI,MAAM,GAAG,SAAS;CASnC"}
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
+ };
7
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
8
+ if (kind === "m") throw new TypeError("Private method is not writable");
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
11
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12
+ };
13
+ var _Collection_collection;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Collection = void 0;
16
+ const get_1 = require("./get");
17
+ const has_1 = require("./has");
18
+ const sample_1 = require("./sample");
19
+ const set_1 = require("./set");
20
+ const stringify_1 = require("./stringify");
21
+ const unset_1 = require("./unset");
22
+ class Collection {
23
+ constructor() {
24
+ _Collection_collection.set(this, {});
25
+ }
26
+ all() {
27
+ return __classPrivateFieldGet(this, _Collection_collection, "f");
28
+ }
29
+ entries() {
30
+ return Object.entries(__classPrivateFieldGet(this, _Collection_collection, "f"));
31
+ }
32
+ keys() {
33
+ return Object.keys(__classPrivateFieldGet(this, _Collection_collection, "f"));
34
+ }
35
+ values() {
36
+ return Object.values(__classPrivateFieldGet(this, _Collection_collection, "f"));
37
+ }
38
+ pull(key) {
39
+ const item = (0, get_1.get)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
40
+ this.forget(key);
41
+ return item;
42
+ }
43
+ get(key) {
44
+ return (0, get_1.get)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
45
+ }
46
+ set(key, value) {
47
+ (0, set_1.set)(__classPrivateFieldGet(this, _Collection_collection, "f"), key, value);
48
+ }
49
+ forget(key) {
50
+ (0, unset_1.unset)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
51
+ }
52
+ flush() {
53
+ __classPrivateFieldSet(this, _Collection_collection, {}, "f");
54
+ }
55
+ has(key) {
56
+ return (0, has_1.has)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
57
+ }
58
+ missing(key) {
59
+ return !this.has(key);
60
+ }
61
+ count() {
62
+ return Object.keys(__classPrivateFieldGet(this, _Collection_collection, "f")).length;
63
+ }
64
+ isEmpty() {
65
+ return this.count() <= 0;
66
+ }
67
+ isNotEmpty() {
68
+ return !this.isEmpty();
69
+ }
70
+ random() {
71
+ return (0, sample_1.sample)(this.values());
72
+ }
73
+ toJson() {
74
+ const collection = {};
75
+ for (const [key, value] of this.entries()) {
76
+ collection[key] = value;
77
+ }
78
+ return (0, stringify_1.stringify)(collection);
79
+ }
80
+ }
81
+ exports.Collection = Collection;
82
+ _Collection_collection = new WeakMap();
83
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.js","sourceRoot":"","sources":["../source/collection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,+BAA4B;AAC5B,2CAAwC;AACxC,mCAAgC;AAEhC,MAAa,UAAU;IAAvB;QACC,iCAAiC,EAAE,EAAC;IA2ErC,CAAC;IAzEO,GAAG;QACT,OAAO,uBAAA,IAAI,8BAAY,CAAC;IACzB,CAAC;IAEM,OAAO;QACb,OAAO,MAAM,CAAC,OAAO,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACzC,CAAC;IAEM,IAAI;QACV,OAAO,MAAM,CAAC,IAAI,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM;QACZ,OAAO,MAAM,CAAC,MAAM,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACxC,CAAC;IAEM,IAAI,CAAC,GAAW;QACtB,MAAM,IAAI,GAAG,IAAA,SAAG,EAAuB,uBAAA,IAAI,8BAAY,EAAE,GAAG,CAAC,CAAC;QAE9D,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAEjB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,IAAA,SAAG,EAAuB,uBAAA,IAAI,8BAAY,EAAE,GAAG,CAAC,CAAC;IACzD,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAA,SAAG,EAAC,uBAAA,IAAI,8BAAY,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IAEM,MAAM,CAAC,GAAW;QACxB,IAAA,aAAK,EAAC,uBAAA,IAAI,8BAAY,EAAE,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,KAAK;QACX,uBAAA,IAAI,0BAAe,EAAE,MAAA,CAAC;IACvB,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,IAAA,SAAG,EAAC,uBAAA,IAAI,8BAAY,EAAE,GAAG,CAAC,CAAC;IACnC,CAAC;IAEM,OAAO,CAAC,GAAW;QACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC,MAAM,CAAC;IAC7C,CAAC;IAEM,OAAO;QACb,OAAO,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEM,UAAU;QAChB,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;IAEM,MAAM;QACZ,OAAO,IAAA,eAAM,EAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM;QACZ,MAAM,UAAU,GAAsB,EAAE,CAAC;QAEzC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YAC3C,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACzB,CAAC;QAED,OAAO,IAAA,qBAAS,EAAC,UAAU,CAAC,CAAC;IAC9B,CAAC;CACD;AA5ED,gCA4EC"}
@@ -0,0 +1,2 @@
1
+ export declare const concat: <T>(...values: (T | T[])[]) => T[];
2
+ //# sourceMappingURL=concat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../source/concat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,oCAgBlB,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.concat = void 0;
4
+ const is_array_1 = require("./is-array");
5
+ const concat = (...values) => {
6
+ const result = [];
7
+ for (const item of values) {
8
+ if ((0, is_array_1.isArray)(item)) {
9
+ const childLength = item.length;
10
+ for (let index = 0; index < childLength; index++) {
11
+ result.push(item[index]);
12
+ }
13
+ }
14
+ else {
15
+ result.push(item);
16
+ }
17
+ }
18
+ return result;
19
+ };
20
+ exports.concat = concat;
21
+ //# sourceMappingURL=concat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat.js","sourceRoot":"","sources":["../source/concat.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAE9B,MAAM,MAAM,GAAG,CAAI,GAAG,MAAmB,EAAO,EAAE;IACxD,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,IAAA,kBAAO,EAAC,IAAI,CAAC,EAAE,CAAC;YACnB,MAAM,WAAW,GAAW,IAAI,CAAC,MAAM,CAAC;YAExC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,WAAW,EAAE,KAAK,EAAE,EAAE,CAAC;gBAClD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1B,CAAC;QACF,CAAC;aAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAhBW,QAAA,MAAM,UAgBjB"}
@@ -0,0 +1,2 @@
1
+ export declare const constantCase: (value: string) => string | undefined;
2
+ //# sourceMappingURL=constant-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant-case.d.ts","sourceRoot":"","sources":["../source/constant-case.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,MAAM,GAAG,SAIpD,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.constantCase = void 0;
4
+ const internal_1 = require("./internal");
5
+ const constantCase = (value) => (0, internal_1.compoundWords)(value, (result, word, index) => result + (index ? "_" : "") + word.toUpperCase());
6
+ exports.constantCase = constantCase;
7
+ //# sourceMappingURL=constant-case.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant-case.js","sourceRoot":"","sources":["../source/constant-case.ts"],"names":[],"mappings":";;;AAAA,yCAA2C;AAEpC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAsB,EAAE,CACjE,IAAA,wBAAa,EACZ,KAAK,EACL,CAAC,MAAc,EAAE,IAAY,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,CACjG,CAAC;AAJU,QAAA,YAAY,gBAItB"}
@@ -0,0 +1,2 @@
1
+ export declare const dotCase: (value: string) => string | undefined;
2
+ //# sourceMappingURL=dot-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dot-case.d.ts","sourceRoot":"","sources":["../source/dot-case.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,UAAW,MAAM,KAAG,MAAM,GAAG,SACyD,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dotCase = void 0;
4
+ const internal_1 = require("./internal");
5
+ const dotCase = (value) => (0, internal_1.compoundWords)(value, (result, word, index) => result + (index ? "." : "") + word);
6
+ exports.dotCase = dotCase;
7
+ //# sourceMappingURL=dot-case.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dot-case.js","sourceRoot":"","sources":["../source/dot-case.ts"],"names":[],"mappings":";;;AAAA,yCAA2C;AAEpC,MAAM,OAAO,GAAG,CAAC,KAAa,EAAsB,EAAE,CAC5D,IAAA,wBAAa,EAAC,KAAK,EAAE,CAAC,MAAc,EAAE,IAAY,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;AAD9F,QAAA,OAAO,WACuF"}
@@ -0,0 +1,7 @@
1
+ import { Primitive } from "type-fest";
2
+ export declare const dotenv: {
3
+ parse: (contents: string) => Record<string, Primitive>;
4
+ parseFile: (file: string) => Record<string, Primitive>;
5
+ stringify: (pairs: object) => string;
6
+ };
7
+ //# sourceMappingURL=dot-env.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dot-env.d.ts","sourceRoot":"","sources":["../source/dot-env.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AA6CtC,eAAO,MAAM,MAAM;sBAzCM,MAAM,KAAG,OAAO,MAAM,EAAE,SAAS,CAAC;sBA2BlC,MAAM,KAAG,OAAO,MAAM,EAAE,SAAS,CAAC;uBAEjC,MAAM,KAAG,MAAM;CAYY,CAAC"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dotenv = void 0;
4
+ const fs_1 = require("fs");
5
+ const is_string_1 = require("./is-string");
6
+ const parse = (contents) => {
7
+ const result = {};
8
+ for (const line of contents.toString().split("\n")) {
9
+ const matches = new RegExp(/^([^#:=]+?)[:=](.*)/).exec(line);
10
+ if (!matches) {
11
+ continue;
12
+ }
13
+ const key = matches[1].trim();
14
+ const value = matches[2].replace(/^"(.*)"$/, "$1").trim();
15
+ if (key && value) {
16
+ if (new RegExp(/^\d+$/).test(value)) {
17
+ result[key] = Number(value);
18
+ }
19
+ else if (["true", "false"].includes(value)) {
20
+ result[key] = value === "true";
21
+ }
22
+ else {
23
+ result[key] = value;
24
+ }
25
+ }
26
+ }
27
+ return result;
28
+ };
29
+ const parseFile = (file) => parse((0, fs_1.readFileSync)(file).toString());
30
+ const stringify = (pairs) => {
31
+ const contents = [];
32
+ for (const key of Object.keys(pairs).filter(Boolean)) {
33
+ const value = pairs[key];
34
+ contents.push((0, is_string_1.isString)(value) ? `${key}="${value}"` : `${key}=${value}`);
35
+ }
36
+ return contents.join("\n");
37
+ };
38
+ exports.dotenv = { parse, parseFile, stringify };
39
+ //# sourceMappingURL=dot-env.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dot-env.js","sourceRoot":"","sources":["../source/dot-env.ts"],"names":[],"mappings":";;;AAAA,2BAAkC;AAGlC,2CAAuC;AAEvC,MAAM,KAAK,GAAG,CAAC,QAAgB,EAA6B,EAAE;IAC7D,MAAM,MAAM,GAA8B,EAAE,CAAC;IAE7C,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QACpD,MAAM,OAAO,GAA2B,IAAI,MAAM,CAAC,qBAAqB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAErF,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,SAAS;QACV,CAAC;QAED,MAAM,GAAG,GAAW,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACtC,MAAM,KAAK,GAAW,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAElE,IAAI,GAAG,IAAI,KAAK,EAAE,CAAC;YAClB,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBACrC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC;iBAAM,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9C,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,KAAK,MAAM,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACP,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACrB,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,IAAY,EAA6B,EAAE,CAAC,KAAK,CAAC,IAAA,iBAAY,EAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;AAEpG,MAAM,SAAS,GAAG,CAAC,KAAa,EAAU,EAAE;IAC3C,MAAM,QAAQ,GAAa,EAAE,CAAC;IAE9B,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;QACtD,MAAM,KAAK,GAAW,KAAK,CAAC,GAAG,CAAC,CAAC;QAEjC,QAAQ,CAAC,IAAI,CAAC,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAEW,QAAA,MAAM,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const every: <T>(subject: T[], iterator: FunctionReturning) => boolean;
3
+ //# sourceMappingURL=every.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"every.d.ts","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,KAAK,8BAA+B,iBAAiB,KAAG,OAQpE,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.every = void 0;
4
+ const every = (subject, iterator) => {
5
+ for (let index = 0; index < subject.length; index++) {
6
+ if (!iterator(subject[index], index, subject)) {
7
+ return false;
8
+ }
9
+ }
10
+ return true;
11
+ };
12
+ exports.every = every;
13
+ //# sourceMappingURL=every.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"every.js","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":";;;AAEO,MAAM,KAAK,GAAG,CAAI,OAAY,EAAE,QAA2B,EAAW,EAAE;IAC9E,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACrD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC;YAC/C,OAAO,KAAK,CAAC;QACd,CAAC;IACF,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AARW,QAAA,KAAK,SAQhB"}
@@ -0,0 +1,2 @@
1
+ export declare const expandTilde: (path: string) => string;
2
+ //# sourceMappingURL=expand-tilde.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand-tilde.d.ts","sourceRoot":"","sources":["../source/expand-tilde.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,SAAU,MAAM,KAAG,MAY1C,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.expandTilde = void 0;
4
+ const os_1 = require("os");
5
+ const path_1 = require("path");
6
+ // https://www.ibm.com/support/knowledgecenter/en/SSVJJU_6.4.0/com.ibm.IBMDS.doc_6.4/r_cr_asciicharset.html
7
+ const expandTilde = (path) => {
8
+ const home = (0, os_1.homedir)();
9
+ if (path.codePointAt(0) === 126) {
10
+ if (path.codePointAt(1) === 43) {
11
+ return (0, path_1.join)(process.cwd(), path.slice(2));
12
+ }
13
+ return (0, path_1.join)(home, path.slice(1));
14
+ }
15
+ return path;
16
+ };
17
+ exports.expandTilde = expandTilde;
18
+ //# sourceMappingURL=expand-tilde.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand-tilde.js","sourceRoot":"","sources":["../source/expand-tilde.ts"],"names":[],"mappings":";;;AAAA,2BAA6B;AAC7B,+BAA4B;AAE5B,2GAA2G;AACpG,MAAM,WAAW,GAAG,CAAC,IAAY,EAAU,EAAE;IACnD,MAAM,IAAI,GAAW,IAAA,YAAO,GAAE,CAAC;IAE/B,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;YAChC,OAAO,IAAA,WAAI,EAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAA,WAAI,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAZW,QAAA,WAAW,eAYtB"}
@@ -0,0 +1,2 @@
1
+ export declare const extension: (path: string) => string | undefined;
2
+ //# sourceMappingURL=extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../source/extension.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,MAAM,GAAG,SAAgD,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.extension = void 0;
4
+ const path_1 = require("path");
5
+ const extension = (path) => (0, path_1.extname)(path).slice(1) || undefined;
6
+ exports.extension = extension;
7
+ //# sourceMappingURL=extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../source/extension.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAExB,MAAM,SAAS,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,IAAA,cAAO,EAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;AAAtF,QAAA,SAAS,aAA6E"}
@@ -0,0 +1,2 @@
1
+ export declare const fill: <T, V>(subject: T[], value: V, start?: number, end?: number) => (T | V)[];
2
+ //# sourceMappingURL=fill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fill.d.ts","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,yCAA0C,MAAM,QAAQ,MAAM,cAgB9E,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fill = void 0;
4
+ const fill = (subject, value, start, end) => {
5
+ if (start === undefined) {
6
+ start = 0;
7
+ }
8
+ if (end === undefined) {
9
+ end = subject.length;
10
+ }
11
+ const results = [...subject];
12
+ for (let index = start; index < end; index++) {
13
+ results[index] = value;
14
+ }
15
+ return results;
16
+ };
17
+ exports.fill = fill;
18
+ //# sourceMappingURL=fill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fill.js","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":";;;AAAO,MAAM,IAAI,GAAG,CAAO,OAAY,EAAE,KAAQ,EAAE,KAAc,EAAE,GAAY,EAAa,EAAE;IAC7F,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACzB,KAAK,GAAG,CAAC,CAAC;IACX,CAAC;IAED,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvB,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IACtB,CAAC;IAED,MAAM,OAAO,GAAc,CAAC,GAAG,OAAO,CAAC,CAAC;IAExC,KAAK,IAAI,KAAK,GAAG,KAAK,EAAE,KAAK,GAAG,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9C,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAhBW,QAAA,IAAI,QAgBf"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const filterArray: <T>(iterable: T[], iteratee: FunctionReturning) => T[];
3
+ //# sourceMappingURL=filter-array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-array.d.ts","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,WAAW,+BAAgC,iBAAiB,QAUxE,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.filterArray = void 0;
4
+ const filterArray = (iterable, iteratee) => {
5
+ const result = [];
6
+ for (let index = 0; index < iterable.length; index++) {
7
+ if (iteratee(iterable[index], index, iterable)) {
8
+ result.push(iterable[index]);
9
+ }
10
+ }
11
+ return result;
12
+ };
13
+ exports.filterArray = filterArray;
14
+ //# sourceMappingURL=filter-array.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-array.js","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":";;;AAEO,MAAM,WAAW,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAO,EAAE;IACjF,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAVW,QAAA,WAAW,eAUtB"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const filterObject: <T extends {}>(iterable: T, iteratee: FunctionReturning) => T;
3
+ //# sourceMappingURL=filter-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-object.d.ts","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,YAAY,wCAAyC,iBAAiB,MAclF,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.filterObject = void 0;
4
+ const filterObject = (iterable, iteratee) => {
5
+ const keys = Object.keys(iterable);
6
+ const length = keys.length;
7
+ const result = {};
8
+ for (let index = 0; index < length; index++) {
9
+ const key = keys[index];
10
+ if (iteratee(iterable[key], key, iterable)) {
11
+ result[key] = iterable[key];
12
+ }
13
+ }
14
+ return result;
15
+ };
16
+ exports.filterObject = filterObject;
17
+ //# sourceMappingURL=filter-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-object.js","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAe,QAAW,EAAE,QAA2B,EAAK,EAAE;IACzF,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,MAAM,GAAW,IAAI,CAAC,MAAM,CAAC;IACnC,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAExB,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC;YAC5C,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,OAAO,MAAW,CAAC;AACpB,CAAC,CAAC;AAdW,QAAA,YAAY,gBAcvB"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const filter: <T extends {}>(iterable: T | T[], iteratee: FunctionReturning) => T | T[];
3
+ //# sourceMappingURL=filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,eAAO,MAAM,MAAM,8CAA+C,iBAAiB,YACI,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.filter = void 0;
4
+ const filter_array_1 = require("./filter-array");
5
+ const filter_object_1 = require("./filter-object");
6
+ const is_array_1 = require("./is-array");
7
+ const filter = (iterable, iteratee) => (0, is_array_1.isArray)(iterable) ? (0, filter_array_1.filterArray)(iterable, iteratee) : (0, filter_object_1.filterObject)(iterable, iteratee);
8
+ exports.filter = filter;
9
+ //# sourceMappingURL=filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.js","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAC7C,mDAA+C;AAE/C,yCAAqC;AAE9B,MAAM,MAAM,GAAG,CAAe,QAAiB,EAAE,QAA2B,EAAW,EAAE,CAC/F,IAAA,kBAAO,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,0BAAW,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,4BAAY,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAD3E,QAAA,MAAM,UACqE"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const findIndex: <T>(iterable: T[], iteratee: FunctionReturning) => number;
3
+ //# sourceMappingURL=find-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-index.d.ts","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,SAAS,+BAAgC,iBAAiB,KAAG,MAQzE,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findIndex = void 0;
4
+ const findIndex = (iterable, iteratee) => {
5
+ for (let index = 0; index < iterable.length; index++) {
6
+ if (iteratee(iterable[index], index, iterable)) {
7
+ return index;
8
+ }
9
+ }
10
+ return -1;
11
+ };
12
+ exports.findIndex = findIndex;
13
+ //# sourceMappingURL=find-index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-index.js","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":";;;AAEO,MAAM,SAAS,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAU,EAAE;IAClF,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACd,CAAC;IACF,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACX,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB"}
@@ -0,0 +1,3 @@
1
+ import { FunctionReturning } from "./internal";
2
+ export declare const findKey: <T extends {}>(iterable: T, iteratee: FunctionReturning) => string;
3
+ //# sourceMappingURL=find-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-key.d.ts","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,OAAO,wCAAyC,iBAAiB,KAAG,MAChC,CAAC"}