es-toolkit 1.13.1-dev.320 → 1.13.1-dev.322

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 (251) hide show
  1. package/dist/array/chunk.mjs +1 -1
  2. package/dist/array/compact.d.mts +1 -1
  3. package/dist/array/compact.d.ts +1 -1
  4. package/dist/array/compact.js.map +1 -1
  5. package/dist/array/compact.mjs +2 -2
  6. package/dist/array/countBy.js +1 -2
  7. package/dist/array/countBy.js.map +1 -1
  8. package/dist/array/countBy.mjs +2 -2
  9. package/dist/array/difference.mjs +1 -1
  10. package/dist/array/differenceBy.mjs +1 -1
  11. package/dist/array/differenceWith.mjs +1 -1
  12. package/dist/array/drop.mjs +1 -1
  13. package/dist/array/dropRight.mjs +1 -1
  14. package/dist/array/dropRightWhile.mjs +1 -1
  15. package/dist/array/dropWhile.mjs +1 -1
  16. package/dist/array/fill.d.mts +1 -0
  17. package/dist/array/fill.d.ts +1 -0
  18. package/dist/array/fill.js.map +1 -1
  19. package/dist/array/fill.mjs +2 -2
  20. package/dist/array/flatMap.mjs +1 -1
  21. package/dist/array/flatten.mjs +1 -1
  22. package/dist/array/flattenDeep.mjs +1 -1
  23. package/dist/array/forEachRight.mjs +1 -1
  24. package/dist/array/groupBy.mjs +1 -1
  25. package/dist/array/head.d.mts +1 -0
  26. package/dist/array/head.d.ts +1 -0
  27. package/dist/array/head.js.map +1 -1
  28. package/dist/array/head.mjs +2 -2
  29. package/dist/array/index.js +1 -2
  30. package/dist/array/index.js.map +1 -1
  31. package/dist/array/index.mjs +56 -56
  32. package/dist/array/initial.mjs +1 -1
  33. package/dist/array/intersection.mjs +1 -1
  34. package/dist/array/intersectionBy.mjs +1 -1
  35. package/dist/array/intersectionWith.mjs +1 -1
  36. package/dist/array/keyBy.mjs +1 -1
  37. package/dist/array/last.d.mts +1 -0
  38. package/dist/array/last.d.ts +1 -0
  39. package/dist/array/last.js.map +1 -1
  40. package/dist/array/last.mjs +2 -2
  41. package/dist/array/maxBy.mjs +1 -1
  42. package/dist/array/minBy.mjs +1 -1
  43. package/dist/array/orderBy.mjs +1 -1
  44. package/dist/array/partition.mjs +1 -1
  45. package/dist/array/sample.mjs +1 -1
  46. package/dist/array/sampleSize.mjs +1 -1
  47. package/dist/array/shuffle.mjs +1 -1
  48. package/dist/array/tail.d.mts +9 -4
  49. package/dist/array/tail.d.ts +9 -4
  50. package/dist/array/tail.js.map +1 -1
  51. package/dist/array/tail.mjs +2 -2
  52. package/dist/array/take.mjs +1 -1
  53. package/dist/array/takeRight.mjs +1 -1
  54. package/dist/array/takeRightWhile.mjs +1 -1
  55. package/dist/array/takeWhile.mjs +1 -1
  56. package/dist/array/toFilled.d.mts +2 -0
  57. package/dist/array/toFilled.d.ts +2 -0
  58. package/dist/array/toFilled.js.map +1 -1
  59. package/dist/array/toFilled.mjs +2 -2
  60. package/dist/array/union.mjs +1 -1
  61. package/dist/array/unionBy.mjs +1 -1
  62. package/dist/array/unionWith.mjs +1 -1
  63. package/dist/array/uniq.mjs +1 -1
  64. package/dist/array/uniqBy.mjs +1 -1
  65. package/dist/array/uniqWith.mjs +1 -1
  66. package/dist/array/unzip.d.mts +3 -2
  67. package/dist/array/unzip.d.ts +3 -2
  68. package/dist/array/unzip.js.map +1 -1
  69. package/dist/array/unzip.mjs +2 -2
  70. package/dist/array/unzipWith.mjs +1 -1
  71. package/dist/array/without.mjs +1 -1
  72. package/dist/array/xor.mjs +1 -1
  73. package/dist/array/xorBy.mjs +1 -1
  74. package/dist/array/xorWith.mjs +1 -1
  75. package/dist/array/zip.mjs +1 -1
  76. package/dist/array/zipObject.mjs +1 -1
  77. package/dist/array/zipWith.d.mts +5 -0
  78. package/dist/array/zipWith.d.ts +5 -0
  79. package/dist/array/zipWith.js.map +1 -1
  80. package/dist/array/zipWith.mjs +2 -2
  81. package/dist/browser.js +22 -58
  82. package/dist/browser.js.map +1 -1
  83. package/dist/browser.mjs +54 -53
  84. package/dist/browser.mjs.map +1 -1
  85. package/dist/{chunk-QXTNZR7B.mjs → chunk-3SBT6WDU.mjs} +2 -2
  86. package/dist/{chunk-O64NE2P4.mjs → chunk-4DFAGGIM.mjs} +3 -3
  87. package/dist/{chunk-O64NE2P4.mjs.map → chunk-4DFAGGIM.mjs.map} +1 -1
  88. package/dist/{chunk-Y5V7UAZZ.mjs → chunk-4ZES5T6V.mjs} +4 -4
  89. package/dist/{chunk-TJ4Z5I7M.mjs → chunk-DLS7UJKJ.mjs} +1 -1
  90. package/dist/chunk-DLS7UJKJ.mjs.map +1 -0
  91. package/dist/{chunk-KPBQ7OUY.mjs → chunk-DTTKJ3VC.mjs} +1 -1
  92. package/dist/chunk-DTTKJ3VC.mjs.map +1 -0
  93. package/dist/{chunk-YNJH6GEG.mjs → chunk-EEHJ656S.mjs} +95 -92
  94. package/dist/chunk-EEHJ656S.mjs.map +1 -0
  95. package/dist/{chunk-EYYZQFOP.mjs → chunk-ET33L3MQ.mjs} +2 -2
  96. package/dist/chunk-EZYYB34V.mjs +17 -0
  97. package/dist/{chunk-CVVZHOJX.mjs.map → chunk-EZYYB34V.mjs.map} +1 -1
  98. package/dist/{chunk-HM2JT2RX.mjs → chunk-FZZNWXDM.mjs} +1 -1
  99. package/dist/chunk-FZZNWXDM.mjs.map +1 -0
  100. package/dist/{chunk-YFN6KOC4.mjs → chunk-GTFDDKZ2.mjs} +1 -1
  101. package/dist/chunk-GTFDDKZ2.mjs.map +1 -0
  102. package/dist/{chunk-F3WCQQET.mjs → chunk-IWXZI3QT.mjs} +2 -2
  103. package/dist/chunk-J5LGTIGS.mjs +10 -0
  104. package/dist/{chunk-UYZKMBDO.mjs → chunk-JCRY7ZYS.mjs} +1 -1
  105. package/dist/chunk-JCRY7ZYS.mjs.map +1 -0
  106. package/dist/{chunk-5CPXZFCB.mjs → chunk-K5WL54BY.mjs} +2 -2
  107. package/dist/{chunk-5CPXZFCB.mjs.map → chunk-K5WL54BY.mjs.map} +1 -1
  108. package/dist/{chunk-4KYXHZ4R.mjs → chunk-MJ7LNBI6.mjs} +1 -1
  109. package/dist/chunk-MJ7LNBI6.mjs.map +1 -0
  110. package/dist/{chunk-3IP4JVLL.mjs → chunk-MSHSKENG.mjs} +3 -3
  111. package/dist/{chunk-3IP4JVLL.mjs.map → chunk-MSHSKENG.mjs.map} +1 -1
  112. package/dist/{chunk-WVQ7YVRK.mjs → chunk-OG2RLT5U.mjs} +2 -3
  113. package/dist/{chunk-WVQ7YVRK.mjs.map → chunk-OG2RLT5U.mjs.map} +1 -1
  114. package/dist/{chunk-DTJJIMKJ.mjs → chunk-PJPGJ2O6.mjs} +1 -1
  115. package/dist/chunk-PJPGJ2O6.mjs.map +1 -0
  116. package/dist/chunk-R6GLTTAB.mjs +9 -0
  117. package/dist/chunk-R6GLTTAB.mjs.map +1 -0
  118. package/dist/{chunk-5IKVJGHO.mjs → chunk-RTFTLCF3.mjs} +2 -2
  119. package/dist/{chunk-OP4OAKQJ.mjs → chunk-XHSIT5DL.mjs} +1 -1
  120. package/dist/chunk-XHSIT5DL.mjs.map +1 -0
  121. package/dist/{chunk-WFZXCGEG.mjs → chunk-YOPFSFTD.mjs} +2 -6
  122. package/dist/{chunk-WFZXCGEG.mjs.map → chunk-YOPFSFTD.mjs.map} +1 -1
  123. package/dist/chunk-YXD3AQAK.mjs +1 -0
  124. package/dist/{chunk-CRSKT4WW.mjs → chunk-Z7HWEOQX.mjs} +2 -3
  125. package/dist/{chunk-CRSKT4WW.mjs.map → chunk-Z7HWEOQX.mjs.map} +1 -1
  126. package/dist/chunk-ZPNX2QDE.mjs +13 -0
  127. package/dist/{chunk-IIDZ3KAJ.mjs.map → chunk-ZPNX2QDE.mjs.map} +1 -1
  128. package/dist/compat/index.d.mts +3 -1
  129. package/dist/compat/index.d.ts +3 -1
  130. package/dist/compat/index.js +23 -57
  131. package/dist/compat/index.js.map +1 -1
  132. package/dist/compat/index.mjs +98 -94
  133. package/dist/error/AbortError.mjs +1 -1
  134. package/dist/error/TimeoutError.mjs +1 -1
  135. package/dist/error/index.mjs +4 -4
  136. package/dist/function/after.mjs +1 -1
  137. package/dist/function/debounce.js +2 -2
  138. package/dist/function/debounce.js.map +1 -1
  139. package/dist/function/debounce.mjs +2 -2
  140. package/dist/function/index.js +2 -2
  141. package/dist/function/index.js.map +1 -1
  142. package/dist/function/index.mjs +10 -10
  143. package/dist/function/negate.mjs +1 -1
  144. package/dist/function/noop.mjs +1 -1
  145. package/dist/function/once.mjs +1 -1
  146. package/dist/function/throttle.mjs +1 -1
  147. package/dist/index.d.mts +1 -0
  148. package/dist/index.d.ts +1 -0
  149. package/dist/index.js +20 -53
  150. package/dist/index.js.map +1 -1
  151. package/dist/index.mjs +97 -93
  152. package/dist/math/clamp.mjs +1 -1
  153. package/dist/math/inRange.mjs +1 -1
  154. package/dist/math/index.mjs +1 -1
  155. package/dist/math/mean.mjs +1 -1
  156. package/dist/math/meanBy.mjs +1 -1
  157. package/dist/math/random.mjs +1 -1
  158. package/dist/math/randomInt.mjs +1 -1
  159. package/dist/math/range.mjs +1 -1
  160. package/dist/math/round.mjs +1 -1
  161. package/dist/math/sum.mjs +1 -1
  162. package/dist/math/sumBy.mjs +1 -1
  163. package/dist/object/clone.mjs +1 -1
  164. package/dist/object/cloneDeep.js +1 -1
  165. package/dist/object/cloneDeep.js.map +1 -1
  166. package/dist/object/cloneDeep.mjs +2 -2
  167. package/dist/object/flattenObject.mjs +1 -1
  168. package/dist/object/index.js +2 -16
  169. package/dist/object/index.js.map +1 -1
  170. package/dist/object/index.mjs +3 -3
  171. package/dist/object/invert.mjs +1 -1
  172. package/dist/object/omit.js +1 -15
  173. package/dist/object/omit.js.map +1 -1
  174. package/dist/object/omit.mjs +2 -2
  175. package/dist/object/omitBy.mjs +1 -1
  176. package/dist/object/pick.mjs +1 -1
  177. package/dist/object/pickBy.mjs +1 -1
  178. package/dist/predicate/index.d.mts +1 -0
  179. package/dist/predicate/index.d.ts +1 -0
  180. package/dist/predicate/index.js +7 -0
  181. package/dist/predicate/index.js.map +1 -1
  182. package/dist/predicate/index.mjs +9 -5
  183. package/dist/predicate/isArrayLike.mjs +1 -1
  184. package/dist/predicate/isEqual.mjs +1 -1
  185. package/dist/predicate/isFunction.mjs +1 -1
  186. package/dist/predicate/isLength.mjs +1 -1
  187. package/dist/predicate/isNil.mjs +1 -1
  188. package/dist/predicate/isNotNil.mjs +1 -1
  189. package/dist/predicate/isNull.mjs +1 -1
  190. package/dist/predicate/isPlainObject.mjs +1 -1
  191. package/dist/predicate/isPrimitive.d.mts +17 -0
  192. package/dist/predicate/isPrimitive.d.ts +17 -0
  193. package/dist/predicate/isPrimitive.js +33 -0
  194. package/dist/predicate/isPrimitive.js.map +1 -0
  195. package/dist/predicate/isPrimitive.mjs +8 -0
  196. package/dist/predicate/isPrimitive.mjs.map +1 -0
  197. package/dist/predicate/isTypedArray.mjs +1 -1
  198. package/dist/predicate/isUndefined.mjs +1 -1
  199. package/dist/promise/delay.js +2 -2
  200. package/dist/promise/delay.js.map +1 -1
  201. package/dist/promise/delay.mjs +2 -2
  202. package/dist/promise/index.js +7 -31
  203. package/dist/promise/index.js.map +1 -1
  204. package/dist/promise/index.mjs +5 -5
  205. package/dist/promise/timeout.js +5 -27
  206. package/dist/promise/timeout.js.map +1 -1
  207. package/dist/promise/timeout.mjs +4 -4
  208. package/dist/promise/withTimeout.js +7 -31
  209. package/dist/promise/withTimeout.js.map +1 -1
  210. package/dist/promise/withTimeout.mjs +5 -5
  211. package/dist/string/camelCase.js +1 -2
  212. package/dist/string/camelCase.js.map +1 -1
  213. package/dist/string/camelCase.mjs +3 -3
  214. package/dist/string/capitalize.mjs +1 -1
  215. package/dist/string/index.js +1 -2
  216. package/dist/string/index.js.map +1 -1
  217. package/dist/string/index.mjs +9 -9
  218. package/dist/string/kebabCase.js +1 -2
  219. package/dist/string/kebabCase.js.map +1 -1
  220. package/dist/string/kebabCase.mjs +3 -3
  221. package/dist/string/lowerCase.js +1 -2
  222. package/dist/string/lowerCase.js.map +1 -1
  223. package/dist/string/lowerCase.mjs +3 -3
  224. package/dist/string/snakeCase.js +1 -2
  225. package/dist/string/snakeCase.js.map +1 -1
  226. package/dist/string/snakeCase.mjs +3 -3
  227. package/dist/string/startCase.js +1 -2
  228. package/dist/string/startCase.js.map +1 -1
  229. package/dist/string/startCase.mjs +3 -3
  230. package/package.json +1 -1
  231. package/umd/browser.global.js +1 -1
  232. package/dist/chunk-24FKGR6U.mjs +0 -47
  233. package/dist/chunk-4KYXHZ4R.mjs.map +0 -1
  234. package/dist/chunk-CVVZHOJX.mjs +0 -22
  235. package/dist/chunk-DTJJIMKJ.mjs.map +0 -1
  236. package/dist/chunk-HM2JT2RX.mjs.map +0 -1
  237. package/dist/chunk-IIDZ3KAJ.mjs +0 -18
  238. package/dist/chunk-KPBQ7OUY.mjs.map +0 -1
  239. package/dist/chunk-OP4OAKQJ.mjs.map +0 -1
  240. package/dist/chunk-STL6TD3L.mjs +0 -1
  241. package/dist/chunk-TJ4Z5I7M.mjs.map +0 -1
  242. package/dist/chunk-UYZKMBDO.mjs.map +0 -1
  243. package/dist/chunk-YFN6KOC4.mjs.map +0 -1
  244. package/dist/chunk-YNJH6GEG.mjs.map +0 -1
  245. /package/dist/{chunk-QXTNZR7B.mjs.map → chunk-3SBT6WDU.mjs.map} +0 -0
  246. /package/dist/{chunk-Y5V7UAZZ.mjs.map → chunk-4ZES5T6V.mjs.map} +0 -0
  247. /package/dist/{chunk-EYYZQFOP.mjs.map → chunk-ET33L3MQ.mjs.map} +0 -0
  248. /package/dist/{chunk-F3WCQQET.mjs.map → chunk-IWXZI3QT.mjs.map} +0 -0
  249. /package/dist/{chunk-24FKGR6U.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
  250. /package/dist/{chunk-5IKVJGHO.mjs.map → chunk-RTFTLCF3.mjs.map} +0 -0
  251. /package/dist/{chunk-STL6TD3L.mjs.map → chunk-YXD3AQAK.mjs.map} +0 -0
package/dist/browser.mjs CHANGED
@@ -1,37 +1,38 @@
1
1
  import {
2
2
  compat_exports
3
- } from "./chunk-YNJH6GEG.mjs";
3
+ } from "./chunk-EEHJ656S.mjs";
4
4
  import "./chunk-NKLIE2OI.mjs";
