@mainsail/utils 0.0.1-evm.46 → 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 (671) hide show
  1. package/distribution/ensure-error.d.ts +2 -0
  2. package/distribution/ensure-error.d.ts.map +1 -0
  3. package/distribution/ensure-error.js +21 -0
  4. package/distribution/ensure-error.js.map +1 -0
  5. package/distribution/http.d.ts.map +1 -1
  6. package/distribution/http.js +6 -5
  7. package/distribution/http.js.map +1 -1
  8. package/distribution/index.d.ts +2 -157
  9. package/distribution/index.d.ts.map +1 -1
  10. package/distribution/index.js +2 -157
  11. package/distribution/index.js.map +1 -1
  12. package/distribution/internal/index.d.ts +0 -1
  13. package/distribution/internal/index.d.ts.map +1 -1
  14. package/distribution/internal/index.js +0 -1
  15. package/distribution/internal/index.js.map +1 -1
  16. package/distribution/shuffle.d.ts.map +1 -1
  17. package/distribution/shuffle.js +5 -7
  18. package/distribution/shuffle.js.map +1 -1
  19. package/distribution/sleep.d.ts +1 -1
  20. package/distribution/sleep.d.ts.map +1 -1
  21. package/distribution/slice.js +1 -1
  22. package/distribution/slice.js.map +1 -1
  23. package/distribution/string-case.d.ts +3 -0
  24. package/distribution/string-case.d.ts.map +1 -0
  25. package/distribution/string-case.js +51 -0
  26. package/distribution/string-case.js.map +1 -0
  27. package/package.json +7 -15
  28. package/distribution/assign.d.ts +0 -2
  29. package/distribution/assign.d.ts.map +0 -1
  30. package/distribution/assign.js +0 -9
  31. package/distribution/assign.js.map +0 -1
  32. package/distribution/at.d.ts +0 -2
  33. package/distribution/at.d.ts.map +0 -1
  34. package/distribution/at.js +0 -4
  35. package/distribution/at.js.map +0 -1
  36. package/distribution/base64.d.ts +0 -5
  37. package/distribution/base64.d.ts.map +0 -1
  38. package/distribution/base64.js +0 -4
  39. package/distribution/base64.js.map +0 -1
  40. package/distribution/big-number.d.ts +0 -29
  41. package/distribution/big-number.d.ts.map +0 -1
  42. package/distribution/big-number.js +0 -78
  43. package/distribution/big-number.js.map +0 -1
  44. package/distribution/binary.d.ts +0 -5
  45. package/distribution/binary.d.ts.map +0 -1
  46. package/distribution/binary.js +0 -10
  47. package/distribution/binary.js.map +0 -1
  48. package/distribution/camel-case.d.ts +0 -2
  49. package/distribution/camel-case.d.ts.map +0 -1
  50. package/distribution/camel-case.js +0 -4
  51. package/distribution/camel-case.js.map +0 -1
  52. package/distribution/capped-map.d.ts +0 -17
  53. package/distribution/capped-map.d.ts.map +0 -1
  54. package/distribution/capped-map.js +0 -51
  55. package/distribution/capped-map.js.map +0 -1
  56. package/distribution/capped-set.d.ts +0 -7
  57. package/distribution/capped-set.d.ts.map +0 -1
  58. package/distribution/capped-set.js +0 -21
  59. package/distribution/capped-set.js.map +0 -1
  60. package/distribution/cast-array.d.ts +0 -2
  61. package/distribution/cast-array.d.ts.map +0 -1
  62. package/distribution/cast-array.js +0 -21
  63. package/distribution/cast-array.js.map +0 -1
  64. package/distribution/chars.d.ts +0 -2
  65. package/distribution/chars.d.ts.map +0 -1
  66. package/distribution/chars.js +0 -2
  67. package/distribution/chars.js.map +0 -1
  68. package/distribution/clone-array.d.ts +0 -2
  69. package/distribution/clone-array.d.ts.map +0 -1
  70. package/distribution/clone-array.js +0 -8
  71. package/distribution/clone-array.js.map +0 -1
  72. package/distribution/clone-object.d.ts +0 -2
  73. package/distribution/clone-object.d.ts.map +0 -1
  74. package/distribution/clone-object.js +0 -9
  75. package/distribution/clone-object.js.map +0 -1
  76. package/distribution/clone.d.ts +0 -2
  77. package/distribution/clone.d.ts.map +0 -1
  78. package/distribution/clone.js +0 -5
  79. package/distribution/clone.js.map +0 -1
  80. package/distribution/collection.d.ts +0 -20
  81. package/distribution/collection.d.ts.map +0 -1
  82. package/distribution/collection.js +0 -64
  83. package/distribution/collection.js.map +0 -1
  84. package/distribution/concat.d.ts +0 -2
  85. package/distribution/concat.d.ts.map +0 -1
  86. package/distribution/concat.js +0 -17
  87. package/distribution/concat.js.map +0 -1
  88. package/distribution/constant-case.d.ts +0 -2
  89. package/distribution/constant-case.d.ts.map +0 -1
  90. package/distribution/constant-case.js +0 -3
  91. package/distribution/constant-case.js.map +0 -1
  92. package/distribution/dot-case.d.ts +0 -2
  93. package/distribution/dot-case.d.ts.map +0 -1
  94. package/distribution/dot-case.js +0 -3
  95. package/distribution/dot-case.js.map +0 -1
  96. package/distribution/every.d.ts +0 -3
  97. package/distribution/every.d.ts.map +0 -1
  98. package/distribution/every.js +0 -9
  99. package/distribution/every.js.map +0 -1
  100. package/distribution/extension.d.ts +0 -2
  101. package/distribution/extension.d.ts.map +0 -1
  102. package/distribution/extension.js +0 -3
  103. package/distribution/extension.js.map +0 -1
  104. package/distribution/fill.d.ts +0 -2
  105. package/distribution/fill.d.ts.map +0 -1
  106. package/distribution/fill.js +0 -14
  107. package/distribution/fill.js.map +0 -1
  108. package/distribution/filter-array.d.ts +0 -3
  109. package/distribution/filter-array.d.ts.map +0 -1
  110. package/distribution/filter-array.js +0 -11
  111. package/distribution/filter-array.js.map +0 -1
  112. package/distribution/filter-object.d.ts +0 -3
  113. package/distribution/filter-object.d.ts.map +0 -1
  114. package/distribution/filter-object.js +0 -15
  115. package/distribution/filter-object.js.map +0 -1
  116. package/distribution/filter.d.ts +0 -3
  117. package/distribution/filter.d.ts.map +0 -1
  118. package/distribution/filter.js +0 -13
  119. package/distribution/filter.js.map +0 -1
  120. package/distribution/find-index.d.ts +0 -3
  121. package/distribution/find-index.d.ts.map +0 -1
  122. package/distribution/find-index.js +0 -9
  123. package/distribution/find-index.js.map +0 -1
  124. package/distribution/find-key.d.ts +0 -3
  125. package/distribution/find-key.d.ts.map +0 -1
  126. package/distribution/find-key.js +0 -7
  127. package/distribution/find-key.js.map +0 -1
  128. package/distribution/find.d.ts +0 -3
  129. package/distribution/find.d.ts.map +0 -1
  130. package/distribution/find.js +0 -10
  131. package/distribution/find.js.map +0 -1
  132. package/distribution/first-map-entry.d.ts +0 -2
  133. package/distribution/first-map-entry.d.ts.map +0 -1
  134. package/distribution/first-map-entry.js +0 -2
  135. package/distribution/first-map-entry.js.map +0 -1
  136. package/distribution/first-map-key.d.ts +0 -2
  137. package/distribution/first-map-key.d.ts.map +0 -1
  138. package/distribution/first-map-key.js +0 -3
  139. package/distribution/first-map-key.js.map +0 -1
  140. package/distribution/first-map-value.d.ts +0 -2
  141. package/distribution/first-map-value.d.ts.map +0 -1
  142. package/distribution/first-map-value.js +0 -3
  143. package/distribution/first-map-value.js.map +0 -1
  144. package/distribution/flatten.d.ts +0 -2
  145. package/distribution/flatten.d.ts.map +0 -1
  146. package/distribution/flatten.js +0 -13
  147. package/distribution/flatten.js.map +0 -1
  148. package/distribution/format-number.d.ts +0 -2
  149. package/distribution/format-number.d.ts.map +0 -1
  150. package/distribution/format-number.js +0 -2
  151. package/distribution/format-number.js.map +0 -1
  152. package/distribution/format-string.d.ts +0 -2
  153. package/distribution/format-string.d.ts.map +0 -1
  154. package/distribution/format-string.js +0 -8
  155. package/distribution/format-string.js.map +0 -1
  156. package/distribution/get-type.d.ts +0 -2
  157. package/distribution/get-type.d.ts.map +0 -1
  158. package/distribution/get-type.js +0 -2
  159. package/distribution/get-type.js.map +0 -1
  160. package/distribution/has-property.d.ts +0 -2
  161. package/distribution/has-property.d.ts.map +0 -1
  162. package/distribution/has-property.js +0 -2
  163. package/distribution/has-property.js.map +0 -1
  164. package/distribution/has-some-property.d.ts +0 -2
  165. package/distribution/has-some-property.d.ts.map +0 -1
  166. package/distribution/has-some-property.js +0 -4
  167. package/distribution/has-some-property.js.map +0 -1
  168. package/distribution/hash-string.d.ts +0 -2
  169. package/distribution/hash-string.d.ts.map +0 -1
  170. package/distribution/hash-string.js +0 -9
  171. package/distribution/hash-string.js.map +0 -1
  172. package/distribution/head.d.ts +0 -2
  173. package/distribution/head.d.ts.map +0 -1
  174. package/distribution/head.js +0 -2
  175. package/distribution/head.js.map +0 -1
  176. package/distribution/header-case.d.ts +0 -2
  177. package/distribution/header-case.d.ts.map +0 -1
  178. package/distribution/header-case.js +0 -4
  179. package/distribution/header-case.js.map +0 -1
  180. package/distribution/hex.d.ts +0 -5
  181. package/distribution/hex.d.ts.map +0 -1
  182. package/distribution/hex.js +0 -4
  183. package/distribution/hex.js.map +0 -1
  184. package/distribution/immutable/index.d.ts +0 -4
  185. package/distribution/immutable/index.d.ts.map +0 -1
  186. package/distribution/immutable/index.js +0 -4
  187. package/distribution/immutable/index.js.map +0 -1
  188. package/distribution/immutable/order-by.d.ts +0 -3
  189. package/distribution/immutable/order-by.d.ts.map +0 -1
  190. package/distribution/immutable/order-by.js +0 -3
  191. package/distribution/immutable/order-by.js.map +0 -1
  192. package/distribution/immutable/sort-by-desc.d.ts +0 -3
  193. package/distribution/immutable/sort-by-desc.d.ts.map +0 -1
  194. package/distribution/immutable/sort-by-desc.js +0 -3
  195. package/distribution/immutable/sort-by-desc.js.map +0 -1
  196. package/distribution/immutable/sort-by.d.ts +0 -3
  197. package/distribution/immutable/sort-by.d.ts.map +0 -1
  198. package/distribution/immutable/sort-by.js +0 -3
  199. package/distribution/immutable/sort-by.js.map +0 -1
  200. package/distribution/includes.d.ts +0 -2
  201. package/distribution/includes.d.ts.map +0 -1
  202. package/distribution/includes.js +0 -16
  203. package/distribution/includes.js.map +0 -1
  204. package/distribution/index-of.d.ts +0 -2
  205. package/distribution/index-of.d.ts.map +0 -1
  206. package/distribution/index-of.js +0 -20
  207. package/distribution/index-of.js.map +0 -1
  208. package/distribution/internal/compound-words.d.ts +0 -2
  209. package/distribution/internal/compound-words.d.ts.map +0 -1
  210. package/distribution/internal/compound-words.js +0 -11
  211. package/distribution/internal/compound-words.js.map +0 -1
  212. package/distribution/intersection.d.ts +0 -2
  213. package/distribution/intersection.d.ts.map +0 -1
  214. package/distribution/intersection.js +0 -13
  215. package/distribution/intersection.js.map +0 -1
  216. package/distribution/is-arguments.d.ts +0 -2
  217. package/distribution/is-arguments.d.ts.map +0 -1
  218. package/distribution/is-arguments.js +0 -3
  219. package/distribution/is-arguments.js.map +0 -1
  220. package/distribution/is-array-of-type.d.ts +0 -2
  221. package/distribution/is-array-of-type.d.ts.map +0 -1
  222. package/distribution/is-array-of-type.js +0 -3
  223. package/distribution/is-array-of-type.js.map +0 -1
  224. package/distribution/is-async-function.d.ts +0 -2
  225. package/distribution/is-async-function.d.ts.map +0 -1
  226. package/distribution/is-async-function.js +0 -3
  227. package/distribution/is-async-function.js.map +0 -1
  228. package/distribution/is-between.d.ts +0 -2
  229. package/distribution/is-between.d.ts.map +0 -1
  230. package/distribution/is-between.js +0 -2
  231. package/distribution/is-between.js.map +0 -1
  232. package/distribution/is-bigint.d.ts +0 -2
  233. package/distribution/is-bigint.d.ts.map +0 -1
  234. package/distribution/is-bigint.js +0 -2
  235. package/distribution/is-bigint.js.map +0 -1
  236. package/distribution/is-boolean-array.d.ts +0 -2
  237. package/distribution/is-boolean-array.d.ts.map +0 -1
  238. package/distribution/is-boolean-array.js +0 -3
  239. package/distribution/is-boolean-array.js.map +0 -1
  240. package/distribution/is-boolean.d.ts +0 -2
  241. package/distribution/is-boolean.d.ts.map +0 -1
  242. package/distribution/is-boolean.js +0 -2
  243. package/distribution/is-boolean.js.map +0 -1
  244. package/distribution/is-buffer.d.ts +0 -2
  245. package/distribution/is-buffer.d.ts.map +0 -1
  246. package/distribution/is-buffer.js +0 -2
  247. package/distribution/is-buffer.js.map +0 -1
  248. package/distribution/is-constructor.d.ts +0 -2
  249. package/distribution/is-constructor.d.ts.map +0 -1
  250. package/distribution/is-constructor.js +0 -2
  251. package/distribution/is-constructor.js.map +0 -1
  252. package/distribution/is-date.d.ts +0 -2
  253. package/distribution/is-date.d.ts.map +0 -1
  254. package/distribution/is-date.js +0 -2
  255. package/distribution/is-date.js.map +0 -1
  256. package/distribution/is-empty-array.d.ts +0 -2
  257. package/distribution/is-empty-array.d.ts.map +0 -1
  258. package/distribution/is-empty-array.js +0 -3
  259. package/distribution/is-empty-array.js.map +0 -1
  260. package/distribution/is-empty-map.d.ts +0 -2
  261. package/distribution/is-empty-map.d.ts.map +0 -1
  262. package/distribution/is-empty-map.js +0 -3
  263. package/distribution/is-empty-map.js.map +0 -1
  264. package/distribution/is-empty-object.d.ts +0 -2
  265. package/distribution/is-empty-object.d.ts.map +0 -1
  266. package/distribution/is-empty-object.js +0 -3
  267. package/distribution/is-empty-object.js.map +0 -1
  268. package/distribution/is-empty-set.d.ts +0 -2
  269. package/distribution/is-empty-set.d.ts.map +0 -1
  270. package/distribution/is-empty-set.js +0 -3
  271. package/distribution/is-empty-set.js.map +0 -1
  272. package/distribution/is-equal.d.ts +0 -2
  273. package/distribution/is-equal.d.ts.map +0 -1
  274. package/distribution/is-equal.js +0 -2
  275. package/distribution/is-equal.js.map +0 -1
  276. package/distribution/is-error.d.ts +0 -2
  277. package/distribution/is-error.d.ts.map +0 -1
  278. package/distribution/is-error.js +0 -2
  279. package/distribution/is-error.js.map +0 -1
  280. package/distribution/is-false.d.ts +0 -2
  281. package/distribution/is-false.d.ts.map +0 -1
  282. package/distribution/is-false.js +0 -2
  283. package/distribution/is-false.js.map +0 -1
  284. package/distribution/is-function.d.ts +0 -2
  285. package/distribution/is-function.d.ts.map +0 -1
  286. package/distribution/is-function.js +0 -4
  287. package/distribution/is-function.js.map +0 -1
  288. package/distribution/is-git.d.ts +0 -2
  289. package/distribution/is-git.d.ts.map +0 -1
  290. package/distribution/is-git.js +0 -2
  291. package/distribution/is-git.js.map +0 -1
  292. package/distribution/is-greater-than-or-equal.d.ts +0 -2
  293. package/distribution/is-greater-than-or-equal.d.ts.map +0 -1
  294. package/distribution/is-greater-than-or-equal.js +0 -2
  295. package/distribution/is-greater-than-or-equal.js.map +0 -1
  296. package/distribution/is-greater-than.d.ts +0 -2
  297. package/distribution/is-greater-than.d.ts.map +0 -1
  298. package/distribution/is-greater-than.js +0 -2
  299. package/distribution/is-greater-than.js.map +0 -1
  300. package/distribution/is-less-than-or-equal.d.ts +0 -2
  301. package/distribution/is-less-than-or-equal.d.ts.map +0 -1
  302. package/distribution/is-less-than-or-equal.js +0 -2
  303. package/distribution/is-less-than-or-equal.js.map +0 -1
  304. package/distribution/is-less-than.d.ts +0 -2
  305. package/distribution/is-less-than.d.ts.map +0 -1
  306. package/distribution/is-less-than.js +0 -2
  307. package/distribution/is-less-than.js.map +0 -1
  308. package/distribution/is-map.d.ts +0 -2
  309. package/distribution/is-map.d.ts.map +0 -1
  310. package/distribution/is-map.js +0 -2
  311. package/distribution/is-map.js.map +0 -1
  312. package/distribution/is-match.d.ts +0 -2
  313. package/distribution/is-match.d.ts.map +0 -1
  314. package/distribution/is-match.js +0 -2
  315. package/distribution/is-match.js.map +0 -1
  316. package/distribution/is-negative-zero.d.ts +0 -2
  317. package/distribution/is-negative-zero.d.ts.map +0 -1
  318. package/distribution/is-negative-zero.js +0 -2
  319. package/distribution/is-negative-zero.js.map +0 -1
  320. package/distribution/is-negative.d.ts +0 -2
  321. package/distribution/is-negative.d.ts.map +0 -1
  322. package/distribution/is-negative.js +0 -3
  323. package/distribution/is-negative.js.map +0 -1
  324. package/distribution/is-nil.d.ts +0 -2
  325. package/distribution/is-nil.d.ts.map +0 -1
  326. package/distribution/is-nil.js +0 -3
  327. package/distribution/is-nil.js.map +0 -1
  328. package/distribution/is-not-between.d.ts +0 -2
  329. package/distribution/is-not-between.d.ts.map +0 -1
  330. package/distribution/is-not-between.js +0 -3
  331. package/distribution/is-not-between.js.map +0 -1
  332. package/distribution/is-not-equal.d.ts +0 -2
  333. package/distribution/is-not-equal.d.ts.map +0 -1
  334. package/distribution/is-not-equal.js +0 -3
  335. package/distribution/is-not-equal.js.map +0 -1
  336. package/distribution/is-null.d.ts +0 -2
  337. package/distribution/is-null.d.ts.map +0 -1
  338. package/distribution/is-null.js +0 -2
  339. package/distribution/is-null.js.map +0 -1
  340. package/distribution/is-number-array.d.ts +0 -2
  341. package/distribution/is-number-array.d.ts.map +0 -1
  342. package/distribution/is-number-array.js +0 -3
  343. package/distribution/is-number-array.js.map +0 -1
  344. package/distribution/is-number.d.ts +0 -2
  345. package/distribution/is-number.d.ts.map +0 -1
  346. package/distribution/is-number.js +0 -2
  347. package/distribution/is-number.js.map +0 -1
  348. package/distribution/is-positive-zero.d.ts +0 -2
  349. package/distribution/is-positive-zero.d.ts.map +0 -1
  350. package/distribution/is-positive-zero.js +0 -2
  351. package/distribution/is-positive-zero.js.map +0 -1
  352. package/distribution/is-positive.d.ts +0 -2
  353. package/distribution/is-positive.d.ts.map +0 -1
  354. package/distribution/is-positive.js +0 -3
  355. package/distribution/is-positive.js.map +0 -1
  356. package/distribution/is-promise.d.ts +0 -2
  357. package/distribution/is-promise.d.ts.map +0 -1
  358. package/distribution/is-promise.js +0 -2
  359. package/distribution/is-promise.js.map +0 -1
  360. package/distribution/is-reg-exp.d.ts +0 -2
  361. package/distribution/is-reg-exp.d.ts.map +0 -1
  362. package/distribution/is-reg-exp.js +0 -2
  363. package/distribution/is-reg-exp.js.map +0 -1
  364. package/distribution/is-set.d.ts +0 -2
  365. package/distribution/is-set.d.ts.map +0 -1
  366. package/distribution/is-set.js +0 -2
  367. package/distribution/is-set.js.map +0 -1
  368. package/distribution/is-ssh.d.ts +0 -2
  369. package/distribution/is-ssh.d.ts.map +0 -1
  370. package/distribution/is-ssh.js +0 -10
  371. package/distribution/is-ssh.js.map +0 -1
  372. package/distribution/is-string-array.d.ts +0 -2
  373. package/distribution/is-string-array.d.ts.map +0 -1
  374. package/distribution/is-string-array.js +0 -3
  375. package/distribution/is-string-array.js.map +0 -1
  376. package/distribution/is-symbol.d.ts +0 -2
  377. package/distribution/is-symbol.d.ts.map +0 -1
  378. package/distribution/is-symbol.js +0 -2
  379. package/distribution/is-symbol.js.map +0 -1
  380. package/distribution/is-sync-function.d.ts +0 -2
  381. package/distribution/is-sync-function.d.ts.map +0 -1
  382. package/distribution/is-sync-function.js +0 -3
  383. package/distribution/is-sync-function.js.map +0 -1
  384. package/distribution/is-true.d.ts +0 -2
  385. package/distribution/is-true.d.ts.map +0 -1
  386. package/distribution/is-true.js +0 -2
  387. package/distribution/is-true.js.map +0 -1
  388. package/distribution/is-undefined.d.ts +0 -2
  389. package/distribution/is-undefined.d.ts.map +0 -1
  390. package/distribution/is-undefined.js +0 -2
  391. package/distribution/is-undefined.js.map +0 -1
  392. package/distribution/is-uri.d.ts +0 -2
  393. package/distribution/is-uri.d.ts.map +0 -1
  394. package/distribution/is-uri.js +0 -2
  395. package/distribution/is-uri.js.map +0 -1
  396. package/distribution/is-url.d.ts +0 -2
  397. package/distribution/is-url.d.ts.map +0 -1
  398. package/distribution/is-url.js +0 -10
  399. package/distribution/is-url.js.map +0 -1
  400. package/distribution/is-weak-map.d.ts +0 -2
  401. package/distribution/is-weak-map.d.ts.map +0 -1
  402. package/distribution/is-weak-map.js +0 -2
  403. package/distribution/is-weak-map.js.map +0 -1
  404. package/distribution/is-weak-set.d.ts +0 -2
  405. package/distribution/is-weak-set.d.ts.map +0 -1
  406. package/distribution/is-weak-set.js +0 -2
  407. package/distribution/is-weak-set.js.map +0 -1
  408. package/distribution/kebab-case.d.ts +0 -2
  409. package/distribution/kebab-case.d.ts.map +0 -1
  410. package/distribution/kebab-case.js +0 -3
  411. package/distribution/kebab-case.js.map +0 -1
  412. package/distribution/key-by.d.ts +0 -3
  413. package/distribution/key-by.d.ts.map +0 -1
  414. package/distribution/key-by.js +0 -6
  415. package/distribution/key-by.js.map +0 -1
  416. package/distribution/keys-in.d.ts +0 -2
  417. package/distribution/keys-in.d.ts.map +0 -1
  418. package/distribution/keys-in.js +0 -5
  419. package/distribution/keys-in.js.map +0 -1
  420. package/distribution/keys.d.ts +0 -2
  421. package/distribution/keys.d.ts.map +0 -1
  422. package/distribution/keys.js +0 -2
  423. package/distribution/keys.js.map +0 -1
  424. package/distribution/last-index-of.d.ts +0 -2
  425. package/distribution/last-index-of.d.ts.map +0 -1
  426. package/distribution/last-index-of.js +0 -17
  427. package/distribution/last-index-of.js.map +0 -1
  428. package/distribution/last-map-entry.d.ts +0 -2
  429. package/distribution/last-map-entry.d.ts.map +0 -1
  430. package/distribution/last-map-entry.js +0 -2
  431. package/distribution/last-map-entry.js.map +0 -1
  432. package/distribution/last-map-key.d.ts +0 -2
  433. package/distribution/last-map-key.d.ts.map +0 -1
  434. package/distribution/last-map-key.js +0 -3
  435. package/distribution/last-map-key.js.map +0 -1
  436. package/distribution/last-map-value.d.ts +0 -2
  437. package/distribution/last-map-value.d.ts.map +0 -1
  438. package/distribution/last-map-value.js +0 -3
  439. package/distribution/last-map-value.js.map +0 -1
  440. package/distribution/last.d.ts +0 -2
  441. package/distribution/last.d.ts.map +0 -1
  442. package/distribution/last.js +0 -3
  443. package/distribution/last.js.map +0 -1
  444. package/distribution/lower-case.d.ts +0 -2
  445. package/distribution/lower-case.d.ts.map +0 -1
  446. package/distribution/lower-case.js +0 -3
  447. package/distribution/lower-case.js.map +0 -1
  448. package/distribution/lower-first.d.ts +0 -2
  449. package/distribution/lower-first.d.ts.map +0 -1
  450. package/distribution/lower-first.js +0 -2
  451. package/distribution/lower-first.js.map +0 -1
  452. package/distribution/map-values.d.ts +0 -2
  453. package/distribution/map-values.d.ts.map +0 -1
  454. package/distribution/map-values.js +0 -9
  455. package/distribution/map-values.js.map +0 -1
  456. package/distribution/match.d.ts +0 -2
  457. package/distribution/match.d.ts.map +0 -1
  458. package/distribution/match.js +0 -9
  459. package/distribution/match.js.map +0 -1
  460. package/distribution/max-by.d.ts +0 -3
  461. package/distribution/max-by.d.ts.map +0 -1
  462. package/distribution/max-by.js +0 -14
  463. package/distribution/max-by.js.map +0 -1
  464. package/distribution/max.d.ts +0 -2
  465. package/distribution/max.d.ts.map +0 -1
  466. package/distribution/max.js +0 -8
  467. package/distribution/max.js.map +0 -1
  468. package/distribution/min.d.ts +0 -2
  469. package/distribution/min.d.ts.map +0 -1
  470. package/distribution/min.js +0 -8
  471. package/distribution/min.js.map +0 -1
  472. package/distribution/nsect.d.ts +0 -8
  473. package/distribution/nsect.d.ts.map +0 -1
  474. package/distribution/nsect.js +0 -79
  475. package/distribution/nsect.js.map +0 -1
  476. package/distribution/number-array.d.ts +0 -2
  477. package/distribution/number-array.d.ts.map +0 -1
  478. package/distribution/number-array.js +0 -2
  479. package/distribution/number-array.js.map +0 -1
  480. package/distribution/number-to-hex.d.ts +0 -2
  481. package/distribution/number-to-hex.d.ts.map +0 -1
  482. package/distribution/number-to-hex.js +0 -5
  483. package/distribution/number-to-hex.js.map +0 -1
  484. package/distribution/omit-by.d.ts +0 -3
  485. package/distribution/omit-by.d.ts.map +0 -1
  486. package/distribution/omit-by.js +0 -3
  487. package/distribution/omit-by.js.map +0 -1
  488. package/distribution/ordinal.d.ts +0 -2
  489. package/distribution/ordinal.d.ts.map +0 -1
  490. package/distribution/ordinal.js +0 -3
  491. package/distribution/ordinal.js.map +0 -1
  492. package/distribution/parse-git-url.d.ts +0 -8
  493. package/distribution/parse-git-url.d.ts.map +0 -1
  494. package/distribution/parse-git-url.js +0 -33
  495. package/distribution/parse-git-url.js.map +0 -1
  496. package/distribution/parse-uri.d.ts +0 -10
  497. package/distribution/parse-uri.d.ts.map +0 -1
  498. package/distribution/parse-uri.js +0 -15
  499. package/distribution/parse-uri.js.map +0 -1
  500. package/distribution/parse.d.ts +0 -2
  501. package/distribution/parse.d.ts.map +0 -1
  502. package/distribution/parse.js +0 -3
  503. package/distribution/parse.js.map +0 -1
  504. package/distribution/partition.d.ts +0 -3
  505. package/distribution/partition.d.ts.map +0 -1
  506. package/distribution/partition.js +0 -5
  507. package/distribution/partition.js.map +0 -1
  508. package/distribution/pascal-case.d.ts +0 -2
  509. package/distribution/pascal-case.d.ts.map +0 -1
  510. package/distribution/pascal-case.js +0 -4
  511. package/distribution/pascal-case.js.map +0 -1
  512. package/distribution/path-case.d.ts +0 -2
  513. package/distribution/path-case.d.ts.map +0 -1
  514. package/distribution/path-case.js +0 -3
  515. package/distribution/path-case.js.map +0 -1
  516. package/distribution/pick-by.d.ts +0 -2
  517. package/distribution/pick-by.d.ts.map +0 -1
  518. package/distribution/pick-by.js +0 -14
  519. package/distribution/pick-by.js.map +0 -1
  520. package/distribution/pick.d.ts +0 -2
  521. package/distribution/pick.d.ts.map +0 -1
  522. package/distribution/pick.js +0 -8
  523. package/distribution/pick.js.map +0 -1
  524. package/distribution/pluck.d.ts +0 -2
  525. package/distribution/pluck.d.ts.map +0 -1
  526. package/distribution/pluck.js +0 -11
  527. package/distribution/pluck.js.map +0 -1
  528. package/distribution/protocols.d.ts +0 -2
  529. package/distribution/protocols.d.ts.map +0 -1
  530. package/distribution/protocols.js +0 -5
  531. package/distribution/protocols.js.map +0 -1
  532. package/distribution/pull-all-by.d.ts +0 -3
  533. package/distribution/pull-all-by.d.ts.map +0 -1
  534. package/distribution/pull-all-by.js +0 -14
  535. package/distribution/pull-all-by.js.map +0 -1
  536. package/distribution/pull-all.d.ts +0 -2
  537. package/distribution/pull-all.d.ts.map +0 -1
  538. package/distribution/pull-all.js +0 -3
  539. package/distribution/pull-all.js.map +0 -1
  540. package/distribution/pull.d.ts +0 -2
  541. package/distribution/pull.d.ts.map +0 -1
  542. package/distribution/pull.js +0 -3
  543. package/distribution/pull.js.map +0 -1
  544. package/distribution/random-base64.d.ts +0 -2
  545. package/distribution/random-base64.d.ts.map +0 -1
  546. package/distribution/random-base64.js +0 -7
  547. package/distribution/random-base64.js.map +0 -1
  548. package/distribution/random-bits.d.ts +0 -2
  549. package/distribution/random-bits.d.ts.map +0 -1
  550. package/distribution/random-bits.js +0 -3
  551. package/distribution/random-bits.js.map +0 -1
  552. package/distribution/random-hex.d.ts +0 -2
  553. package/distribution/random-hex.d.ts.map +0 -1
  554. package/distribution/random-hex.js +0 -5
  555. package/distribution/random-hex.js.map +0 -1
  556. package/distribution/reduce-array.d.ts +0 -3
  557. package/distribution/reduce-array.d.ts.map +0 -1
  558. package/distribution/reduce-array.js +0 -8
  559. package/distribution/reduce-array.js.map +0 -1
  560. package/distribution/reduce-object.d.ts +0 -3
  561. package/distribution/reduce-object.d.ts.map +0 -1
  562. package/distribution/reduce-object.js +0 -10
  563. package/distribution/reduce-object.js.map +0 -1
  564. package/distribution/reduce-right-array.d.ts +0 -3
  565. package/distribution/reduce-right-array.d.ts.map +0 -1
  566. package/distribution/reduce-right-array.js +0 -8
  567. package/distribution/reduce-right-array.js.map +0 -1
  568. package/distribution/reduce-right-object.d.ts +0 -3
  569. package/distribution/reduce-right-object.d.ts.map +0 -1
  570. package/distribution/reduce-right-object.js +0 -11
  571. package/distribution/reduce-right-object.js.map +0 -1
  572. package/distribution/reduce-right.d.ts +0 -6
  573. package/distribution/reduce-right.d.ts.map +0 -1
  574. package/distribution/reduce-right.js +0 -9
  575. package/distribution/reduce-right.js.map +0 -1
  576. package/distribution/reduce.d.ts +0 -3
  577. package/distribution/reduce.d.ts.map +0 -1
  578. package/distribution/reduce.js +0 -12
  579. package/distribution/reduce.js.map +0 -1
  580. package/distribution/reject.d.ts +0 -3
  581. package/distribution/reject.d.ts.map +0 -1
  582. package/distribution/reject.js +0 -3
  583. package/distribution/reject.js.map +0 -1
  584. package/distribution/reverse.d.ts +0 -2
  585. package/distribution/reverse.d.ts.map +0 -1
  586. package/distribution/reverse.js +0 -2
  587. package/distribution/reverse.js.map +0 -1
  588. package/distribution/sample.d.ts +0 -2
  589. package/distribution/sample.d.ts.map +0 -1
  590. package/distribution/sample.js +0 -2
  591. package/distribution/sample.js.map +0 -1
  592. package/distribution/snake-case.d.ts +0 -2
  593. package/distribution/snake-case.d.ts.map +0 -1
  594. package/distribution/snake-case.js +0 -3
  595. package/distribution/snake-case.js.map +0 -1
  596. package/distribution/some.d.ts +0 -3
  597. package/distribution/some.d.ts.map +0 -1
  598. package/distribution/some.js +0 -9
  599. package/distribution/some.js.map +0 -1
  600. package/distribution/sort-by-desc.d.ts +0 -3
  601. package/distribution/sort-by-desc.d.ts.map +0 -1
  602. package/distribution/sort-by-desc.js +0 -3
  603. package/distribution/sort-by-desc.js.map +0 -1
  604. package/distribution/sort-by.d.ts +0 -3
  605. package/distribution/sort-by.d.ts.map +0 -1
  606. package/distribution/sort-by.js +0 -3
  607. package/distribution/sort-by.js.map +0 -1
  608. package/distribution/start-case.d.ts +0 -2
  609. package/distribution/start-case.d.ts.map +0 -1
  610. package/distribution/start-case.js +0 -4
  611. package/distribution/start-case.js.map +0 -1
  612. package/distribution/stringify.d.ts +0 -2
  613. package/distribution/stringify.d.ts.map +0 -1
  614. package/distribution/stringify.js +0 -9
  615. package/distribution/stringify.js.map +0 -1
  616. package/distribution/tail.d.ts +0 -2
  617. package/distribution/tail.d.ts.map +0 -1
  618. package/distribution/tail.js +0 -3
  619. package/distribution/tail.js.map +0 -1
  620. package/distribution/to-lower.d.ts +0 -2
  621. package/distribution/to-lower.d.ts.map +0 -1
  622. package/distribution/to-lower.js +0 -3
  623. package/distribution/to-lower.js.map +0 -1
  624. package/distribution/to-string.d.ts +0 -2
  625. package/distribution/to-string.d.ts.map +0 -1
  626. package/distribution/to-string.js +0 -9
  627. package/distribution/to-string.js.map +0 -1
  628. package/distribution/to-upper.d.ts +0 -2
  629. package/distribution/to-upper.d.ts.map +0 -1
  630. package/distribution/to-upper.js +0 -3
  631. package/distribution/to-upper.js.map +0 -1
  632. package/distribution/trim-trailing-slash.d.ts +0 -2
  633. package/distribution/trim-trailing-slash.d.ts.map +0 -1
  634. package/distribution/trim-trailing-slash.js +0 -2
  635. package/distribution/trim-trailing-slash.js.map +0 -1
  636. package/distribution/truncate.d.ts +0 -6
  637. package/distribution/truncate.d.ts.map +0 -1
  638. package/distribution/truncate.js +0 -28
  639. package/distribution/truncate.js.map +0 -1
  640. package/distribution/union-by.d.ts +0 -2
  641. package/distribution/union-by.d.ts.map +0 -1
  642. package/distribution/union-by.js +0 -10
  643. package/distribution/union-by.js.map +0 -1
  644. package/distribution/union.d.ts +0 -2
  645. package/distribution/union.d.ts.map +0 -1
  646. package/distribution/union.js +0 -4
  647. package/distribution/union.js.map +0 -1
  648. package/distribution/uniq-by.d.ts +0 -3
  649. package/distribution/uniq-by.d.ts.map +0 -1
  650. package/distribution/uniq-by.js +0 -14
  651. package/distribution/uniq-by.js.map +0 -1
  652. package/distribution/uniq.d.ts +0 -2
  653. package/distribution/uniq.d.ts.map +0 -1
  654. package/distribution/uniq.js +0 -12
  655. package/distribution/uniq.js.map +0 -1
  656. package/distribution/upper-case.d.ts +0 -2
  657. package/distribution/upper-case.d.ts.map +0 -1
  658. package/distribution/upper-case.js +0 -3
  659. package/distribution/upper-case.js.map +0 -1
  660. package/distribution/upper-first.d.ts +0 -2
  661. package/distribution/upper-first.d.ts.map +0 -1
  662. package/distribution/upper-first.js +0 -2
  663. package/distribution/upper-first.js.map +0 -1
  664. package/distribution/words.d.ts +0 -2
  665. package/distribution/words.d.ts.map +0 -1
  666. package/distribution/words.js +0 -2
  667. package/distribution/words.js.map +0 -1
  668. package/distribution/zip-object.d.ts +0 -2
  669. package/distribution/zip-object.d.ts.map +0 -1
  670. package/distribution/zip-object.js +0 -8
  671. package/distribution/zip-object.js.map +0 -1
