@mainsail/utils 0.0.1-alpha.9 → 0.0.1-evm.10

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 (535) hide show
  1. package/distribution/assign.d.ts.map +1 -1
  2. package/distribution/assign.js +1 -5
  3. package/distribution/assign.js.map +1 -1
  4. package/distribution/at.d.ts.map +1 -1
  5. package/distribution/at.js +3 -7
  6. package/distribution/at.js.map +1 -1
  7. package/distribution/base64.js +1 -4
  8. package/distribution/base64.js.map +1 -1
  9. package/distribution/big-number.d.ts +2 -1
  10. package/distribution/big-number.d.ts.map +1 -1
  11. package/distribution/big-number.js +3 -6
  12. package/distribution/big-number.js.map +1 -1
  13. package/distribution/binary.js +3 -6
  14. package/distribution/binary.js.map +1 -1
  15. package/distribution/byte-buffer.d.ts +3 -1
  16. package/distribution/byte-buffer.d.ts.map +1 -1
  17. package/distribution/byte-buffer.js +19 -5
  18. package/distribution/byte-buffer.js.map +1 -1
  19. package/distribution/camel-case.js +3 -7
  20. package/distribution/camel-case.js.map +1 -1
  21. package/distribution/capped-map.js +1 -5
  22. package/distribution/capped-map.js.map +1 -1
  23. package/distribution/capped-set.js +2 -6
  24. package/distribution/capped-set.js.map +1 -1
  25. package/distribution/cast-array.d.ts.map +1 -1
  26. package/distribution/cast-array.js +10 -14
  27. package/distribution/cast-array.js.map +1 -1
  28. package/distribution/chars.js +1 -5
  29. package/distribution/chars.js.map +1 -1
  30. package/distribution/chunk.d.ts.map +1 -1
  31. package/distribution/chunk.js +3 -7
  32. package/distribution/chunk.js.map +1 -1
  33. package/distribution/clone-array.d.ts.map +1 -1
  34. package/distribution/clone-array.js +1 -5
  35. package/distribution/clone-array.js.map +1 -1
  36. package/distribution/clone-deep.d.ts.map +1 -1
  37. package/distribution/clone-deep.js +2 -9
  38. package/distribution/clone-deep.js.map +1 -1
  39. package/distribution/clone-object.d.ts.map +1 -1
  40. package/distribution/clone-object.js +1 -5
  41. package/distribution/clone-object.js.map +1 -1
  42. package/distribution/clone.d.ts.map +1 -1
  43. package/distribution/clone.js +4 -8
  44. package/distribution/clone.js.map +1 -1
  45. package/distribution/collection.js +14 -18
  46. package/distribution/collection.js.map +1 -1
  47. package/distribution/concat.d.ts.map +1 -1
  48. package/distribution/concat.js +3 -7
  49. package/distribution/concat.js.map +1 -1
  50. package/distribution/constant-case.js +2 -6
  51. package/distribution/constant-case.js.map +1 -1
  52. package/distribution/dot-case.js +2 -6
  53. package/distribution/dot-case.js.map +1 -1
  54. package/distribution/dot-env.js +5 -8
  55. package/distribution/dot-env.js.map +1 -1
  56. package/distribution/every.d.ts +1 -1
  57. package/distribution/every.d.ts.map +1 -1
  58. package/distribution/every.js +1 -5
  59. package/distribution/every.js.map +1 -1
  60. package/distribution/expand-tilde.js +6 -10
  61. package/distribution/expand-tilde.js.map +1 -1
  62. package/distribution/extension.js +2 -6
  63. package/distribution/extension.js.map +1 -1
  64. package/distribution/fill.d.ts.map +1 -1
  65. package/distribution/fill.js +1 -5
  66. package/distribution/fill.js.map +1 -1
  67. package/distribution/filter-array.d.ts +1 -1
  68. package/distribution/filter-array.d.ts.map +1 -1
  69. package/distribution/filter-array.js +1 -5
  70. package/distribution/filter-array.js.map +1 -1
  71. package/distribution/filter-object.d.ts +1 -1
  72. package/distribution/filter-object.d.ts.map +1 -1
  73. package/distribution/filter-object.js +1 -5
  74. package/distribution/filter-object.js.map +1 -1
  75. package/distribution/filter.d.ts +1 -1
  76. package/distribution/filter.d.ts.map +1 -1
  77. package/distribution/filter.js +4 -8
  78. package/distribution/filter.js.map +1 -1
  79. package/distribution/find-index.d.ts +1 -1
  80. package/distribution/find-index.d.ts.map +1 -1
  81. package/distribution/find-index.js +1 -5
  82. package/distribution/find-index.js.map +1 -1
  83. package/distribution/find-key.d.ts +1 -1
  84. package/distribution/find-key.d.ts.map +1 -1
  85. package/distribution/find-key.js +2 -6
  86. package/distribution/find-key.js.map +1 -1
  87. package/distribution/find.d.ts +1 -1
  88. package/distribution/find.d.ts.map +1 -1
  89. package/distribution/find.js +1 -5
  90. package/distribution/find.js.map +1 -1
  91. package/distribution/first-map-entry.d.ts.map +1 -1
  92. package/distribution/first-map-entry.js +1 -5
  93. package/distribution/first-map-entry.js.map +1 -1
  94. package/distribution/first-map-key.d.ts.map +1 -1
  95. package/distribution/first-map-key.js +2 -6
  96. package/distribution/first-map-key.js.map +1 -1
  97. package/distribution/first-map-value.d.ts.map +1 -1
  98. package/distribution/first-map-value.js +2 -6
  99. package/distribution/first-map-value.js.map +1 -1
  100. package/distribution/flatten.d.ts.map +1 -1
  101. package/distribution/flatten.js +1 -5
  102. package/distribution/flatten.js.map +1 -1
  103. package/distribution/format-number.js +1 -5
  104. package/distribution/format-number.js.map +1 -1
  105. package/distribution/format-string.js +1 -5
  106. package/distribution/format-string.js.map +1 -1
  107. package/distribution/get-path-segments.js +1 -5
  108. package/distribution/get-path-segments.js.map +1 -1
  109. package/distribution/get-type.js +1 -5
  110. package/distribution/get-type.js.map +1 -1
  111. package/distribution/get.d.ts +1 -1
  112. package/distribution/get.d.ts.map +1 -1
  113. package/distribution/get.js +8 -12
  114. package/distribution/get.js.map +1 -1
  115. package/distribution/group-by.d.ts +1 -1
  116. package/distribution/group-by.d.ts.map +1 -1
  117. package/distribution/group-by.js +1 -5
  118. package/distribution/group-by.js.map +1 -1
  119. package/distribution/has-property.d.ts.map +1 -1
  120. package/distribution/has-property.js +1 -5
  121. package/distribution/has-property.js.map +1 -1
  122. package/distribution/has-some-property.d.ts.map +1 -1
  123. package/distribution/has-some-property.js +3 -7
  124. package/distribution/has-some-property.js.map +1 -1
  125. package/distribution/has.d.ts.map +1 -1
  126. package/distribution/has.js +7 -11
  127. package/distribution/has.js.map +1 -1
  128. package/distribution/hash-string.js +1 -5
  129. package/distribution/hash-string.js.map +1 -1
  130. package/distribution/head.d.ts.map +1 -1
  131. package/distribution/head.js +1 -5
  132. package/distribution/head.js.map +1 -1
  133. package/distribution/header-case.js +3 -7
  134. package/distribution/header-case.js.map +1 -1
  135. package/distribution/hex.js +1 -4
  136. package/distribution/hex.js.map +1 -1
  137. package/distribution/http.d.ts +3 -3
  138. package/distribution/http.d.ts.map +1 -1
  139. package/distribution/http.js +12 -16
  140. package/distribution/http.js.map +1 -1
  141. package/distribution/immutable/index.d.ts +3 -3
  142. package/distribution/immutable/index.d.ts.map +1 -1
  143. package/distribution/immutable/index.js +3 -19
  144. package/distribution/immutable/index.js.map +1 -1
  145. package/distribution/immutable/order-by.d.ts +1 -1
  146. package/distribution/immutable/order-by.d.ts.map +1 -1
  147. package/distribution/immutable/order-by.js +2 -6
  148. package/distribution/immutable/order-by.js.map +1 -1
  149. package/distribution/immutable/sort-by-desc.d.ts.map +1 -1
  150. package/distribution/immutable/sort-by-desc.js +2 -6
  151. package/distribution/immutable/sort-by-desc.js.map +1 -1
  152. package/distribution/immutable/sort-by.d.ts.map +1 -1
  153. package/distribution/immutable/sort-by.js +2 -6
  154. package/distribution/immutable/sort-by.js.map +1 -1
  155. package/distribution/includes.d.ts.map +1 -1
  156. package/distribution/includes.js +7 -11
  157. package/distribution/includes.js.map +1 -1
  158. package/distribution/index-of.d.ts.map +1 -1
  159. package/distribution/index-of.js +1 -5
  160. package/distribution/index-of.js.map +1 -1
  161. package/distribution/index.d.ts +190 -191
  162. package/distribution/index.d.ts.map +1 -1
  163. package/distribution/index.js +190 -220
  164. package/distribution/index.js.map +1 -1
  165. package/distribution/internal/compound-words.js +6 -10
  166. package/distribution/internal/compound-words.js.map +1 -1
  167. package/distribution/internal/index.d.ts +2 -2
  168. package/distribution/internal/index.d.ts.map +1 -1
  169. package/distribution/internal/index.js +2 -18
  170. package/distribution/internal/index.js.map +1 -1
  171. package/distribution/internal/types.js +1 -2
  172. package/distribution/intersection.d.ts.map +1 -1
  173. package/distribution/intersection.js +1 -5
  174. package/distribution/intersection.js.map +1 -1
  175. package/distribution/is-arguments.js +2 -6
  176. package/distribution/is-arguments.js.map +1 -1
  177. package/distribution/is-array-of-type.js +2 -6
  178. package/distribution/is-array-of-type.js.map +1 -1
  179. package/distribution/is-array.js +1 -5
  180. package/distribution/is-array.js.map +1 -1
  181. package/distribution/is-async-function.js +2 -6
  182. package/distribution/is-async-function.js.map +1 -1
  183. package/distribution/is-between.js +1 -5
  184. package/distribution/is-between.js.map +1 -1
  185. package/distribution/is-bigint.js +1 -5
  186. package/distribution/is-bigint.js.map +1 -1
  187. package/distribution/is-boolean-array.js +2 -6
  188. package/distribution/is-boolean-array.js.map +1 -1
  189. package/distribution/is-boolean.js +1 -5
  190. package/distribution/is-boolean.js.map +1 -1
  191. package/distribution/is-buffer.js +1 -5
  192. package/distribution/is-buffer.js.map +1 -1
  193. package/distribution/is-constructor.js +1 -5
  194. package/distribution/is-constructor.js.map +1 -1
  195. package/distribution/is-date.js +1 -5
  196. package/distribution/is-date.js.map +1 -1
  197. package/distribution/is-empty-array.d.ts.map +1 -1
  198. package/distribution/is-empty-array.js +2 -6
  199. package/distribution/is-empty-array.js.map +1 -1
  200. package/distribution/is-empty-map.d.ts.map +1 -1
  201. package/distribution/is-empty-map.js +2 -6
  202. package/distribution/is-empty-map.js.map +1 -1
  203. package/distribution/is-empty-object.js +2 -6
  204. package/distribution/is-empty-object.js.map +1 -1
  205. package/distribution/is-empty-set.d.ts.map +1 -1
  206. package/distribution/is-empty-set.js +2 -6
  207. package/distribution/is-empty-set.js.map +1 -1
  208. package/distribution/is-empty.d.ts.map +1 -1
  209. package/distribution/is-empty.js +1 -5
  210. package/distribution/is-empty.js.map +1 -1
  211. package/distribution/is-enumerable.d.ts.map +1 -1
  212. package/distribution/is-enumerable.js +1 -5
  213. package/distribution/is-enumerable.js.map +1 -1
  214. package/distribution/is-equal.js +1 -8
  215. package/distribution/is-equal.js.map +1 -1
  216. package/distribution/is-error.js +1 -5
  217. package/distribution/is-error.js.map +1 -1
  218. package/distribution/is-false.js +1 -5
  219. package/distribution/is-false.js.map +1 -1
  220. package/distribution/is-function.js +3 -7
  221. package/distribution/is-function.js.map +1 -1
  222. package/distribution/is-git.js +1 -5
  223. package/distribution/is-git.js.map +1 -1
  224. package/distribution/is-greater-than-or-equal.js +1 -5
  225. package/distribution/is-greater-than-or-equal.js.map +1 -1
  226. package/distribution/is-greater-than.js +1 -5
  227. package/distribution/is-greater-than.js.map +1 -1
  228. package/distribution/is-less-than-or-equal.js +1 -5
  229. package/distribution/is-less-than-or-equal.js.map +1 -1
  230. package/distribution/is-less-than.js +1 -5
  231. package/distribution/is-less-than.js.map +1 -1
  232. package/distribution/is-map.js +1 -5
  233. package/distribution/is-map.js.map +1 -1
  234. package/distribution/is-match.js +1 -5
  235. package/distribution/is-match.js.map +1 -1
  236. package/distribution/is-negative-zero.js +1 -5
  237. package/distribution/is-negative-zero.js.map +1 -1
  238. package/distribution/is-negative.js +2 -6
  239. package/distribution/is-negative.js.map +1 -1
  240. package/distribution/is-nil.js +2 -6
  241. package/distribution/is-nil.js.map +1 -1
  242. package/distribution/is-not-between.js +2 -6
  243. package/distribution/is-not-between.js.map +1 -1
  244. package/distribution/is-not-equal.d.ts.map +1 -1
  245. package/distribution/is-not-equal.js +2 -6
  246. package/distribution/is-not-equal.js.map +1 -1
  247. package/distribution/is-null.js +1 -5
  248. package/distribution/is-null.js.map +1 -1
  249. package/distribution/is-number-array.js +2 -6
  250. package/distribution/is-number-array.js.map +1 -1
  251. package/distribution/is-number.js +1 -5
  252. package/distribution/is-number.js.map +1 -1
  253. package/distribution/is-object.js +1 -5
  254. package/distribution/is-object.js.map +1 -1
  255. package/distribution/is-positive-zero.js +1 -5
  256. package/distribution/is-positive-zero.js.map +1 -1
  257. package/distribution/is-positive.js +2 -6
  258. package/distribution/is-positive.js.map +1 -1
  259. package/distribution/is-promise.js +1 -5
  260. package/distribution/is-promise.js.map +1 -1
  261. package/distribution/is-reg-exp.js +1 -5
  262. package/distribution/is-reg-exp.js.map +1 -1
  263. package/distribution/is-set.js +1 -5
  264. package/distribution/is-set.js.map +1 -1
  265. package/distribution/is-ssh.js +3 -7
  266. package/distribution/is-ssh.js.map +1 -1
  267. package/distribution/is-string-array.js +2 -6
  268. package/distribution/is-string-array.js.map +1 -1
  269. package/distribution/is-string.js +1 -5
  270. package/distribution/is-string.js.map +1 -1
  271. package/distribution/is-symbol.js +1 -5
  272. package/distribution/is-symbol.js.map +1 -1
  273. package/distribution/is-sync-function.js +2 -6
  274. package/distribution/is-sync-function.js.map +1 -1
  275. package/distribution/is-true.js +1 -5
  276. package/distribution/is-true.js.map +1 -1
  277. package/distribution/is-undefined.js +1 -5
  278. package/distribution/is-undefined.js.map +1 -1
  279. package/distribution/is-uri.js +1 -5
  280. package/distribution/is-uri.js.map +1 -1
  281. package/distribution/is-url.d.ts +1 -3
  282. package/distribution/is-url.d.ts.map +1 -1
  283. package/distribution/is-url.js +9 -6
  284. package/distribution/is-url.js.map +1 -1
  285. package/distribution/is-weak-map.js +1 -5
  286. package/distribution/is-weak-map.js.map +1 -1
  287. package/distribution/is-weak-set.js +1 -5
  288. package/distribution/is-weak-set.js.map +1 -1
  289. package/distribution/kebab-case.js +2 -6
  290. package/distribution/kebab-case.js.map +1 -1
  291. package/distribution/key-by.d.ts +1 -1
  292. package/distribution/key-by.d.ts.map +1 -1
  293. package/distribution/key-by.js +1 -5
  294. package/distribution/key-by.js.map +1 -1
  295. package/distribution/keys-in.d.ts.map +1 -1
  296. package/distribution/keys-in.js +2 -6
  297. package/distribution/keys-in.js.map +1 -1
  298. package/distribution/keys.d.ts.map +1 -1
  299. package/distribution/keys.js +1 -5
  300. package/distribution/keys.js.map +1 -1
  301. package/distribution/last-index-of.d.ts.map +1 -1
  302. package/distribution/last-index-of.js +1 -5
  303. package/distribution/last-index-of.js.map +1 -1
  304. package/distribution/last-map-entry.d.ts.map +1 -1
  305. package/distribution/last-map-entry.js +1 -5
  306. package/distribution/last-map-entry.js.map +1 -1
  307. package/distribution/last-map-key.d.ts.map +1 -1
  308. package/distribution/last-map-key.js +2 -6
  309. package/distribution/last-map-key.js.map +1 -1
  310. package/distribution/last-map-value.d.ts.map +1 -1
  311. package/distribution/last-map-value.js +2 -6
  312. package/distribution/last-map-value.js.map +1 -1
  313. package/distribution/last.d.ts.map +1 -1
  314. package/distribution/last.js +1 -5
  315. package/distribution/last.js.map +1 -1
  316. package/distribution/lower-case.js +2 -6
  317. package/distribution/lower-case.js.map +1 -1
  318. package/distribution/lower-first.js +1 -5
  319. package/distribution/lower-first.js.map +1 -1
  320. package/distribution/map-array.d.ts +1 -1
  321. package/distribution/map-array.d.ts.map +1 -1
  322. package/distribution/map-array.js +1 -5
  323. package/distribution/map-array.js.map +1 -1
  324. package/distribution/map-object.d.ts +1 -1
  325. package/distribution/map-object.d.ts.map +1 -1
  326. package/distribution/map-object.js +1 -5
  327. package/distribution/map-object.js.map +1 -1
  328. package/distribution/map-values.d.ts +1 -1
  329. package/distribution/map-values.d.ts.map +1 -1
  330. package/distribution/map-values.js +1 -5
  331. package/distribution/map-values.js.map +1 -1
  332. package/distribution/map.d.ts +1 -1
  333. package/distribution/map.d.ts.map +1 -1
  334. package/distribution/map.js +4 -8
  335. package/distribution/map.js.map +1 -1
  336. package/distribution/match.d.ts.map +1 -1
  337. package/distribution/match.js +1 -5
  338. package/distribution/match.js.map +1 -1
  339. package/distribution/max-by.d.ts +1 -1
  340. package/distribution/max-by.d.ts.map +1 -1
  341. package/distribution/max-by.js +3 -7
  342. package/distribution/max-by.js.map +1 -1
  343. package/distribution/max.js +1 -5
  344. package/distribution/max.js.map +1 -1
  345. package/distribution/merge.js +1 -8
  346. package/distribution/merge.js.map +1 -1
  347. package/distribution/min-by.d.ts +1 -1
  348. package/distribution/min-by.d.ts.map +1 -1
  349. package/distribution/min-by.js +3 -7
  350. package/distribution/min-by.js.map +1 -1
  351. package/distribution/min.js +1 -5
  352. package/distribution/min.js.map +1 -1
  353. package/distribution/nsect.js +5 -12
  354. package/distribution/nsect.js.map +1 -1
  355. package/distribution/number-array.js +1 -5
  356. package/distribution/number-array.js.map +1 -1
  357. package/distribution/number-to-hex.js +1 -5
  358. package/distribution/number-to-hex.js.map +1 -1
  359. package/distribution/omit-by.d.ts +1 -1
  360. package/distribution/omit-by.d.ts.map +1 -1
  361. package/distribution/omit-by.js +2 -6
  362. package/distribution/omit-by.js.map +1 -1
  363. package/distribution/order-by.d.ts +1 -1
  364. package/distribution/order-by.d.ts.map +1 -1
  365. package/distribution/order-by.js +9 -13
  366. package/distribution/order-by.js.map +1 -1
  367. package/distribution/ordinal.js +1 -5
  368. package/distribution/ordinal.js.map +1 -1
  369. package/distribution/parse-git-url.js +6 -10
  370. package/distribution/parse-git-url.js.map +1 -1
  371. package/distribution/parse-uri.js +3 -7
  372. package/distribution/parse-uri.js.map +1 -1
  373. package/distribution/parse.d.ts.map +1 -1
  374. package/distribution/parse.js +2 -6
  375. package/distribution/parse.js.map +1 -1
  376. package/distribution/partition.d.ts +1 -1
  377. package/distribution/partition.d.ts.map +1 -1
  378. package/distribution/partition.js +1 -5
  379. package/distribution/partition.js.map +1 -1
  380. package/distribution/pascal-case.js +3 -7
  381. package/distribution/pascal-case.js.map +1 -1
  382. package/distribution/path-case.js +2 -6
  383. package/distribution/path-case.js.map +1 -1
  384. package/distribution/pick-by.d.ts +1 -1
  385. package/distribution/pick-by.d.ts.map +1 -1
  386. package/distribution/pick-by.js +2 -6
  387. package/distribution/pick-by.js.map +1 -1
  388. package/distribution/pick.d.ts.map +1 -1
  389. package/distribution/pick.js +1 -5
  390. package/distribution/pick.js.map +1 -1
  391. package/distribution/pluck.d.ts.map +1 -1
  392. package/distribution/pluck.js +1 -5
  393. package/distribution/pluck.js.map +1 -1
  394. package/distribution/pluralize.js +1 -5
  395. package/distribution/pluralize.js.map +1 -1
  396. package/distribution/pretty-bytes.js +1 -5
  397. package/distribution/pretty-bytes.js.map +1 -1
  398. package/distribution/pretty-time.js +4 -8
  399. package/distribution/pretty-time.js.map +1 -1
  400. package/distribution/protocols.js +1 -5
  401. package/distribution/protocols.js.map +1 -1
  402. package/distribution/pull-all-by.d.ts +1 -1
  403. package/distribution/pull-all-by.d.ts.map +1 -1
  404. package/distribution/pull-all-by.js +3 -7
  405. package/distribution/pull-all-by.js.map +1 -1
  406. package/distribution/pull-all.d.ts.map +1 -1
  407. package/distribution/pull-all.js +2 -6
  408. package/distribution/pull-all.js.map +1 -1
  409. package/distribution/pull.d.ts.map +1 -1
  410. package/distribution/pull.js +2 -6
  411. package/distribution/pull.js.map +1 -1
  412. package/distribution/random-base64.js +2 -6
  413. package/distribution/random-base64.js.map +1 -1
  414. package/distribution/random-bits.d.ts +1 -1
  415. package/distribution/random-bits.js +2 -6
  416. package/distribution/random-bits.js.map +1 -1
  417. package/distribution/random-hex.js +2 -6
  418. package/distribution/random-hex.js.map +1 -1
  419. package/distribution/random-number.js +1 -5
  420. package/distribution/random-number.js.map +1 -1
  421. package/distribution/reduce-array.d.ts +1 -1
  422. package/distribution/reduce-array.d.ts.map +1 -1
  423. package/distribution/reduce-array.js +1 -5
  424. package/distribution/reduce-array.js.map +1 -1
  425. package/distribution/reduce-object.d.ts +1 -1
  426. package/distribution/reduce-object.d.ts.map +1 -1
  427. package/distribution/reduce-object.js +1 -5
  428. package/distribution/reduce-object.js.map +1 -1
  429. package/distribution/reduce-right-array.d.ts +1 -1
  430. package/distribution/reduce-right-array.d.ts.map +1 -1
  431. package/distribution/reduce-right-array.js +1 -5
  432. package/distribution/reduce-right-array.js.map +1 -1
  433. package/distribution/reduce-right-object.d.ts +2 -2
  434. package/distribution/reduce-right-object.d.ts.map +1 -1
  435. package/distribution/reduce-right-object.js +1 -5
  436. package/distribution/reduce-right-object.js.map +1 -1
  437. package/distribution/reduce-right.d.ts +1 -1
  438. package/distribution/reduce-right.d.ts.map +1 -1
  439. package/distribution/reduce-right.js +6 -10
  440. package/distribution/reduce-right.js.map +1 -1
  441. package/distribution/reduce.d.ts +1 -1
  442. package/distribution/reduce.d.ts.map +1 -1
  443. package/distribution/reduce.js +4 -8
  444. package/distribution/reduce.js.map +1 -1
  445. package/distribution/reject.d.ts +1 -1
  446. package/distribution/reject.d.ts.map +1 -1
  447. package/distribution/reject.js +2 -6
  448. package/distribution/reject.js.map +1 -1
  449. package/distribution/reverse.js +1 -5
  450. package/distribution/reverse.js.map +1 -1
  451. package/distribution/sample.d.ts.map +1 -1
  452. package/distribution/sample.js +1 -5
  453. package/distribution/sample.js.map +1 -1
  454. package/distribution/semver.js +5 -9
  455. package/distribution/semver.js.map +1 -1
  456. package/distribution/set.d.ts.map +1 -1
  457. package/distribution/set.js +7 -11
  458. package/distribution/set.js.map +1 -1
  459. package/distribution/shuffle.d.ts.map +1 -1
  460. package/distribution/shuffle.js +3 -7
  461. package/distribution/shuffle.js.map +1 -1
  462. package/distribution/sleep.d.ts +1 -1
  463. package/distribution/sleep.js +2 -5
  464. package/distribution/sleep.js.map +1 -1
  465. package/distribution/slice.d.ts.map +1 -1
  466. package/distribution/slice.js +1 -5
  467. package/distribution/slice.js.map +1 -1
  468. package/distribution/snake-case.js +2 -6
  469. package/distribution/snake-case.js.map +1 -1
  470. package/distribution/some.d.ts +1 -1
  471. package/distribution/some.d.ts.map +1 -1
  472. package/distribution/some.js +1 -5
  473. package/distribution/some.js.map +1 -1
  474. package/distribution/sort-by-desc.d.ts.map +1 -1
  475. package/distribution/sort-by-desc.js +2 -6
  476. package/distribution/sort-by-desc.js.map +1 -1
  477. package/distribution/sort-by.d.ts.map +1 -1
  478. package/distribution/sort-by.js +2 -6
  479. package/distribution/sort-by.js.map +1 -1
  480. package/distribution/start-case.js +3 -7
  481. package/distribution/start-case.js.map +1 -1
  482. package/distribution/stringify.d.ts.map +1 -1
  483. package/distribution/stringify.js +1 -5
  484. package/distribution/stringify.js.map +1 -1
  485. package/distribution/tail.d.ts.map +1 -1
  486. package/distribution/tail.js +2 -6
  487. package/distribution/tail.js.map +1 -1
  488. package/distribution/take.d.ts.map +1 -1
  489. package/distribution/take.js +2 -6
  490. package/distribution/take.js.map +1 -1
  491. package/distribution/to-lower.d.ts.map +1 -1
  492. package/distribution/to-lower.js +2 -6
  493. package/distribution/to-lower.js.map +1 -1
  494. package/distribution/to-string.d.ts.map +1 -1
  495. package/distribution/to-string.js +5 -9
  496. package/distribution/to-string.js.map +1 -1
  497. package/distribution/to-upper.d.ts.map +1 -1
  498. package/distribution/to-upper.js +2 -6
  499. package/distribution/to-upper.js.map +1 -1
  500. package/distribution/trim-trailing-slash.js +1 -5
  501. package/distribution/trim-trailing-slash.js.map +1 -1
  502. package/distribution/truncate.js +3 -7
  503. package/distribution/truncate.js.map +1 -1
  504. package/distribution/union-by.d.ts.map +1 -1
  505. package/distribution/union-by.js +4 -8
  506. package/distribution/union-by.js.map +1 -1
  507. package/distribution/union.d.ts.map +1 -1
  508. package/distribution/union.js +3 -7
  509. package/distribution/union.js.map +1 -1
  510. package/distribution/uniq-by.d.ts +1 -1
  511. package/distribution/uniq-by.d.ts.map +1 -1
  512. package/distribution/uniq-by.js +1 -5
  513. package/distribution/uniq-by.js.map +1 -1
  514. package/distribution/uniq.d.ts.map +1 -1
  515. package/distribution/uniq.js +3 -7
  516. package/distribution/uniq.js.map +1 -1
  517. package/distribution/unset.d.ts.map +1 -1
  518. package/distribution/unset.js +7 -11
  519. package/distribution/unset.js.map +1 -1
  520. package/distribution/upper-case.js +2 -6
  521. package/distribution/upper-case.js.map +1 -1
  522. package/distribution/upper-first.js +1 -5
  523. package/distribution/upper-first.js.map +1 -1
  524. package/distribution/validator-set-pack.js +2 -7
  525. package/distribution/validator-set-pack.js.map +1 -1
  526. package/distribution/words.js +1 -5
  527. package/distribution/words.js.map +1 -1
  528. package/distribution/zip-object.d.ts.map +1 -1
  529. package/distribution/zip-object.js +1 -5
  530. package/distribution/zip-object.js.map +1 -1
  531. package/package.json +13 -5
  532. package/distribution/safe-equal.d.ts +0 -2
  533. package/distribution/safe-equal.d.ts.map +0 -1
  534. package/distribution/safe-equal.js +0 -14
  535. package/distribution/safe-equal.js.map +0 -1
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
2
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
@@ -11,15 +10,13 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
11
10
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12
11
  };