5
5
  import "./chunk-4OIZM4HS.mjs";
6
- import "./chunk-IIDZ3KAJ.mjs";
7
- import "./chunk-CVVZHOJX.mjs";
8
- import "./chunk-O64NE2P4.mjs";
6
+ import "./chunk-ZPNX2QDE.mjs";
7
+ import "./chunk-EZYYB34V.mjs";
8
+ import "./chunk-4DFAGGIM.mjs";
9
9
  import "./chunk-XT74R35S.mjs";
10
- import "./chunk-5IKVJGHO.mjs";
11
- import "./chunk-F3WCQQET.mjs";
12
- import "./chunk-QXTNZR7B.mjs";
13
- import "./chunk-Y5V7UAZZ.mjs";
10
+ import "./chunk-ET33L3MQ.mjs";
11
+ import "./chunk-RTFTLCF3.mjs";
12
+ import "./chunk-IWXZI3QT.mjs";
13
+ import "./chunk-3SBT6WDU.mjs";
14
+ import "./chunk-4ZES5T6V.mjs";
15
+ import "./chunk-OG2RLT5U.mjs";
14
16
  import "./chunk-U56ZOM7L.mjs";
15
- import "./chunk-EYYZQFOP.mjs";
16
- import "./chunk-WVQ7YVRK.mjs";
17
- import "./chunk-STL6TD3L.mjs";
17
+ import "./chunk-YXD3AQAK.mjs";
18
+ import "./chunk-VH2PV426.mjs";
18
19
  import "./chunk-74CREQXW.mjs";
