@mainsail/utils 0.0.1-evm.45 → 0.0.1-evm.48

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 (684) hide show
  1. package/distribution/clone-deep.d.ts.map +1 -1
  2. package/distribution/clone-deep.js +2 -2
  3. package/distribution/clone-deep.js.map +1 -1
  4. package/distribution/dot-env.d.ts.map +1 -1
  5. package/distribution/dot-env.js.map +1 -1
  6. package/distribution/ensure-error.d.ts +2 -0
  7. package/distribution/ensure-error.d.ts.map +1 -0
  8. package/distribution/ensure-error.js +21 -0
  9. package/distribution/ensure-error.js.map +1 -0
  10. package/distribution/http.d.ts.map +1 -1
  11. package/distribution/http.js +6 -5
  12. package/distribution/http.js.map +1 -1
  13. package/distribution/index.d.ts +5 -159
  14. package/distribution/index.d.ts.map +1 -1
  15. package/distribution/index.js +5 -159
  16. package/distribution/index.js.map +1 -1
  17. package/distribution/internal/index.d.ts +0 -1
  18. package/distribution/internal/index.d.ts.map +1 -1
  19. package/distribution/internal/index.js +0 -1
  20. package/distribution/internal/index.js.map +1 -1
  21. package/distribution/min-by.d.ts.map +1 -1
  22. package/distribution/min-by.js.map +1 -1
  23. package/distribution/order-by.d.ts.map +1 -1
  24. package/distribution/order-by.js.map +1 -1
  25. package/distribution/set-timeout-async.d.ts +2 -0
  26. package/distribution/set-timeout-async.d.ts.map +1 -0
  27. package/distribution/set-timeout-async.js +6 -0
  28. package/distribution/set-timeout-async.js.map +1 -0
  29. package/distribution/shuffle.d.ts.map +1 -1
  30. package/distribution/shuffle.js +5 -7
  31. package/distribution/shuffle.js.map +1 -1
  32. package/distribution/sleep.d.ts +1 -1
  33. package/distribution/sleep.d.ts.map +1 -1
  34. package/distribution/slice.js +1 -1
  35. package/distribution/slice.js.map +1 -1
  36. package/distribution/string-case.d.ts +3 -0
  37. package/distribution/string-case.d.ts.map +1 -0
  38. package/distribution/string-case.js +51 -0
  39. package/distribution/string-case.js.map +1 -0
  40. package/package.json +8 -16
  41. package/distribution/assign.d.ts +0 -2
  42. package/distribution/assign.d.ts.map +0 -1
  43. package/distribution/assign.js +0 -9
  44. package/distribution/assign.js.map +0 -1
  45. package/distribution/at.d.ts +0 -2
  46. package/distribution/at.d.ts.map +0 -1
  47. package/distribution/at.js +0 -4
  48. package/distribution/at.js.map +0 -1
  49. package/distribution/base64.d.ts +0 -5
  50. package/distribution/base64.d.ts.map +0 -1
  51. package/distribution/base64.js +0 -4
  52. package/distribution/base64.js.map +0 -1
  53. package/distribution/big-number.d.ts +0 -29
  54. package/distribution/big-number.d.ts.map +0 -1
  55. package/distribution/big-number.js +0 -78
  56. package/distribution/big-number.js.map +0 -1
  57. package/distribution/binary.d.ts +0 -5
  58. package/distribution/binary.d.ts.map +0 -1
  59. package/distribution/binary.js +0 -10
  60. package/distribution/binary.js.map +0 -1
  61. package/distribution/camel-case.d.ts +0 -2
  62. package/distribution/camel-case.d.ts.map +0 -1
  63. package/distribution/camel-case.js +0 -4
  64. package/distribution/camel-case.js.map +0 -1
  65. package/distribution/capped-map.d.ts +0 -17
  66. package/distribution/capped-map.d.ts.map +0 -1
  67. package/distribution/capped-map.js +0 -51
  68. package/distribution/capped-map.js.map +0 -1
  69. package/distribution/capped-set.d.ts +0 -7
  70. package/distribution/capped-set.d.ts.map +0 -1
  71. package/distribution/capped-set.js +0 -21
  72. package/distribution/capped-set.js.map +0 -1
  73. package/distribution/cast-array.d.ts +0 -2
  74. package/distribution/cast-array.d.ts.map +0 -1
  75. package/distribution/cast-array.js +0 -21
  76. package/distribution/cast-array.js.map +0 -1
  77. package/distribution/chars.d.ts +0 -2
  78. package/distribution/chars.d.ts.map +0 -1
  79. package/distribution/chars.js +0 -2
  80. package/distribution/chars.js.map +0 -1
  81. package/distribution/clone-array.d.ts +0 -2
  82. package/distribution/clone-array.d.ts.map +0 -1
  83. package/distribution/clone-array.js +0 -8
  84. package/distribution/clone-array.js.map +0 -1
  85. package/distribution/clone-object.d.ts +0 -2
  86. package/distribution/clone-object.d.ts.map +0 -1
  87. package/distribution/clone-object.js +0 -9
  88. package/distribution/clone-object.js.map +0 -1
  89. package/distribution/clone.d.ts +0 -2
  90. package/distribution/clone.d.ts.map +0 -1
  91. package/distribution/clone.js +0 -5
  92. package/distribution/clone.js.map +0 -1
  93. package/distribution/collection.d.ts +0 -20
  94. package/distribution/collection.d.ts.map +0 -1
  95. package/distribution/collection.js +0 -64
  96. package/distribution/collection.js.map +0 -1
  97. package/distribution/concat.d.ts +0 -2
  98. package/distribution/concat.d.ts.map +0 -1
  99. package/distribution/concat.js +0 -17
  100. package/distribution/concat.js.map +0 -1
  101. package/distribution/constant-case.d.ts +0 -2
  102. package/distribution/constant-case.d.ts.map +0 -1
  103. package/distribution/constant-case.js +0 -3
  104. package/distribution/constant-case.js.map +0 -1
  105. package/distribution/dot-case.d.ts +0 -2
  106. package/distribution/dot-case.d.ts.map +0 -1
  107. package/distribution/dot-case.js +0 -3
  108. package/distribution/dot-case.js.map +0 -1
  109. package/distribution/every.d.ts +0 -3
  110. package/distribution/every.d.ts.map +0 -1
  111. package/distribution/every.js +0 -9
  112. package/distribution/every.js.map +0 -1
  113. package/distribution/extension.d.ts +0 -2
  114. package/distribution/extension.d.ts.map +0 -1
  115. package/distribution/extension.js +0 -3
  116. package/distribution/extension.js.map +0 -1
  117. package/distribution/fill.d.ts +0 -2
  118. package/distribution/fill.d.ts.map +0 -1
  119. package/distribution/fill.js +0 -14
  120. package/distribution/fill.js.map +0 -1
  121. package/distribution/filter-array.d.ts +0 -3
  122. package/distribution/filter-array.d.ts.map +0 -1
  123. package/distribution/filter-array.js +0 -11
  124. package/distribution/filter-array.js.map +0 -1
  125. package/distribution/filter-object.d.ts +0 -3
  126. package/distribution/filter-object.d.ts.map +0 -1
  127. package/distribution/filter-object.js +0 -15
  128. package/distribution/filter-object.js.map +0 -1
  129. package/distribution/filter.d.ts +0 -3
  130. package/distribution/filter.d.ts.map +0 -1
  131. package/distribution/filter.js +0 -13
  132. package/distribution/filter.js.map +0 -1
  133. package/distribution/find-index.d.ts +0 -3
  134. package/distribution/find-index.d.ts.map +0 -1
  135. package/distribution/find-index.js +0 -9
  136. package/distribution/find-index.js.map +0 -1
  137. package/distribution/find-key.d.ts +0 -3
  138. package/distribution/find-key.d.ts.map +0 -1
  139. package/distribution/find-key.js +0 -7
  140. package/distribution/find-key.js.map +0 -1
  141. package/distribution/find.d.ts +0 -3
  142. package/distribution/find.d.ts.map +0 -1
  143. package/distribution/find.js +0 -10
  144. package/distribution/find.js.map +0 -1
  145. package/distribution/first-map-entry.d.ts +0 -2
  146. package/distribution/first-map-entry.d.ts.map +0 -1
  147. package/distribution/first-map-entry.js +0 -2
  148. package/distribution/first-map-entry.js.map +0 -1
  149. package/distribution/first-map-key.d.ts +0 -2
  150. package/distribution/first-map-key.d.ts.map +0 -1
  151. package/distribution/first-map-key.js +0 -3
  152. package/distribution/first-map-key.js.map +0 -1
  153. package/distribution/first-map-value.d.ts +0 -2
  154. package/distribution/first-map-value.d.ts.map +0 -1
  155. package/distribution/first-map-value.js +0 -3
  156. package/distribution/first-map-value.js.map +0 -1
  157. package/distribution/flatten.d.ts +0 -2
  158. package/distribution/flatten.d.ts.map +0 -1
  159. package/distribution/flatten.js +0 -13
  160. package/distribution/flatten.js.map +0 -1
  161. package/distribution/format-number.d.ts +0 -2
  162. package/distribution/format-number.d.ts.map +0 -1
  163. package/distribution/format-number.js +0 -2
  164. package/distribution/format-number.js.map +0 -1
  165. package/distribution/format-string.d.ts +0 -2
  166. package/distribution/format-string.d.ts.map +0 -1
  167. package/distribution/format-string.js +0 -8
  168. package/distribution/format-string.js.map +0 -1
  169. package/distribution/get-type.d.ts +0 -2
  170. package/distribution/get-type.d.ts.map +0 -1
  171. package/distribution/get-type.js +0 -2
  172. package/distribution/get-type.js.map +0 -1
  173. package/distribution/has-property.d.ts +0 -2
  174. package/distribution/has-property.d.ts.map +0 -1
  175. package/distribution/has-property.js +0 -2
  176. package/distribution/has-property.js.map +0 -1
  177. package/distribution/has-some-property.d.ts +0 -2
  178. package/distribution/has-some-property.d.ts.map +0 -1
  179. package/distribution/has-some-property.js +0 -4
  180. package/distribution/has-some-property.js.map +0 -1
  181. package/distribution/hash-string.d.ts +0 -2
  182. package/distribution/hash-string.d.ts.map +0 -1
  183. package/distribution/hash-string.js +0 -9
  184. package/distribution/hash-string.js.map +0 -1
  185. package/distribution/head.d.ts +0 -2
  186. package/distribution/head.d.ts.map +0 -1
  187. package/distribution/head.js +0 -2
  188. package/distribution/head.js.map +0 -1
  189. package/distribution/header-case.d.ts +0 -2
  190. package/distribution/header-case.d.ts.map +0 -1
  191. package/distribution/header-case.js +0 -4
  192. package/distribution/header-case.js.map +0 -1
  193. package/distribution/hex.d.ts +0 -5
  194. package/distribution/hex.d.ts.map +0 -1
  195. package/distribution/hex.js +0 -4
  196. package/distribution/hex.js.map +0 -1
  197. package/distribution/immutable/index.d.ts +0 -4
  198. package/distribution/immutable/index.d.ts.map +0 -1
  199. package/distribution/immutable/index.js +0 -4
  200. package/distribution/immutable/index.js.map +0 -1
  201. package/distribution/immutable/order-by.d.ts +0 -3
  202. package/distribution/immutable/order-by.d.ts.map +0 -1
  203. package/distribution/immutable/order-by.js +0 -3
  204. package/distribution/immutable/order-by.js.map +0 -1
  205. package/distribution/immutable/sort-by-desc.d.ts +0 -3
  206. package/distribution/immutable/sort-by-desc.d.ts.map +0 -1
  207. package/distribution/immutable/sort-by-desc.js +0 -3
  208. package/distribution/immutable/sort-by-desc.js.map +0 -1
  209. package/distribution/immutable/sort-by.d.ts +0 -3
  210. package/distribution/immutable/sort-by.d.ts.map +0 -1
  211. package/distribution/immutable/sort-by.js +0 -3
  212. package/distribution/immutable/sort-by.js.map +0 -1
  213. package/distribution/includes.d.ts +0 -2
  214. package/distribution/includes.d.ts.map +0 -1
  215. package/distribution/includes.js +0 -16
  216. package/distribution/includes.js.map +0 -1
  217. package/distribution/index-of.d.ts +0 -2
  218. package/distribution/index-of.d.ts.map +0 -1
  219. package/distribution/index-of.js +0 -20
  220. package/distribution/index-of.js.map +0 -1
  221. package/distribution/internal/compound-words.d.ts +0 -2
  222. package/distribution/internal/compound-words.d.ts.map +0 -1
  223. package/distribution/internal/compound-words.js +0 -11
  224. package/distribution/internal/compound-words.js.map +0 -1
  225. package/distribution/intersection.d.ts +0 -2
  226. package/distribution/intersection.d.ts.map +0 -1
  227. package/distribution/intersection.js +0 -13
  228. package/distribution/intersection.js.map +0 -1
  229. package/distribution/is-arguments.d.ts +0 -2
  230. package/distribution/is-arguments.d.ts.map +0 -1
  231. package/distribution/is-arguments.js +0 -3
  232. package/distribution/is-arguments.js.map +0 -1
  233. package/distribution/is-array-of-type.d.ts +0 -2
  234. package/distribution/is-array-of-type.d.ts.map +0 -1
  235. package/distribution/is-array-of-type.js +0 -3
  236. package/distribution/is-array-of-type.js.map +0 -1
  237. package/distribution/is-async-function.d.ts +0 -2
  238. package/distribution/is-async-function.d.ts.map +0 -1
  239. package/distribution/is-async-function.js +0 -3
  240. package/distribution/is-async-function.js.map +0 -1
  241. package/distribution/is-between.d.ts +0 -2
  242. package/distribution/is-between.d.ts.map +0 -1
  243. package/distribution/is-between.js +0 -2
  244. package/distribution/is-between.js.map +0 -1
  245. package/distribution/is-bigint.d.ts +0 -2
  246. package/distribution/is-bigint.d.ts.map +0 -1
  247. package/distribution/is-bigint.js +0 -2
  248. package/distribution/is-bigint.js.map +0 -1
  249. package/distribution/is-boolean-array.d.ts +0 -2
  250. package/distribution/is-boolean-array.d.ts.map +0 -1
  251. package/distribution/is-boolean-array.js +0 -3
  252. package/distribution/is-boolean-array.js.map +0 -1
  253. package/distribution/is-boolean.d.ts +0 -2
  254. package/distribution/is-boolean.d.ts.map +0 -1
  255. package/distribution/is-boolean.js +0 -2
  256. package/distribution/is-boolean.js.map +0 -1
  257. package/distribution/is-buffer.d.ts +0 -2
  258. package/distribution/is-buffer.d.ts.map +0 -1
  259. package/distribution/is-buffer.js +0 -2
  260. package/distribution/is-buffer.js.map +0 -1
  261. package/distribution/is-constructor.d.ts +0 -2
  262. package/distribution/is-constructor.d.ts.map +0 -1
  263. package/distribution/is-constructor.js +0 -2
  264. package/distribution/is-constructor.js.map +0 -1
  265. package/distribution/is-date.d.ts +0 -2
  266. package/distribution/is-date.d.ts.map +0 -1
  267. package/distribution/is-date.js +0 -2
  268. package/distribution/is-date.js.map +0 -1
  269. package/distribution/is-empty-array.d.ts +0 -2
  270. package/distribution/is-empty-array.d.ts.map +0 -1
  271. package/distribution/is-empty-array.js +0 -3
  272. package/distribution/is-empty-array.js.map +0 -1
  273. package/distribution/is-empty-map.d.ts +0 -2
  274. package/distribution/is-empty-map.d.ts.map +0 -1
  275. package/distribution/is-empty-map.js +0 -3
  276. package/distribution/is-empty-map.js.map +0 -1
  277. package/distribution/is-empty-object.d.ts +0 -2
  278. package/distribution/is-empty-object.d.ts.map +0 -1
  279. package/distribution/is-empty-object.js +0 -3
  280. package/distribution/is-empty-object.js.map +0 -1
  281. package/distribution/is-empty-set.d.ts +0 -2
  282. package/distribution/is-empty-set.d.ts.map +0 -1
  283. package/distribution/is-empty-set.js +0 -3
  284. package/distribution/is-empty-set.js.map +0 -1
  285. package/distribution/is-equal.d.ts +0 -2
  286. package/distribution/is-equal.d.ts.map +0 -1
  287. package/distribution/is-equal.js +0 -2
  288. package/distribution/is-equal.js.map +0 -1
  289. package/distribution/is-error.d.ts +0 -2
  290. package/distribution/is-error.d.ts.map +0 -1
  291. package/distribution/is-error.js +0 -2
  292. package/distribution/is-error.js.map +0 -1
  293. package/distribution/is-false.d.ts +0 -2
  294. package/distribution/is-false.d.ts.map +0 -1
  295. package/distribution/is-false.js +0 -2
  296. package/distribution/is-false.js.map +0 -1
  297. package/distribution/is-function.d.ts +0 -2
  298. package/distribution/is-function.d.ts.map +0 -1
  299. package/distribution/is-function.js +0 -4
  300. package/distribution/is-function.js.map +0 -1
  301. package/distribution/is-git.d.ts +0 -2
  302. package/distribution/is-git.d.ts.map +0 -1
  303. package/distribution/is-git.js +0 -2
  304. package/distribution/is-git.js.map +0 -1
  305. package/distribution/is-greater-than-or-equal.d.ts +0 -2
  306. package/distribution/is-greater-than-or-equal.d.ts.map +0 -1
  307. package/distribution/is-greater-than-or-equal.js +0 -2
  308. package/distribution/is-greater-than-or-equal.js.map +0 -1
  309. package/distribution/is-greater-than.d.ts +0 -2
  310. package/distribution/is-greater-than.d.ts.map +0 -1
  311. package/distribution/is-greater-than.js +0 -2
  312. package/distribution/is-greater-than.js.map +0 -1
  313. package/distribution/is-less-than-or-equal.d.ts +0 -2
  314. package/distribution/is-less-than-or-equal.d.ts.map +0 -1
  315. package/distribution/is-less-than-or-equal.js +0 -2
  316. package/distribution/is-less-than-or-equal.js.map +0 -1
  317. package/distribution/is-less-than.d.ts +0 -2
  318. package/distribution/is-less-than.d.ts.map +0 -1
  319. package/distribution/is-less-than.js +0 -2
  320. package/distribution/is-less-than.js.map +0 -1
  321. package/distribution/is-map.d.ts +0 -2
  322. package/distribution/is-map.d.ts.map +0 -1
  323. package/distribution/is-map.js +0 -2
  324. package/distribution/is-map.js.map +0 -1
  325. package/distribution/is-match.d.ts +0 -2
  326. package/distribution/is-match.d.ts.map +0 -1
  327. package/distribution/is-match.js +0 -2
  328. package/distribution/is-match.js.map +0 -1
  329. package/distribution/is-negative-zero.d.ts +0 -2
  330. package/distribution/is-negative-zero.d.ts.map +0 -1
  331. package/distribution/is-negative-zero.js +0 -2
  332. package/distribution/is-negative-zero.js.map +0 -1
  333. package/distribution/is-negative.d.ts +0 -2
  334. package/distribution/is-negative.d.ts.map +0 -1
  335. package/distribution/is-negative.js +0 -3
  336. package/distribution/is-negative.js.map +0 -1
  337. package/distribution/is-nil.d.ts +0 -2
  338. package/distribution/is-nil.d.ts.map +0 -1
  339. package/distribution/is-nil.js +0 -3
  340. package/distribution/is-nil.js.map +0 -1
  341. package/distribution/is-not-between.d.ts +0 -2
  342. package/distribution/is-not-between.d.ts.map +0 -1
  343. package/distribution/is-not-between.js +0 -3
  344. package/distribution/is-not-between.js.map +0 -1
  345. package/distribution/is-not-equal.d.ts +0 -2
  346. package/distribution/is-not-equal.d.ts.map +0 -1
  347. package/distribution/is-not-equal.js +0 -3
  348. package/distribution/is-not-equal.js.map +0 -1
  349. package/distribution/is-null.d.ts +0 -2
  350. package/distribution/is-null.d.ts.map +0 -1
  351. package/distribution/is-null.js +0 -2
  352. package/distribution/is-null.js.map +0 -1
  353. package/distribution/is-number-array.d.ts +0 -2
  354. package/distribution/is-number-array.d.ts.map +0 -1
  355. package/distribution/is-number-array.js +0 -3
  356. package/distribution/is-number-array.js.map +0 -1
  357. package/distribution/is-number.d.ts +0 -2
  358. package/distribution/is-number.d.ts.map +0 -1
  359. package/distribution/is-number.js +0 -2
  360. package/distribution/is-number.js.map +0 -1
  361. package/distribution/is-positive-zero.d.ts +0 -2
  362. package/distribution/is-positive-zero.d.ts.map +0 -1
  363. package/distribution/is-positive-zero.js +0 -2
  364. package/distribution/is-positive-zero.js.map +0 -1
  365. package/distribution/is-positive.d.ts +0 -2
  366. package/distribution/is-positive.d.ts.map +0 -1
  367. package/distribution/is-positive.js +0 -3
  368. package/distribution/is-positive.js.map +0 -1
  369. package/distribution/is-promise.d.ts +0 -2
  370. package/distribution/is-promise.d.ts.map +0 -1
  371. package/distribution/is-promise.js +0 -2
  372. package/distribution/is-promise.js.map +0 -1
  373. package/distribution/is-reg-exp.d.ts +0 -2
  374. package/distribution/is-reg-exp.d.ts.map +0 -1
  375. package/distribution/is-reg-exp.js +0 -2
  376. package/distribution/is-reg-exp.js.map +0 -1
  377. package/distribution/is-set.d.ts +0 -2
  378. package/distribution/is-set.d.ts.map +0 -1
  379. package/distribution/is-set.js +0 -2
  380. package/distribution/is-set.js.map +0 -1
  381. package/distribution/is-ssh.d.ts +0 -2
  382. package/distribution/is-ssh.d.ts.map +0 -1
  383. package/distribution/is-ssh.js +0 -10
  384. package/distribution/is-ssh.js.map +0 -1
  385. package/distribution/is-string-array.d.ts +0 -2
  386. package/distribution/is-string-array.d.ts.map +0 -1
  387. package/distribution/is-string-array.js +0 -3
  388. package/distribution/is-string-array.js.map +0 -1
  389. package/distribution/is-symbol.d.ts +0 -2
  390. package/distribution/is-symbol.d.ts.map +0 -1
  391. package/distribution/is-symbol.js +0 -2
  392. package/distribution/is-symbol.js.map +0 -1
  393. package/distribution/is-sync-function.d.ts +0 -2
  394. package/distribution/is-sync-function.d.ts.map +0 -1
  395. package/distribution/is-sync-function.js +0 -3
  396. package/distribution/is-sync-function.js.map +0 -1
  397. package/distribution/is-true.d.ts +0 -2
  398. package/distribution/is-true.d.ts.map +0 -1
  399. package/distribution/is-true.js +0 -2
  400. package/distribution/is-true.js.map +0 -1
  401. package/distribution/is-undefined.d.ts +0 -2
  402. package/distribution/is-undefined.d.ts.map +0 -1
  403. package/distribution/is-undefined.js +0 -2
  404. package/distribution/is-undefined.js.map +0 -1
  405. package/distribution/is-uri.d.ts +0 -2
  406. package/distribution/is-uri.d.ts.map +0 -1
  407. package/distribution/is-uri.js +0 -2
  408. package/distribution/is-uri.js.map +0 -1
  409. package/distribution/is-url.d.ts +0 -2
  410. package/distribution/is-url.d.ts.map +0 -1
  411. package/distribution/is-url.js +0 -10
  412. package/distribution/is-url.js.map +0 -1
  413. package/distribution/is-weak-map.d.ts +0 -2
  414. package/distribution/is-weak-map.d.ts.map +0 -1
  415. package/distribution/is-weak-map.js +0 -2
  416. package/distribution/is-weak-map.js.map +0 -1
  417. package/distribution/is-weak-set.d.ts +0 -2
  418. package/distribution/is-weak-set.d.ts.map +0 -1
  419. package/distribution/is-weak-set.js +0 -2
  420. package/distribution/is-weak-set.js.map +0 -1
  421. package/distribution/kebab-case.d.ts +0 -2
  422. package/distribution/kebab-case.d.ts.map +0 -1
  423. package/distribution/kebab-case.js +0 -3
  424. package/distribution/kebab-case.js.map +0 -1
  425. package/distribution/key-by.d.ts +0 -3
  426. package/distribution/key-by.d.ts.map +0 -1
  427. package/distribution/key-by.js +0 -6
  428. package/distribution/key-by.js.map +0 -1
  429. package/distribution/keys-in.d.ts +0 -2
  430. package/distribution/keys-in.d.ts.map +0 -1
  431. package/distribution/keys-in.js +0 -5
  432. package/distribution/keys-in.js.map +0 -1
  433. package/distribution/keys.d.ts +0 -2
  434. package/distribution/keys.d.ts.map +0 -1
  435. package/distribution/keys.js +0 -2
  436. package/distribution/keys.js.map +0 -1
  437. package/distribution/last-index-of.d.ts +0 -2
  438. package/distribution/last-index-of.d.ts.map +0 -1
  439. package/distribution/last-index-of.js +0 -17
  440. package/distribution/last-index-of.js.map +0 -1
  441. package/distribution/last-map-entry.d.ts +0 -2
  442. package/distribution/last-map-entry.d.ts.map +0 -1
  443. package/distribution/last-map-entry.js +0 -2
  444. package/distribution/last-map-entry.js.map +0 -1
  445. package/distribution/last-map-key.d.ts +0 -2
  446. package/distribution/last-map-key.d.ts.map +0 -1
  447. package/distribution/last-map-key.js +0 -3
  448. package/distribution/last-map-key.js.map +0 -1
  449. package/distribution/last-map-value.d.ts +0 -2
  450. package/distribution/last-map-value.d.ts.map +0 -1
  451. package/distribution/last-map-value.js +0 -3
  452. package/distribution/last-map-value.js.map +0 -1
  453. package/distribution/last.d.ts +0 -2
  454. package/distribution/last.d.ts.map +0 -1
  455. package/distribution/last.js +0 -3
  456. package/distribution/last.js.map +0 -1
  457. package/distribution/lower-case.d.ts +0 -2
  458. package/distribution/lower-case.d.ts.map +0 -1
  459. package/distribution/lower-case.js +0 -3
  460. package/distribution/lower-case.js.map +0 -1
  461. package/distribution/lower-first.d.ts +0 -2
  462. package/distribution/lower-first.d.ts.map +0 -1
  463. package/distribution/lower-first.js +0 -2
  464. package/distribution/lower-first.js.map +0 -1
  465. package/distribution/map-values.d.ts +0 -2
  466. package/distribution/map-values.d.ts.map +0 -1
  467. package/distribution/map-values.js +0 -9
  468. package/distribution/map-values.js.map +0 -1
  469. package/distribution/match.d.ts +0 -2
  470. package/distribution/match.d.ts.map +0 -1
  471. package/distribution/match.js +0 -9
  472. package/distribution/match.js.map +0 -1
  473. package/distribution/max-by.d.ts +0 -3
  474. package/distribution/max-by.d.ts.map +0 -1
  475. package/distribution/max-by.js +0 -14
  476. package/distribution/max-by.js.map +0 -1
  477. package/distribution/max.d.ts +0 -2
  478. package/distribution/max.d.ts.map +0 -1
  479. package/distribution/max.js +0 -8
  480. package/distribution/max.js.map +0 -1
  481. package/distribution/min.d.ts +0 -2
  482. package/distribution/min.d.ts.map +0 -1
  483. package/distribution/min.js +0 -8
  484. package/distribution/min.js.map +0 -1
  485. package/distribution/nsect.d.ts +0 -8
  486. package/distribution/nsect.d.ts.map +0 -1
  487. package/distribution/nsect.js +0 -79
  488. package/distribution/nsect.js.map +0 -1
  489. package/distribution/number-array.d.ts +0 -2
  490. package/distribution/number-array.d.ts.map +0 -1
  491. package/distribution/number-array.js +0 -2
  492. package/distribution/number-array.js.map +0 -1
  493. package/distribution/number-to-hex.d.ts +0 -2
  494. package/distribution/number-to-hex.d.ts.map +0 -1
  495. package/distribution/number-to-hex.js +0 -5
  496. package/distribution/number-to-hex.js.map +0 -1
  497. package/distribution/omit-by.d.ts +0 -3
  498. package/distribution/omit-by.d.ts.map +0 -1
  499. package/distribution/omit-by.js +0 -3
  500. package/distribution/omit-by.js.map +0 -1
  501. package/distribution/ordinal.d.ts +0 -2
  502. package/distribution/ordinal.d.ts.map +0 -1
  503. package/distribution/ordinal.js +0 -3
  504. package/distribution/ordinal.js.map +0 -1
  505. package/distribution/parse-git-url.d.ts +0 -8
  506. package/distribution/parse-git-url.d.ts.map +0 -1
  507. package/distribution/parse-git-url.js +0 -33
  508. package/distribution/parse-git-url.js.map +0 -1
  509. package/distribution/parse-uri.d.ts +0 -10
  510. package/distribution/parse-uri.d.ts.map +0 -1
  511. package/distribution/parse-uri.js +0 -15
  512. package/distribution/parse-uri.js.map +0 -1
  513. package/distribution/parse.d.ts +0 -2
  514. package/distribution/parse.d.ts.map +0 -1
  515. package/distribution/parse.js +0 -3
  516. package/distribution/parse.js.map +0 -1
  517. package/distribution/partition.d.ts +0 -3
  518. package/distribution/partition.d.ts.map +0 -1
  519. package/distribution/partition.js +0 -5
  520. package/distribution/partition.js.map +0 -1
  521. package/distribution/pascal-case.d.ts +0 -2
  522. package/distribution/pascal-case.d.ts.map +0 -1
  523. package/distribution/pascal-case.js +0 -4
  524. package/distribution/pascal-case.js.map +0 -1
  525. package/distribution/path-case.d.ts +0 -2
  526. package/distribution/path-case.d.ts.map +0 -1
  527. package/distribution/path-case.js +0 -3
  528. package/distribution/path-case.js.map +0 -1
  529. package/distribution/pick-by.d.ts +0 -2
  530. package/distribution/pick-by.d.ts.map +0 -1
  531. package/distribution/pick-by.js +0 -14
  532. package/distribution/pick-by.js.map +0 -1
  533. package/distribution/pick.d.ts +0 -2
  534. package/distribution/pick.d.ts.map +0 -1
  535. package/distribution/pick.js +0 -8
  536. package/distribution/pick.js.map +0 -1
  537. package/distribution/pluck.d.ts +0 -2
  538. package/distribution/pluck.d.ts.map +0 -1
  539. package/distribution/pluck.js +0 -11
  540. package/distribution/pluck.js.map +0 -1
  541. package/distribution/protocols.d.ts +0 -2
  542. package/distribution/protocols.d.ts.map +0 -1
  543. package/distribution/protocols.js +0 -5
  544. package/distribution/protocols.js.map +0 -1
  545. package/distribution/pull-all-by.d.ts +0 -3
  546. package/distribution/pull-all-by.d.ts.map +0 -1
  547. package/distribution/pull-all-by.js +0 -14
  548. package/distribution/pull-all-by.js.map +0 -1
  549. package/distribution/pull-all.d.ts +0 -2
  550. package/distribution/pull-all.d.ts.map +0 -1
  551. package/distribution/pull-all.js +0 -3
  552. package/distribution/pull-all.js.map +0 -1
  553. package/distribution/pull.d.ts +0 -2
  554. package/distribution/pull.d.ts.map +0 -1
  555. package/distribution/pull.js +0 -3
  556. package/distribution/pull.js.map +0 -1
  557. package/distribution/random-base64.d.ts +0 -2
  558. package/distribution/random-base64.d.ts.map +0 -1
  559. package/distribution/random-base64.js +0 -7
  560. package/distribution/random-base64.js.map +0 -1
  561. package/distribution/random-bits.d.ts +0 -2
  562. package/distribution/random-bits.d.ts.map +0 -1
  563. package/distribution/random-bits.js +0 -3
  564. package/distribution/random-bits.js.map +0 -1
  565. package/distribution/random-hex.d.ts +0 -2
  566. package/distribution/random-hex.d.ts.map +0 -1
  567. package/distribution/random-hex.js +0 -5
  568. package/distribution/random-hex.js.map +0 -1
  569. package/distribution/reduce-array.d.ts +0 -3
  570. package/distribution/reduce-array.d.ts.map +0 -1
  571. package/distribution/reduce-array.js +0 -8
  572. package/distribution/reduce-array.js.map +0 -1
  573. package/distribution/reduce-object.d.ts +0 -3
  574. package/distribution/reduce-object.d.ts.map +0 -1
  575. package/distribution/reduce-object.js +0 -10
  576. package/distribution/reduce-object.js.map +0 -1
  577. package/distribution/reduce-right-array.d.ts +0 -3
  578. package/distribution/reduce-right-array.d.ts.map +0 -1
  579. package/distribution/reduce-right-array.js +0 -8
  580. package/distribution/reduce-right-array.js.map +0 -1
  581. package/distribution/reduce-right-object.d.ts +0 -3
  582. package/distribution/reduce-right-object.d.ts.map +0 -1
  583. package/distribution/reduce-right-object.js +0 -11
  584. package/distribution/reduce-right-object.js.map +0 -1
  585. package/distribution/reduce-right.d.ts +0 -6
  586. package/distribution/reduce-right.d.ts.map +0 -1
  587. package/distribution/reduce-right.js +0 -9
  588. package/distribution/reduce-right.js.map +0 -1
  589. package/distribution/reduce.d.ts +0 -3
  590. package/distribution/reduce.d.ts.map +0 -1
  591. package/distribution/reduce.js +0 -12
  592. package/distribution/reduce.js.map +0 -1
  593. package/distribution/reject.d.ts +0 -3
  594. package/distribution/reject.d.ts.map +0 -1
  595. package/distribution/reject.js +0 -3
  596. package/distribution/reject.js.map +0 -1
  597. package/distribution/reverse.d.ts +0 -2
  598. package/distribution/reverse.d.ts.map +0 -1
  599. package/distribution/reverse.js +0 -2
  600. package/distribution/reverse.js.map +0 -1
  601. package/distribution/sample.d.ts +0 -2
  602. package/distribution/sample.d.ts.map +0 -1
  603. package/distribution/sample.js +0 -2
  604. package/distribution/sample.js.map +0 -1
  605. package/distribution/snake-case.d.ts +0 -2
  606. package/distribution/snake-case.d.ts.map +0 -1
  607. package/distribution/snake-case.js +0 -3
  608. package/distribution/snake-case.js.map +0 -1
  609. package/distribution/some.d.ts +0 -3
  610. package/distribution/some.d.ts.map +0 -1
  611. package/distribution/some.js +0 -9
  612. package/distribution/some.js.map +0 -1
  613. package/distribution/sort-by-desc.d.ts +0 -3
  614. package/distribution/sort-by-desc.d.ts.map +0 -1
  615. package/distribution/sort-by-desc.js +0 -3
  616. package/distribution/sort-by-desc.js.map +0 -1
  617. package/distribution/sort-by.d.ts +0 -3
  618. package/distribution/sort-by.d.ts.map +0 -1
  619. package/distribution/sort-by.js +0 -3
  620. package/distribution/sort-by.js.map +0 -1
  621. package/distribution/start-case.d.ts +0 -2
  622. package/distribution/start-case.d.ts.map +0 -1
  623. package/distribution/start-case.js +0 -4
  624. package/distribution/start-case.js.map +0 -1
  625. package/distribution/stringify.d.ts +0 -2
  626. package/distribution/stringify.d.ts.map +0 -1
  627. package/distribution/stringify.js +0 -9
  628. package/distribution/stringify.js.map +0 -1
  629. package/distribution/tail.d.ts +0 -2
  630. package/distribution/tail.d.ts.map +0 -1
  631. package/distribution/tail.js +0 -3
  632. package/distribution/tail.js.map +0 -1
  633. package/distribution/to-lower.d.ts +0 -2
  634. package/distribution/to-lower.d.ts.map +0 -1
  635. package/distribution/to-lower.js +0 -3
  636. package/distribution/to-lower.js.map +0 -1
  637. package/distribution/to-string.d.ts +0 -2
  638. package/distribution/to-string.d.ts.map +0 -1
  639. package/distribution/to-string.js +0 -9
  640. package/distribution/to-string.js.map +0 -1
  641. package/distribution/to-upper.d.ts +0 -2
  642. package/distribution/to-upper.d.ts.map +0 -1
  643. package/distribution/to-upper.js +0 -3
  644. package/distribution/to-upper.js.map +0 -1
  645. package/distribution/trim-trailing-slash.d.ts +0 -2
  646. package/distribution/trim-trailing-slash.d.ts.map +0 -1
  647. package/distribution/trim-trailing-slash.js +0 -2
  648. package/distribution/trim-trailing-slash.js.map +0 -1
  649. package/distribution/truncate.d.ts +0 -6
  650. package/distribution/truncate.d.ts.map +0 -1
  651. package/distribution/truncate.js +0 -28
  652. package/distribution/truncate.js.map +0 -1
  653. package/distribution/union-by.d.ts +0 -2
  654. package/distribution/union-by.d.ts.map +0 -1
  655. package/distribution/union-by.js +0 -10
  656. package/distribution/union-by.js.map +0 -1
  657. package/distribution/union.d.ts +0 -2
  658. package/distribution/union.d.ts.map +0 -1
  659. package/distribution/union.js +0 -4
  660. package/distribution/union.js.map +0 -1
  661. package/distribution/uniq-by.d.ts +0 -3
  662. package/distribution/uniq-by.d.ts.map +0 -1
  663. package/distribution/uniq-by.js +0 -14
  664. package/distribution/uniq-by.js.map +0 -1
  665. package/distribution/uniq.d.ts +0 -2
  666. package/distribution/uniq.d.ts.map +0 -1
  667. package/distribution/uniq.js +0 -12
  668. package/distribution/uniq.js.map +0 -1
  669. package/distribution/upper-case.d.ts +0 -2
  670. package/distribution/upper-case.d.ts.map +0 -1
  671. package/distribution/upper-case.js +0 -3
  672. package/distribution/upper-case.js.map +0 -1
  673. package/distribution/upper-first.d.ts +0 -2
  674. package/distribution/upper-first.d.ts.map +0 -1
  675. package/distribution/upper-first.js +0 -2
  676. package/distribution/upper-first.js.map +0 -1
  677. package/distribution/words.d.ts +0 -2
  678. package/distribution/words.d.ts.map +0 -1
  679. package/distribution/words.js +0 -2
  680. package/distribution/words.js.map +0 -1
  681. package/distribution/zip-object.d.ts +0 -2
  682. package/distribution/zip-object.d.ts.map +0 -1
  683. package/distribution/zip-object.js +0 -8
  684. package/distribution/zip-object.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"clone-object.js","sourceRoot":"","sources":["../source/clone-object.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAoC,KAAQ,EAAK,EAAE;IAC7E,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"}