13
12
  var _Collection_collection;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Collection = void 0;
16
- const get_1 = require("./get");
17
- const has_1 = require("./has");
18
- const sample_1 = require("./sample");
19
- const set_1 = require("./set");
20
- const stringify_1 = require("./stringify");
21
- const unset_1 = require("./unset");
22
- class Collection {
13
+ import { get } from "./get.js";
14
+ import { has } from "./has.js";
15
+ import { sample } from "./sample.js";
16
+ import { set } from "./set.js";
17
+ import { stringify } from "./stringify.js";
18
+ import { unset } from "./unset.js";
19
+ export class Collection {
23
20
  constructor() {
24
21
  _Collection_collection.set(this, {});
25
22
  }
@@ -36,24 +33,24 @@ class Collection {
36
33
  return Object.values(__classPrivateFieldGet(this, _Collection_collection, "f"));
37
34
  }
38
35
  pull(key) {
39
- const item = (0, get_1.get)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
36
+ const item = get(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
40
37
  this.forget(key);
41
38
  return item;
42
39
  }
43
40
  get(key) {
44
- return (0, get_1.get)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
41
+ return get(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
45
42
  }
46
43
  set(key, value) {
47
- (0, set_1.set)(__classPrivateFieldGet(this, _Collection_collection, "f"), key, value);
44
+ set(__classPrivateFieldGet(this, _Collection_collection, "f"), key, value);
48
45
  }
49
46
  forget(key) {
50
- (0, unset_1.unset)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
47
+ unset(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
51
48
  }
52
49
  flush() {
53
50
  __classPrivateFieldSet(this, _Collection_collection, {}, "f");
54
51
  }
55
52
  has(key) {
56
- return (0, has_1.has)(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
53
+ return has(__classPrivateFieldGet(this, _Collection_collection, "f"), key);
57
54
  }
58
55
  missing(key) {
59
56
  return !this.has(key);
@@ -68,16 +65,15 @@ class Collection {
68
65
  return !this.isEmpty();
69
66
  }
70
67
  random() {
71
- return (0, sample_1.sample)(this.values());
68
+ return sample(this.values());
72
69
  }
73
70
  toJson() {
74
71
  const collection = {};
75
72
  for (const [key, value] of this.entries()) {
76
73
  collection[key] = value;
77
74
  }
78
- return (0, stringify_1.stringify)(collection);
75
+ return stringify(collection);
79
76
  }
80
77
  }
81
- exports.Collection = Collection;
82
78
  _Collection_collection = new WeakMap();
83
79
  //# sourceMappingURL=collection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../source/collection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,+BAA4B;AAC5B,2CAAwC;AACxC,mCAAgC;AAEhC,MAAa,UAAU;IAAvB;QACC,iCAAiC,EAAE,EAAC;IA2ErC,CAAC;IAzEO,GAAG;QACT,OAAO,uBAAA,IAAI,8BAAY,CAAC;IACzB,CAAC;IAEM,OAAO;QACb,OAAO,MAAM,CAAC,OAAO,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACzC,CAAC;IAEM,IAAI;QACV,OAAO,MAAM,CAAC,IAAI,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM;QACZ,OAAO,MAAM,CAAC,MAAM,CAAC,uBAAA,IAAI,8BAAY,CAAC,CAAC;IACxC,CAAC;IAEM,IAAI,CAAC,GAAW;QACtB,MAAM,IAAI,GAAG,IAAA,SAAG,EAAuB,uBAAA,IAAI,8BAAY,EAA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":"","sources":["../source/concat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,iBAAkB,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,KAAG,CAAC,EAgBnD,CAAC"}
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.concat = void 0;
4
- const is_array_1 = require("./is-array");
5
- const concat = (...values) => {
1
+ import { isArray } from "./is-array.js";
2
+ export const concat = (...values) => {
6
3
  const result = [];
7
4
  for (const item of values) {
8
- if ((0, is_array_1.isArray)(item)) {
5
+ if (isArray(item)) {
9
6
  const childLength = item.length;
10
7
  for (let index = 0; index < childLength; index++) {
11
8
  result.push(item[index]);
@@ -17,5 +14,4 @@ const concat = (...values) => {
17
14
  }
18
15
  return result;
19
16
  };
20
- exports.concat = concat;
21
17
  //# sourceMappingURL=concat.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"concat.js","sourceRoot":"","sources":["../source/concat.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAE9B,MAAM,MAAM,GAAG,CAAI,GAAG,MAAmB,EAAO,EAAE;IACxD,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,IAAA,kBAAO,EAAC,IAAI,CAAC,EAAE,CAAC;YACnB,MAAM,WAAW,GAAW,IAAI,CAAC,MAAM,CAAC;YAExC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,WAAW,EAAE,KAAK,EAAE,EAAE,CAAC;gBAClD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1B,CAAC;QACF,CAAC;aAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAhBW,QAAA,MAAM,UAgBjB"}
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,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.constantCase = void 0;
4
- const internal_1 = require("./internal");
5
- const constantCase = (value) => (0, internal_1.compoundWords)(value, (result, word, index) => result + (index ? "_" : "") + word.toUpperCase());
6
- exports.constantCase = constantCase;
1
+ import { compoundWords } from "./internal/compound-words.js";
2
+ export const constantCase = (value) => compoundWords(value, (result, word, index) => result + (index ? "_" : "") + word.toUpperCase());
7
3
  //# sourceMappingURL=constant-case.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant-case.js","sourceRoot":"","sources":["../source/constant-case.ts"],"names":[],"mappings":";;;AAAA,yCAA2C;AAEpC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAsB,EAAE,CACjE,IAAA,wBAAa,EACZ,KAAK,EACL,CAAC,MAAc,EAAE,IAAY,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,CACjG,CAAC;AAJU,QAAA,YAAY,gBAItB"}
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,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dotCase = void 0;
4
- const internal_1 = require("./internal");
5
- const dotCase = (value) => (0, internal_1.compoundWords)(value, (result, word, index) => result + (index ? "." : "") + word);
6
- exports.dotCase = dotCase;
1
+ import { compoundWords } from "./internal/compound-words.js";
2
+ export const dotCase = (value) => compoundWords(value, (result, word, index) => result + (index ? "." : "") + word);
7
3
  //# sourceMappingURL=dot-case.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dot-case.js","sourceRoot":"","sources":["../source/dot-case.ts"],"names":[],"mappings":";;;AAAA,yCAA2C;AAEpC,MAAM,OAAO,GAAG,CAAC,KAAa,EAAsB,EAAE,CAC5D,IAAA,wBAAa,EAAC,KAAK,EAAE,CAAC,MAAc,EAAE,IAAY,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;AAD9F,QAAA,OAAO,WACuF"}
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,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dotenv = void 0;
4
- const fs_1 = require("fs");
5
- const is_string_1 = require("./is-string");
1
+ import { readFileSync } from "fs";
2
+ import { isString } from "./is-string.js";
6
3
  const parse = (contents) => {
7
4
  const result = {};
8
5
  for (const line of contents.toString().split("\n")) {
@@ -26,14 +23,14 @@ const parse = (contents) => {
26
23
  }
27
24
  return result;
28
25
  };
29
- const parseFile = (file) => parse((0, fs_1.readFileSync)(file).toString());
26
+ const parseFile = (file) => parse(readFileSync(file).toString());
30
27
  const stringify = (pairs) => {
31
28
  const contents = [];
32
29
  for (const key of Object.keys(pairs).filter(Boolean)) {
33
30
  const value = pairs[key];
34
- contents.push((0, is_string_1.isString)(value) ? `${key}="${value}"` : `${key}=${value}`);
31
+ contents.push(isString(value) ? `${key}="${value}"` : `${key}=${value}`);
35
32
  }
36
33
  return contents.join("\n");
37
34
  };
38
- exports.dotenv = { parse, parseFile, stringify };
35
+ export const dotenv = { parse, parseFile, stringify };
39
36
  //# sourceMappingURL=dot-env.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dot-env.js","sourceRoot":"","sources":["../source/dot-env.ts"],"names":[],"mappings":";;;AAAA,2BAAkC;AAGlC,2CAAuC;AAEvC,MAAM,KAAK,GAAG,CAAC,QAAgB,EAA6B,EAAE;IAC7D,MAAM,MAAM,GAA8B,EAAE,CAAC;IAE7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AE,CAAC;gBACrC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC;iBAAM,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9C,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,KAAK,MAAM,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACP,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACrB,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,IAAY,EAA6B,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;AAEpG,MAAM,SAAS,GAAG,CAAC,KAAa,EAAU,EAAE;IAC3C,MAAM,QAAQ,GAAa,EAAE,CAAC;IAE9B,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;QACtD,MAAM,KAAK,GAAW,KAAK,CAAC,GAAG,CAAC,CAAC;QAEjC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const every: <T>(subject: T[], iterator: FunctionReturning) => boolean;
3
3
  //# sourceMappingURL=every.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"every.d.ts","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,KAAK,8BAA+B,iBAAiB,KAAG,OAQpE,CAAC"}
1
+ {"version":3,"file":"every.d.ts","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,KAAK,eAAgB,CAAC,EAAE,YAAY,iBAAiB,KAAG,OAQpE,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.every = void 0;
4
- const every = (subject, iterator) => {
1
+ export const every = (subject, iterator) => {
5
2
  for (let index = 0; index < subject.length; index++) {
6
3
  if (!iterator(subject[index], index, subject)) {
7
4
  return false;
@@ -9,5 +6,4 @@ const every = (subject, iterator) => {
9
6
  }
10
7
  return true;
11
8
  };
12
- exports.every = every;
13
9
  //# sourceMappingURL=every.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"every.js","sourceRoot":"","sources":["../source/every.ts"],"names":[],"mappings":";;;AAEO,MAAM,KAAK,GAAG,CAAI,OAAY,EAAE,QAA2B,EAAW,EAAE;IAC9E,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACrD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC;YAC/C,OAAO,KAAK,CAAC;QACd,CAAC;IACF,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AARW,QAAA,KAAK,SAQhB"}
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,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.expandTilde = void 0;
4
- const os_1 = require("os");
5
- const path_1 = require("path");
1
+ import { homedir } from "os";
2
+ import { join } from "path";
6
3
  // https://www.ibm.com/support/knowledgecenter/en/SSVJJU_6.4.0/com.ibm.IBMDS.doc_6.4/r_cr_asciicharset.html
7
- const expandTilde = (path) => {
8
- const home = (0, os_1.homedir)();
4
+ export const expandTilde = (path) => {
5
+ const home = homedir();
9
6
  if (path.codePointAt(0) === 126) {
10
7
  if (path.codePointAt(1) === 43) {
11
- return (0, path_1.join)(process.cwd(), path.slice(2));
8
+ return join(process.cwd(), path.slice(2));
12
9
  }
13
- return (0, path_1.join)(home, path.slice(1));
10
+ return join(home, path.slice(1));
14
11
  }
15
12
  return path;
16
13
  };
17
- exports.expandTilde = expandTilde;
18
14
  //# sourceMappingURL=expand-tilde.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"expand-tilde.js","sourceRoot":"","sources":["../source/expand-tilde.ts"],"names":[],"mappings":";;;AAAA,2BAA6B;AAC7B,+BAA4B;AAE5B,2GAA2G;AACpG,MAAM,WAAW,GAAG,CAAC,IAAY,EAAU,EAAE;IACnD,MAAM,IAAI,GAAW,IAAA,YAAO,GAAE,CAAC;IAE/B,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;YAChC,OAAO,IAAA,WAAI,EAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAA,WAAI,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAZW,QAAA,WAAW,eAYtB"}
1
+ {"version":3,"file":"expand-tilde.js","sourceRoot":"","sources":["../source/expand-tilde.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,2GAA2G;AAC3G,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAY,EAAU,EAAE;IACnD,MAAM,IAAI,GAAW,OAAO,EAAE,CAAC;IAE/B,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC"}
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.extension = void 0;
4
- const path_1 = require("path");
5
- const extension = (path) => (0, path_1.extname)(path).slice(1) || undefined;
6
- exports.extension = extension;
1
+ import { extname } from "path";
2
+ export const extension = (path) => extname(path).slice(1) || undefined;
7
3
  //# sourceMappingURL=extension.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.js","sourceRoot":"","sources":["../source/extension.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAExB,MAAM,SAAS,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,IAAA,cAAO,EAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;AAAtF,QAAA,SAAS,aAA6E"}
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 +1 @@
1
- {"version":3,"file":"fill.d.ts","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,yCAA0C,MAAM,QAAQ,MAAM,cAgB9E,CAAC"}
1
+ {"version":3,"file":"fill.d.ts","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,kBAAmB,CAAC,EAAE,SAAS,CAAC,UAAU,MAAM,QAAQ,MAAM,KAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAgBxF,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fill = void 0;
4
- const fill = (subject, value, start, end) => {
1
+ export const fill = (subject, value, start, end) => {
5
2
  if (start === undefined) {
6
3
  start = 0;
7
4
  }
@@ -14,5 +11,4 @@ const fill = (subject, value, start, end) => {
14
11
  }
15
12
  return results;
16
13
  };
17
- exports.fill = fill;
18
14
  //# sourceMappingURL=fill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fill.js","sourceRoot":"","sources":["../source/fill.ts"],"names":[],"mappings":";;;AAAO,MAAM,IAAI,GAAG,CAAO,OAAY,EAAE,KAAQ,EAAE,KAAc,EAAE,GAAY,EAAa,EAAE;IAC7F,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACzB,KAAK,GAAG,CAAC,CAAC;IACX,CAAC;IAED,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvB,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IACtB,CAAC;IAED,MAAM,OAAO,GAAc,CAAC,GAAG,OAAO,CAAC,CAAC;IAExC,KAAK,IAAI,KAAK,GAAG,KAAK,EAAE,KAAK,GAAG,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9C,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAhBW,QAAA,IAAI,QAgBf"}
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 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const filterArray: <T>(iterable: T[], iteratee: FunctionReturning) => T[];
3
3
  //# sourceMappingURL=filter-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-array.d.ts","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,WAAW,+BAAgC,iBAAiB,QAUxE,CAAC"}
1
+ {"version":3,"file":"filter-array.d.ts","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,WAAW,gBAAiB,CAAC,EAAE,YAAY,iBAAiB,KAAG,CAAC,EAU5E,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterArray = void 0;
4
- const filterArray = (iterable, iteratee) => {
1
+ export const filterArray = (iterable, iteratee) => {
5
2
  const result = [];
6
3
  for (let index = 0; index < iterable.length; index++) {
7
4
  if (iteratee(iterable[index], index, iterable)) {
@@ -10,5 +7,4 @@ const filterArray = (iterable, iteratee) => {
10
7
  }
11
8
  return result;
12
9
  };
13
- exports.filterArray = filterArray;
14
10
  //# sourceMappingURL=filter-array.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-array.js","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":";;;AAEO,MAAM,WAAW,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAO,EAAE;IACjF,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAVW,QAAA,WAAW,eAUtB"}
1
+ {"version":3,"file":"filter-array.js","sourceRoot":"","sources":["../source/filter-array.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAO,EAAE;IACjF,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const filterObject: <T extends {}>(iterable: T, iteratee: FunctionReturning) => T;
3
3
  //# sourceMappingURL=filter-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-object.d.ts","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,YAAY,wCAAyC,iBAAiB,MAclF,CAAC"}
1
+ {"version":3,"file":"filter-object.d.ts","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,YAAY,2BAA4B,CAAC,YAAY,iBAAiB,KAAG,CAcrF,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterObject = void 0;
4
- const filterObject = (iterable, iteratee) => {
1
+ export const filterObject = (iterable, iteratee) => {
5
2
  const keys = Object.keys(iterable);
6
3
  const length = keys.length;
7
4
  const result = {};
@@ -13,5 +10,4 @@ const filterObject = (iterable, iteratee) => {
13
10
  }
14
11
  return result;
15
12
  };
16
- exports.filterObject = filterObject;
17
13
  //# sourceMappingURL=filter-object.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-object.js","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAe,QAAW,EAAE,QAA2B,EAAK,EAAE;IACzF,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,MAAM,GAAW,IAAI,CAAC,MAAM,CAAC;IACnC,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAExB,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC;YAC5C,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,OAAO,MAAW,CAAC;AACpB,CAAC,CAAC;AAdW,QAAA,YAAY,gBAcvB"}
1
+ {"version":3,"file":"filter-object.js","sourceRoot":"","sources":["../source/filter-object.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAe,QAAW,EAAE,QAA2B,EAAK,EAAE;IACzF,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,MAAM,GAAW,IAAI,CAAC,MAAM,CAAC;IACnC,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAExB,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC;YAC5C,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,OAAO,MAAW,CAAC;AACpB,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const filter: <T extends {}>(iterable: T | T[], iteratee: FunctionReturning) => T | T[];
3
3
  //# sourceMappingURL=filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,eAAO,MAAM,MAAM,8CAA+C,iBAAiB,YACI,CAAC"}
1
+ {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,eAAO,MAAM,MAAM,2BAA4B,CAAC,GAAG,CAAC,EAAE,YAAY,iBAAiB,KAAG,CAAC,GAAG,CAAC,EACJ,CAAC"}
@@ -1,9 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filter = void 0;
4
- const filter_array_1 = require("./filter-array");
5
- const filter_object_1 = require("./filter-object");
6
- const is_array_1 = require("./is-array");
7
- const filter = (iterable, iteratee) => (0, is_array_1.isArray)(iterable) ? (0, filter_array_1.filterArray)(iterable, iteratee) : (0, filter_object_1.filterObject)(iterable, iteratee);
8
- exports.filter = filter;
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) => isArray(iterable) ? filterArray(iterable, iteratee) : filterObject(iterable, iteratee);
9
5
  //# sourceMappingURL=filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../source/filter.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAC7C,mDAA+C;AAE/C,yCAAqC;AAE9B,MAAM,MAAM,GAAG,CAAe,QAAiB,EAAE,QAA2B,EAAW,EAAE,CAC/F,IAAA,kBAAO,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,0BAAW,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,4BAAY,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAD3E,QAAA,MAAM,UACqE"}
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,CAAe,QAAiB,EAAE,QAA2B,EAAW,EAAE,CAC/F,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const findIndex: <T>(iterable: T[], iteratee: FunctionReturning) => number;
3
3
  //# sourceMappingURL=find-index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-index.d.ts","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,SAAS,+BAAgC,iBAAiB,KAAG,MAQzE,CAAC"}
1
+ {"version":3,"file":"find-index.d.ts","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,SAAS,gBAAiB,CAAC,EAAE,YAAY,iBAAiB,KAAG,MAQzE,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.findIndex = void 0;
4
- const findIndex = (iterable, iteratee) => {
1
+ export const findIndex = (iterable, iteratee) => {
5
2
  for (let index = 0; index < iterable.length; index++) {
6
3
  if (iteratee(iterable[index], index, iterable)) {
7
4
  return index;
@@ -9,5 +6,4 @@ const findIndex = (iterable, iteratee) => {
9
6
  }
10
7
  return -1;
11
8
  };
12
- exports.findIndex = findIndex;
13
9
  //# sourceMappingURL=find-index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-index.js","sourceRoot":"","sources":["../source/find-index.ts"],"names":[],"mappings":";;;AAEO,MAAM,SAAS,GAAG,CAAI,QAAa,EAAE,QAA2B,EAAU,EAAE;IAClF,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACd,CAAC;IACF,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACX,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB"}
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 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const findKey: <T extends {}>(iterable: T, iteratee: FunctionReturning) => string;
3
3
  //# sourceMappingURL=find-key.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-key.d.ts","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,OAAO,wCAAyC,iBAAiB,KAAG,MAChC,CAAC"}
1
+ {"version":3,"file":"find-key.d.ts","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,OAAO,2BAA4B,CAAC,YAAY,iBAAiB,KAAG,MAChC,CAAC"}
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.findKey = void 0;
4
- const filter_object_1 = require("./filter-object");
5
- const findKey = (iterable, iteratee) => Object.keys((0, filter_object_1.filterObject)(iterable, iteratee))[0];
6
- exports.findKey = findKey;
1
+ import { filterObject } from "./filter-object.js";
2
+ export const findKey = (iterable, iteratee) => Object.keys(filterObject(iterable, iteratee))[0];
7
3
  //# sourceMappingURL=find-key.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-key.js","sourceRoot":"","sources":["../source/find-key.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAGxC,MAAM,OAAO,GAAG,CAAe,QAAW,EAAE,QAA2B,EAAU,EAAE,CACzF,MAAM,CAAC,IAAI,CAAC,IAAA,4BAAY,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AADrC,QAAA,OAAO,WAC8B"}
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,CAAe,QAAW,EAAE,QAA2B,EAAU,EAAE,CACzF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { FunctionReturning } from "./internal";
1
+ import { FunctionReturning } from "./internal/index.js";
2
2
  export declare const find: <T>(iterable: T[], iteratee: FunctionReturning) => T | undefined;
3
3
  //# sourceMappingURL=find.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../source/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,IAAI,+BAAgC,iBAAiB,kBAUjE,CAAC"}
1
+ {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../source/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,IAAI,gBAAiB,CAAC,EAAE,YAAY,iBAAiB,KAAG,CAAC,GAAG,SAUxE,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.find = void 0;
4
- const find = (iterable, iteratee) => {
1
+ export const find = (iterable, iteratee) => {
5
2
  for (let index = 0; index < iterable.length; index++) {
6
3
  const item = iterable[index];
7
4
  if (iteratee(item, index, iterable)) {
@@ -10,5 +7,4 @@ const find = (iterable, iteratee) => {
10
7
  }
11
8
  return undefined;
12
9
  };
13
- exports.find = find;
14
10
  //# sourceMappingURL=find.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"find.js","sourceRoot":"","sources":["../source/find.ts"],"names":[],"mappings":";;;AAEO,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;AAVW,QAAA,IAAI,QAUf"}
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 +1 @@
1
- {"version":3,"file":"first-map-entry.d.ts","sourceRoot":"","sources":["../source/first-map-entry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,kCAAgD,CAAC"}
1
+ {"version":3,"file":"first-map-entry.d.ts","sourceRoot":"","sources":["../source/first-map-entry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,cAAe,IAAI,CAAC,EAAE,CAAC,CAAC,KAAG,CAAC,CAAC,EAAE,CAAC,CAAgB,CAAC"}
@@ -1,6 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.firstMapEntry = void 0;
4
- const firstMapEntry = (map) => [...map][0];
5
- exports.firstMapEntry = firstMapEntry;
1
+ export const firstMapEntry = (map) => [...map][0];
6
2
  //# sourceMappingURL=first-map-entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-map-entry.js","sourceRoot":"","sources":["../source/first-map-entry.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAO,GAAc,EAAU,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAA9D,QAAA,aAAa,iBAAiD"}
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 +1 @@
1
- {"version":3,"file":"first-map-key.d.ts","sourceRoot":"","sources":["../source/first-map-key.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,6BAAqD,CAAC"}
1
+ {"version":3,"file":"first-map-key.d.ts","sourceRoot":"","sources":["../source/first-map-key.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,cAAe,IAAI,CAAC,EAAE,CAAC,CAAC,KAAG,CAA0B,CAAC"}
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.firstMapKey = void 0;
4
- const first_map_entry_1 = require("./first-map-entry");
5
- const firstMapKey = (map) => (0, first_map_entry_1.firstMapEntry)(map)[0];
6
- exports.firstMapKey = firstMapKey;
1
+ import { firstMapEntry } from "./first-map-entry.js";
2
+ export const firstMapKey = (map) => firstMapEntry(map)[0];
7
3
  //# sourceMappingURL=first-map-key.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-map-key.js","sourceRoot":"","sources":["../source/first-map-key.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAE3C,MAAM,WAAW,GAAG,CAAO,GAAc,EAAK,EAAE,CAAC,IAAA,+BAAa,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAAjE,QAAA,WAAW,eAAsD"}
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 +1 @@
1
- {"version":3,"file":"first-map-value.d.ts","sourceRoot":"","sources":["../source/first-map-value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,6BAAqD,CAAC"}
1
+ {"version":3,"file":"first-map-value.d.ts","sourceRoot":"","sources":["../source/first-map-value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,cAAe,IAAI,CAAC,EAAE,CAAC,CAAC,KAAG,CAA0B,CAAC"}
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.firstMapValue = void 0;
4
- const first_map_entry_1 = require("./first-map-entry");
5
- const firstMapValue = (map) => (0, first_map_entry_1.firstMapEntry)(map)[1];
6
- exports.firstMapValue = firstMapValue;
1
+ import { firstMapEntry } from "./first-map-entry.js";
2
+ export const firstMapValue = (map) => firstMapEntry(map)[1];
7
3
  //# sourceMappingURL=first-map-value.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-map-value.js","sourceRoot":"","sources":["../source/first-map-value.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAE3C,MAAM,aAAa,GAAG,CAAO,GAAc,EAAK,EAAE,CAAC,IAAA,+BAAa,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAAnE,QAAA,aAAa,iBAAsD"}
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 +1 @@
1
- {"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../source/flatten.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,OAAO,2BAAgD,CAAC"}
1
+ {"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../source/flatten.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,OAAO,gBAAiB,CAAC,EAAE,KAAG,CAAC,EAAwB,CAAC"}
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.flatten = void 0;
4
1
  const flat = (iterable, stash) => {
5
2
  for (const element of iterable) {
6
3
  Array.isArray(element) ? flat(element, stash) : stash.push(element);
7
4
  }
8
5
  return stash;
9
6
  };
10
- const flatten = (iterable) => flat(iterable, []);
11
- exports.flatten = flatten;
7
+ export const flatten = (iterable) => flat(iterable, []);
12
8
  //# sourceMappingURL=flatten.js.map
@@ -1 +1 @@
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,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEK,MAAM,OAAO,GAAG,CAAI,QAAa,EAAO,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;AAAxD,QAAA,OAAO,WAAiD"}
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,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,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"}