19
20
  import "./chunk-WMM7TZLG.mjs";
20
21
  import "./chunk-BMRTZMRE.mjs";
21
22
  import "./chunk-AIRSKN47.mjs";
23
+ import "./chunk-R6GLTTAB.mjs";
22
24
  import "./chunk-SXFMQQ6F.mjs";
23
- import "./chunk-VH2PV426.mjs";
24
25
  import "./chunk-LPZZIY5Z.mjs";
25
26
  import "./chunk-27QMXBLJ.mjs";
26
27
  import "./chunk-JYSV56US.mjs";
27
28
  import "./chunk-YXAOYIRV.mjs";
28
29
  import "./chunk-OLX53VEF.mjs";
29
- import "./chunk-WFZXCGEG.mjs";
30
+ import "./chunk-YOPFSFTD.mjs";
30
31
  import "./chunk-BCTYOXT7.mjs";
31
32
  import "./chunk-HPFDYUGP.mjs";
32
33
  import "./chunk-6CLH5YZ2.mjs";
33
34
  import "./chunk-VRUTBJYS.mjs";
34
- import "./chunk-5CPXZFCB.mjs";
35
+ import "./chunk-K5WL54BY.mjs";
35
36
  import "./chunk-XGQWTHW6.mjs";
36
37
  import "./chunk-MIGAC7F4.mjs";
