es-toolkit 1.12.0-dev.285 → 1.12.0-dev.287
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.
- package/dist/array/chunk.mjs +1 -1
- package/dist/array/compact.mjs +1 -1
- package/dist/array/countBy.mjs +1 -1
- package/dist/array/difference.mjs +1 -1
- package/dist/array/differenceBy.mjs +1 -1
- package/dist/array/differenceWith.mjs +1 -1
- package/dist/array/drop.mjs +1 -1
- package/dist/array/dropRight.mjs +1 -1
- package/dist/array/dropRightWhile.mjs +1 -1
- package/dist/array/dropWhile.mjs +1 -1
- package/dist/array/fill.mjs +1 -1
- package/dist/array/flatMap.mjs +1 -1
- package/dist/array/flatten.mjs +1 -1
- package/dist/array/flattenDeep.mjs +1 -1
- package/dist/array/forEachRight.mjs +1 -1
- package/dist/array/groupBy.mjs +1 -1
- package/dist/array/head.mjs +1 -1
- package/dist/array/index.mjs +20 -20
- package/dist/array/initial.mjs +1 -1
- package/dist/array/intersection.mjs +1 -1
- package/dist/array/intersectionBy.mjs +1 -1
- package/dist/array/intersectionWith.mjs +1 -1
- package/dist/array/keyBy.mjs +1 -1
- package/dist/array/last.mjs +1 -1
- package/dist/array/maxBy.mjs +1 -1
- package/dist/array/minBy.mjs +1 -1
- package/dist/array/orderBy.mjs +1 -1
- package/dist/array/partition.mjs +1 -1
- package/dist/array/sample.mjs +1 -1
- package/dist/array/sampleSize.mjs +1 -1
- package/dist/array/shuffle.mjs +1 -1
- package/dist/array/tail.mjs +1 -1
- package/dist/array/take.mjs +1 -1
- package/dist/array/takeRight.mjs +1 -1
- package/dist/array/takeRightWhile.mjs +1 -1
- package/dist/array/takeWhile.mjs +1 -1
- package/dist/array/toFilled.mjs +1 -1
- package/dist/array/union.mjs +1 -1
- package/dist/array/unionBy.mjs +1 -1
- package/dist/array/unionWith.mjs +1 -1
- package/dist/array/uniq.mjs +1 -1
- package/dist/array/uniqBy.mjs +1 -1
- package/dist/array/uniqWith.mjs +1 -1
- package/dist/array/unzip.mjs +1 -1
- package/dist/array/unzipWith.mjs +1 -1
- package/dist/array/without.mjs +1 -1
- package/dist/array/xor.mjs +1 -1
- package/dist/array/xorBy.mjs +1 -1
- package/dist/array/xorWith.mjs +1 -1
- package/dist/array/zip.mjs +1 -1
- package/dist/array/zipObject.mjs +1 -1
- package/dist/array/zipWith.mjs +1 -1
- package/dist/browser.d.mts +2 -0
- package/dist/browser.d.ts +2 -0
- package/dist/browser.js +1102 -0
- package/dist/browser.js.map +1 -0
- package/dist/browser.mjs +107 -0
- package/dist/browser.mjs.map +1 -0
- package/dist/{chunk-424M7IR7.mjs → chunk-24FKGR6U.mjs} +6 -1
- package/dist/{chunk-J3GE7DEU.mjs → chunk-CVVZHOJX.mjs} +2 -2
- package/dist/chunk-GP2O5UBG.mjs +369 -0
- package/dist/chunk-GP2O5UBG.mjs.map +1 -0
- package/dist/{chunk-XWPCDIFC.mjs → chunk-IIDZ3KAJ.mjs} +3 -3
- package/dist/{chunk-U7V3G7CR.mjs → chunk-WFZXCGEG.mjs} +2 -2
- package/dist/compat/index.mjs +60 -60
- package/dist/error/AbortError.mjs +1 -1
- package/dist/error/TimeoutError.mjs +1 -1
- package/dist/error/index.mjs +1 -1
- package/dist/function/debounce.mjs +1 -1
- package/dist/function/index.mjs +4 -4
- package/dist/function/negate.mjs +1 -1
- package/dist/function/noop.mjs +1 -1
- package/dist/function/once.mjs +1 -1
- package/dist/function/throttle.mjs +1 -1
- package/dist/index.mjs +60 -60
- package/dist/math/clamp.mjs +1 -1
- package/dist/math/inRange.mjs +1 -1
- package/dist/math/index.mjs +7 -7
- package/dist/math/mean.mjs +1 -1
- package/dist/math/meanBy.mjs +1 -1
- package/dist/math/random.mjs +1 -1
- package/dist/math/randomInt.mjs +1 -1
- package/dist/math/range.mjs +1 -1
- package/dist/math/round.mjs +1 -1
- package/dist/math/sum.mjs +1 -1
- package/dist/math/sumBy.mjs +1 -1
- package/dist/object/clone.mjs +1 -1
- package/dist/object/flattenObject.mjs +1 -1
- package/dist/object/index.mjs +5 -5
- package/dist/object/invert.mjs +1 -1
- package/dist/object/omit.mjs +2 -2
- package/dist/object/omitBy.mjs +1 -1
- package/dist/object/pick.mjs +1 -1
- package/dist/object/pickBy.mjs +1 -1
- package/dist/predicate/index.mjs +1 -1
- package/dist/predicate/isEqual.mjs +1 -1
- package/dist/predicate/isNil.mjs +1 -1
- package/dist/predicate/isNotNil.mjs +1 -1
- package/dist/predicate/isNull.mjs +1 -1
- package/dist/predicate/isPlainObject.mjs +1 -1
- package/dist/predicate/isUndefined.mjs +1 -1
- package/dist/promise/delay.mjs +1 -1
- package/dist/promise/index.mjs +3 -3
- package/dist/promise/timeout.mjs +2 -2
- package/dist/promise/withTimeout.mjs +3 -3
- package/dist/string/camelCase.mjs +1 -1
- package/dist/string/capitalize.mjs +1 -1
- package/dist/string/index.mjs +1 -1
- package/dist/string/kebabCase.mjs +1 -1
- package/dist/string/lowerCase.mjs +1 -1
- package/dist/string/snakeCase.mjs +1 -1
- package/dist/string/startCase.mjs +1 -1
- package/package.json +3 -1
- package/umd/browser.global.js +2 -0
- package/dist/chunk-NKLIE2OI.mjs +0 -1
- package/dist/chunk-NKLIE2OI.mjs.map +0 -1
- /package/dist/{chunk-424M7IR7.mjs.map → chunk-24FKGR6U.mjs.map} +0 -0
- /package/dist/{chunk-J3GE7DEU.mjs.map → chunk-CVVZHOJX.mjs.map} +0 -0
- /package/dist/{chunk-XWPCDIFC.mjs.map → chunk-IIDZ3KAJ.mjs.map} +0 -0
- /package/dist/{chunk-U7V3G7CR.mjs.map → chunk-WFZXCGEG.mjs.map} +0 -0
package/dist/array/chunk.mjs
CHANGED
package/dist/array/compact.mjs
CHANGED
package/dist/array/countBy.mjs
CHANGED
package/dist/array/drop.mjs
CHANGED
package/dist/array/dropRight.mjs
CHANGED
package/dist/array/dropWhile.mjs
CHANGED
package/dist/array/fill.mjs
CHANGED
package/dist/array/flatMap.mjs
CHANGED
package/dist/array/flatten.mjs
CHANGED
package/dist/array/groupBy.mjs
CHANGED
package/dist/array/head.mjs
CHANGED
package/dist/array/index.mjs
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import "../chunk-DDH7K4QM.mjs";
|
|
2
|
-
import {
|
|
3
|
-
zipWith
|
|
4
|
-
} from "../chunk-4KYXHZ4R.mjs";
|
|
5
|
-
import {
|
|
6
|
-
unzip
|
|
7
|
-
} from "../chunk-UYZKMBDO.mjs";
|
|
8
2
|
import {
|
|
9
3
|
unzipWith
|
|
10
4
|
} from "../chunk-IFNXROZR.mjs";
|
|
@@ -27,8 +21,8 @@ import {
|
|
|
27
21
|
zipObject
|
|
28
22
|
} from "../chunk-6GWEY5EL.mjs";
|
|
29
23
|
import {
|
|
30
|
-
|
|
31
|
-
} from "../chunk-
|
|
24
|
+
zipWith
|
|
25
|
+
} from "../chunk-4KYXHZ4R.mjs";
|
|
32
26
|
import {
|
|
33
27
|
toFilled
|
|
34
28
|
} from "../chunk-OP4OAKQJ.mjs";
|
|
@@ -51,8 +45,8 @@ import {
|
|
|
51
45
|
uniqWith
|
|
52
46
|
} from "../chunk-237HGSZS.mjs";
|
|
53
47
|
import {
|
|
54
|
-
|
|
55
|
-
} from "../chunk-
|
|
48
|
+
unzip
|
|
49
|
+
} from "../chunk-UYZKMBDO.mjs";
|
|
56
50
|
import {
|
|
57
51
|
sample
|
|
58
52
|
} from "../chunk-2KNLZB7V.mjs";
|
|
@@ -77,8 +71,8 @@ import {
|
|
|
77
71
|
takeRightWhile
|
|
78
72
|
} from "../chunk-NTLX2MPV.mjs";
|
|
79
73
|
import {
|
|
80
|
-
|
|
81
|
-
} from "../chunk-
|
|
74
|
+
takeWhile
|
|
75
|
+
} from "../chunk-2IXFGSUA.mjs";
|
|
82
76
|
import {
|
|
83
77
|
intersectionBy
|
|
84
78
|
} from "../chunk-O6UXZR3U.mjs";
|
|
@@ -101,14 +95,11 @@ import {
|
|
|
101
95
|
orderBy
|
|
102
96
|
} from "../chunk-7B7W36UP.mjs";
|
|
103
97
|
import {
|
|
104
|
-
|
|
105
|
-
} from "../chunk-
|
|
98
|
+
partition
|
|
99
|
+
} from "../chunk-DN3NOZ3H.mjs";
|
|
106
100
|
import {
|
|
107
101
|
flattenDeep
|
|
108
102
|
} from "../chunk-ML727RRJ.mjs";
|
|
109
|
-
import {
|
|
110
|
-
flatten
|
|
111
|
-
} from "../chunk-33MSBDC6.mjs";
|
|
112
103
|
import {
|
|
113
104
|
forEachRight
|
|
114
105
|
} from "../chunk-IEA53J7P.mjs";
|
|
@@ -122,8 +113,8 @@ import {
|
|
|
122
113
|
initial
|
|
123
114
|
} from "../chunk-XPSOKBRZ.mjs";
|
|
124
115
|
import {
|
|
125
|
-
|
|
126
|
-
} from "../chunk-
|
|
116
|
+
intersection
|
|
117
|
+
} from "../chunk-FVVSE2F2.mjs";
|
|
127
118
|
import {
|
|
128
119
|
differenceBy
|
|
129
120
|
} from "../chunk-LVWX5B43.mjs";
|
|
@@ -145,6 +136,12 @@ import {
|
|
|
145
136
|
import {
|
|
146
137
|
fill
|
|
147
138
|
} from "../chunk-YFN6KOC4.mjs";
|
|
139
|
+
import {
|
|
140
|
+
flatMap
|
|
141
|
+
} from "../chunk-UY76KTPE.mjs";
|
|
142
|
+
import {
|
|
143
|
+
flatten
|
|
144
|
+
} from "../chunk-33MSBDC6.mjs";
|
|
148
145
|
import {
|
|
149
146
|
chunk
|
|
150
147
|
} from "../chunk-E6C5EZQA.mjs";
|
|
@@ -154,7 +151,10 @@ import {
|
|
|
154
151
|
import {
|
|
155
152
|
countBy
|
|
156
153
|
} from "../chunk-CRSKT4WW.mjs";
|
|
157
|
-
import
|
|
154
|
+
import {
|
|
155
|
+
difference
|
|
156
|
+
} from "../chunk-JPUKH67K.mjs";
|
|
157
|
+
import "../chunk-24FKGR6U.mjs";
|
|
158
158
|
export {
|
|
159
159
|
chunk,
|
|
160
160
|
compact,
|
package/dist/array/initial.mjs
CHANGED
package/dist/array/keyBy.mjs
CHANGED
package/dist/array/last.mjs
CHANGED
package/dist/array/maxBy.mjs
CHANGED
package/dist/array/minBy.mjs
CHANGED
package/dist/array/orderBy.mjs
CHANGED
package/dist/array/partition.mjs
CHANGED
package/dist/array/sample.mjs
CHANGED
package/dist/array/shuffle.mjs
CHANGED
package/dist/array/tail.mjs
CHANGED
package/dist/array/take.mjs
CHANGED
package/dist/array/takeRight.mjs
CHANGED
package/dist/array/takeWhile.mjs
CHANGED
package/dist/array/toFilled.mjs
CHANGED
package/dist/array/union.mjs
CHANGED
package/dist/array/unionBy.mjs
CHANGED
package/dist/array/unionWith.mjs
CHANGED
package/dist/array/uniq.mjs
CHANGED
package/dist/array/uniqBy.mjs
CHANGED
package/dist/array/uniqWith.mjs
CHANGED
package/dist/array/unzip.mjs
CHANGED
package/dist/array/unzipWith.mjs
CHANGED
package/dist/array/without.mjs
CHANGED
package/dist/array/xor.mjs
CHANGED
package/dist/array/xorBy.mjs
CHANGED
package/dist/array/xorWith.mjs
CHANGED
package/dist/array/zip.mjs
CHANGED
package/dist/array/zipObject.mjs
CHANGED
package/dist/array/zipWith.mjs
CHANGED