@@ -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":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAM7D,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":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,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":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,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":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,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
@@ -1 +0,0 @@
1
- {"version":3,"file":"hash-string.js","sourceRoot":"","sources":["../source/hash-string.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE;IACnD,IAAI,IAAI,GAAG,IAAI,CAAC;IAChB,IAAI,SAAS,GAAW,KAAK,CAAC,MAAM,CAAC;IAErC,OAAO,SAAS,EAAE,CAAC;QAClB,IAAI,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE,SAAS,CAAE,CAAC;IACtD,CAAC;IAED,OAAO,IAAI,KAAK,CAAC,CAAC;AACnB,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const head: <T>(values: T[]) => T;
2
- //# sourceMappingURL=head.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"head.d.ts","sourceRoot":"","sources":["../source/head.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,GAAI,CAAC,EAAE,QAAQ,CAAC,EAAE,KAAG,CAAc,CAAC"}
@@ -1,2 +0,0 @@
1
- export const head = (values) => values[0];
2
- //# sourceMappingURL=head.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"head.js","sourceRoot":"","sources":["../source/head.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,CAAI,MAAW,EAAK,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const headerCase: (value: string) => string | undefined;
2
- //# sourceMappingURL=header-case.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header-case.d.ts","sourceRoot":"","sources":["../source/header-case.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,SAIlD,CAAC"}
@@ -1,4 +0,0 @@
1
- import { compoundWords } from "./internal/compound-words.js";
2
- import { upperFirst } from "./upper-first.js";
3
- export const headerCase = (value) => compoundWords(value, (result, word, index) => result + (index ? "-" : "") + upperFirst(word));
4
- //# sourceMappingURL=header-case.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"header-case.js","sourceRoot":"","sources":["../source/header-case.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAsB,EAAE,CAC/D,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,UAAU,CAAC,IAAI,CAAC,CAC/F,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const hex: {
2
- decode: (value: string) => string;
3
- encode: (value: string) => string;
4
- };
5
- //# sourceMappingURL=hex.d.ts.map