37
38
  import "./chunk-FUS75PJ7.mjs";
@@ -43,71 +44,71 @@ import "./chunk-BH6HLGBA.mjs";
43
44
  import "./chunk-MY4G7R3I.mjs";
44
45
  import "./chunk-5ASRKEB4.mjs";
45
46
  import "./chunk-2SLTL4KL.mjs";
46
- import "./chunk-F47GLYUU.mjs";
47
- import "./chunk-KIOYQRMQ.mjs";
48
- import "./chunk-ZA2XI3OV.mjs";
49
- import "./chunk-QOJGMVVR.mjs";
50
- import "./chunk-OGZMEWPR.mjs";
51
- import "./chunk-3IP4JVLL.mjs";
52
- import "./chunk-BOOQBJN2.mjs";
53
- import "./chunk-LKXCOLNY.mjs";
54
- import "./chunk-CMBC4MXG.mjs";
55
- import "./chunk-DXB7EZUQ.mjs";
56
47
  import "./chunk-DDH7K4QM.mjs";
48
+ import "./chunk-MJ7LNBI6.mjs";
49
+ import "./chunk-JCRY7ZYS.mjs";
50
+ import "./chunk-IFNXROZR.mjs";
51
+ import "./chunk-PYEYV7BY.mjs";
57
52
  import "./chunk-L7FQX5MN.mjs";
58
53
  import "./chunk-Q47NGNXT.mjs";
59
54
  import "./chunk-QRSJBBFY.mjs";
60
55
  import "./chunk-OLORW442.mjs";
61
56
  import "./chunk-6GWEY5EL.mjs";
62
- import "./chunk-4KYXHZ4R.mjs";
57
+ import "./chunk-2IXFGSUA.mjs";
58
+ import "./chunk-XHSIT5DL.mjs";
59
+ import "./chunk-R6QA7PLZ.mjs";
63
60
  import "./chunk-NFS7RWWE.mjs";
64
61
  import "./chunk-2ZCITDMK.mjs";
62
+ import "./chunk-DVK2N4KC.mjs";
65
63
  import "./chunk-B4COTK4K.mjs";
66
64
  import "./chunk-237HGSZS.mjs";
67
- import "./chunk-UYZKMBDO.mjs";
68
- import "./chunk-IFNXROZR.mjs";
69
- import "./chunk-PYEYV7BY.mjs";
65
+ import "./chunk-DN3NOZ3H.mjs";
66
+ import "./chunk-2KNLZB7V.mjs";
67
+ import "./chunk-EHSKB6DF.mjs";
68
+ import "./chunk-GIWAOOFY.mjs";
69
+ import "./chunk-SYWMYQYJ.mjs";
70
70
  import "./chunk-G7UQ5PUR.mjs";
71
- import "./chunk-TJ4Z5I7M.mjs";
71
+ import "./chunk-DLS7UJKJ.mjs";
72
72
  import "./chunk-ME352XO7.mjs";
73
73
  import "./chunk-N3QYJX4T.mjs";
74
74
  import "./chunk-NTLX2MPV.mjs";
75
- import "./chunk-2IXFGSUA.mjs";
76
- import "./chunk-OP4OAKQJ.mjs";
77
- import "./chunk-R6QA7PLZ.mjs";
78
- import "./chunk-DVK2N4KC.mjs";
75
+ import "./chunk-FVVSE2F2.mjs";
76
+ import "./chunk-O6UXZR3U.mjs";
77
+ import "./chunk-XI7KRD2C.mjs";
79
78
  import "./chunk-AJKZMN2V.mjs";
80
- import "./chunk-KPBQ7OUY.mjs";
79
+ import "./chunk-DTTKJ3VC.mjs";
81
80
  import "./chunk-OOKNBU4V.mjs";
82
81
  import "./chunk-IJD7FE2Z.mjs";
83
82
  import "./chunk-7B7W36UP.mjs";
84
- import "./chunk-DN3NOZ3H.mjs";
85
- import "./chunk-2KNLZB7V.mjs";
86
- import "./chunk-EHSKB6DF.mjs";
87
- import "./chunk-GIWAOOFY.mjs";
88
- import "./chunk-SYWMYQYJ.mjs";
83
+ import "./chunk-UY76KTPE.mjs";
84
+ import "./chunk-ML727RRJ.mjs";
85
+ import "./chunk-33MSBDC6.mjs";
89
86
  import "./chunk-IEA53J7P.mjs";
90
87
  import "./chunk-E6E4RZLN.mjs";
91
- import "./chunk-HM2JT2RX.mjs";
88
+ import "./chunk-FZZNWXDM.mjs";
92
89
  import "./chunk-XPSOKBRZ.mjs";
93
- import "./chunk-FVVSE2F2.mjs";
94
- import "./chunk-O6UXZR3U.mjs";
95
- import "./chunk-XI7KRD2C.mjs";
90
+ import "./chunk-JPUKH67K.mjs";
91
+ import "./chunk-LVWX5B43.mjs";
92
+ import "./chunk-6NVQAHXP.mjs";
96
93
  import "./chunk-3EZAFZG3.mjs";
97
94
  import "./chunk-OXZCMC5I.mjs";
98
95
  import "./chunk-M7SBBYV2.mjs";
99
96
  import "./chunk-LJ2C6MVP.mjs";
100
- import "./chunk-YFN6KOC4.mjs";
101
- import "./chunk-UY76KTPE.mjs";
102
- import "./chunk-ML727RRJ.mjs";
103
- import "./chunk-33MSBDC6.mjs";
97
+ import "./chunk-GTFDDKZ2.mjs";
98
+ import "./chunk-ZA2XI3OV.mjs";
99
+ import "./chunk-BOOQBJN2.mjs";
100
+ import "./chunk-LKXCOLNY.mjs";
101
+ import "./chunk-CMBC4MXG.mjs";
102
+ import "./chunk-QOJGMVVR.mjs";
104
103
  import "./chunk-E6C5EZQA.mjs";