@@ -1,2 +0,0 @@
1
- export declare const clone: <T extends Record<string, unknown>>(iterable: T | T[]) => T | T[];
2
- //# sourceMappingURL=clone.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../source/clone.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,KAAG,CAAC,GAAG,CAAC,EACjB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { cloneArray } from "./clone-array.js";
2
- import { cloneObject } from "./clone-object.js";
3
- import { isArray } from "./is-array.js";
4
- export const clone = (iterable) => isArray(iterable) ? cloneArray(iterable) : cloneObject(iterable);
5
- //# sourceMappingURL=clone.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clone.js","sourceRoot":"","sources":["../source/clone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,MAAM,KAAK,GAAG,CAAoC,QAAiB,EAAW,EAAE,CACtF,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC"}
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,64 +0,0 @@
1
- import { get } from "./get.js";
2
- import { has } from "./has.js";
3
- import { sample } from "./sample.js";
4
- import { set } from "./set.js";
5
- import { stringify } from "./stringify.js";
6
- import { unset } from "./unset.js";
7
- export class Collection {
8
- #collection = {};
9
- all() {
10
- return this.#collection;
11
- }
12
- entries() {
13
- return Object.entries(this.#collection);
14
- }
15
- keys() {
16
- return Object.keys(this.#collection);
17
- }
18
- values() {
19
- return Object.values(this.#collection);
20
- }
21
- pull(key) {
22
- const item = get(this.#collection, key);
23
- this.forget(key);
24
- return item;
25
- }
26
- get(key) {
27
- return get(this.#collection, key);
28
- }
29
- set(key, value) {
30
- set(this.#collection, key, value);
31
- }
32
- forget(key) {
33
- unset(this.#collection, key);
34
- }
35
- flush() {
36
- this.#collection = {};
37
- }
38
- has(key) {
39
- return has(this.#collection, key);
40
- }
41
- missing(key) {
42
- return !this.has(key);
43
- }
44
- count() {
45
- return Object.keys(this.#collection).length;
46
- }
47
- isEmpty() {
48
- return this.count() <= 0;
49
- }
50
- isNotEmpty() {
51
- return !this.isEmpty();
52
- }
53
- random() {
54
- return sample(this.values());
55
- }
56
- toJson() {
57
- const collection = {};
58
- for (const [key, value] of this.entries()) {
59
- collection[key] = value;
60
- }
61
- return stringify(collection);
62
- }
63
- }
64
- //# sourceMappingURL=collection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../source/collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,OAAO,UAAU;IACtB,WAAW,GAAsB,EAAE,CAAC;IAE7B,GAAG;QACT,OAAO,IAAI,CAAC,WAAW,CAAC;IACzB,CAAC;IAEM,OAAO;QACb,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC;IAEM,IAAI;QACV,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM;QACZ,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACxC,CAAC;IAEM,IAAI,CAAC,GAAW;QACtB,MAAM,IAAI,GAAG,GAAG,CAAuB,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;QAE9D,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAEjB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,GAAG,CAAuB,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IACzD,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IAEM,MAAM,CAAC,GAAW;QACxB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;IACvB,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,GAAG,CAAC,IAAI,CAAC,WAAW,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,IAAI,CAAC,WAAW,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,MAAM,CAAC,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,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B,CAAC;CACD"}
@@ -1,2 +0,0 @@
1
- export declare const concat: <T>(...values: (T | T[])[]) => T[];
2
- //# sourceMappingURL=concat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../source/concat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,GAAI,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,KAAG,CAAC,EAgBnD,CAAC"}
@@ -1,17 +0,0 @@
1
- import { isArray } from "./is-array.js";
2
- export const concat = (...values) => {
3
- const result = [];
4
- for (const item of values) {
5
- if (isArray(item)) {
6
- const childLength = item.length;
7
- for (let index = 0; index < childLength; index++) {
8
- result.push(item[index]);
9
- }
10
- }
11
- else {
12
- result.push(item);
13
- }
14
- }
15
- return result;
16
- };
17
- //# sourceMappingURL=concat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concat.js","sourceRoot":"","sources":["../source/concat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,MAAM,MAAM,GAAG,CAAI,GAAG,MAAmB,EAAO,EAAE;IACxD,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,OAAO,CAAC,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"}
@@ -1,2 +0,0 @@
1
- export declare const constantCase: (value: string) => string | undefined;
2
- //# sourceMappingURL=constant-case.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant-case.d.ts","sourceRoot":"","sources":["../source/constant-case.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,SAIpD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { compoundWords } from "./internal/compound-words.js";
2
- export const constantCase = (value) => compoundWords(value, (result, word, index) => result + (index ? "_" : "") + word.toUpperCase());
3
- //# sourceMappingURL=constant-case.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant-case.js","sourceRoot":"","sources":["../source/constant-case.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAsB,EAAE,CACjE,aAAa,CACZ,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"}
@@ -1,2 +0,0 @@
1
- export declare const dotCase: (value: string) => string | undefined;
2
- //# sourceMappingURL=dot-case.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dot-case.d.ts","sourceRoot":"","sources":["../source/dot-case.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,SACyD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { compoundWords } from "./internal/compound-words.js";
2
- export const dotCase = (value) => compoundWords(value, (result, word, index) => result + (index ? "." : "") + word);
3
- //# sourceMappingURL=dot-case.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dot-case.js","sourceRoot":"","sources":["../source/dot-case.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAa,EAAsB,EAAE,CAC5D,aAAa,CAAC,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"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const every: <T>(subject: T[], iterator: FunctionReturning) => boolean;
3
- //# sourceMappingURL=every.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"every.d.ts","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,KAAK,GAAI,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,UAAU,iBAAiB,KAAG,OAQpE,CAAC"}
@@ -1,9 +0,0 @@
1
- export const every = (subject, iterator) => {
2
- for (let index = 0; index < subject.length; index++) {
3
- if (!iterator(subject[index], index, subject)) {
4
- return false;
5
- }
6
- }
7
- return true;
8
- };
9
- //# sourceMappingURL=every.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"every.js","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,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"}
@@ -1,2 +0,0 @@
1
- export declare const extension: (path: string) => string | undefined;
2
- //# sourceMappingURL=extension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../source/extension.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,SAAgD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { extname } from "path";
2
- export const extension = (path) => extname(path).slice(1) || undefined;
3
- //# sourceMappingURL=extension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extension.js","sourceRoot":"","sources":["../source/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const fill: <T, V>(subject: T[], value: V, start?: number, end?: number) => (T | V)[];
2
- //# sourceMappingURL=fill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fill.d.ts","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,GAAI,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,QAAQ,MAAM,EAAE,MAAM,MAAM,KAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAgBxF,CAAC"}
@@ -1,14 +0,0 @@
1
- export const fill = (subject, value, start, end) => {
2
- if (start === undefined) {
3
- start = 0;
4
- }
5
- if (end === undefined) {
6
- end = subject.length;
7
- }
8
- const results = [...subject];
9
- for (let index = start; index < end; index++) {
10
- results[index] = value;
11
- }
12
- return results;
13
- };
14
- //# sourceMappingURL=fill.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fill.js","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,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"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const filterArray: <T>(iterable: T[], iteratee: FunctionReturning<[T, number, T[]], unknown>) => T[];
3
- //# sourceMappingURL=filter-array.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-array.d.ts","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,iBAAiB,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAG,CAAC,EAWvG,CAAC"}
@@ -1,11 +0,0 @@
1
- export const filterArray = (iterable, iteratee) => {
2
- const result = [];
3
- for (let index = 0; index < iterable.length; index++) {
4
- const item = iterable[index];
5
- if (iteratee(item, index, iterable)) {
6
- result.push(item);
7
- }
8
- }
9
- return result;
10
- };
11
- //# sourceMappingURL=filter-array.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-array.js","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,QAAa,EAAE,QAAsD,EAAO,EAAE;IAC5G,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const filterObject: <T extends Record<string, T[keyof T]>>(iterable: T, iteratee: FunctionReturning<[T[keyof T], keyof T, T], unknown>) => T;
3
- //# sourceMappingURL=filter-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-object.d.ts","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAChE,UAAU,CAAC,EACX,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,KAC5D,CAiBF,CAAC"}
@@ -1,15 +0,0 @@
1
- export const filterObject = (iterable, iteratee) => {
2
- const result = {};
3
- for (const key in iterable) {
4
- if (!Object.prototype.hasOwnProperty.call(iterable, key)) {
5
- continue;
6
- }
7
- const typedKey = key;
8
- const value = iterable[typedKey];
9
- if (iteratee(value, typedKey, iterable)) {
10
- result[typedKey] = value;
11
- }
12
- }
13
- return result;
14
- };
15
- //# sourceMappingURL=filter-object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-object.js","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,CAC3B,QAAW,EACX,QAA8D,EAC1D,EAAE;IACN,MAAM,MAAM,GAAG,EAAO,CAAC;IAEvB,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1D,SAAS;QACV,CAAC;QAED,MAAM,QAAQ,GAAG,GAAc,CAAC;QAChC,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEjC,IAAI,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;YACzC,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;QAC1B,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const filter: <T>(iterable: T[] | Record<string, T>, iteratee: FunctionReturning<[T, number | string, T[] | Record<string, T>], unknown>) => T[] | Record<string, T>;
3
- //# sourceMappingURL=filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,eAAO,MAAM,MAAM,GAAI,CAAC,EACvB,UAAU,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EACjC,UAAU,iBAAiB,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KACjF,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAgBxB,CAAC"}
@@ -1,13 +0,0 @@
1
- import { filterArray } from "./filter-array.js";
2
- import { filterObject } from "./filter-object.js";
3
- import { isArray } from "./is-array.js";
4
- export const filter = (iterable, iteratee) => {
5
- if (isArray(iterable)) {
6
- // iterable is T[]
7
- return filterArray(iterable, ((value, index, array) => iteratee(value, index, array)));
8
- }
9
- // iterable is Record<string, T>
10
- const object = iterable;
11
- return filterObject(object, ((value, key, object_) => iteratee(value, key, object_)));
12
- };
13
- //# sourceMappingURL=filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,MAAM,MAAM,GAAG,CACrB,QAAiC,EACjC,QAAmF,EACzD,EAAE;IAC5B,IAAI,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvB,kBAAkB;QAClB,OAAO,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAGnF,CAAC,CAAC;IACJ,CAAC;IAED,gCAAgC;IAChC,MAAM,MAAM,GAAG,QAA6B,CAAC;IAE7C,OAAO,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,CAGlF,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const findIndex: <T>(iterable: T[], iteratee: FunctionReturning) => number;
3
- //# sourceMappingURL=find-index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-index.d.ts","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,SAAS,GAAI,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,iBAAiB,KAAG,MAQzE,CAAC"}
@@ -1,9 +0,0 @@
1
- export const findIndex = (iterable, iteratee) => {
2
- for (let index = 0; index < iterable.length; index++) {
3
- if (iteratee(iterable[index], index, iterable)) {
4
- return index;
5
- }
6
- }
7
- return -1;
8
- };
9
- //# sourceMappingURL=find-index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-index.js","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,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"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const findKey: <T extends Record<string, T[keyof T]>>(iterable: T, iteratee: FunctionReturning<[T[keyof T], keyof T, T], unknown>) => keyof T | undefined;
3
- //# sourceMappingURL=find-key.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-key.d.ts","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAC3D,UAAU,CAAC,EACX,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,KAC5D,MAAM,CAAC,GAAG,SAKZ,CAAC"}
@@ -1,7 +0,0 @@
1
- import { filterObject } from "./filter-object.js";
2
- export const findKey = (iterable, iteratee) => {
3
- const filtered = filterObject(iterable, iteratee);
4
- const keys = Object.keys(filtered);
5
- return keys.length > 0 ? keys[0] : undefined;
6
- };
7
- //# sourceMappingURL=find-key.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-key.js","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,MAAM,CAAC,MAAM,OAAO,GAAG,CACtB,QAAW,EACX,QAA8D,EACxC,EAAE;IACxB,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAClD,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAgB,CAAC;IAElD,OAAO,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { FunctionReturning } from "./internal/index.js";
2
- export declare const find: <T>(iterable: T[], iteratee: FunctionReturning) => T | undefined;
3
- //# sourceMappingURL=find.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../source/find.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,IAAI,GAAI,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,iBAAiB,KAAG,CAAC,GAAG,SAUxE,CAAC"}
@@ -1,10 +0,0 @@
1
- export const find = (iterable, iteratee) => {
2
- for (let index = 0; index < iterable.length; index++) {
3
- const item = iterable[index];
4
- if (iteratee(item, index, iterable)) {
5
- return item;
6
- }
7
- }
8
- return undefined;
9
- };
10
- //# sourceMappingURL=find.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find.js","sourceRoot":"","sources":["../source/find.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAiB,EAAE;IACpF,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,MAAM,IAAI,GAAM,QAAQ,CAAC,KAAK,CAAC,CAAC;QAEhC,IAAI,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YACrC,OAAO,IAAI,CAAC;QACb,CAAC;IACF,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const firstMapEntry: <K, V>(map: Map<K, V>) => [K, V];
2
- //# sourceMappingURL=first-map-entry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-entry.d.ts","sourceRoot":"","sources":["../source/first-map-entry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,CAAC,CAAC,EAAE,CAAC,CAAgB,CAAC"}
@@ -1,2 +0,0 @@
1
- export const firstMapEntry = (map) => [...map][0];
2
- //# sourceMappingURL=first-map-entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-entry.js","sourceRoot":"","sources":["../source/first-map-entry.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAO,GAAc,EAAU,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const firstMapKey: <K, V>(map: Map<K, V>) => K;
2
- //# sourceMappingURL=first-map-key.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-key.d.ts","sourceRoot":"","sources":["../source/first-map-key.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,CAA0B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { firstMapEntry } from "./first-map-entry.js";
2
- export const firstMapKey = (map) => firstMapEntry(map)[0];
3
- //# sourceMappingURL=first-map-key.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-key.js","sourceRoot":"","sources":["../source/first-map-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAO,GAAc,EAAK,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const firstMapValue: <K, V>(map: Map<K, V>) => V;
2
- //# sourceMappingURL=first-map-value.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-value.d.ts","sourceRoot":"","sources":["../source/first-map-value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,CAA0B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { firstMapEntry } from "./first-map-entry.js";
2
- export const firstMapValue = (map) => firstMapEntry(map)[1];
3
- //# sourceMappingURL=first-map-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"first-map-value.js","sourceRoot":"","sources":["../source/first-map-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAO,GAAc,EAAK,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const flatten: <T>(iterable: T[]) => T[];
2
- //# sourceMappingURL=flatten.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../source/flatten.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,GAAI,CAAC,EAAE,UAAU,CAAC,EAAE,KAAG,CAAC,EAAwB,CAAC"}
@@ -1,13 +0,0 @@
1
- const flat = (iterable, stash) => {
2
- for (const element of iterable) {
3
- if (Array.isArray(element)) {
4
- flat(element, stash);
5
- }
6
- else {
7
- stash.push(element);
8
- }
9
- }
10
- return stash;
11
- };
12
- export const flatten = (iterable) => flat(iterable, []);
13
- //# sourceMappingURL=flatten.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flatten.js","sourceRoot":"","sources":["../source/flatten.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,CAAI,QAAa,EAAE,KAAU,EAAO,EAAE;IAClD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAChC,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC5B,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACtB,CAAC;aAAM,CAAC;YACP,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAI,QAAa,EAAO,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const formatNumber: (value: number, locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
2
- //# sourceMappingURL=format-number.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format-number.d.ts","sourceRoot":"","sources":["../source/format-number.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,EAAE,UAAU,MAAM,GAAG,MAAM,EAAE,EAAE,UAAU,IAAI,CAAC,mBAAmB,KAAG,MACxD,CAAC"}
@@ -1,2 +0,0 @@
1
- export const formatNumber = (value, locales, options) => new Intl.NumberFormat(locales, options).format(value);
2
- //# sourceMappingURL=format-number.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format-number.js","sourceRoot":"","sources":["../source/format-number.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,OAA2B,EAAE,OAAkC,EAAU,EAAE,CACtH,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const formatString: (template: string, ...values: unknown[]) => string;
2
- //# sourceMappingURL=format-string.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format-string.d.ts","sourceRoot":"","sources":["../source/format-string.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,GAAG,QAAQ,OAAO,EAAE,KAAG,MAQrE,CAAC"}
@@ -1,8 +0,0 @@
1
- export const formatString = (template, ...values) => {
2
- let output = template;
3
- for (const [index, value] of values.entries()) {
4
- output = output.replace(`{${index}}`, String(value));
5
- }
6
- return output;
7
- };
8
- //# sourceMappingURL=format-string.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format-string.js","sourceRoot":"","sources":["../source/format-string.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAE,GAAG,MAAiB,EAAU,EAAE;IAC9E,IAAI,MAAM,GAAG,QAAQ,CAAC;IAEtB,KAAK,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;QAC/C,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getType: (value: unknown) => string;
2
- //# sourceMappingURL=get-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-type.d.ts","sourceRoot":"","sources":["../source/get-type.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,GAAI,OAAO,OAAO,KAAG,MAA+C,CAAC"}
@@ -1,2 +0,0 @@
1
- export const getType = (value) => Object.prototype.toString.call(value);
2
- //# sourceMappingURL=get-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-type.js","sourceRoot":"","sources":["../source/get-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const hasProperty: <T>(object: T, property: string) => boolean;
2
- //# sourceMappingURL=has-property.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-property.d.ts","sourceRoot":"","sources":["../source/has-property.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,QAAQ,CAAC,EAAE,UAAU,MAAM,KAAG,OACN,CAAC"}
@@ -1,2 +0,0 @@
1
- export const hasProperty = (object, property) => Object.prototype.hasOwnProperty.call(object, property);
2
- //# sourceMappingURL=has-property.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-property.js","sourceRoot":"","sources":["../source/has-property.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,MAAS,EAAE,QAAgB,EAAW,EAAE,CACtE,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const hasSomeProperty: <T>(object: T, properties: string[]) => boolean;
2
- //# sourceMappingURL=has-some-property.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-some-property.d.ts","sourceRoot":"","sources":["../source/has-some-property.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,QAAQ,CAAC,EAAE,YAAY,MAAM,EAAE,KAAG,OACC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { hasProperty } from "./has-property.js";
2
- import { some } from "./some.js";
3
- export const hasSomeProperty = (object, properties) => some(properties, (property) => hasProperty(object, property));
4
- //# sourceMappingURL=has-some-property.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-some-property.js","sourceRoot":"","sources":["../source/has-some-property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAI,MAAS,EAAE,UAAoB,EAAW,EAAE,CAC9E,IAAI,CAAC,UAAU,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const hashString: (value: string) => number;
2
- //# sourceMappingURL=hash-string.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hash-string.d.ts","sourceRoot":"","sources":["../source/hash-string.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,MAS1C,CAAC"}
@@ -1,9 +0,0 @@
1
- export const hashString = (value) => {
2
- let hash = 5381;
3
- let remaining = value.length;
4
- while (remaining) {
5
- hash = (hash * 33) ^ value.codePointAt(--remaining);
6
- }
7
- return hash >>> 0;
8
- };
9
- //# sourceMappingURL=hash-string.js.map