105
- import "./chunk-DTJJIMKJ.mjs";
106
- import "./chunk-CRSKT4WW.mjs";
107
- import "./chunk-JPUKH67K.mjs";
108
- import "./chunk-LVWX5B43.mjs";
109
- import "./chunk-6NVQAHXP.mjs";
110
- import "./chunk-24FKGR6U.mjs";
104
+ import "./chunk-PJPGJ2O6.mjs";
105
+ import "./chunk-Z7HWEOQX.mjs";
106
+ import "./chunk-F47GLYUU.mjs";
107
+ import "./chunk-DXB7EZUQ.mjs";
108
+ import "./chunk-KIOYQRMQ.mjs";
109
+ import "./chunk-OGZMEWPR.mjs";
110
+ import "./chunk-MSHSKENG.mjs";
111
+ import "./chunk-J5LGTIGS.mjs";
111
112
 
112
113
  // src/browser.ts
113
114
  window._ = compat_exports;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/browser.ts"],"sourcesContent":["import * as toolkit from './compat/index.ts';\n\ninterface Window {\n _: typeof toolkit;\n}\n\ndeclare let window: Window;\nwindow._ = toolkit;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,OAAO,IAAI;","names":[]}
1
+ {"version":3,"sources":["../src/browser.ts"],"sourcesContent":["import * as toolkit from './compat/index.ts';\n\ninterface Window {\n _: typeof toolkit;\n}\n\ndeclare let window: Window;\nwindow._ = toolkit;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,OAAO,IAAI;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getWords
3
- } from "./chunk-WVQ7YVRK.mjs";
3
+ } from "./chunk-OG2RLT5U.mjs";
4
4
 
5
5
  // src/string/startCase.ts
6
6
  function startCase(str) {
@@ -22,4 +22,4 @@ function startCase(str) {
22
22
  export {
23
23
  startCase
24
24
  };
25
- //# sourceMappingURL=chunk-QXTNZR7B.mjs.map
25
+ //# sourceMappingURL=chunk-3SBT6WDU.mjs.map
@@ -12,15 +12,15 @@ function delay(ms, { signal } = {}) {
12
12
  clearTimeout(timeoutId);
13
13
  abortError();
14
14
  };
15
- if (signal == null ? void 0 : signal.aborted) {
15
+ if (signal?.aborted) {
16
16
  return abortError();
17
17
  }
18
18
  const timeoutId = setTimeout(resolve, ms);
19
- signal == null ? void 0 : signal.addEventListener("abort", abortHandler, { once: true });
19
+ signal?.addEventListener("abort", abortHandler, { once: true });
20
20
  });
21
21
  }
22
22
 
23
23
  export {
24
24
  delay
25
25
  };
26
- //# sourceMappingURL=chunk-O64NE2P4.mjs.map
26
+ //# sourceMappingURL=chunk-4DFAGGIM.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/promise/delay.ts"],"sourcesContent":["import { AbortError } from '../error/AbortError.ts';\n\ninterface DelayOptions {\n signal?: AbortSignal;\n}\n\n/**\n * Delays the execution of code for a specified number of milliseconds.\n *\n * This function returns a Promise that resolves after the specified delay, allowing you to use it\n * with async/await to pause execution.\n *\n * @param {number} ms - The number of milliseconds to delay.\n * @param {DelayOptions} options - The options object.\n * @param {AbortSignal} options.signal - An optional AbortSignal to cancel the delay.\n * @returns {Promise<void>} A Promise that resolves after the specified delay.\n *\n * @example\n * async function foo() {\n * console.log('Start');\n * await delay(1000); // Delays execution for 1 second\n * console.log('End');\n * }\n *\n * foo();\n *\n * // With AbortSignal\n * const controller = new AbortController();\n * const { signal } = controller;\n *\n * setTimeout(() => controller.abort(), 50); // Will cancel the delay after 50ms\n * try {\n * await delay(100, { signal });\n * } catch (error) {\n * console.error(error); // Will log 'AbortError'\n * }\n * }\n */\nexport function delay(ms: number, { signal }: DelayOptions = {}): Promise<void> {\n return new Promise((resolve, reject) => {\n const abortError = () => {\n reject(new AbortError());\n };\n\n const abortHandler = () => {\n clearTimeout(timeoutId);\n abortError();\n };\n\n if (signal?.aborted) {\n return abortError();\n }\n\n const timeoutId = setTimeout(resolve, ms);\n\n signal?.addEventListener('abort', abortHandler, { once: true });\n });\n}\n"],"mappings":";;;;;AAsCO,SAAS,MAAM,IAAY,EAAE,OAAO,IAAkB,CAAC,GAAkB;AAC9E,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,UAAM,aAAa,MAAM;AACvB,aAAO,IAAI,WAAW,CAAC;AAAA,IACzB;AAEA,UAAM,eAAe,MAAM;AACzB,mBAAa,SAAS;AACtB,iBAAW;AAAA,IACb;AAEA,QAAI,iCAAQ,SAAS;AACnB,aAAO,WAAW;AAAA,IACpB;AAEA,UAAM,YAAY,WAAW,SAAS,EAAE;AAExC,qCAAQ,iBAAiB,SAAS,cAAc,EAAE,MAAM,KAAK;AAAA,EAC/D,CAAC;AACH;","names":[]}
1
+ {"version":3,"sources":["../src/promise/delay.ts"],"sourcesContent":["import { AbortError } from '../error/AbortError.ts';\n\ninterface DelayOptions {\n signal?: AbortSignal;\n}\n\n/**\n * Delays the execution of code for a specified number of milliseconds.\n *\n * This function returns a Promise that resolves after the specified delay, allowing you to use it\n * with async/await to pause execution.\n *\n * @param {number} ms - The number of milliseconds to delay.\n * @param {DelayOptions} options - The options object.\n * @param {AbortSignal} options.signal - An optional AbortSignal to cancel the delay.\n * @returns {Promise<void>} A Promise that resolves after the specified delay.\n *\n * @example\n * async function foo() {\n * console.log('Start');\n * await delay(1000); // Delays execution for 1 second\n * console.log('End');\n * }\n *\n * foo();\n *\n * // With AbortSignal\n * const controller = new AbortController();\n * const { signal } = controller;\n *\n * setTimeout(() => controller.abort(), 50); // Will cancel the delay after 50ms\n * try {\n * await delay(100, { signal });\n * } catch (error) {\n * console.error(error); // Will log 'AbortError'\n * }\n * }\n */\nexport function delay(ms: number, { signal }: DelayOptions = {}): Promise<void> {\n return new Promise((resolve, reject) => {\n const abortError = () => {\n reject(new AbortError());\n };\n\n const abortHandler = () => {\n clearTimeout(timeoutId);\n abortError();\n };\n\n if (signal?.aborted) {\n return abortError();\n }\n\n const timeoutId = setTimeout(resolve, ms);\n\n signal?.addEventListener('abort', abortHandler, { once: true });\n });\n}\n"],"mappings":";;;;;AAsCO,SAAS,MAAM,IAAY,EAAE,OAAO,IAAkB,CAAC,GAAkB;AAC9E,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,UAAM,aAAa,MAAM;AACvB,aAAO,IAAI,WAAW,CAAC;AAAA,IACzB;AAEA,UAAM,eAAe,MAAM;AACzB,mBAAa,SAAS;AACtB,iBAAW;AAAA,IACb;AAEA,QAAI,QAAQ,SAAS;AACnB,aAAO,WAAW;AAAA,IACpB;AAEA,UAAM,YAAY,WAAW,SAAS,EAAE;AAExC,YAAQ,iBAAiB,SAAS,cAAc,EAAE,MAAM,KAAK,CAAC;AAAA,EAChE,CAAC;AACH;","names":[]}
@@ -1,9 +1,9 @@
1
+ import {
2
+ getWords
3
+ } from "./chunk-OG2RLT5U.mjs";
1
4
  import {
2
5
  capitalize
3
6
  } from "./chunk-U56ZOM7L.mjs";
4
- import {
5
- getWords
6
- } from "./chunk-WVQ7YVRK.mjs";
7
7
 
8
8
  // src/string/camelCase.ts
9
9
  function camelCase(str) {
@@ -18,4 +18,4 @@ function camelCase(str) {
18
18
  export {
19
19
  camelCase
20
20
  };
21
- //# sourceMappingURL=chunk-Y5V7UAZZ.mjs.map
21
+ //# sourceMappingURL=chunk-4ZES5T6V.mjs.map
@@ -14,4 +14,4 @@ function tail(arr) {
14
14
  export {
15
15
  tail
16
16
  };
17
- //# sourceMappingURL=chunk-TJ4Z5I7M.mjs.map
17
+ //# sourceMappingURL=chunk-DLS7UJKJ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/array/tail.ts"],"sourcesContent":["/**\n * Returns an empty array when the input is a single-element array.\n *\n * @template T - The type of the single element in the array.\n * @param {[T]} arr - The single-element array to process.\n * @returns {[]} An empty array.\n *\n * @example\n * const arr = [1];\n * const result = tail(arr);\n * // result will be []\n */\nexport function tail<T>(arr: readonly [T]): [];\n\n/**\n * Returns an empty array when the input is an empty array.\n *\n * @template T - The type of elements in the array.\n * @param {[]} arr - The empty array to process.\n * @returns {[]} An empty array.\n *\n * @example\n * const arr = [];\n * const result = tail(arr);\n * // result will be []\n */\nexport function tail(arr: readonly []): [];\n\n/**\n * Returns a new array with all elements except for the first when the input is a tuple array.\n *\n * @template T - The type of the first element in the tuple array.\n * @template U - The type of the remaining elements in the tuple array.\n * @param {[T, ...U[]]} arr - The tuple array to process.\n * @returns {U[]} A new array containing all elements of the input array except for the first one.\n *\n * @example\n * const arr = [1, 2, 3];\n * const result = tail(arr);\n * // result will be [2, 3]\n */\nexport function tail<T, U>(arr: readonly [T, ...U[]]): U[];\n\n/**\n * Returns a new array with all elements except for the first.\n *\n * This function takes an array and returns a new array containing all the elements\n * except for the first one. If the input array is empty or has only one element,\n * an empty array is returned.\n *\n * @template T - The type of elements in the array.\n * @param {T[]} arr - The array to get the tail of.\n * @returns {T[]} A new array containing all elements of the input array except for the first one.\n *\n * @example\n * const arr1 = [1, 2, 3];\n * const result = tail(arr1);\n * // result will be [2, 3]\n *\n * const arr2 = [1];\n * const result2 = tail(arr2);\n * // result2 will be []\n *\n * const arr3 = [];\n * const result3 = tail(arr3);\n * // result3 will be []\n */\nexport function tail<T>(arr: readonly T[]): T[];\n\nexport function tail<T>(arr: readonly T[]): T[] {\n const len = arr.length;\n if (len <= 1) {\n return [];\n }\n const result = new Array(len - 1);\n for (let i = 1; i < len; i++) {\n result[i - 1] = arr[i];\n }\n return result;\n}\n"],"mappings":";AAqEO,SAAS,KAAQ,KAAwB;AAC9C,QAAM,MAAM,IAAI;AAChB,MAAI,OAAO,GAAG;AACZ,WAAO,CAAC;AAAA,EACV;AACA,QAAM,SAAS,IAAI,MAAM,MAAM,CAAC;AAChC,WAAS,IAAI,GAAG,IAAI,KAAK,KAAK;AAC5B,WAAO,IAAI,CAAC,IAAI,IAAI,CAAC;AAAA,EACvB;AACA,SAAO;AACT;","names":[]}
@@ -6,4 +6,4 @@ function last(arr) {
6
6
  export {
7
7
  last
8
8
  };
9
- //# sourceMappingURL=chunk-KPBQ7OUY.mjs.map
9
+ //# sourceMappingURL=chunk-DTTKJ3VC.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/array/last.ts"],"sourcesContent":["/**\n * Returns the last element of an array.\n *\n * This function takes an array and returns the last element of the array.\n * If the array is empty, the function returns `undefined`.\n *\n * Unlike some implementations, this function is optimized for performance\n * by directly accessing the last index of the array.\n *\n * @template T - The type of elements in the array.\n * @param {T[]} arr - The array from which to get the last element.\n * @returns {T | undefined} The last element of the array, or `undefined` if the array is empty.\n *\n * @example\n * const arr = [1, 2, 3];\n * const lastElement = last(arr);\n * // lastElement will be 3\n *\n * const emptyArr: number[] = [];\n * const noElement = last(emptyArr);\n * // noElement will be undefined\n */\n\nexport function last<T>(arr: readonly [...T[], T]): T;\nexport function last<T>(arr: readonly T[]): T | undefined;\nexport function last<T>(arr: readonly T[]): T | undefined {\n return arr[arr.length - 1];\n}\n"],"mappings":";AAyBO,SAAS,KAAQ,KAAkC;AACxD,SAAO,IAAI,IAAI,SAAS,CAAC;AAC3B;","names":[]}
@@ -1,27 +1,30 @@
1
1
  import {
2
2
  withTimeout
3
- } from "./chunk-IIDZ3KAJ.mjs";
3
+ } from "./chunk-ZPNX2QDE.mjs";
4
4
  import {
5
5
  delay
6
- } from "./chunk-O64NE2P4.mjs";
6
+ } from "./chunk-4DFAGGIM.mjs";
7
+ import {
8
+ kebabCase
9
+ } from "./chunk-ET33L3MQ.mjs";
7
10
  import {
8
11
  lowerCase
9
- } from "./chunk-5IKVJGHO.mjs";
12
+ } from "./chunk-RTFTLCF3.mjs";
10
13
  import {
11
14
  snakeCase
12
- } from "./chunk-F3WCQQET.mjs";
15
+ } from "./chunk-IWXZI3QT.mjs";
13
16
  import {
14
17
  startCase
15
- } from "./chunk-QXTNZR7B.mjs";
18
+ } from "./chunk-3SBT6WDU.mjs";
16
19
  import {
17
20
  camelCase
18
- } from "./chunk-Y5V7UAZZ.mjs";
21
+ } from "./chunk-4ZES5T6V.mjs";
19
22
  import {
20
23
  capitalize
21
24
  } from "./chunk-U56ZOM7L.mjs";
22
25
  import {
23
- kebabCase
24
- } from "./chunk-EYYZQFOP.mjs";
26
+ isUndefined
27
+ } from "./chunk-VH2PV426.mjs";
25
28
  import {
26
29
  isFunction
27
30
  } from "./chunk-74CREQXW.mjs";
@@ -34,12 +37,12 @@ import {
34
37
  import {
35
38
  isNull
36
39
  } from "./chunk-AIRSKN47.mjs";
40
+ import {
41
+ isPrimitive
42
+ } from "./chunk-R6GLTTAB.mjs";
37
43
  import {
38
44
  isTypedArray
39
45
  } from "./chunk-SXFMQQ6F.mjs";
40
- import {
41
- isUndefined
42
- } from "./chunk-VH2PV426.mjs";
43
46
  import {
44
47
  isArrayLike
45
48
  } from "./chunk-LPZZIY5Z.mjs";
@@ -54,7 +57,7 @@ import {
54
57
  } from "./chunk-OLX53VEF.mjs";
55
58
  import {
56
59
  omit
57
- } from "./chunk-WFZXCGEG.mjs";
60
+ } from "./chunk-YOPFSFTD.mjs";
58
61
  import {
59
62
  omitBy
60
63
  } from "./chunk-BCTYOXT7.mjs";
@@ -69,7 +72,7 @@ import {
69
72
  } from "./chunk-VRUTBJYS.mjs";
70
73
  import {
71
74
  cloneDeep
72
- } from "./chunk-5CPXZFCB.mjs";
75
+ } from "./chunk-K5WL54BY.mjs";
73
76
  import {
74
77
  flattenObject
75
78
  } from "./chunk-XGQWTHW6.mjs";
@@ -98,29 +101,17 @@ import {
98
101
  sum
99
102
  } from "./chunk-2SLTL4KL.mjs";
100
103
  import {
101
- TimeoutError
102
- } from "./chunk-KIOYQRMQ.mjs";
103
- import {
104
- throttle
105
- } from "./chunk-QOJGMVVR.mjs";
106
- import {
107
- after
108
- } from "./chunk-OGZMEWPR.mjs";
109
- import {
110
- debounce
111
- } from "./chunk-3IP4JVLL.mjs";
112
- import {
113
- negate
114
- } from "./chunk-BOOQBJN2.mjs";
104
+ zipWith
105
+ } from "./chunk-MJ7LNBI6.mjs";
115
106
  import {
116
- noop
117
- } from "./chunk-LKXCOLNY.mjs";
107
+ unzip
108
+ } from "./chunk-JCRY7ZYS.mjs";
118
109
  import {
119
- once
120
- } from "./chunk-CMBC4MXG.mjs";
110
+ unzipWith
111
+ } from "./chunk-IFNXROZR.mjs";
121
112
  import {
122
- AbortError
123
- } from "./chunk-DXB7EZUQ.mjs";
113
+ without
114
+ } from "./chunk-PYEYV7BY.mjs";
124
115
  import {
125
116
  xor
126
117
  } from "./chunk-L7FQX5MN.mjs";
@@ -137,14 +128,23 @@ import {
137
128
  zipObject
138
129
  } from "./chunk-6GWEY5EL.mjs";
139
130
  import {
140
- zipWith
141
- } from "./chunk-4KYXHZ4R.mjs";
131
+ takeWhile
132
+ } from "./chunk-2IXFGSUA.mjs";
133
+ import {
134
+ toFilled
135
+ } from "./chunk-XHSIT5DL.mjs";
136
+ import {
137
+ union
138
+ } from "./chunk-R6QA7PLZ.mjs";
142
139
  import {
143
140
  unionBy
144
141
  } from "./chunk-NFS7RWWE.mjs";
145
142
  import {
146
143
  unionWith
147
144
  } from "./chunk-2ZCITDMK.mjs";
145
+ import {
146
+ uniq
147
+ } from "./chunk-DVK2N4KC.mjs";
148
148
  import {
149
149
  uniqBy
150
150
  } from "./chunk-B4COTK4K.mjs";
@@ -152,20 +152,26 @@ import {
152
152
  uniqWith
153
153
  } from "./chunk-237HGSZS.mjs";
154
154
  import {
155
- unzip
156
- } from "./chunk-UYZKMBDO.mjs";
155
+ partition
156
+ } from "./chunk-DN3NOZ3H.mjs";
157
157
  import {
158
- unzipWith
159
- } from "./chunk-IFNXROZR.mjs";
158
+ sample
159
+ } from "./chunk-2KNLZB7V.mjs";
160
160
  import {
161
- without
162
- } from "./chunk-PYEYV7BY.mjs";
161
+ sampleSize
162
+ } from "./chunk-EHSKB6DF.mjs";
163
+ import {
164
+ randomInt
165
+ } from "./chunk-GIWAOOFY.mjs";
166
+ import {
167
+ random
168
+ } from "./chunk-SYWMYQYJ.mjs";
163
169
  import {
164
170
  shuffle
165
171
  } from "./chunk-G7UQ5PUR.mjs";
166
172
  import {
167
173
  tail
168
- } from "./chunk-TJ4Z5I7M.mjs";
174
+ } from "./chunk-DLS7UJKJ.mjs";
169
175
  import {
170
176
  take
171
177
  } from "./chunk-ME352XO7.mjs";
@@ -176,23 +182,20 @@ import {
176
182
  takeRightWhile
177
183
  } from "./chunk-NTLX2MPV.mjs";
178
184
  import {
179
- takeWhile
180
- } from "./chunk-2IXFGSUA.mjs";
181
- import {
182
- toFilled
183
- } from "./chunk-OP4OAKQJ.mjs";
185
+ intersection
186
+ } from "./chunk-FVVSE2F2.mjs";
184
187
  import {
185
- union
186
- } from "./chunk-R6QA7PLZ.mjs";
188
+ intersectionBy
189
+ } from "./chunk-O6UXZR3U.mjs";
187
190
  import {
188
- uniq
189
- } from "./chunk-DVK2N4KC.mjs";
191
+ intersectionWith
192
+ } from "./chunk-XI7KRD2C.mjs";
190
193
  import {
191
194
  keyBy
192
195
  } from "./chunk-AJKZMN2V.mjs";
193
196
  import {
194
197
  last
195
- } from "./chunk-KPBQ7OUY.mjs";
198
+ } from "./chunk-DTTKJ3VC.mjs";
196
199
  import {
197
200
  maxBy
198
201
  } from "./chunk-OOKNBU4V.mjs";
@@ -203,20 +206,14 @@ import {
203
206
  orderBy
204
207
  } from "./chunk-7B7W36UP.mjs";
205
208
  import {
206
- partition
207
- } from "./chunk-DN3NOZ3H.mjs";
208
- import {
209
- sample
210
- } from "./chunk-2KNLZB7V.mjs";
211
- import {
212
- sampleSize
213
- } from "./chunk-EHSKB6DF.mjs";
209
+ flatMap
210
+ } from "./chunk-UY76KTPE.mjs";
214
211
  import {
215
- randomInt
216
- } from "./chunk-GIWAOOFY.mjs";
212
+ flattenDeep
213
+ } from "./chunk-ML727RRJ.mjs";
217
214
  import {
218
- random
219
- } from "./chunk-SYWMYQYJ.mjs";
215
+ flatten
216
+ } from "./chunk-33MSBDC6.mjs";
220
217
  import {
221
218
  forEachRight
222
219
  } from "./chunk-IEA53J7P.mjs";
@@ -225,19 +222,19 @@ import {
225
222
  } from "./chunk-E6E4RZLN.mjs";
226
223
  import {
227
224
  head
228
- } from "./chunk-HM2JT2RX.mjs";
225
+ } from "./chunk-FZZNWXDM.mjs";
229
226
  import {
230
227
  initial
231
228
  } from "./chunk-XPSOKBRZ.mjs";
232
229
  import {
233
- intersection
234
- } from "./chunk-FVVSE2F2.mjs";
230
+ difference
231
+ } from "./chunk-JPUKH67K.mjs";
235
232
  import {
236
- intersectionBy
237
- } from "./chunk-O6UXZR3U.mjs";
233
+ differenceBy
234
+ } from "./chunk-LVWX5B43.mjs";
238
235
  import {
239
- intersectionWith
240
- } from "./chunk-XI7KRD2C.mjs";
236
+ differenceWith
237
+ } from "./chunk-6NVQAHXP.mjs";
241
238
  import {
242
239
  drop
243
240
  } from "./chunk-3EZAFZG3.mjs";
@@ -252,37 +249,43 @@ import {
252
249
  } from "./chunk-LJ2C6MVP.mjs";
253
250
  import {
254
251
  fill
255
- } from "./chunk-YFN6KOC4.mjs";
252
+ } from "./chunk-GTFDDKZ2.mjs";
256
253
  import {
257
- flatMap
258
- } from "./chunk-UY76KTPE.mjs";
254
+ negate
255
+ } from "./chunk-BOOQBJN2.mjs";
259
256
  import {
260
- flattenDeep
261
- } from "./chunk-ML727RRJ.mjs";
257
+ noop
258
+ } from "./chunk-LKXCOLNY.mjs";
262
259
  import {
263
- flatten
264
- } from "./chunk-33MSBDC6.mjs";
260
+ once
261
+ } from "./chunk-CMBC4MXG.mjs";
262
+ import {
263
+ throttle
264
+ } from "./chunk-QOJGMVVR.mjs";
265
265
  import {
266
266
  chunk
267
267
  } from "./chunk-E6C5EZQA.mjs";
268
268
  import {
269
269
  compact
270
- } from "./chunk-DTJJIMKJ.mjs";
270
+ } from "./chunk-PJPGJ2O6.mjs";
271
271
  import {
272
272
  countBy
273
- } from "./chunk-CRSKT4WW.mjs";
273
+ } from "./chunk-Z7HWEOQX.mjs";
274
274
  import {
275
- difference
276
- } from "./chunk-JPUKH67K.mjs";
275
+ AbortError
276
+ } from "./chunk-DXB7EZUQ.mjs";
277
277
  import {
278
- differenceBy
279
- } from "./chunk-LVWX5B43.mjs";
278
+ TimeoutError
279
+ } from "./chunk-KIOYQRMQ.mjs";
280
280
  import {
281
- differenceWith
282
- } from "./chunk-6NVQAHXP.mjs";
281
+ after
282
+ } from "./chunk-OGZMEWPR.mjs";
283
+ import {
284
+ debounce
285
+ } from "./chunk-MSHSKENG.mjs";
283
286
  import {
284
287
  __export
285
- } from "./chunk-24FKGR6U.mjs";
288
+ } from "./chunk-J5LGTIGS.mjs";
286
289
 
287
290
  // src/compat/index.ts
288
291
  var compat_exports = {};
@@ -334,6 +337,7 @@ __export(compat_exports, {
334
337
  isNotNil: () => isNotNil,
335
338
  isNull: () => isNull,
336
339
  isPlainObject: () => isPlainObject,
340
+ isPrimitive: () => isPrimitive,
337
341
  isTypedArray: () => isTypedArray2,
338
342
  isUndefined: () => isUndefined,
339
343
  kebabCase: () => kebabCase,
@@ -528,7 +532,7 @@ function get(object, path, defaultValue) {
528
532
  let resolvedPath;
529
533
  if (Array.isArray(path)) {
530
534
  resolvedPath = path;
531
- } else if (typeof path === "string" && isDeepKey(path) && (object == null ? void 0 : object[path]) == null) {
535
+ } else if (typeof path === "string" && isDeepKey(path) && object?.[path] == null) {
532
536
  resolvedPath = toPath(path);
533
537
  } else {
534
538
  resolvedPath = [path];
@@ -548,12 +552,11 @@ function get(object, path, defaultValue) {
548
552
  if (current === null && index === resolvedPath.length) {
549
553
  return current;
550
554
  }
551
- return current != null ? current : defaultValue;
555
+ return current ?? defaultValue;
552
556
  }
553
557
 
554
558
  // src/compat/predicate/isPlainObject.ts
555
559
  function isPlainObject(object) {
556
- var _a;
557
560
  if (typeof object !== "object") {
558
561
  return false;
559
562
  }
@@ -568,7 +571,7 @@ function isPlainObject(object) {
568
571
  if (tag == null) {
569
572
  return false;
570
573
  }
571
- const isTagReadonly = !((_a = Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)) == null ? void 0 : _a.writable);
574
+ const isTagReadonly = !Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable;
572
575
  if (isTagReadonly) {
573
576
  return false;
574
577
  }
@@ -644,4 +647,4 @@ export {
644
647
  min,
645
648
  compat_exports
646
649
  };
647
- //# sourceMappingURL=chunk-YNJH6GEG.mjs.map
650
+ //# sourceMappingURL=chunk-EEHJ656S.mjs.map