es-toolkit 1.46.1 → 1.47.0-dev.1821
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/CHANGELOG.md +17 -0
- package/dist/_internal/DOMException.d.mts +4 -3
- package/dist/_internal/DOMException.d.ts +4 -3
- package/dist/_internal/DOMException.js +4 -10
- package/dist/_internal/DOMException.mjs +4 -6
- package/dist/_internal/compareValues.js +5 -12
- package/dist/_internal/compareValues.mjs +5 -8
- package/dist/_internal/globalThis.d.mts +3 -2
- package/dist/_internal/globalThis.d.ts +3 -2
- package/dist/_internal/globalThis.js +6 -14
- package/dist/_internal/globalThis.mjs +6 -10
- package/dist/_internal/isEqualsSameValueZero.d.mts +3 -2
- package/dist/_internal/isEqualsSameValueZero.d.ts +3 -2
- package/dist/_internal/isEqualsSameValueZero.js +16 -6
- package/dist/_internal/isEqualsSameValueZero.mjs +16 -2
- package/dist/_internal/isUnsafeProperty.js +13 -6
- package/dist/_internal/isUnsafeProperty.mjs +13 -2
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/_virtual/_rolldown/runtime.mjs +13 -0
- package/dist/array/at.d.mts +3 -2
- package/dist/array/at.d.ts +3 -2
- package/dist/array/at.js +26 -16
- package/dist/array/at.mjs +26 -12
- package/dist/array/cartesianProduct.d.mts +75 -0
- package/dist/array/cartesianProduct.d.ts +75 -0
- package/dist/array/cartesianProduct.js +23 -0
- package/dist/array/cartesianProduct.mjs +23 -0
- package/dist/array/chunk.d.mts +3 -2
- package/dist/array/chunk.d.ts +3 -2
- package/dist/array/chunk.js +34 -16
- package/dist/array/chunk.mjs +34 -12
- package/dist/array/combinations.d.mts +35 -0
- package/dist/array/combinations.d.ts +35 -0
- package/dist/array/combinations.js +53 -0
- package/dist/array/combinations.mjs +53 -0
- package/dist/array/compact.d.mts +3 -2
- package/dist/array/compact.d.ts +3 -2
- package/dist/array/compact.js +19 -13
- package/dist/array/compact.mjs +19 -9
- package/dist/array/countBy.d.mts +3 -2
- package/dist/array/countBy.d.ts +3 -2
- package/dist/array/countBy.js +42 -12
- package/dist/array/countBy.mjs +42 -8
- package/dist/array/difference.d.mts +3 -2
- package/dist/array/difference.d.ts +3 -2
- package/dist/array/difference.js +26 -7
- package/dist/array/difference.mjs +26 -3
- package/dist/array/differenceBy.d.mts +3 -2
- package/dist/array/differenceBy.d.ts +3 -2
- package/dist/array/differenceBy.js +38 -9
- package/dist/array/differenceBy.mjs +38 -5
- package/dist/array/differenceWith.d.mts +3 -2
- package/dist/array/differenceWith.d.ts +3 -2
- package/dist/array/differenceWith.js +35 -10
- package/dist/array/differenceWith.mjs +35 -6
- package/dist/array/drop.d.mts +3 -2
- package/dist/array/drop.d.ts +3 -2
- package/dist/array/drop.js +20 -7
- package/dist/array/drop.mjs +20 -3
- package/dist/array/dropRight.d.mts +3 -2
- package/dist/array/dropRight.d.ts +3 -2
- package/dist/array/dropRight.js +21 -10
- package/dist/array/dropRight.mjs +21 -6
- package/dist/array/dropRightWhile.d.mts +3 -2
- package/dist/array/dropRightWhile.d.ts +3 -2
- package/dist/array/dropRightWhile.js +22 -11
- package/dist/array/dropRightWhile.mjs +22 -7
- package/dist/array/dropWhile.d.mts +3 -2
- package/dist/array/dropWhile.d.ts +3 -2
- package/dist/array/dropWhile.js +23 -10
- package/dist/array/dropWhile.mjs +23 -6
- package/dist/array/fill.d.mts +3 -2
- package/dist/array/fill.d.ts +3 -2
- package/dist/array/fill.js +35 -12
- package/dist/array/fill.mjs +35 -8
- package/dist/array/filterAsync.d.mts +4 -3
- package/dist/array/filterAsync.d.ts +4 -3
- package/dist/array/filterAsync.js +35 -12
- package/dist/array/filterAsync.mjs +35 -8
- package/dist/array/flatMap.d.mts +3 -2
- package/dist/array/flatMap.d.ts +3 -2
- package/dist/array/flatMap.js +24 -8
- package/dist/array/flatMap.mjs +24 -4
- package/dist/array/flatMapAsync.d.mts +4 -3
- package/dist/array/flatMapAsync.d.ts +4 -3
- package/dist/array/flatMapAsync.js +38 -13
- package/dist/array/flatMapAsync.mjs +37 -9
- package/dist/array/flatMapDeep.d.mts +4 -3
- package/dist/array/flatMapDeep.d.ts +4 -3
- package/dist/array/flatMapDeep.js +17 -8
- package/dist/array/flatMapDeep.mjs +17 -4
- package/dist/array/flatten.d.mts +3 -2
- package/dist/array/flatten.d.ts +3 -2
- package/dist/array/flatten.js +29 -20
- package/dist/array/flatten.mjs +29 -16
- package/dist/array/flattenDeep.d.mts +3 -2
- package/dist/array/flattenDeep.d.ts +3 -2
- package/dist/array/flattenDeep.js +15 -8
- package/dist/array/flattenDeep.mjs +15 -4
- package/dist/array/forEachAsync.d.mts +4 -3
- package/dist/array/forEachAsync.d.ts +4 -3
- package/dist/array/forEachAsync.js +34 -11
- package/dist/array/forEachAsync.mjs +34 -7
- package/dist/array/forEachRight.d.mts +3 -2
- package/dist/array/forEachRight.d.ts +3 -2
- package/dist/array/forEachRight.js +28 -9
- package/dist/array/forEachRight.mjs +28 -5
- package/dist/array/groupBy.d.mts +3 -2
- package/dist/array/groupBy.d.ts +3 -2
- package/dist/array/groupBy.js +48 -15
- package/dist/array/groupBy.mjs +48 -11
- package/dist/array/head.d.mts +3 -2
- package/dist/array/head.d.ts +3 -2
- package/dist/array/head.js +18 -6
- package/dist/array/head.mjs +18 -2
- package/dist/array/index.d.mts +69 -66
- package/dist/array/index.d.ts +69 -66
- package/dist/array/index.js +137 -139
- package/dist/array/index.mjs +69 -66
- package/dist/array/initial.d.mts +3 -2
- package/dist/array/initial.d.ts +3 -2
- package/dist/array/initial.js +16 -6
- package/dist/array/initial.mjs +16 -2
- package/dist/array/intersection.d.mts +3 -2
- package/dist/array/intersection.d.ts +3 -2
- package/dist/array/intersection.js +22 -7
- package/dist/array/intersection.mjs +22 -3
- package/dist/array/intersectionBy.d.mts +3 -2
- package/dist/array/intersectionBy.d.ts +3 -2
- package/dist/array/intersectionBy.js +46 -16
- package/dist/array/intersectionBy.mjs +46 -12
- package/dist/array/intersectionWith.d.mts +3 -2
- package/dist/array/intersectionWith.d.ts +3 -2
- package/dist/array/intersectionWith.js +41 -10
- package/dist/array/intersectionWith.mjs +41 -6
- package/dist/array/isSubset.d.mts +3 -2
- package/dist/array/isSubset.d.ts +3 -2
- package/dist/array/isSubset.js +27 -8
- package/dist/array/isSubset.mjs +27 -4
- package/dist/array/isSubsetWith.d.mts +3 -2
- package/dist/array/isSubsetWith.d.ts +3 -2
- package/dist/array/isSubsetWith.js +34 -8
- package/dist/array/isSubsetWith.mjs +34 -4
- package/dist/array/keyBy.d.mts +3 -2
- package/dist/array/keyBy.d.ts +3 -2
- package/dist/array/keyBy.js +42 -12
- package/dist/array/keyBy.mjs +42 -8
- package/dist/array/last.d.mts +3 -2
- package/dist/array/last.d.ts +3 -2
- package/dist/array/last.js +25 -6
- package/dist/array/last.mjs +25 -2
- package/dist/array/limitAsync.d.mts +3 -2
- package/dist/array/limitAsync.d.ts +3 -2
- package/dist/array/limitAsync.js +43 -17
- package/dist/array/limitAsync.mjs +43 -13
- package/dist/array/mapAsync.d.mts +4 -3
- package/dist/array/mapAsync.d.ts +4 -3
- package/dist/array/mapAsync.js +33 -11
- package/dist/array/mapAsync.mjs +33 -7
- package/dist/array/maxBy.d.mts +3 -2
- package/dist/array/maxBy.d.ts +3 -2
- package/dist/array/maxBy.js +35 -19
- package/dist/array/maxBy.mjs +35 -15
- package/dist/array/minBy.d.mts +3 -2
- package/dist/array/minBy.d.ts +3 -2
- package/dist/array/minBy.js +35 -19
- package/dist/array/minBy.mjs +35 -15
- package/dist/array/orderBy.d.mts +3 -2
- package/dist/array/orderBy.d.ts +3 -2
- package/dist/array/orderBy.js +50 -22
- package/dist/array/orderBy.mjs +48 -18
- package/dist/array/partition.d.mts +3 -2
- package/dist/array/partition.d.ts +3 -2
- package/dist/array/partition.js +10 -17
- package/dist/array/partition.mjs +10 -13
- package/dist/array/pull.d.mts +3 -2
- package/dist/array/pull.d.ts +3 -2
- package/dist/array/pull.js +30 -19
- package/dist/array/pull.mjs +30 -15
- package/dist/array/pullAt.d.mts +3 -2
- package/dist/array/pullAt.d.ts +3 -2
- package/dist/array/pullAt.js +23 -13
- package/dist/array/pullAt.mjs +23 -9
- package/dist/array/reduceAsync.d.mts +3 -2
- package/dist/array/reduceAsync.d.ts +3 -2
- package/dist/array/reduceAsync.js +10 -15
- package/dist/array/reduceAsync.mjs +10 -11
- package/dist/array/remove.d.mts +3 -2
- package/dist/array/remove.d.ts +3 -2
- package/dist/array/remove.js +34 -21
- package/dist/array/remove.mjs +34 -17
- package/dist/array/sample.d.mts +3 -2
- package/dist/array/sample.d.ts +3 -2
- package/dist/array/sample.js +17 -7
- package/dist/array/sample.mjs +17 -3
- package/dist/array/sampleSize.d.mts +3 -2
- package/dist/array/sampleSize.d.ts +3 -2
- package/dist/array/sampleSize.js +31 -21
- package/dist/array/sampleSize.mjs +31 -17
- package/dist/array/shuffle.d.mts +3 -2
- package/dist/array/shuffle.d.ts +3 -2
- package/dist/array/shuffle.js +25 -11
- package/dist/array/shuffle.mjs +25 -7
- package/dist/array/sortBy.d.mts +3 -2
- package/dist/array/sortBy.d.ts +3 -2
- package/dist/array/sortBy.js +36 -8
- package/dist/array/sortBy.mjs +36 -4
- package/dist/array/tail.d.mts +3 -2
- package/dist/array/tail.d.ts +3 -2
- package/dist/array/tail.js +27 -6
- package/dist/array/tail.mjs +27 -2
- package/dist/array/take.d.mts +3 -2
- package/dist/array/take.d.ts +3 -2
- package/dist/array/take.js +33 -9
- package/dist/array/take.mjs +33 -5
- package/dist/array/takeRight.d.mts +3 -2
- package/dist/array/takeRight.d.ts +3 -2
- package/dist/array/takeRight.js +27 -12
- package/dist/array/takeRight.mjs +27 -8
- package/dist/array/takeRightWhile.d.mts +3 -2
- package/dist/array/takeRightWhile.d.ts +3 -2
- package/dist/array/takeRightWhile.js +26 -11
- package/dist/array/takeRightWhile.mjs +26 -7
- package/dist/array/takeWhile.d.mts +3 -2
- package/dist/array/takeWhile.d.ts +3 -2
- package/dist/array/takeWhile.js +32 -14
- package/dist/array/takeWhile.mjs +32 -10
- package/dist/array/toFilled.d.mts +3 -2
- package/dist/array/toFilled.d.ts +3 -2
- package/dist/array/toFilled.js +20 -13
- package/dist/array/toFilled.mjs +20 -9
- package/dist/array/union.d.mts +3 -2
- package/dist/array/union.d.ts +3 -2
- package/dist/array/union.js +21 -8
- package/dist/array/union.mjs +21 -4
- package/dist/array/unionBy.d.mts +3 -2
- package/dist/array/unionBy.d.ts +3 -2
- package/dist/array/unionBy.js +26 -8
- package/dist/array/unionBy.mjs +26 -4
- package/dist/array/unionWith.d.mts +3 -2
- package/dist/array/unionWith.d.ts +3 -2
- package/dist/array/unionWith.js +24 -8
- package/dist/array/unionWith.mjs +24 -4
- package/dist/array/uniq.d.mts +3 -2
- package/dist/array/uniq.d.ts +3 -2
- package/dist/array/uniq.js +18 -6
- package/dist/array/uniq.mjs +18 -2
- package/dist/array/uniqBy.d.mts +3 -2
- package/dist/array/uniqBy.d.ts +3 -2
- package/dist/array/uniqBy.js +37 -14
- package/dist/array/uniqBy.mjs +37 -10
- package/dist/array/uniqWith.d.mts +3 -2
- package/dist/array/uniqWith.d.ts +3 -2
- package/dist/array/uniqWith.js +23 -14
- package/dist/array/uniqWith.mjs +23 -10
- package/dist/array/unzip.d.mts +4 -5
- package/dist/array/unzip.d.ts +4 -5
- package/dist/array/unzip.js +23 -19
- package/dist/array/unzip.mjs +23 -15
- package/dist/array/unzipWith.d.mts +3 -2
- package/dist/array/unzipWith.d.ts +3 -2
- package/dist/array/unzipWith.js +24 -15
- package/dist/array/unzipWith.mjs +24 -11
- package/dist/array/windowed.d.mts +15 -12
- package/dist/array/windowed.d.ts +15 -12
- package/dist/array/windowed.js +38 -17
- package/dist/array/windowed.mjs +38 -13
- package/dist/array/without.d.mts +3 -2
- package/dist/array/without.d.ts +3 -2
- package/dist/array/without.js +24 -8
- package/dist/array/without.mjs +24 -4
- package/dist/array/xor.d.mts +3 -2
- package/dist/array/xor.d.ts +3 -2
- package/dist/array/xor.js +23 -10
- package/dist/array/xor.mjs +23 -6
- package/dist/array/xorBy.d.mts +3 -2
- package/dist/array/xorBy.d.ts +3 -2
- package/dist/array/xorBy.js +27 -12
- package/dist/array/xorBy.mjs +25 -8
- package/dist/array/xorWith.d.mts +3 -2
- package/dist/array/xorWith.d.ts +3 -2
- package/dist/array/xorWith.js +26 -12
- package/dist/array/xorWith.mjs +24 -8
- package/dist/array/zip.d.mts +3 -2
- package/dist/array/zip.d.ts +3 -2
- package/dist/array/zip.js +31 -21
- package/dist/array/zip.mjs +31 -17
- package/dist/array/zipObject.d.mts +3 -2
- package/dist/array/zipObject.d.ts +3 -2
- package/dist/array/zipObject.js +35 -10
- package/dist/array/zipObject.mjs +35 -6
- package/dist/array/zipWith.d.mts +3 -2
- package/dist/array/zipWith.d.ts +3 -2
- package/dist/array/zipWith.js +29 -14
- package/dist/array/zipWith.mjs +29 -10
- package/dist/browser.global.js +8 -1
- package/dist/compat/_internal/ArrayIterator.d.mts +3 -2
- package/dist/compat/_internal/ArrayIterator.d.ts +3 -2
- package/dist/compat/_internal/ConformsPredicateObject.d.mts +4 -5
- package/dist/compat/_internal/ConformsPredicateObject.d.ts +4 -5
- package/dist/compat/_internal/EmptyObjectOf.d.mts +4 -5
- package/dist/compat/_internal/EmptyObjectOf.d.ts +4 -5
- package/dist/compat/_internal/Equals.d.mts +4 -0
- package/dist/compat/_internal/Equals.d.ts +4 -0
- package/dist/compat/_internal/GetFieldType.d.mts +3 -2
- package/dist/compat/_internal/GetFieldType.d.ts +3 -2
- package/dist/compat/_internal/IsEqualCustomizer.d.mts +3 -2
- package/dist/compat/_internal/IsEqualCustomizer.d.ts +3 -2
- package/dist/compat/_internal/IsMatchWithCustomizer.d.mts +3 -2
- package/dist/compat/_internal/IsMatchWithCustomizer.d.ts +3 -2
- package/dist/compat/_internal/IsWritable.d.mts +6 -0
- package/dist/compat/_internal/IsWritable.d.ts +6 -0
- package/dist/compat/_internal/IterateeShorthand.d.mts +4 -3
- package/dist/compat/_internal/IterateeShorthand.d.ts +4 -3
- package/dist/compat/_internal/ListIteratee.d.mts +4 -3
- package/dist/compat/_internal/ListIteratee.d.ts +4 -3
- package/dist/compat/_internal/ListIterateeCustom.d.mts +4 -3
- package/dist/compat/_internal/ListIterateeCustom.d.ts +4 -3
- package/dist/compat/_internal/ListIterator.d.mts +3 -2
- package/dist/compat/_internal/ListIterator.d.ts +3 -2
- package/dist/compat/_internal/ListIteratorTypeGuard.d.mts +3 -2
- package/dist/compat/_internal/ListIteratorTypeGuard.d.ts +3 -2
- package/dist/compat/_internal/ListOfRecursiveArraysOrValues.d.mts +5 -5
- package/dist/compat/_internal/ListOfRecursiveArraysOrValues.d.ts +5 -5
- package/dist/compat/_internal/MAX_ARRAY_LENGTH.js +3 -6
- package/dist/compat/_internal/MAX_ARRAY_LENGTH.mjs +3 -2
- package/dist/compat/_internal/MAX_SAFE_INTEGER.js +2 -5
- package/dist/compat/_internal/MAX_SAFE_INTEGER.mjs +2 -1
- package/dist/compat/_internal/Many.d.mts +3 -2
- package/dist/compat/_internal/Many.d.ts +3 -2
- package/dist/compat/_internal/MemoListIterator.d.mts +3 -2
- package/dist/compat/_internal/MemoListIterator.d.ts +3 -2
- package/dist/compat/_internal/MemoObjectIterator.d.mts +3 -2
- package/dist/compat/_internal/MemoObjectIterator.d.ts +3 -2
- package/dist/compat/_internal/MutableList.d.mts +7 -0
- package/dist/compat/_internal/MutableList.d.ts +7 -0
- package/dist/compat/_internal/ObjectIteratee.d.mts +5 -4
- package/dist/compat/_internal/ObjectIteratee.d.ts +5 -4
- package/dist/compat/_internal/ObjectIterator.d.mts +3 -2
- package/dist/compat/_internal/ObjectIterator.d.ts +3 -2
- package/dist/compat/_internal/PartialShallow.d.mts +4 -5
- package/dist/compat/_internal/PartialShallow.d.ts +4 -5
- package/dist/compat/_internal/PropertyPath.d.mts +4 -3
- package/dist/compat/_internal/PropertyPath.d.ts +4 -3
- package/dist/compat/_internal/RecursiveArray.d.mts +4 -4
- package/dist/compat/_internal/RecursiveArray.d.ts +4 -4
- package/dist/compat/_internal/RejectReadonly.d.mts +7 -0
- package/dist/compat/_internal/RejectReadonly.d.ts +7 -0
- package/dist/compat/_internal/StringIterator.d.mts +3 -2
- package/dist/compat/_internal/StringIterator.d.ts +3 -2
- package/dist/compat/_internal/TupleIterator.d.mts +3 -2
- package/dist/compat/_internal/TupleIterator.d.ts +3 -2
- package/dist/compat/_internal/ValueIteratee.d.mts +4 -3
- package/dist/compat/_internal/ValueIteratee.d.ts +4 -3
- package/dist/compat/_internal/ValueIterateeCustom.d.mts +4 -3
- package/dist/compat/_internal/ValueIterateeCustom.d.ts +4 -3
- package/dist/compat/_internal/ValueIteratorTypeGuard.d.mts +3 -2
- package/dist/compat/_internal/ValueIteratorTypeGuard.d.ts +3 -2
- package/dist/compat/_internal/ValueKeyIteratee.d.mts +4 -3
- package/dist/compat/_internal/ValueKeyIteratee.d.ts +4 -3
- package/dist/compat/_internal/ValueKeyIterateeTypeGuard.d.mts +3 -2
- package/dist/compat/_internal/ValueKeyIterateeTypeGuard.d.ts +3 -2
- package/dist/compat/_internal/assignValue.js +6 -11
- package/dist/compat/_internal/assignValue.mjs +6 -7
- package/dist/compat/_internal/compareValues.js +17 -32
- package/dist/compat/_internal/compareValues.mjs +17 -28
- package/dist/compat/_internal/copyArray.js +15 -12
- package/dist/compat/_internal/copyArray.mjs +14 -9
- package/dist/compat/_internal/decimalAdjust.js +13 -20
- package/dist/compat/_internal/decimalAdjust.mjs +13 -16
- package/dist/compat/_internal/flattenArrayLike.js +10 -18
- package/dist/compat/_internal/flattenArrayLike.mjs +10 -14
- package/dist/compat/_internal/getSymbols.js +3 -6
- package/dist/compat/_internal/getSymbols.mjs +3 -2
- package/dist/compat/_internal/getSymbolsIn.js +9 -13
- package/dist/compat/_internal/getSymbolsIn.mjs +9 -9
- package/dist/compat/_internal/getTag.js +11 -9
- package/dist/compat/_internal/getTag.mjs +11 -5
- package/dist/compat/_internal/isDeepKey.js +24 -14
- package/dist/compat/_internal/isDeepKey.mjs +24 -10
- package/dist/compat/_internal/isIndex.js +7 -16
- package/dist/compat/_internal/isIndex.mjs +7 -12
- package/dist/compat/_internal/isIterateeCall.js +10 -18
- package/dist/compat/_internal/isIterateeCall.mjs +10 -14
- package/dist/compat/_internal/isKey.js +21 -15
- package/dist/compat/_internal/isKey.mjs +21 -11
- package/dist/compat/_internal/isPrototype.js +4 -8
- package/dist/compat/_internal/isPrototype.mjs +4 -4
- package/dist/compat/_internal/mapToEntries.js +7 -12
- package/dist/compat/_internal/mapToEntries.mjs +7 -8
- package/dist/compat/_internal/normalizeForCase.js +5 -11
- package/dist/compat/_internal/normalizeForCase.mjs +5 -7
- package/dist/compat/_internal/setToEntries.js +9 -12
- package/dist/compat/_internal/setToEntries.mjs +9 -8
- package/dist/compat/_internal/tags.js +28 -31
- package/dist/compat/_internal/tags.mjs +28 -27
- package/dist/compat/_internal/toArray.js +3 -6
- package/dist/compat/_internal/toArray.mjs +3 -2
- package/dist/compat/_internal/toKey.js +12 -12
- package/dist/compat/_internal/toKey.mjs +12 -8
- package/dist/compat/array/castArray.d.mts +3 -2
- package/dist/compat/array/castArray.d.ts +3 -2
- package/dist/compat/array/castArray.js +30 -9
- package/dist/compat/array/castArray.mjs +30 -5
- package/dist/compat/array/chunk.d.mts +3 -2
- package/dist/compat/array/chunk.d.ts +3 -2
- package/dist/compat/array/chunk.js +30 -14
- package/dist/compat/array/chunk.mjs +30 -10
- package/dist/compat/array/compact.d.mts +3 -2
- package/dist/compat/array/compact.d.ts +3 -2
- package/dist/compat/array/compact.js +17 -12
- package/dist/compat/array/compact.mjs +17 -8
- package/dist/compat/array/concat.d.mts +3 -2
- package/dist/compat/array/concat.d.ts +3 -2
- package/dist/compat/array/concat.js +31 -8
- package/dist/compat/array/concat.mjs +31 -4
- package/dist/compat/array/countBy.d.mts +4 -3
- package/dist/compat/array/countBy.d.ts +4 -3
- package/dist/compat/array/countBy.js +14 -20
- package/dist/compat/array/countBy.mjs +14 -16
- package/dist/compat/array/difference.d.mts +3 -2
- package/dist/compat/array/difference.d.ts +3 -2
- package/dist/compat/array/difference.js +38 -21
- package/dist/compat/array/difference.mjs +38 -17
- package/dist/compat/array/differenceBy.d.mts +4 -3
- package/dist/compat/array/differenceBy.d.ts +4 -3
- package/dist/compat/array/differenceBy.js +21 -21
- package/dist/compat/array/differenceBy.mjs +21 -17
- package/dist/compat/array/differenceWith.d.mts +3 -2
- package/dist/compat/array/differenceWith.d.ts +3 -2
- package/dist/compat/array/differenceWith.js +39 -20
- package/dist/compat/array/differenceWith.mjs +39 -16
- package/dist/compat/array/drop.d.mts +3 -2
- package/dist/compat/array/drop.d.ts +3 -2
- package/dist/compat/array/drop.js +9 -15
- package/dist/compat/array/drop.mjs +9 -11
- package/dist/compat/array/dropRight.d.mts +3 -2
- package/dist/compat/array/dropRight.d.ts +3 -2
- package/dist/compat/array/dropRight.js +26 -15
- package/dist/compat/array/dropRight.mjs +26 -11
- package/dist/compat/array/dropRightWhile.d.mts +4 -3
- package/dist/compat/array/dropRightWhile.d.ts +4 -3
- package/dist/compat/array/dropRightWhile.js +40 -37
- package/dist/compat/array/dropRightWhile.mjs +39 -32
- package/dist/compat/array/dropWhile.d.mts +4 -3
- package/dist/compat/array/dropWhile.d.ts +4 -3
- package/dist/compat/array/dropWhile.js +46 -38
- package/dist/compat/array/dropWhile.mjs +45 -33
- package/dist/compat/array/each.d.mts +1 -0
- package/dist/compat/array/each.d.ts +1 -0
- package/dist/compat/array/each.js +1 -0
- package/dist/compat/array/each.mjs +1 -0
- package/dist/compat/array/eachRight.d.mts +1 -0
- package/dist/compat/array/eachRight.d.ts +1 -0
- package/dist/compat/array/eachRight.js +1 -0
- package/dist/compat/array/eachRight.mjs +1 -0
- package/dist/compat/array/every.d.mts +5 -4
- package/dist/compat/array/every.d.ts +5 -4
- package/dist/compat/array/every.js +55 -61
- package/dist/compat/array/every.mjs +55 -57
- package/dist/compat/array/fill.d.mts +5 -4
- package/dist/compat/array/fill.d.ts +5 -4
- package/dist/compat/array/fill.js +39 -24
- package/dist/compat/array/fill.mjs +39 -20
- package/dist/compat/array/filter.d.mts +8 -7
- package/dist/compat/array/filter.d.ts +8 -7
- package/dist/compat/array/filter.js +48 -36
- package/dist/compat/array/filter.mjs +47 -31
- package/dist/compat/array/find.d.mts +7 -6
- package/dist/compat/array/find.d.ts +7 -6
- package/dist/compat/array/find.js +33 -28
- package/dist/compat/array/find.mjs +32 -23
- package/dist/compat/array/findIndex.d.mts +4 -3
- package/dist/compat/array/findIndex.d.ts +4 -3
- package/dist/compat/array/findIndex.js +43 -42
- package/dist/compat/array/findIndex.mjs +42 -37
- package/dist/compat/array/findLast.d.mts +7 -6
- package/dist/compat/array/findLast.d.ts +7 -6
- package/dist/compat/array/findLast.js +37 -34
- package/dist/compat/array/findLast.mjs +36 -29
- package/dist/compat/array/findLastIndex.d.mts +4 -3
- package/dist/compat/array/findLastIndex.d.ts +4 -3
- package/dist/compat/array/findLastIndex.js +37 -42
- package/dist/compat/array/findLastIndex.mjs +36 -37
- package/dist/compat/array/first.d.mts +1 -0
- package/dist/compat/array/first.d.ts +1 -0
- package/dist/compat/array/first.js +1 -0
- package/dist/compat/array/first.mjs +1 -0
- package/dist/compat/array/flatMap.d.mts +6 -5
- package/dist/compat/array/flatMap.d.ts +6 -5
- package/dist/compat/array/flatMap.js +20 -14
- package/dist/compat/array/flatMap.mjs +19 -10
- package/dist/compat/array/flatMapDeep.d.mts +6 -5
- package/dist/compat/array/flatMapDeep.d.ts +6 -5
- package/dist/compat/array/flatMapDeep.js +16 -8
- package/dist/compat/array/flatMapDeep.mjs +16 -4
- package/dist/compat/array/flatMapDepth.d.mts +6 -5
- package/dist/compat/array/flatMapDepth.d.ts +6 -5
- package/dist/compat/array/flatMapDepth.js +24 -17
- package/dist/compat/array/flatMapDepth.mjs +21 -12
- package/dist/compat/array/flatten.d.mts +3 -2
- package/dist/compat/array/flatten.d.ts +3 -2
- package/dist/compat/array/flatten.js +16 -33
- package/dist/compat/array/flatten.mjs +16 -29
- package/dist/compat/array/flattenDeep.d.mts +4 -3
- package/dist/compat/array/flattenDeep.d.ts +4 -3
- package/dist/compat/array/flattenDeep.js +15 -8
- package/dist/compat/array/flattenDeep.mjs +15 -4
- package/dist/compat/array/flattenDepth.d.mts +4 -3
- package/dist/compat/array/flattenDepth.d.ts +4 -3
- package/dist/compat/array/flattenDepth.js +21 -8
- package/dist/compat/array/flattenDepth.mjs +21 -4
- package/dist/compat/array/forEach.d.mts +7 -6
- package/dist/compat/array/forEach.d.ts +7 -6
- package/dist/compat/array/forEach.js +32 -23
- package/dist/compat/array/forEach.mjs +31 -18
- package/dist/compat/array/forEachRight.d.mts +7 -6
- package/dist/compat/array/forEachRight.d.ts +7 -6
- package/dist/compat/array/forEachRight.js +32 -23
- package/dist/compat/array/forEachRight.mjs +31 -18
- package/dist/compat/array/groupBy.d.mts +4 -3
- package/dist/compat/array/groupBy.d.ts +4 -3
- package/dist/compat/array/groupBy.js +40 -16
- package/dist/compat/array/groupBy.mjs +38 -12
- package/dist/compat/array/head.d.mts +3 -2
- package/dist/compat/array/head.d.ts +3 -2
- package/dist/compat/array/head.js +22 -13
- package/dist/compat/array/head.mjs +22 -9
- package/dist/compat/array/includes.d.mts +3 -2
- package/dist/compat/array/includes.d.ts +3 -2
- package/dist/compat/array/includes.js +38 -41
- package/dist/compat/array/includes.mjs +35 -37
- package/dist/compat/array/indexOf.d.mts +3 -2
- package/dist/compat/array/indexOf.d.ts +3 -2
- package/dist/compat/array/indexOf.js +28 -23
- package/dist/compat/array/indexOf.mjs +28 -19
- package/dist/compat/array/initial.d.mts +3 -2
- package/dist/compat/array/initial.d.ts +3 -2
- package/dist/compat/array/initial.js +19 -12
- package/dist/compat/array/initial.mjs +19 -8
- package/dist/compat/array/intersection.d.mts +3 -2
- package/dist/compat/array/intersection.d.ts +3 -2
- package/dist/compat/array/intersection.js +31 -24
- package/dist/compat/array/intersection.mjs +31 -20
- package/dist/compat/array/intersectionBy.d.mts +4 -3
- package/dist/compat/array/intersectionBy.d.ts +4 -3
- package/dist/compat/array/intersectionBy.js +49 -37
- package/dist/compat/array/intersectionBy.mjs +49 -33
- package/dist/compat/array/intersectionWith.d.mts +3 -2
- package/dist/compat/array/intersectionWith.d.ts +3 -2
- package/dist/compat/array/intersectionWith.js +49 -41
- package/dist/compat/array/intersectionWith.mjs +49 -37
- package/dist/compat/array/invokeMap.d.mts +3 -2
- package/dist/compat/array/invokeMap.d.ts +3 -2
- package/dist/compat/array/invokeMap.js +41 -38
- package/dist/compat/array/invokeMap.mjs +38 -34
- package/dist/compat/array/join.d.mts +3 -2
- package/dist/compat/array/join.d.ts +3 -2
- package/dist/compat/array/join.js +17 -11
- package/dist/compat/array/join.mjs +17 -7
- package/dist/compat/array/keyBy.d.mts +4 -3
- package/dist/compat/array/keyBy.d.ts +4 -3
- package/dist/compat/array/keyBy.js +41 -20
- package/dist/compat/array/keyBy.mjs +41 -16
- package/dist/compat/array/last.d.mts +3 -2
- package/dist/compat/array/last.d.ts +3 -2
- package/dist/compat/array/last.js +29 -13
- package/dist/compat/array/last.mjs +29 -9
- package/dist/compat/array/lastIndexOf.d.mts +3 -2
- package/dist/compat/array/lastIndexOf.d.ts +3 -2
- package/dist/compat/array/lastIndexOf.js +11 -23
- package/dist/compat/array/lastIndexOf.mjs +11 -19
- package/dist/compat/array/map.d.mts +8 -9
- package/dist/compat/array/map.d.ts +8 -9
- package/dist/compat/array/map.js +16 -22
- package/dist/compat/array/map.mjs +16 -18
- package/dist/compat/array/nth.d.mts +3 -2
- package/dist/compat/array/nth.d.ts +3 -2
- package/dist/compat/array/nth.js +19 -16
- package/dist/compat/array/nth.mjs +19 -12
- package/dist/compat/array/orderBy.d.mts +9 -7
- package/dist/compat/array/orderBy.d.ts +9 -7
- package/dist/compat/array/orderBy.js +77 -79
- package/dist/compat/array/orderBy.mjs +77 -75
- package/dist/compat/array/partition.d.mts +5 -4
- package/dist/compat/array/partition.d.ts +5 -4
- package/dist/compat/array/partition.js +40 -27
- package/dist/compat/array/partition.mjs +39 -22
- package/dist/compat/array/pull.d.mts +3 -2
- package/dist/compat/array/pull.d.ts +3 -2
- package/dist/compat/array/pull.js +20 -8
- package/dist/compat/array/pull.mjs +20 -4
- package/dist/compat/array/pullAll.d.mts +5 -4
- package/dist/compat/array/pullAll.d.ts +5 -4
- package/dist/compat/array/pullAll.js +20 -8
- package/dist/compat/array/pullAll.mjs +20 -4
- package/dist/compat/array/pullAllBy.d.mts +6 -5
- package/dist/compat/array/pullAllBy.d.ts +6 -5
- package/dist/compat/array/pullAllBy.js +40 -23
- package/dist/compat/array/pullAllBy.mjs +40 -19
- package/dist/compat/array/pullAllWith.d.mts +5 -4
- package/dist/compat/array/pullAllWith.d.ts +5 -4
- package/dist/compat/array/pullAllWith.js +41 -34
- package/dist/compat/array/pullAllWith.mjs +41 -30
- package/dist/compat/array/pullAt.d.mts +6 -5
- package/dist/compat/array/pullAt.d.ts +6 -5
- package/dist/compat/array/pullAt.js +41 -35
- package/dist/compat/array/pullAt.mjs +40 -31
- package/dist/compat/array/reduce.d.mts +5 -4
- package/dist/compat/array/reduce.d.ts +5 -4
- package/dist/compat/array/reduce.js +51 -35
- package/dist/compat/array/reduce.mjs +50 -30
- package/dist/compat/array/reduceRight.d.mts +5 -4
- package/dist/compat/array/reduceRight.d.ts +5 -4
- package/dist/compat/array/reduceRight.js +51 -41
- package/dist/compat/array/reduceRight.mjs +50 -36
- package/dist/compat/array/reject.d.mts +6 -5
- package/dist/compat/array/reject.d.ts +6 -5
- package/dist/compat/array/reject.js +30 -12
- package/dist/compat/array/reject.mjs +29 -7
- package/dist/compat/array/remove.d.mts +6 -5
- package/dist/compat/array/remove.d.ts +6 -5
- package/dist/compat/array/remove.js +34 -11
- package/dist/compat/array/remove.mjs +33 -6
- package/dist/compat/array/reverse.d.mts +5 -4
- package/dist/compat/array/reverse.d.ts +5 -4
- package/dist/compat/array/reverse.js +25 -9
- package/dist/compat/array/reverse.mjs +25 -5
- package/dist/compat/array/sample.d.mts +3 -2
- package/dist/compat/array/sample.d.ts +3 -2
- package/dist/compat/array/sample.js +18 -16
- package/dist/compat/array/sample.mjs +18 -12
- package/dist/compat/array/sampleSize.d.mts +3 -2
- package/dist/compat/array/sampleSize.d.ts +3 -2
- package/dist/compat/array/sampleSize.js +28 -19
- package/dist/compat/array/sampleSize.mjs +28 -15
- package/dist/compat/array/shuffle.d.mts +3 -2
- package/dist/compat/array/shuffle.d.ts +3 -2
- package/dist/compat/array/shuffle.js +22 -25
- package/dist/compat/array/shuffle.mjs +22 -21
- package/dist/compat/array/size.d.mts +3 -2
- package/dist/compat/array/size.d.ts +3 -2
- package/dist/compat/array/size.js +6 -14
- package/dist/compat/array/size.mjs +6 -10
- package/dist/compat/array/slice.d.mts +3 -2
- package/dist/compat/array/slice.d.ts +3 -2
- package/dist/compat/array/slice.js +37 -40
- package/dist/compat/array/slice.mjs +37 -36
- package/dist/compat/array/some.d.mts +5 -4
- package/dist/compat/array/some.d.ts +5 -4
- package/dist/compat/array/some.js +87 -83
- package/dist/compat/array/some.mjs +87 -79
- package/dist/compat/array/sortBy.d.mts +6 -5
- package/dist/compat/array/sortBy.d.ts +6 -5
- package/dist/compat/array/sortBy.js +9 -17
- package/dist/compat/array/sortBy.mjs +9 -13
- package/dist/compat/array/sortedIndex.d.mts +3 -2
- package/dist/compat/array/sortedIndex.d.ts +3 -2
- package/dist/compat/array/sortedIndex.js +33 -32
- package/dist/compat/array/sortedIndex.mjs +33 -28
- package/dist/compat/array/sortedIndexBy.d.mts +4 -3
- package/dist/compat/array/sortedIndexBy.d.ts +4 -3
- package/dist/compat/array/sortedIndexBy.js +52 -61
- package/dist/compat/array/sortedIndexBy.mjs +51 -56
- package/dist/compat/array/sortedIndexOf.d.mts +3 -2
- package/dist/compat/array/sortedIndexOf.d.ts +3 -2
- package/dist/compat/array/sortedIndexOf.js +40 -16
- package/dist/compat/array/sortedIndexOf.mjs +40 -12
- package/dist/compat/array/sortedLastIndex.d.mts +3 -2
- package/dist/compat/array/sortedLastIndex.d.ts +3 -2
- package/dist/compat/array/sortedLastIndex.js +31 -32
- package/dist/compat/array/sortedLastIndex.mjs +31 -28
- package/dist/compat/array/sortedLastIndexBy.d.mts +4 -3
- package/dist/compat/array/sortedLastIndexBy.d.ts +4 -3
- package/dist/compat/array/sortedLastIndexBy.js +19 -8
- package/dist/compat/array/sortedLastIndexBy.mjs +19 -4
- package/dist/compat/array/sortedLastIndexOf.d.mts +3 -2
- package/dist/compat/array/sortedLastIndexOf.d.ts +3 -2
- package/dist/compat/array/sortedLastIndexOf.js +41 -16
- package/dist/compat/array/sortedLastIndexOf.mjs +41 -12
- package/dist/compat/array/tail.d.mts +3 -2
- package/dist/compat/array/tail.d.ts +3 -2
- package/dist/compat/array/tail.js +31 -13
- package/dist/compat/array/tail.mjs +31 -9
- package/dist/compat/array/take.d.mts +3 -2
- package/dist/compat/array/take.d.ts +3 -2
- package/dist/compat/array/take.js +32 -15
- package/dist/compat/array/take.mjs +32 -11
- package/dist/compat/array/takeRight.d.mts +3 -2
- package/dist/compat/array/takeRight.d.ts +3 -2
- package/dist/compat/array/takeRight.js +31 -15
- package/dist/compat/array/takeRight.mjs +31 -11
- package/dist/compat/array/takeRightWhile.d.mts +4 -3
- package/dist/compat/array/takeRightWhile.d.ts +4 -3
- package/dist/compat/array/takeRightWhile.js +56 -17
- package/dist/compat/array/takeRightWhile.mjs +56 -13
- package/dist/compat/array/takeWhile.d.mts +4 -3
- package/dist/compat/array/takeWhile.d.ts +4 -3
- package/dist/compat/array/takeWhile.js +56 -17
- package/dist/compat/array/takeWhile.mjs +56 -13
- package/dist/compat/array/union.d.mts +3 -2
- package/dist/compat/array/union.d.ts +3 -2
- package/dist/compat/array/union.js +35 -12
- package/dist/compat/array/union.mjs +33 -8
- package/dist/compat/array/unionBy.d.mts +4 -3
- package/dist/compat/array/unionBy.d.ts +4 -3
- package/dist/compat/array/unionBy.js +34 -19
- package/dist/compat/array/unionBy.mjs +34 -15
- package/dist/compat/array/unionWith.d.mts +3 -2
- package/dist/compat/array/unionWith.d.ts +3 -2
- package/dist/compat/array/unionWith.js +38 -17
- package/dist/compat/array/unionWith.mjs +38 -13
- package/dist/compat/array/uniq.d.mts +3 -2
- package/dist/compat/array/uniq.d.ts +3 -2
- package/dist/compat/array/uniq.js +21 -12
- package/dist/compat/array/uniq.mjs +21 -8
- package/dist/compat/array/uniqBy.d.mts +4 -3
- package/dist/compat/array/uniqBy.d.ts +4 -3
- package/dist/compat/array/uniqBy.js +10 -16
- package/dist/compat/array/uniqBy.mjs +9 -11
- package/dist/compat/array/uniqWith.d.mts +3 -2
- package/dist/compat/array/uniqWith.d.ts +3 -2
- package/dist/compat/array/uniqWith.js +31 -13
- package/dist/compat/array/uniqWith.mjs +31 -9
- package/dist/compat/array/unzip.d.mts +3 -2
- package/dist/compat/array/unzip.d.ts +3 -2
- package/dist/compat/array/unzip.js +22 -15
- package/dist/compat/array/unzip.mjs +22 -11
- package/dist/compat/array/unzipWith.d.mts +3 -2
- package/dist/compat/array/unzipWith.d.ts +3 -2
- package/dist/compat/array/unzipWith.js +30 -22
- package/dist/compat/array/unzipWith.mjs +30 -18
- package/dist/compat/array/without.d.mts +3 -2
- package/dist/compat/array/without.d.ts +3 -2
- package/dist/compat/array/without.js +26 -12
- package/dist/compat/array/without.mjs +26 -8
- package/dist/compat/array/xor.d.mts +3 -2
- package/dist/compat/array/xor.d.ts +3 -2
- package/dist/compat/array/xor.js +35 -31
- package/dist/compat/array/xor.mjs +35 -27
- package/dist/compat/array/xorBy.d.mts +4 -3
- package/dist/compat/array/xorBy.d.ts +4 -3
- package/dist/compat/array/xorBy.js +37 -24
- package/dist/compat/array/xorBy.mjs +35 -20
- package/dist/compat/array/xorWith.d.mts +3 -2
- package/dist/compat/array/xorWith.d.ts +3 -2
- package/dist/compat/array/xorWith.js +36 -22
- package/dist/compat/array/xorWith.mjs +34 -18
- package/dist/compat/array/zip.d.mts +3 -2
- package/dist/compat/array/zip.d.ts +3 -2
- package/dist/compat/array/zip.js +27 -12
- package/dist/compat/array/zip.mjs +27 -8
- package/dist/compat/array/zipObject.d.mts +3 -2
- package/dist/compat/array/zipObject.d.ts +3 -2
- package/dist/compat/array/zipObject.js +36 -12
- package/dist/compat/array/zipObject.mjs +36 -8
- package/dist/compat/array/zipObjectDeep.d.mts +4 -3
- package/dist/compat/array/zipObjectDeep.d.ts +4 -3
- package/dist/compat/array/zipObjectDeep.js +47 -24
- package/dist/compat/array/zipObjectDeep.mjs +47 -20
- package/dist/compat/array/zipWith.d.mts +3 -2
- package/dist/compat/array/zipWith.d.ts +3 -2
- package/dist/compat/array/zipWith.js +32 -21
- package/dist/compat/array/zipWith.mjs +32 -17
- package/dist/compat/compat.d.mts +298 -291
- package/dist/compat/compat.d.ts +298 -291
- package/dist/compat/compat.js +606 -595
- package/dist/compat/compat.mjs +601 -291
- package/dist/compat/function/after.d.mts +3 -2
- package/dist/compat/function/after.d.ts +3 -2
- package/dist/compat/function/after.js +29 -16
- package/dist/compat/function/after.mjs +29 -12
- package/dist/compat/function/ary.d.mts +3 -2
- package/dist/compat/function/ary.d.ts +3 -2
- package/dist/compat/function/ary.js +25 -14
- package/dist/compat/function/ary.mjs +25 -10
- package/dist/compat/function/attempt.d.mts +3 -2
- package/dist/compat/function/attempt.d.ts +3 -2
- package/dist/compat/function/attempt.js +37 -11
- package/dist/compat/function/attempt.mjs +37 -7
- package/dist/compat/function/before.d.mts +3 -2
- package/dist/compat/function/before.d.ts +3 -2
- package/dist/compat/function/before.js +34 -21
- package/dist/compat/function/before.mjs +34 -17
- package/dist/compat/function/bind.d.mts +4 -3
- package/dist/compat/function/bind.d.ts +4 -3
- package/dist/compat/function/bind.js +41 -28
- package/dist/compat/function/bind.mjs +41 -24
- package/dist/compat/function/bindKey.d.mts +4 -3
- package/dist/compat/function/bindKey.d.ts +4 -3
- package/dist/compat/function/bindKey.js +54 -28
- package/dist/compat/function/bindKey.mjs +54 -24
- package/dist/compat/function/curry.d.mts +66 -65
- package/dist/compat/function/curry.d.ts +66 -65
- package/dist/compat/function/curry.js +73 -53
- package/dist/compat/function/curry.mjs +73 -49
- package/dist/compat/function/curryRight.d.mts +66 -65
- package/dist/compat/function/curryRight.d.ts +66 -65
- package/dist/compat/function/curryRight.js +78 -60
- package/dist/compat/function/curryRight.mjs +78 -56
- package/dist/compat/function/debounce.d.mts +43 -42
- package/dist/compat/function/debounce.d.ts +43 -42
- package/dist/compat/function/debounce.js +35 -47
- package/dist/compat/function/debounce.mjs +35 -43
- package/dist/compat/function/defer.d.mts +3 -2
- package/dist/compat/function/defer.d.ts +3 -2
- package/dist/compat/function/defer.js +17 -9
- package/dist/compat/function/defer.mjs +17 -5
- package/dist/compat/function/delay.d.mts +3 -2
- package/dist/compat/function/delay.d.ts +3 -2
- package/dist/compat/function/delay.js +31 -11
- package/dist/compat/function/delay.mjs +31 -7
- package/dist/compat/function/flip.d.mts +3 -2
- package/dist/compat/function/flip.d.ts +3 -2
- package/dist/compat/function/flip.js +21 -8
- package/dist/compat/function/flip.mjs +21 -4
- package/dist/compat/function/flow.d.mts +4 -3
- package/dist/compat/function/flow.d.ts +4 -3
- package/dist/compat/function/flow.js +23 -13
- package/dist/compat/function/flow.mjs +23 -9
- package/dist/compat/function/flowRight.d.mts +4 -3
- package/dist/compat/function/flowRight.d.ts +4 -3
- package/dist/compat/function/flowRight.js +25 -13
- package/dist/compat/function/flowRight.mjs +25 -9
- package/dist/compat/function/identity.d.mts +3 -2
- package/dist/compat/function/identity.d.ts +3 -2
- package/dist/compat/function/identity.js +3 -6
- package/dist/compat/function/identity.mjs +3 -2
- package/dist/compat/function/memoize.d.mts +78 -77
- package/dist/compat/function/memoize.d.ts +78 -77
- package/dist/compat/function/memoize.js +24 -21
- package/dist/compat/function/memoize.mjs +24 -17
- package/dist/compat/function/negate.d.mts +3 -2
- package/dist/compat/function/negate.d.ts +3 -2
- package/dist/compat/function/negate.js +19 -11
- package/dist/compat/function/negate.mjs +19 -7
- package/dist/compat/function/noop.d.mts +3 -2
- package/dist/compat/function/noop.d.ts +3 -2
- package/dist/compat/function/noop.js +12 -6
- package/dist/compat/function/noop.mjs +12 -2
- package/dist/compat/function/nthArg.d.mts +3 -2
- package/dist/compat/function/nthArg.d.ts +3 -2
- package/dist/compat/function/nthArg.js +25 -10
- package/dist/compat/function/nthArg.mjs +25 -6
- package/dist/compat/function/once.d.mts +3 -2
- package/dist/compat/function/once.d.ts +3 -2
- package/dist/compat/function/once.js +4 -8
- package/dist/compat/function/once.mjs +4 -4
- package/dist/compat/function/overArgs.d.mts +4 -3
- package/dist/compat/function/overArgs.d.ts +4 -3
- package/dist/compat/function/overArgs.js +57 -21
- package/dist/compat/function/overArgs.mjs +57 -17
- package/dist/compat/function/partial.d.mts +6 -5
- package/dist/compat/function/partial.d.ts +6 -5
- package/dist/compat/function/partial.js +31 -9
- package/dist/compat/function/partial.mjs +31 -5
- package/dist/compat/function/partialRight.d.mts +6 -5
- package/dist/compat/function/partialRight.d.ts +6 -5
- package/dist/compat/function/partialRight.js +31 -9
- package/dist/compat/function/partialRight.mjs +31 -5
- package/dist/compat/function/rearg.d.mts +4 -3
- package/dist/compat/function/rearg.d.ts +4 -3
- package/dist/compat/function/rearg.js +23 -15
- package/dist/compat/function/rearg.mjs +23 -11
- package/dist/compat/function/rest.d.mts +3 -2
- package/dist/compat/function/rest.d.ts +3 -2
- package/dist/compat/function/rest.js +35 -12
- package/dist/compat/function/rest.mjs +35 -8
- package/dist/compat/function/spread.d.mts +3 -2
- package/dist/compat/function/spread.d.ts +3 -2
- package/dist/compat/function/spread.js +54 -17
- package/dist/compat/function/spread.mjs +54 -13
- package/dist/compat/function/throttle.d.mts +15 -14
- package/dist/compat/function/throttle.d.ts +15 -14
- package/dist/compat/function/throttle.js +39 -13
- package/dist/compat/function/throttle.mjs +39 -9
- package/dist/compat/function/unary.d.mts +3 -2
- package/dist/compat/function/unary.d.ts +3 -2
- package/dist/compat/function/unary.js +18 -8
- package/dist/compat/function/unary.mjs +18 -4
- package/dist/compat/function/wrap.d.mts +3 -2
- package/dist/compat/function/wrap.d.ts +3 -2
- package/dist/compat/function/wrap.js +31 -12
- package/dist/compat/function/wrap.mjs +31 -8
- package/dist/compat/index.d.mts +293 -292
- package/dist/compat/index.d.ts +293 -292
- package/dist/compat/index.js +595 -597
- package/dist/compat/index.mjs +294 -292
- package/dist/compat/math/add.d.mts +3 -2
- package/dist/compat/math/add.d.ts +3 -2
- package/dist/compat/math/add.js +29 -23
- package/dist/compat/math/add.mjs +29 -19
- package/dist/compat/math/ceil.d.mts +3 -2
- package/dist/compat/math/ceil.d.ts +3 -2
- package/dist/compat/math/ceil.js +16 -8
- package/dist/compat/math/ceil.mjs +16 -4
- package/dist/compat/math/clamp.d.mts +3 -2
- package/dist/compat/math/clamp.d.ts +3 -2
- package/dist/compat/math/clamp.js +33 -20
- package/dist/compat/math/clamp.mjs +33 -16
- package/dist/compat/math/divide.d.mts +3 -2
- package/dist/compat/math/divide.d.ts +3 -2
- package/dist/compat/math/divide.js +29 -23
- package/dist/compat/math/divide.mjs +29 -19
- package/dist/compat/math/floor.d.mts +3 -2
- package/dist/compat/math/floor.d.ts +3 -2
- package/dist/compat/math/floor.js +16 -8
- package/dist/compat/math/floor.mjs +16 -4
- package/dist/compat/math/inRange.d.mts +3 -2
- package/dist/compat/math/inRange.d.ts +3 -2
- package/dist/compat/math/inRange.js +25 -29
- package/dist/compat/math/inRange.mjs +25 -25
- package/dist/compat/math/max.d.mts +3 -2
- package/dist/compat/math/max.d.ts +3 -2
- package/dist/compat/math/max.js +17 -19
- package/dist/compat/math/max.mjs +17 -15
- package/dist/compat/math/maxBy.d.mts +4 -3
- package/dist/compat/math/maxBy.d.ts +4 -3
- package/dist/compat/math/maxBy.js +35 -13
- package/dist/compat/math/maxBy.mjs +35 -9
- package/dist/compat/math/mean.d.mts +3 -2
- package/dist/compat/math/mean.d.ts +3 -2
- package/dist/compat/math/mean.js +18 -9
- package/dist/compat/math/mean.mjs +18 -5
- package/dist/compat/math/meanBy.d.mts +4 -3
- package/dist/compat/math/meanBy.d.ts +4 -3
- package/dist/compat/math/meanBy.js +29 -13
- package/dist/compat/math/meanBy.mjs +29 -9
- package/dist/compat/math/min.d.mts +3 -2
- package/dist/compat/math/min.d.ts +3 -2
- package/dist/compat/math/min.js +17 -19
- package/dist/compat/math/min.mjs +17 -15
- package/dist/compat/math/minBy.d.mts +4 -3
- package/dist/compat/math/minBy.d.ts +4 -3
- package/dist/compat/math/minBy.js +35 -13
- package/dist/compat/math/minBy.mjs +35 -9
- package/dist/compat/math/multiply.d.mts +3 -2
- package/dist/compat/math/multiply.d.ts +3 -2
- package/dist/compat/math/multiply.js +29 -23
- package/dist/compat/math/multiply.mjs +29 -19
- package/dist/compat/math/parseInt.d.mts +3 -2
- package/dist/compat/math/parseInt.d.ts +3 -2
- package/dist/compat/math/parseInt.js +21 -9
- package/dist/compat/math/parseInt.mjs +21 -5
- package/dist/compat/math/random.d.mts +3 -2
- package/dist/compat/math/random.d.ts +3 -2
- package/dist/compat/math/random.js +53 -71
- package/dist/compat/math/random.mjs +53 -67
- package/dist/compat/math/range.d.mts +3 -2
- package/dist/compat/math/range.d.ts +3 -2
- package/dist/compat/math/range.js +34 -27
- package/dist/compat/math/range.mjs +34 -23
- package/dist/compat/math/rangeRight.d.mts +3 -2
- package/dist/compat/math/rangeRight.d.ts +3 -2
- package/dist/compat/math/rangeRight.js +35 -27
- package/dist/compat/math/rangeRight.mjs +35 -23
- package/dist/compat/math/round.d.mts +3 -2
- package/dist/compat/math/round.d.ts +3 -2
- package/dist/compat/math/round.js +16 -8
- package/dist/compat/math/round.mjs +16 -4
- package/dist/compat/math/subtract.d.mts +3 -2
- package/dist/compat/math/subtract.d.ts +3 -2
- package/dist/compat/math/subtract.js +28 -23
- package/dist/compat/math/subtract.mjs +28 -19
- package/dist/compat/math/sum.d.mts +3 -2
- package/dist/compat/math/sum.d.ts +3 -2
- package/dist/compat/math/sum.js +20 -8
- package/dist/compat/math/sum.mjs +20 -4
- package/dist/compat/math/sumBy.d.mts +3 -2
- package/dist/compat/math/sumBy.d.ts +3 -2
- package/dist/compat/math/sumBy.js +30 -26
- package/dist/compat/math/sumBy.mjs +30 -22
- package/dist/compat/object/assign.d.mts +3 -2
- package/dist/compat/object/assign.d.ts +3 -2
- package/dist/compat/object/assign.js +28 -19
- package/dist/compat/object/assign.mjs +28 -15
- package/dist/compat/object/assignIn.d.mts +3 -2
- package/dist/compat/object/assignIn.d.ts +3 -2
- package/dist/compat/object/assignIn.js +28 -19
- package/dist/compat/object/assignIn.mjs +28 -15
- package/dist/compat/object/assignInWith.d.mts +3 -2
- package/dist/compat/object/assignInWith.d.ts +3 -2
- package/dist/compat/object/assignInWith.js +43 -29
- package/dist/compat/object/assignInWith.mjs +43 -25
- package/dist/compat/object/assignWith.d.mts +3 -2
- package/dist/compat/object/assignWith.d.ts +3 -2
- package/dist/compat/object/assignWith.js +43 -29
- package/dist/compat/object/assignWith.mjs +43 -25
- package/dist/compat/object/at.d.mts +3 -2
- package/dist/compat/object/at.d.ts +3 -2
- package/dist/compat/object/at.js +34 -28
- package/dist/compat/object/at.mjs +34 -24
- package/dist/compat/object/clone.d.mts +3 -2
- package/dist/compat/object/clone.d.ts +3 -2
- package/dist/compat/object/clone.js +143 -151
- package/dist/compat/object/clone.mjs +143 -147
- package/dist/compat/object/cloneDeep.d.mts +3 -2
- package/dist/compat/object/cloneDeep.d.ts +3 -2
- package/dist/compat/object/cloneDeep.js +50 -8
- package/dist/compat/object/cloneDeep.mjs +50 -4
- package/dist/compat/object/cloneDeepWith.d.mts +3 -2
- package/dist/compat/object/cloneDeepWith.d.ts +3 -2
- package/dist/compat/object/cloneDeepWith.js +68 -43
- package/dist/compat/object/cloneDeepWith.mjs +68 -39
- package/dist/compat/object/cloneWith.d.mts +3 -2
- package/dist/compat/object/cloneWith.d.ts +3 -2
- package/dist/compat/object/cloneWith.js +52 -15
- package/dist/compat/object/cloneWith.mjs +52 -11
- package/dist/compat/object/create.d.mts +3 -2
- package/dist/compat/object/create.d.ts +3 -2
- package/dist/compat/object/create.js +28 -19
- package/dist/compat/object/create.mjs +28 -15
- package/dist/compat/object/defaults.d.mts +3 -2
- package/dist/compat/object/defaults.d.ts +3 -2
- package/dist/compat/object/defaults.js +44 -32
- package/dist/compat/object/defaults.mjs +44 -28
- package/dist/compat/object/defaultsDeep.d.mts +3 -2
- package/dist/compat/object/defaultsDeep.d.ts +3 -2
- package/dist/compat/object/defaultsDeep.js +59 -55
- package/dist/compat/object/defaultsDeep.mjs +59 -51
- package/dist/compat/object/extend.d.mts +1 -0
- package/dist/compat/object/extend.d.ts +1 -0
- package/dist/compat/object/extend.js +1 -0
- package/dist/compat/object/extend.mjs +1 -0
- package/dist/compat/object/extendWith.d.mts +1 -0
- package/dist/compat/object/extendWith.d.ts +1 -0
- package/dist/compat/object/extendWith.js +1 -0
- package/dist/compat/object/extendWith.mjs +1 -0
- package/dist/compat/object/findKey.d.mts +4 -3
- package/dist/compat/object/findKey.d.ts +4 -3
- package/dist/compat/object/findKey.js +21 -15
- package/dist/compat/object/findKey.mjs +20 -11
- package/dist/compat/object/findLastKey.d.mts +4 -3
- package/dist/compat/object/findLastKey.d.ts +4 -3
- package/dist/compat/object/findLastKey.js +20 -15
- package/dist/compat/object/findLastKey.mjs +20 -11
- package/dist/compat/object/forIn.d.mts +3 -2
- package/dist/compat/object/forIn.d.ts +3 -2
- package/dist/compat/object/forIn.js +34 -18
- package/dist/compat/object/forIn.mjs +33 -13
- package/dist/compat/object/forInRight.d.mts +3 -2
- package/dist/compat/object/forInRight.d.ts +3 -2
- package/dist/compat/object/forInRight.js +39 -23
- package/dist/compat/object/forInRight.mjs +38 -18
- package/dist/compat/object/forOwn.d.mts +3 -2
- package/dist/compat/object/forOwn.d.ts +3 -2
- package/dist/compat/object/forOwn.js +38 -21
- package/dist/compat/object/forOwn.mjs +37 -16
- package/dist/compat/object/forOwnRight.d.mts +3 -2
- package/dist/compat/object/forOwnRight.d.ts +3 -2
- package/dist/compat/object/forOwnRight.js +38 -21
- package/dist/compat/object/forOwnRight.mjs +37 -16
- package/dist/compat/object/fromPairs.d.mts +3 -2
- package/dist/compat/object/fromPairs.d.ts +3 -2
- package/dist/compat/object/fromPairs.js +24 -16
- package/dist/compat/object/fromPairs.mjs +24 -12
- package/dist/compat/object/functions.d.mts +3 -2
- package/dist/compat/object/functions.d.ts +3 -2
- package/dist/compat/object/functions.js +26 -11
- package/dist/compat/object/functions.mjs +26 -7
- package/dist/compat/object/functionsIn.d.mts +3 -2
- package/dist/compat/object/functionsIn.d.ts +3 -2
- package/dist/compat/object/functionsIn.js +24 -17
- package/dist/compat/object/functionsIn.mjs +24 -13
- package/dist/compat/object/get.d.mts +5 -4
- package/dist/compat/object/get.d.ts +5 -4
- package/dist/compat/object/get.js +60 -77
- package/dist/compat/object/get.mjs +60 -73
- package/dist/compat/object/has.d.mts +6 -7
- package/dist/compat/object/has.d.ts +6 -7
- package/dist/compat/object/has.js +49 -35
- package/dist/compat/object/has.mjs +49 -31
- package/dist/compat/object/hasIn.d.mts +4 -3
- package/dist/compat/object/hasIn.d.ts +4 -3
- package/dist/compat/object/hasIn.js +59 -38
- package/dist/compat/object/hasIn.mjs +59 -34
- package/dist/compat/object/invert.d.mts +3 -2
- package/dist/compat/object/invert.d.ts +3 -2
- package/dist/compat/object/invert.js +22 -8
- package/dist/compat/object/invert.mjs +22 -4
- package/dist/compat/object/invertBy.d.mts +4 -3
- package/dist/compat/object/invertBy.d.ts +4 -3
- package/dist/compat/object/invertBy.js +42 -30
- package/dist/compat/object/invertBy.mjs +42 -26
- package/dist/compat/object/keys.d.mts +3 -2
- package/dist/compat/object/keys.d.ts +3 -2
- package/dist/compat/object/keys.js +44 -35
- package/dist/compat/object/keys.mjs +44 -31
- package/dist/compat/object/keysIn.d.mts +3 -2
- package/dist/compat/object/keysIn.d.ts +3 -2
- package/dist/compat/object/keysIn.js +57 -52
- package/dist/compat/object/keysIn.mjs +57 -48
- package/dist/compat/object/mapKeys.d.mts +5 -4
- package/dist/compat/object/mapKeys.d.ts +5 -4
- package/dist/compat/object/mapKeys.js +26 -14
- package/dist/compat/object/mapKeys.mjs +25 -9
- package/dist/compat/object/mapValues.d.mts +9 -14
- package/dist/compat/object/mapValues.d.ts +9 -14
- package/dist/compat/object/mapValues.js +27 -14
- package/dist/compat/object/mapValues.mjs +26 -9
- package/dist/compat/object/merge.d.mts +3 -2
- package/dist/compat/object/merge.d.ts +3 -2
- package/dist/compat/object/merge.js +42 -9
- package/dist/compat/object/merge.mjs +42 -5
- package/dist/compat/object/mergeWith.d.mts +3 -2
- package/dist/compat/object/mergeWith.d.ts +3 -2
- package/dist/compat/object/mergeWith.js +106 -105
- package/dist/compat/object/mergeWith.mjs +106 -101
- package/dist/compat/object/omit.d.mts +4 -3
- package/dist/compat/object/omit.d.ts +4 -3
- package/dist/compat/object/omit.js +69 -64
- package/dist/compat/object/omit.mjs +69 -60
- package/dist/compat/object/omitBy.d.mts +4 -3
- package/dist/compat/object/omitBy.d.ts +4 -3
- package/dist/compat/object/omitBy.js +36 -29
- package/dist/compat/object/omitBy.mjs +36 -25
- package/dist/compat/object/pick.d.mts +5 -4
- package/dist/compat/object/pick.d.ts +5 -4
- package/dist/compat/object/pick.js +56 -50
- package/dist/compat/object/pick.mjs +56 -46
- package/dist/compat/object/pickBy.d.mts +5 -4
- package/dist/compat/object/pickBy.d.ts +5 -4
- package/dist/compat/object/pickBy.js +38 -27
- package/dist/compat/object/pickBy.mjs +38 -23
- package/dist/compat/object/property.d.mts +4 -3
- package/dist/compat/object/property.d.ts +4 -3
- package/dist/compat/object/property.js +24 -10
- package/dist/compat/object/property.mjs +24 -6
- package/dist/compat/object/propertyOf.d.mts +4 -3
- package/dist/compat/object/propertyOf.d.ts +4 -3
- package/dist/compat/object/propertyOf.js +26 -10
- package/dist/compat/object/propertyOf.mjs +26 -6
- package/dist/compat/object/result.d.mts +4 -3
- package/dist/compat/object/result.d.ts +4 -3
- package/dist/compat/object/result.js +47 -25
- package/dist/compat/object/result.mjs +47 -21
- package/dist/compat/object/set.d.mts +4 -3
- package/dist/compat/object/set.d.ts +4 -3
- package/dist/compat/object/set.js +31 -8
- package/dist/compat/object/set.mjs +31 -4
- package/dist/compat/object/setWith.d.mts +4 -3
- package/dist/compat/object/setWith.d.ts +4 -3
- package/dist/compat/object/setWith.js +30 -15
- package/dist/compat/object/setWith.mjs +30 -11
- package/dist/compat/object/toDefaulted.d.mts +3 -2
- package/dist/compat/object/toDefaulted.d.ts +3 -2
- package/dist/compat/object/toDefaulted.js +28 -10
- package/dist/compat/object/toDefaulted.mjs +27 -6
- package/dist/compat/object/toPairs.d.mts +3 -2
- package/dist/compat/object/toPairs.d.ts +3 -2
- package/dist/compat/object/toPairs.js +34 -26
- package/dist/compat/object/toPairs.mjs +34 -22
- package/dist/compat/object/toPairsIn.d.mts +3 -2
- package/dist/compat/object/toPairsIn.d.ts +3 -2
- package/dist/compat/object/toPairsIn.js +32 -26
- package/dist/compat/object/toPairsIn.mjs +32 -22
- package/dist/compat/object/transform.d.mts +3 -2
- package/dist/compat/object/transform.d.ts +3 -2
- package/dist/compat/object/transform.js +42 -32
- package/dist/compat/object/transform.mjs +41 -27
- package/dist/compat/object/unset.d.mts +3 -2
- package/dist/compat/object/unset.d.ts +3 -2
- package/dist/compat/object/unset.js +61 -77
- package/dist/compat/object/unset.mjs +61 -73
- package/dist/compat/object/update.d.mts +4 -3
- package/dist/compat/object/update.d.ts +4 -3
- package/dist/compat/object/update.js +13 -8
- package/dist/compat/object/update.mjs +13 -4
- package/dist/compat/object/updateWith.d.mts +4 -3
- package/dist/compat/object/updateWith.d.ts +4 -3
- package/dist/compat/object/updateWith.js +48 -54
- package/dist/compat/object/updateWith.mjs +48 -50
- package/dist/compat/object/values.d.mts +3 -2
- package/dist/compat/object/values.d.ts +3 -2
- package/dist/compat/object/values.js +13 -9
- package/dist/compat/object/values.mjs +13 -5
- package/dist/compat/object/valuesIn.d.mts +3 -2
- package/dist/compat/object/valuesIn.d.ts +3 -2
- package/dist/compat/object/valuesIn.js +22 -14
- package/dist/compat/object/valuesIn.mjs +22 -10
- package/dist/compat/predicate/conforms.d.mts +4 -3
- package/dist/compat/predicate/conforms.d.ts +4 -3
- package/dist/compat/predicate/conforms.js +27 -12
- package/dist/compat/predicate/conforms.mjs +27 -8
- package/dist/compat/predicate/conformsTo.d.mts +4 -3
- package/dist/compat/predicate/conformsTo.d.ts +4 -3
- package/dist/compat/predicate/conformsTo.js +40 -24
- package/dist/compat/predicate/conformsTo.mjs +40 -20
- package/dist/compat/predicate/isArguments.d.mts +3 -2
- package/dist/compat/predicate/isArguments.d.ts +3 -2
- package/dist/compat/predicate/isArguments.js +24 -8
- package/dist/compat/predicate/isArguments.mjs +24 -4
- package/dist/compat/predicate/isArray.d.mts +3 -2
- package/dist/compat/predicate/isArray.d.ts +3 -2
- package/dist/compat/predicate/isArray.js +23 -6
- package/dist/compat/predicate/isArray.mjs +23 -2
- package/dist/compat/predicate/isArrayBuffer.d.mts +3 -2
- package/dist/compat/predicate/isArrayBuffer.d.ts +3 -2
- package/dist/compat/predicate/isArrayBuffer.js +21 -8
- package/dist/compat/predicate/isArrayBuffer.mjs +21 -4
- package/dist/compat/predicate/isArrayLike.d.mts +5 -4
- package/dist/compat/predicate/isArrayLike.d.ts +5 -4
- package/dist/compat/predicate/isArrayLike.js +18 -8
- package/dist/compat/predicate/isArrayLike.mjs +18 -4
- package/dist/compat/predicate/isArrayLikeObject.d.mts +5 -4
- package/dist/compat/predicate/isArrayLikeObject.d.ts +5 -4
- package/dist/compat/predicate/isArrayLikeObject.js +17 -9
- package/dist/compat/predicate/isArrayLikeObject.mjs +17 -5
- package/dist/compat/predicate/isBoolean.d.mts +3 -2
- package/dist/compat/predicate/isBoolean.d.ts +3 -2
- package/dist/compat/predicate/isBoolean.js +25 -6
- package/dist/compat/predicate/isBoolean.mjs +25 -2
- package/dist/compat/predicate/isBuffer.d.mts +3 -2
- package/dist/compat/predicate/isBuffer.d.ts +3 -2
- package/dist/compat/predicate/isBuffer.js +22 -8
- package/dist/compat/predicate/isBuffer.mjs +22 -4
- package/dist/compat/predicate/isDate.d.mts +3 -2
- package/dist/compat/predicate/isDate.d.ts +3 -2
- package/dist/compat/predicate/isDate.js +17 -8
- package/dist/compat/predicate/isDate.mjs +17 -4
- package/dist/compat/predicate/isElement.d.mts +3 -2
- package/dist/compat/predicate/isElement.d.ts +3 -2
- package/dist/compat/predicate/isElement.js +15 -9
- package/dist/compat/predicate/isElement.mjs +15 -5
- package/dist/compat/predicate/isEmpty.d.mts +5 -4
- package/dist/compat/predicate/isEmpty.d.ts +5 -4
- package/dist/compat/predicate/isEmpty.js +45 -35
- package/dist/compat/predicate/isEmpty.mjs +45 -31
- package/dist/compat/predicate/isEqualWith.d.mts +4 -3
- package/dist/compat/predicate/isEqualWith.d.ts +4 -3
- package/dist/compat/predicate/isEqualWith.js +46 -23
- package/dist/compat/predicate/isEqualWith.mjs +46 -19
- package/dist/compat/predicate/isError.d.mts +3 -2
- package/dist/compat/predicate/isError.d.ts +3 -2
- package/dist/compat/predicate/isError.js +17 -8
- package/dist/compat/predicate/isError.mjs +17 -4
- package/dist/compat/predicate/isFinite.d.mts +3 -2
- package/dist/compat/predicate/isFinite.d.ts +3 -2
- package/dist/compat/predicate/isFinite.js +27 -6
- package/dist/compat/predicate/isFinite.mjs +27 -2
- package/dist/compat/predicate/isFunction.d.mts +3 -2
- package/dist/compat/predicate/isFunction.d.ts +3 -2
- package/dist/compat/predicate/isFunction.js +16 -6
- package/dist/compat/predicate/isFunction.mjs +16 -2
- package/dist/compat/predicate/isInteger.d.mts +3 -2
- package/dist/compat/predicate/isInteger.d.ts +3 -2
- package/dist/compat/predicate/isInteger.js +17 -6
- package/dist/compat/predicate/isInteger.mjs +17 -2
- package/dist/compat/predicate/isLength.d.mts +3 -2
- package/dist/compat/predicate/isLength.d.ts +3 -2
- package/dist/compat/predicate/isLength.js +24 -6
- package/dist/compat/predicate/isLength.mjs +24 -2
- package/dist/compat/predicate/isMap.d.mts +3 -2
- package/dist/compat/predicate/isMap.d.ts +3 -2
- package/dist/compat/predicate/isMap.js +21 -8
- package/dist/compat/predicate/isMap.mjs +21 -4
- package/dist/compat/predicate/isMatch.d.mts +3 -2
- package/dist/compat/predicate/isMatch.d.ts +3 -2
- package/dist/compat/predicate/isMatch.js +32 -8
- package/dist/compat/predicate/isMatch.mjs +32 -4
- package/dist/compat/predicate/isMatchWith.d.mts +5 -3
- package/dist/compat/predicate/isMatchWith.d.ts +5 -3
- package/dist/compat/predicate/isMatchWith.js +140 -141
- package/dist/compat/predicate/isMatchWith.mjs +141 -137
- package/dist/compat/predicate/isNaN.d.mts +3 -2
- package/dist/compat/predicate/isNaN.d.ts +3 -2
- package/dist/compat/predicate/isNaN.js +15 -6
- package/dist/compat/predicate/isNaN.mjs +15 -2
- package/dist/compat/predicate/isNative.d.mts +3 -2
- package/dist/compat/predicate/isNative.d.ts +3 -2
- package/dist/compat/predicate/isNative.js +22 -17
- package/dist/compat/predicate/isNative.mjs +22 -13
- package/dist/compat/predicate/isNil.d.mts +3 -2
- package/dist/compat/predicate/isNil.d.ts +3 -2
- package/dist/compat/predicate/isNil.js +22 -6
- package/dist/compat/predicate/isNil.mjs +22 -2
- package/dist/compat/predicate/isNull.d.mts +3 -2
- package/dist/compat/predicate/isNull.d.ts +3 -2
- package/dist/compat/predicate/isNull.js +14 -6
- package/dist/compat/predicate/isNull.mjs +14 -2
- package/dist/compat/predicate/isNumber.d.mts +3 -2
- package/dist/compat/predicate/isNumber.d.ts +3 -2
- package/dist/compat/predicate/isNumber.js +20 -6
- package/dist/compat/predicate/isNumber.mjs +20 -2
- package/dist/compat/predicate/isObject.d.mts +3 -2
- package/dist/compat/predicate/isObject.d.ts +3 -2
- package/dist/compat/predicate/isObject.js +26 -6
- package/dist/compat/predicate/isObject.mjs +26 -2
- package/dist/compat/predicate/isObjectLike.d.mts +3 -2
- package/dist/compat/predicate/isObjectLike.d.ts +3 -2
- package/dist/compat/predicate/isObjectLike.js +26 -6
- package/dist/compat/predicate/isObjectLike.mjs +26 -2
- package/dist/compat/predicate/isPlainObject.d.mts +3 -2
- package/dist/compat/predicate/isPlainObject.d.ts +3 -2
- package/dist/compat/predicate/isPlainObject.js +36 -30
- package/dist/compat/predicate/isPlainObject.mjs +36 -26
- package/dist/compat/predicate/isRegExp.d.mts +3 -2
- package/dist/compat/predicate/isRegExp.d.ts +3 -2
- package/dist/compat/predicate/isRegExp.js +17 -8
- package/dist/compat/predicate/isRegExp.mjs +17 -4
- package/dist/compat/predicate/isSafeInteger.d.mts +3 -2
- package/dist/compat/predicate/isSafeInteger.d.ts +3 -2
- package/dist/compat/predicate/isSafeInteger.js +21 -6
- package/dist/compat/predicate/isSafeInteger.mjs +21 -2
- package/dist/compat/predicate/isSet.d.mts +3 -2
- package/dist/compat/predicate/isSet.d.ts +3 -2
- package/dist/compat/predicate/isSet.js +21 -8
- package/dist/compat/predicate/isSet.mjs +21 -4
- package/dist/compat/predicate/isString.d.mts +3 -2
- package/dist/compat/predicate/isString.d.ts +3 -2
- package/dist/compat/predicate/isString.js +20 -6
- package/dist/compat/predicate/isString.mjs +20 -2
- package/dist/compat/predicate/isSymbol.d.mts +3 -2
- package/dist/compat/predicate/isSymbol.d.ts +3 -2
- package/dist/compat/predicate/isSymbol.js +17 -6
- package/dist/compat/predicate/isSymbol.mjs +17 -2
- package/dist/compat/predicate/isTypedArray.d.mts +3 -2
- package/dist/compat/predicate/isTypedArray.d.ts +3 -2
- package/dist/compat/predicate/isTypedArray.js +19 -8
- package/dist/compat/predicate/isTypedArray.mjs +19 -4
- package/dist/compat/predicate/isUndefined.d.mts +3 -2
- package/dist/compat/predicate/isUndefined.d.ts +3 -2
- package/dist/compat/predicate/isUndefined.js +24 -8
- package/dist/compat/predicate/isUndefined.mjs +24 -4
- package/dist/compat/predicate/isWeakMap.d.mts +3 -2
- package/dist/compat/predicate/isWeakMap.d.ts +3 -2
- package/dist/compat/predicate/isWeakMap.js +24 -8
- package/dist/compat/predicate/isWeakMap.mjs +24 -4
- package/dist/compat/predicate/isWeakSet.d.mts +3 -2
- package/dist/compat/predicate/isWeakSet.d.ts +3 -2
- package/dist/compat/predicate/isWeakSet.js +24 -8
- package/dist/compat/predicate/isWeakSet.mjs +24 -4
- package/dist/compat/predicate/matches.d.mts +3 -2
- package/dist/compat/predicate/matches.d.ts +3 -2
- package/dist/compat/predicate/matches.js +34 -12
- package/dist/compat/predicate/matches.mjs +34 -8
- package/dist/compat/predicate/matchesProperty.d.mts +4 -3
- package/dist/compat/predicate/matchesProperty.d.ts +4 -3
- package/dist/compat/predicate/matchesProperty.js +47 -34
- package/dist/compat/predicate/matchesProperty.mjs +47 -30
- package/dist/compat/string/camelCase.d.mts +3 -2
- package/dist/compat/string/camelCase.d.ts +3 -2
- package/dist/compat/string/camelCase.js +21 -10
- package/dist/compat/string/camelCase.mjs +21 -6
- package/dist/compat/string/capitalize.d.mts +3 -2
- package/dist/compat/string/capitalize.d.ts +3 -2
- package/dist/compat/string/capitalize.js +16 -9
- package/dist/compat/string/capitalize.mjs +16 -5
- package/dist/compat/string/deburr.d.mts +3 -2
- package/dist/compat/string/deburr.d.ts +3 -2
- package/dist/compat/string/deburr.js +24 -9
- package/dist/compat/string/deburr.mjs +24 -5
- package/dist/compat/string/endsWith.d.mts +3 -2
- package/dist/compat/string/endsWith.d.ts +3 -2
- package/dist/compat/string/endsWith.js +22 -12
- package/dist/compat/string/endsWith.mjs +22 -8
- package/dist/compat/string/escape.d.mts +3 -2
- package/dist/compat/string/escape.d.ts +3 -2
- package/dist/compat/string/escape.js +18 -9
- package/dist/compat/string/escape.mjs +18 -5
- package/dist/compat/string/escapeRegExp.d.mts +3 -2
- package/dist/compat/string/escapeRegExp.d.ts +3 -2
- package/dist/compat/string/escapeRegExp.js +16 -9
- package/dist/compat/string/escapeRegExp.mjs +16 -5
- package/dist/compat/string/kebabCase.d.mts +3 -2
- package/dist/compat/string/kebabCase.d.ts +3 -2
- package/dist/compat/string/kebabCase.js +20 -10
- package/dist/compat/string/kebabCase.mjs +20 -6
- package/dist/compat/string/lowerCase.d.mts +3 -2
- package/dist/compat/string/lowerCase.d.ts +3 -2
- package/dist/compat/string/lowerCase.js +20 -10
- package/dist/compat/string/lowerCase.mjs +20 -6
- package/dist/compat/string/lowerFirst.d.mts +3 -2
- package/dist/compat/string/lowerFirst.d.ts +3 -2
- package/dist/compat/string/lowerFirst.js +16 -9
- package/dist/compat/string/lowerFirst.mjs +16 -5
- package/dist/compat/string/pad.d.mts +3 -2
- package/dist/compat/string/pad.d.ts +3 -2
- package/dist/compat/string/pad.js +21 -9
- package/dist/compat/string/pad.mjs +21 -5
- package/dist/compat/string/padEnd.d.mts +3 -2
- package/dist/compat/string/padEnd.d.ts +3 -2
- package/dist/compat/string/padEnd.js +22 -9
- package/dist/compat/string/padEnd.mjs +22 -5
- package/dist/compat/string/padStart.d.mts +3 -2
- package/dist/compat/string/padStart.d.ts +3 -2
- package/dist/compat/string/padStart.js +22 -9
- package/dist/compat/string/padStart.mjs +22 -5
- package/dist/compat/string/repeat.d.mts +3 -2
- package/dist/compat/string/repeat.d.ts +3 -2
- package/dist/compat/string/repeat.js +24 -20
- package/dist/compat/string/repeat.mjs +24 -16
- package/dist/compat/string/replace.d.mts +3 -2
- package/dist/compat/string/replace.d.ts +3 -2
- package/dist/compat/string/replace.js +19 -11
- package/dist/compat/string/replace.mjs +19 -7
- package/dist/compat/string/snakeCase.d.mts +3 -2
- package/dist/compat/string/snakeCase.d.ts +3 -2
- package/dist/compat/string/snakeCase.js +20 -10
- package/dist/compat/string/snakeCase.mjs +20 -6
- package/dist/compat/string/split.d.mts +3 -2
- package/dist/compat/string/split.d.ts +3 -2
- package/dist/compat/string/split.js +4 -8
- package/dist/compat/string/split.mjs +4 -4
- package/dist/compat/string/startCase.d.mts +3 -2
- package/dist/compat/string/startCase.d.ts +3 -2
- package/dist/compat/string/startCase.js +27 -24
- package/dist/compat/string/startCase.mjs +27 -20
- package/dist/compat/string/startsWith.d.mts +3 -2
- package/dist/compat/string/startsWith.d.ts +3 -2
- package/dist/compat/string/startsWith.js +22 -12
- package/dist/compat/string/startsWith.mjs +22 -8
- package/dist/compat/string/template.d.mts +21 -20
- package/dist/compat/string/template.d.ts +21 -20
- package/dist/compat/string/template.js +120 -74
- package/dist/compat/string/template.mjs +120 -70
- package/dist/compat/string/templateSettings.d.mts +1 -0
- package/dist/compat/string/templateSettings.d.ts +1 -0
- package/dist/compat/string/templateSettings.js +1 -0
- package/dist/compat/string/templateSettings.mjs +1 -0
- package/dist/compat/string/toLower.d.mts +3 -2
- package/dist/compat/string/toLower.d.ts +3 -2
- package/dist/compat/string/toLower.js +21 -8
- package/dist/compat/string/toLower.mjs +21 -4
- package/dist/compat/string/toUpper.d.mts +3 -2
- package/dist/compat/string/toUpper.d.ts +3 -2
- package/dist/compat/string/toUpper.js +21 -8
- package/dist/compat/string/toUpper.mjs +21 -4
- package/dist/compat/string/trim.d.mts +3 -2
- package/dist/compat/string/trim.d.ts +3 -2
- package/dist/compat/string/trim.js +10 -26
- package/dist/compat/string/trim.mjs +10 -22
- package/dist/compat/string/trimEnd.d.mts +3 -2
- package/dist/compat/string/trimEnd.d.ts +3 -2
- package/dist/compat/string/trimEnd.js +21 -14
- package/dist/compat/string/trimEnd.mjs +21 -10
- package/dist/compat/string/trimStart.d.mts +3 -2
- package/dist/compat/string/trimStart.d.ts +3 -2
- package/dist/compat/string/trimStart.js +21 -14
- package/dist/compat/string/trimStart.mjs +21 -10
- package/dist/compat/string/truncate.d.mts +6 -5
- package/dist/compat/string/truncate.d.ts +6 -5
- package/dist/compat/string/truncate.js +66 -46
- package/dist/compat/string/truncate.mjs +66 -42
- package/dist/compat/string/unescape.d.mts +3 -2
- package/dist/compat/string/unescape.d.ts +3 -2
- package/dist/compat/string/unescape.js +18 -9
- package/dist/compat/string/unescape.mjs +18 -5
- package/dist/compat/string/upperCase.d.mts +3 -2
- package/dist/compat/string/upperCase.d.ts +3 -2
- package/dist/compat/string/upperCase.js +20 -10
- package/dist/compat/string/upperCase.mjs +20 -6
- package/dist/compat/string/upperFirst.d.mts +3 -2
- package/dist/compat/string/upperFirst.d.ts +3 -2
- package/dist/compat/string/upperFirst.js +16 -9
- package/dist/compat/string/upperFirst.mjs +16 -5
- package/dist/compat/string/words.d.mts +3 -2
- package/dist/compat/string/words.d.ts +3 -2
- package/dist/compat/string/words.js +35 -33
- package/dist/compat/string/words.mjs +35 -29
- package/dist/compat/toolkit.d.mts +6 -6
- package/dist/compat/toolkit.d.ts +6 -6
- package/dist/compat/toolkit.js +5 -9
- package/dist/compat/toolkit.mjs +5 -5
- package/dist/compat/util/bindAll.d.mts +4 -3
- package/dist/compat/util/bindAll.d.ts +4 -3
- package/dist/compat/util/bindAll.js +50 -44
- package/dist/compat/util/bindAll.mjs +50 -40
- package/dist/compat/util/cond.d.mts +3 -2
- package/dist/compat/util/cond.d.ts +3 -2
- package/dist/compat/util/cond.js +19 -27
- package/dist/compat/util/cond.mjs +19 -23
- package/dist/compat/util/constant.d.mts +3 -2
- package/dist/compat/util/constant.d.ts +3 -2
- package/dist/compat/util/constant.js +17 -6
- package/dist/compat/util/constant.mjs +17 -2
- package/dist/compat/util/defaultTo.d.mts +3 -2
- package/dist/compat/util/defaultTo.d.ts +3 -2
- package/dist/compat/util/defaultTo.js +20 -9
- package/dist/compat/util/defaultTo.mjs +20 -5
- package/dist/compat/util/eq.d.mts +1 -0
- package/dist/compat/util/eq.d.ts +1 -0
- package/dist/compat/util/eq.js +1 -0
- package/dist/compat/util/eq.mjs +1 -0
- package/dist/compat/util/gt.d.mts +3 -2
- package/dist/compat/util/gt.d.ts +3 -2
- package/dist/compat/util/gt.js +17 -11
- package/dist/compat/util/gt.mjs +17 -7
- package/dist/compat/util/gte.d.mts +3 -2
- package/dist/compat/util/gte.d.ts +3 -2
- package/dist/compat/util/gte.js +17 -11
- package/dist/compat/util/gte.mjs +17 -7
- package/dist/compat/util/invoke.d.mts +3 -2
- package/dist/compat/util/invoke.d.ts +3 -2
- package/dist/compat/util/invoke.js +44 -48
- package/dist/compat/util/invoke.mjs +44 -44
- package/dist/compat/util/iteratee.d.mts +3 -2
- package/dist/compat/util/iteratee.d.ts +3 -2
- package/dist/compat/util/iteratee.js +46 -29
- package/dist/compat/util/iteratee.mjs +46 -25
- package/dist/compat/util/lt.d.mts +3 -2
- package/dist/compat/util/lt.d.ts +3 -2
- package/dist/compat/util/lt.js +17 -11
- package/dist/compat/util/lt.mjs +17 -7
- package/dist/compat/util/lte.d.mts +3 -2
- package/dist/compat/util/lte.d.ts +3 -2
- package/dist/compat/util/lte.js +17 -11
- package/dist/compat/util/lte.mjs +17 -7
- package/dist/compat/util/method.d.mts +3 -2
- package/dist/compat/util/method.d.ts +3 -2
- package/dist/compat/util/method.js +25 -10
- package/dist/compat/util/method.mjs +25 -6
- package/dist/compat/util/methodOf.d.mts +3 -2
- package/dist/compat/util/methodOf.d.ts +3 -2
- package/dist/compat/util/methodOf.js +25 -10
- package/dist/compat/util/methodOf.mjs +25 -6
- package/dist/compat/util/now.d.mts +3 -2
- package/dist/compat/util/now.d.ts +3 -2
- package/dist/compat/util/now.js +18 -6
- package/dist/compat/util/now.mjs +18 -2
- package/dist/compat/util/over.d.mts +3 -2
- package/dist/compat/util/over.d.ts +3 -2
- package/dist/compat/util/over.js +34 -14
- package/dist/compat/util/over.mjs +34 -10
- package/dist/compat/util/overEvery.d.mts +3 -2
- package/dist/compat/util/overEvery.d.ts +3 -2
- package/dist/compat/util/overEvery.js +58 -24
- package/dist/compat/util/overEvery.mjs +58 -20
- package/dist/compat/util/overSome.d.mts +3 -2
- package/dist/compat/util/overSome.d.ts +3 -2
- package/dist/compat/util/overSome.js +60 -24
- package/dist/compat/util/overSome.mjs +60 -20
- package/dist/compat/util/stubArray.d.mts +3 -2
- package/dist/compat/util/stubArray.d.ts +3 -2
- package/dist/compat/util/stubArray.js +3 -6
- package/dist/compat/util/stubArray.mjs +3 -2
- package/dist/compat/util/stubFalse.d.mts +3 -2
- package/dist/compat/util/stubFalse.d.ts +3 -2
- package/dist/compat/util/stubFalse.js +3 -6
- package/dist/compat/util/stubFalse.mjs +3 -2
- package/dist/compat/util/stubObject.d.mts +3 -2
- package/dist/compat/util/stubObject.d.ts +3 -2
- package/dist/compat/util/stubObject.js +10 -6
- package/dist/compat/util/stubObject.mjs +10 -2
- package/dist/compat/util/stubString.d.mts +3 -2
- package/dist/compat/util/stubString.d.ts +3 -2
- package/dist/compat/util/stubString.js +3 -6
- package/dist/compat/util/stubString.mjs +3 -2
- package/dist/compat/util/stubTrue.d.mts +3 -2
- package/dist/compat/util/stubTrue.d.ts +3 -2
- package/dist/compat/util/stubTrue.js +3 -6
- package/dist/compat/util/stubTrue.mjs +3 -2
- package/dist/compat/util/times.d.mts +3 -2
- package/dist/compat/util/times.d.ts +3 -2
- package/dist/compat/util/times.js +19 -16
- package/dist/compat/util/times.mjs +19 -12
- package/dist/compat/util/toArray.d.mts +3 -2
- package/dist/compat/util/toArray.d.ts +3 -2
- package/dist/compat/util/toArray.js +20 -18
- package/dist/compat/util/toArray.mjs +20 -14
- package/dist/compat/util/toFinite.d.mts +3 -2
- package/dist/compat/util/toFinite.d.ts +3 -2
- package/dist/compat/util/toFinite.js +21 -16
- package/dist/compat/util/toFinite.mjs +21 -12
- package/dist/compat/util/toInteger.d.mts +3 -2
- package/dist/compat/util/toInteger.d.ts +3 -2
- package/dist/compat/util/toInteger.js +23 -10
- package/dist/compat/util/toInteger.mjs +23 -6
- package/dist/compat/util/toLength.d.mts +3 -2
- package/dist/compat/util/toLength.d.ts +3 -2
- package/dist/compat/util/toLength.js +22 -13
- package/dist/compat/util/toLength.mjs +21 -9
- package/dist/compat/util/toNumber.d.mts +3 -2
- package/dist/compat/util/toNumber.d.ts +3 -2
- package/dist/compat/util/toNumber.js +21 -11
- package/dist/compat/util/toNumber.mjs +21 -7
- package/dist/compat/util/toPath.d.mts +3 -2
- package/dist/compat/util/toPath.d.ts +3 -2
- package/dist/compat/util/toPath.js +64 -79
- package/dist/compat/util/toPath.mjs +64 -75
- package/dist/compat/util/toPlainObject.d.mts +3 -2
- package/dist/compat/util/toPlainObject.d.ts +3 -2
- package/dist/compat/util/toPlainObject.js +30 -25
- package/dist/compat/util/toPlainObject.mjs +30 -21
- package/dist/compat/util/toSafeInteger.d.mts +3 -2
- package/dist/compat/util/toSafeInteger.d.ts +3 -2
- package/dist/compat/util/toSafeInteger.js +24 -13
- package/dist/compat/util/toSafeInteger.mjs +24 -9
- package/dist/compat/util/toString.d.mts +3 -2
- package/dist/compat/util/toString.d.ts +3 -2
- package/dist/compat/util/toString.js +24 -19
- package/dist/compat/util/toString.mjs +24 -15
- package/dist/compat/util/uniqueId.d.mts +3 -2
- package/dist/compat/util/uniqueId.d.ts +3 -2
- package/dist/compat/util/uniqueId.js +27 -8
- package/dist/compat/util/uniqueId.mjs +27 -4
- package/dist/error/AbortError.d.mts +5 -4
- package/dist/error/AbortError.d.ts +5 -4
- package/dist/error/AbortError.js +12 -12
- package/dist/error/AbortError.mjs +12 -8
- package/dist/error/TimeoutError.d.mts +5 -4
- package/dist/error/TimeoutError.d.ts +5 -4
- package/dist/error/TimeoutError.js +12 -12
- package/dist/error/TimeoutError.mjs +12 -8
- package/dist/error/index.d.mts +3 -2
- package/dist/error/index.d.ts +3 -2
- package/dist/error/index.js +5 -11
- package/dist/error/index.mjs +3 -2
- package/dist/function/after.d.mts +3 -2
- package/dist/function/after.d.ts +3 -2
- package/dist/function/after.js +35 -15
- package/dist/function/after.mjs +35 -11
- package/dist/function/ary.d.mts +3 -2
- package/dist/function/ary.d.ts +3 -2
- package/dist/function/ary.js +23 -8
- package/dist/function/ary.mjs +23 -4
- package/dist/function/asyncNoop.d.mts +3 -2
- package/dist/function/asyncNoop.d.ts +3 -2
- package/dist/function/asyncNoop.js +12 -6
- package/dist/function/asyncNoop.mjs +12 -2
- package/dist/function/before.d.mts +3 -2
- package/dist/function/before.d.ts +3 -2
- package/dist/function/before.js +35 -15
- package/dist/function/before.mjs +35 -11
- package/dist/function/curry.d.mts +3 -2
- package/dist/function/curry.d.ts +3 -2
- package/dist/function/curry.js +36 -20
- package/dist/function/curry.mjs +36 -16
- package/dist/function/curryRight.d.mts +3 -2
- package/dist/function/curryRight.d.ts +3 -2
- package/dist/function/curryRight.js +38 -20
- package/dist/function/curryRight.mjs +38 -16
- package/dist/function/debounce.d.mts +39 -35
- package/dist/function/debounce.d.ts +39 -35
- package/dist/function/debounce.js +87 -63
- package/dist/function/debounce.mjs +87 -59
- package/dist/function/flow.d.mts +3 -2
- package/dist/function/flow.d.ts +3 -2
- package/dist/function/flow.js +22 -12
- package/dist/function/flow.mjs +22 -8
- package/dist/function/flowRight.d.mts +3 -2
- package/dist/function/flowRight.d.ts +3 -2
- package/dist/function/flowRight.js +21 -8
- package/dist/function/flowRight.mjs +21 -4
- package/dist/function/identity.d.mts +3 -2
- package/dist/function/identity.d.ts +3 -2
- package/dist/function/identity.js +22 -6
- package/dist/function/identity.mjs +22 -2
- package/dist/function/index.d.mts +22 -21
- package/dist/function/index.d.ts +22 -21
- package/dist/function/index.js +43 -49
- package/dist/function/index.mjs +22 -21
- package/dist/function/memoize.d.mts +42 -41
- package/dist/function/memoize.d.ts +42 -41
- package/dist/function/memoize.js +84 -17
- package/dist/function/memoize.mjs +84 -13
- package/dist/function/negate.d.mts +3 -2
- package/dist/function/negate.d.ts +3 -2
- package/dist/function/negate.js +16 -6
- package/dist/function/negate.mjs +16 -2
- package/dist/function/noop.d.mts +3 -2
- package/dist/function/noop.d.ts +3 -2
- package/dist/function/noop.js +12 -6
- package/dist/function/noop.mjs +12 -2
- package/dist/function/once.d.mts +3 -2
- package/dist/function/once.d.ts +3 -2
- package/dist/function/once.js +28 -14
- package/dist/function/once.mjs +28 -10
- package/dist/function/partial.d.mts +5 -3
- package/dist/function/partial.d.ts +5 -3
- package/dist/function/partial.js +38 -19
- package/dist/function/partial.mjs +38 -15
- package/dist/function/partialRight.d.mts +5 -3
- package/dist/function/partialRight.d.ts +5 -3
- package/dist/function/partialRight.js +40 -21
- package/dist/function/partialRight.mjs +40 -17
- package/dist/function/rest.d.mts +3 -2
- package/dist/function/rest.d.ts +3 -2
- package/dist/function/rest.js +38 -13
- package/dist/function/rest.mjs +38 -9
- package/dist/function/retry.d.mts +33 -32
- package/dist/function/retry.d.ts +33 -32
- package/dist/function/retry.js +39 -41
- package/dist/function/retry.mjs +38 -37
- package/dist/function/spread.d.mts +3 -2
- package/dist/function/spread.d.ts +3 -2
- package/dist/function/spread.js +21 -8
- package/dist/function/spread.mjs +21 -4
- package/dist/function/throttle.d.mts +22 -18
- package/dist/function/throttle.d.ts +22 -18
- package/dist/function/throttle.js +52 -29
- package/dist/function/throttle.mjs +52 -25
- package/dist/function/unary.d.mts +3 -2
- package/dist/function/unary.d.ts +3 -2
- package/dist/function/unary.js +18 -8
- package/dist/function/unary.mjs +18 -4
- package/dist/index.d.mts +186 -180
- package/dist/index.d.ts +186 -180
- package/dist/index.js +383 -370
- package/dist/index.mjs +195 -180
- package/dist/map/countBy.d.mts +3 -2
- package/dist/map/countBy.d.ts +3 -2
- package/dist/map/countBy.js +40 -11
- package/dist/map/countBy.mjs +40 -7
- package/dist/map/every.d.mts +3 -2
- package/dist/map/every.d.ts +3 -2
- package/dist/map/every.js +29 -11
- package/dist/map/every.mjs +29 -7
- package/dist/map/filter.d.mts +3 -2
- package/dist/map/filter.d.ts +3 -2
- package/dist/map/filter.js +31 -12
- package/dist/map/filter.mjs +31 -8
- package/dist/map/findKey.d.mts +3 -2
- package/dist/map/findKey.d.ts +3 -2
- package/dist/map/findKey.js +30 -13
- package/dist/map/findKey.mjs +30 -9
- package/dist/map/findValue.d.mts +3 -2
- package/dist/map/findValue.d.ts +3 -2
- package/dist/map/findValue.js +30 -13
- package/dist/map/findValue.mjs +30 -9
- package/dist/map/forEach.d.mts +3 -2
- package/dist/map/forEach.d.ts +3 -2
- package/dist/map/forEach.js +29 -8
- package/dist/map/forEach.mjs +29 -4
- package/dist/map/hasValue.d.mts +3 -2
- package/dist/map/hasValue.d.ts +3 -2
- package/dist/map/hasValue.js +30 -13
- package/dist/map/hasValue.mjs +30 -9
- package/dist/map/index.d.mts +13 -12
- package/dist/map/index.d.ts +13 -12
- package/dist/map/index.js +25 -31
- package/dist/map/index.mjs +13 -12
- package/dist/map/keyBy.d.mts +3 -2
- package/dist/map/keyBy.d.ts +3 -2
- package/dist/map/keyBy.js +36 -11
- package/dist/map/keyBy.mjs +36 -7
- package/dist/map/mapKeys.d.mts +3 -2
- package/dist/map/mapKeys.d.ts +3 -2
- package/dist/map/mapKeys.js +35 -11
- package/dist/map/mapKeys.mjs +35 -7
- package/dist/map/mapValues.d.mts +3 -2
- package/dist/map/mapValues.d.ts +3 -2
- package/dist/map/mapValues.js +35 -11
- package/dist/map/mapValues.mjs +35 -7
- package/dist/map/reduce.d.mts +3 -2
- package/dist/map/reduce.d.ts +3 -2
- package/dist/map/reduce.js +39 -18
- package/dist/map/reduce.mjs +39 -14
- package/dist/map/some.d.mts +3 -2
- package/dist/map/some.d.ts +3 -2
- package/dist/map/some.js +29 -11
- package/dist/map/some.mjs +29 -7
- package/dist/math/clamp.d.mts +3 -2
- package/dist/math/clamp.d.ts +3 -2
- package/dist/math/clamp.js +21 -9
- package/dist/math/clamp.mjs +21 -5
- package/dist/math/inRange.d.mts +3 -2
- package/dist/math/inRange.d.ts +3 -2
- package/dist/math/inRange.js +22 -13
- package/dist/math/inRange.mjs +22 -9
- package/dist/math/index.d.mts +15 -13
- package/dist/math/index.d.ts +15 -13
- package/dist/math/index.js +29 -33
- package/dist/math/index.mjs +15 -13
- package/dist/math/mean.d.mts +3 -2
- package/dist/math/mean.d.ts +3 -2
- package/dist/math/mean.js +17 -8
- package/dist/math/mean.mjs +17 -4
- package/dist/math/meanBy.d.mts +3 -2
- package/dist/math/meanBy.d.ts +3 -2
- package/dist/math/meanBy.js +19 -8
- package/dist/math/meanBy.mjs +19 -4
- package/dist/math/median.d.mts +3 -2
- package/dist/math/median.d.ts +3 -2
- package/dist/math/median.js +29 -16
- package/dist/math/median.mjs +29 -12
- package/dist/math/medianBy.d.mts +3 -2
- package/dist/math/medianBy.d.ts +3 -2
- package/dist/math/medianBy.js +25 -9
- package/dist/math/medianBy.mjs +24 -5
- package/dist/math/percentile.d.mts +29 -0
- package/dist/math/percentile.d.ts +29 -0
- package/dist/math/percentile.js +39 -0
- package/dist/math/percentile.mjs +39 -0
- package/dist/math/random.d.mts +3 -2
- package/dist/math/random.d.ts +3 -2
- package/dist/math/random.js +21 -13
- package/dist/math/random.mjs +21 -9
- package/dist/math/randomInt.d.mts +3 -2
- package/dist/math/randomInt.d.ts +3 -2
- package/dist/math/randomInt.js +18 -8
- package/dist/math/randomInt.mjs +18 -4
- package/dist/math/range.d.mts +3 -2
- package/dist/math/range.d.ts +3 -2
- package/dist/math/range.js +28 -18
- package/dist/math/range.mjs +28 -14
- package/dist/math/rangeRight.d.mts +3 -2
- package/dist/math/rangeRight.d.ts +3 -2
- package/dist/math/rangeRight.js +28 -18
- package/dist/math/rangeRight.mjs +28 -14
- package/dist/math/round.d.mts +3 -2
- package/dist/math/round.d.ts +3 -2
- package/dist/math/round.js +22 -10
- package/dist/math/round.mjs +22 -6
- package/dist/math/sum.d.mts +3 -2
- package/dist/math/sum.d.ts +3 -2
- package/dist/math/sum.js +18 -10
- package/dist/math/sum.mjs +18 -6
- package/dist/math/sumBy.d.mts +3 -2
- package/dist/math/sumBy.d.ts +3 -2
- package/dist/math/sumBy.js +21 -10
- package/dist/math/sumBy.mjs +21 -6
- package/dist/object/clone.d.mts +3 -2
- package/dist/object/clone.d.ts +3 -2
- package/dist/object/clone.js +58 -54
- package/dist/object/clone.mjs +58 -50
- package/dist/object/cloneDeep.d.mts +3 -2
- package/dist/object/cloneDeep.d.ts +3 -2
- package/dist/object/cloneDeep.js +50 -8
- package/dist/object/cloneDeep.mjs +50 -4
- package/dist/object/cloneDeepWith.d.mts +5 -2
- package/dist/object/cloneDeepWith.d.ts +5 -2
- package/dist/object/cloneDeepWith.js +173 -170
- package/dist/object/cloneDeepWith.mjs +173 -166
- package/dist/object/findKey.d.mts +3 -2
- package/dist/object/findKey.d.ts +3 -2
- package/dist/object/findKey.js +21 -7
- package/dist/object/findKey.mjs +21 -3
- package/dist/object/flattenObject.d.mts +11 -8
- package/dist/object/flattenObject.d.ts +11 -8
- package/dist/object/flattenObject.js +48 -26
- package/dist/object/flattenObject.mjs +48 -22
- package/dist/object/index.d.mts +19 -17
- package/dist/object/index.d.ts +19 -17
- package/dist/object/index.js +37 -41
- package/dist/object/index.mjs +19 -17
- package/dist/object/invert.d.mts +3 -2
- package/dist/object/invert.d.ts +3 -2
- package/dist/object/invert.js +28 -13
- package/dist/object/invert.mjs +28 -9
- package/dist/object/mapKeys.d.mts +3 -2
- package/dist/object/mapKeys.d.ts +3 -2
- package/dist/object/mapKeys.js +27 -13
- package/dist/object/mapKeys.mjs +27 -9
- package/dist/object/mapValues.d.mts +3 -2
- package/dist/object/mapValues.d.ts +3 -2
- package/dist/object/mapValues.js +28 -13
- package/dist/object/mapValues.mjs +28 -9
- package/dist/object/merge.d.mts +3 -2
- package/dist/object/merge.d.ts +3 -2
- package/dist/object/merge.js +57 -31
- package/dist/object/merge.mjs +57 -27
- package/dist/object/mergeWith.d.mts +3 -2
- package/dist/object/mergeWith.d.ts +3 -2
- package/dist/object/mergeWith.js +67 -41
- package/dist/object/mergeWith.mjs +67 -37
- package/dist/object/omit.d.mts +3 -2
- package/dist/object/omit.d.ts +3 -2
- package/dist/object/omit.js +25 -11
- package/dist/object/omit.mjs +25 -7
- package/dist/object/omitBy.d.mts +3 -2
- package/dist/object/omitBy.d.ts +3 -2
- package/dist/object/omitBy.js +29 -15
- package/dist/object/omitBy.mjs +29 -11
- package/dist/object/pick.d.mts +3 -2
- package/dist/object/pick.d.ts +3 -2
- package/dist/object/pick.js +25 -13
- package/dist/object/pick.mjs +25 -9
- package/dist/object/pickBy.d.mts +3 -2
- package/dist/object/pickBy.d.ts +3 -2
- package/dist/object/pickBy.js +29 -15
- package/dist/object/pickBy.mjs +29 -11
- package/dist/object/sortKeys.d.mts +22 -0
- package/dist/object/sortKeys.d.ts +22 -0
- package/dist/object/sortKeys.js +30 -0
- package/dist/object/sortKeys.mjs +30 -0
- package/dist/object/toCamelCaseKeys.d.mts +4 -5
- package/dist/object/toCamelCaseKeys.d.ts +4 -5
- package/dist/object/toCamelCaseKeys.js +63 -24
- package/dist/object/toCamelCaseKeys.mjs +63 -20
- package/dist/object/toMerged.d.mts +3 -2
- package/dist/object/toMerged.d.ts +3 -2
- package/dist/object/toMerged.js +53 -27
- package/dist/object/toMerged.mjs +53 -23
- package/dist/object/toSnakeCaseKeys.d.mts +4 -5
- package/dist/object/toSnakeCaseKeys.d.ts +4 -5
- package/dist/object/toSnakeCaseKeys.js +63 -24
- package/dist/object/toSnakeCaseKeys.mjs +63 -20
- package/dist/predicate/index.d.mts +33 -32
- package/dist/predicate/index.d.ts +33 -32
- package/dist/predicate/index.js +67 -73
- package/dist/predicate/index.mjs +33 -32
- package/dist/predicate/isArrayBuffer.d.mts +3 -2
- package/dist/predicate/isArrayBuffer.d.ts +3 -2
- package/dist/predicate/isArrayBuffer.js +20 -6
- package/dist/predicate/isArrayBuffer.mjs +20 -2
- package/dist/predicate/isBlob.d.mts +3 -2
- package/dist/predicate/isBlob.d.ts +3 -2
- package/dist/predicate/isBlob.js +20 -9
- package/dist/predicate/isBlob.mjs +20 -5
- package/dist/predicate/isBoolean.d.mts +3 -2
- package/dist/predicate/isBoolean.d.ts +3 -2
- package/dist/predicate/isBoolean.js +25 -6
- package/dist/predicate/isBoolean.mjs +25 -2
- package/dist/predicate/isBrowser.d.mts +3 -2
- package/dist/predicate/isBrowser.d.ts +3 -2
- package/dist/predicate/isBrowser.js +17 -6
- package/dist/predicate/isBrowser.mjs +17 -2
- package/dist/predicate/isBuffer.d.mts +3 -2
- package/dist/predicate/isBuffer.d.ts +3 -2
- package/dist/predicate/isBuffer.js +22 -8
- package/dist/predicate/isBuffer.mjs +22 -4
- package/dist/predicate/isDate.d.mts +3 -2
- package/dist/predicate/isDate.d.ts +3 -2
- package/dist/predicate/isDate.js +16 -6
- package/dist/predicate/isDate.mjs +16 -2
- package/dist/predicate/isEmptyObject.d.mts +3 -2
- package/dist/predicate/isEmptyObject.d.ts +3 -2
- package/dist/predicate/isEmptyObject.js +16 -8
- package/dist/predicate/isEmptyObject.mjs +16 -4
- package/dist/predicate/isEqual.d.mts +3 -2
- package/dist/predicate/isEqual.d.ts +3 -2
- package/dist/predicate/isEqual.js +19 -9
- package/dist/predicate/isEqual.mjs +19 -5
- package/dist/predicate/isEqualWith.d.mts +3 -2
- package/dist/predicate/isEqualWith.d.ts +3 -2
- package/dist/predicate/isEqualWith.js +146 -183
- package/dist/predicate/isEqualWith.mjs +142 -179
- package/dist/predicate/isError.d.mts +3 -2
- package/dist/predicate/isError.d.ts +3 -2
- package/dist/predicate/isError.js +16 -6
- package/dist/predicate/isError.mjs +16 -2
- package/dist/predicate/isFile.d.mts +3 -2
- package/dist/predicate/isFile.d.ts +3 -2
- package/dist/predicate/isFile.js +23 -11
- package/dist/predicate/isFile.mjs +23 -7
- package/dist/predicate/isFunction.d.mts +3 -2
- package/dist/predicate/isFunction.d.ts +3 -2
- package/dist/predicate/isFunction.js +16 -6
- package/dist/predicate/isFunction.mjs +16 -2
- package/dist/predicate/isJSON.d.mts +3 -2
- package/dist/predicate/isJSON.d.ts +3 -2
- package/dist/predicate/isJSON.js +37 -15
- package/dist/predicate/isJSON.mjs +37 -11
- package/dist/predicate/isJSONValue.d.mts +3 -2
- package/dist/predicate/isJSONValue.d.ts +3 -2
- package/dist/predicate/isJSONValue.js +76 -39
- package/dist/predicate/isJSONValue.mjs +76 -35
- package/dist/predicate/isLength.d.mts +3 -2
- package/dist/predicate/isLength.d.ts +3 -2
- package/dist/predicate/isLength.js +24 -6
- package/dist/predicate/isLength.mjs +24 -2
- package/dist/predicate/isMap.d.mts +3 -2
- package/dist/predicate/isMap.d.ts +3 -2
- package/dist/predicate/isMap.js +20 -6
- package/dist/predicate/isMap.mjs +20 -2
- package/dist/predicate/isNil.d.mts +3 -2
- package/dist/predicate/isNil.d.ts +3 -2
- package/dist/predicate/isNil.js +22 -6
- package/dist/predicate/isNil.mjs +22 -2
- package/dist/predicate/isNode.d.mts +3 -2
- package/dist/predicate/isNode.d.ts +3 -2
- package/dist/predicate/isNode.js +17 -6
- package/dist/predicate/isNode.mjs +17 -2
- package/dist/predicate/isNotNil.d.mts +3 -2
- package/dist/predicate/isNotNil.d.ts +3 -2
- package/dist/predicate/isNotNil.js +19 -6
- package/dist/predicate/isNotNil.mjs +19 -2
- package/dist/predicate/isNull.d.mts +3 -2
- package/dist/predicate/isNull.d.ts +3 -2
- package/dist/predicate/isNull.js +23 -6
- package/dist/predicate/isNull.mjs +23 -2
- package/dist/predicate/isNumber.d.mts +3 -2
- package/dist/predicate/isNumber.d.ts +3 -2
- package/dist/predicate/isNumber.js +25 -6
- package/dist/predicate/isNumber.mjs +25 -2
- package/dist/predicate/isPlainObject.d.mts +3 -2
- package/dist/predicate/isPlainObject.d.ts +3 -2
- package/dist/predicate/isPlainObject.js +48 -16
- package/dist/predicate/isPlainObject.mjs +48 -12
- package/dist/predicate/isPrimitive.d.mts +3 -2
- package/dist/predicate/isPrimitive.d.ts +3 -2
- package/dist/predicate/isPrimitive.js +31 -6
- package/dist/predicate/isPrimitive.mjs +31 -2
- package/dist/predicate/isPromise.d.mts +3 -2
- package/dist/predicate/isPromise.d.ts +3 -2
- package/dist/predicate/isPromise.js +20 -6
- package/dist/predicate/isPromise.mjs +20 -2
- package/dist/predicate/isRegExp.d.mts +3 -2
- package/dist/predicate/isRegExp.d.ts +3 -2
- package/dist/predicate/isRegExp.js +16 -6
- package/dist/predicate/isRegExp.mjs +16 -2
- package/dist/predicate/isSet.d.mts +3 -2
- package/dist/predicate/isSet.d.ts +3 -2
- package/dist/predicate/isSet.js +20 -6
- package/dist/predicate/isSet.mjs +20 -2
- package/dist/predicate/isString.d.mts +3 -2
- package/dist/predicate/isString.d.ts +3 -2
- package/dist/predicate/isString.js +20 -6
- package/dist/predicate/isString.mjs +20 -2
- package/dist/predicate/isSymbol.d.mts +3 -2
- package/dist/predicate/isSymbol.d.ts +3 -2
- package/dist/predicate/isSymbol.js +26 -6
- package/dist/predicate/isSymbol.mjs +26 -2
- package/dist/predicate/isTypedArray.d.mts +3 -2
- package/dist/predicate/isTypedArray.d.ts +3 -2
- package/dist/predicate/isTypedArray.js +29 -6
- package/dist/predicate/isTypedArray.mjs +29 -2
- package/dist/predicate/isUndefined.d.mts +3 -2
- package/dist/predicate/isUndefined.d.ts +3 -2
- package/dist/predicate/isUndefined.js +23 -6
- package/dist/predicate/isUndefined.mjs +23 -2
- package/dist/predicate/isWeakMap.d.mts +3 -2
- package/dist/predicate/isWeakMap.d.ts +3 -2
- package/dist/predicate/isWeakMap.js +23 -6
- package/dist/predicate/isWeakMap.mjs +23 -2
- package/dist/predicate/isWeakSet.d.mts +3 -2
- package/dist/predicate/isWeakSet.d.ts +3 -2
- package/dist/predicate/isWeakSet.js +23 -6
- package/dist/predicate/isWeakSet.mjs +23 -2
- package/dist/promise/allKeyed.d.mts +31 -0
- package/dist/promise/allKeyed.d.ts +31 -0
- package/dist/promise/allKeyed.js +37 -0
- package/dist/promise/allKeyed.mjs +37 -0
- package/dist/promise/delay.d.mts +7 -4
- package/dist/promise/delay.d.ts +7 -4
- package/dist/promise/delay.js +50 -24
- package/dist/promise/delay.mjs +50 -20
- package/dist/promise/index.d.mts +7 -5
- package/dist/promise/index.d.ts +7 -5
- package/dist/promise/index.js +13 -17
- package/dist/promise/index.mjs +7 -5
- package/dist/promise/mutex.d.mts +44 -43
- package/dist/promise/mutex.d.ts +44 -43
- package/dist/promise/mutex.js +71 -19
- package/dist/promise/mutex.mjs +71 -15
- package/dist/promise/semaphore.d.mts +55 -54
- package/dist/promise/semaphore.d.ts +55 -54
- package/dist/promise/semaphore.js +99 -33
- package/dist/promise/semaphore.mjs +99 -29
- package/dist/promise/timeout.d.mts +3 -2
- package/dist/promise/timeout.d.ts +3 -2
- package/dist/promise/timeout.js +20 -10
- package/dist/promise/timeout.mjs +20 -6
- package/dist/promise/withTimeout.d.mts +3 -2
- package/dist/promise/withTimeout.d.ts +3 -2
- package/dist/promise/withTimeout.js +29 -8
- package/dist/promise/withTimeout.mjs +29 -4
- package/dist/server/colors/_internal/parseHex.js +32 -0
- package/dist/server/colors/_internal/parseHex.mjs +32 -0
- package/dist/server/colors/_internal/wrapAnsi.js +21 -0
- package/dist/server/colors/_internal/wrapAnsi.mjs +21 -0
- package/dist/server/colors/_internal/wrapAnsiBg.js +30 -0
- package/dist/server/colors/_internal/wrapAnsiBg.mjs +30 -0
- package/dist/server/colors/ansi256.d.mts +18 -0
- package/dist/server/colors/ansi256.d.ts +18 -0
- package/dist/server/colors/ansi256.js +19 -0
- package/dist/server/colors/ansi256.mjs +19 -0
- package/dist/server/colors/bgAnsi256.d.mts +18 -0
- package/dist/server/colors/bgAnsi256.d.ts +18 -0
- package/dist/server/colors/bgAnsi256.js +19 -0
- package/dist/server/colors/bgAnsi256.mjs +19 -0
- package/dist/server/colors/bgBlack.d.mts +15 -0
- package/dist/server/colors/bgBlack.d.ts +15 -0
- package/dist/server/colors/bgBlack.js +18 -0
- package/dist/server/colors/bgBlack.mjs +18 -0
- package/dist/server/colors/bgBlackBright.d.mts +15 -0
- package/dist/server/colors/bgBlackBright.d.ts +15 -0
- package/dist/server/colors/bgBlackBright.js +18 -0
- package/dist/server/colors/bgBlackBright.mjs +18 -0
- package/dist/server/colors/bgBlue.d.mts +15 -0
- package/dist/server/colors/bgBlue.d.ts +15 -0
- package/dist/server/colors/bgBlue.js +18 -0
- package/dist/server/colors/bgBlue.mjs +18 -0
- package/dist/server/colors/bgBlueBright.d.mts +15 -0
- package/dist/server/colors/bgBlueBright.d.ts +15 -0
- package/dist/server/colors/bgBlueBright.js +18 -0
- package/dist/server/colors/bgBlueBright.mjs +18 -0
- package/dist/server/colors/bgCyan.d.mts +15 -0
- package/dist/server/colors/bgCyan.d.ts +15 -0
- package/dist/server/colors/bgCyan.js +18 -0
- package/dist/server/colors/bgCyan.mjs +18 -0
- package/dist/server/colors/bgCyanBright.d.mts +15 -0
- package/dist/server/colors/bgCyanBright.d.ts +15 -0
- package/dist/server/colors/bgCyanBright.js +18 -0
- package/dist/server/colors/bgCyanBright.mjs +18 -0
- package/dist/server/colors/bgGreen.d.mts +15 -0
- package/dist/server/colors/bgGreen.d.ts +15 -0
- package/dist/server/colors/bgGreen.js +18 -0
- package/dist/server/colors/bgGreen.mjs +18 -0
- package/dist/server/colors/bgGreenBright.d.mts +15 -0
- package/dist/server/colors/bgGreenBright.d.ts +15 -0
- package/dist/server/colors/bgGreenBright.js +18 -0
- package/dist/server/colors/bgGreenBright.mjs +18 -0
- package/dist/server/colors/bgHex.d.mts +18 -0
- package/dist/server/colors/bgHex.d.ts +18 -0
- package/dist/server/colors/bgHex.js +21 -0
- package/dist/server/colors/bgHex.mjs +21 -0
- package/dist/server/colors/bgMagenta.d.mts +15 -0
- package/dist/server/colors/bgMagenta.d.ts +15 -0
- package/dist/server/colors/bgMagenta.js +18 -0
- package/dist/server/colors/bgMagenta.mjs +18 -0
- package/dist/server/colors/bgMagentaBright.d.mts +15 -0
- package/dist/server/colors/bgMagentaBright.d.ts +15 -0
- package/dist/server/colors/bgMagentaBright.js +18 -0
- package/dist/server/colors/bgMagentaBright.mjs +18 -0
- package/dist/server/colors/bgRed.d.mts +15 -0
- package/dist/server/colors/bgRed.d.ts +15 -0
- package/dist/server/colors/bgRed.js +18 -0
- package/dist/server/colors/bgRed.mjs +18 -0
- package/dist/server/colors/bgRedBright.d.mts +15 -0
- package/dist/server/colors/bgRedBright.d.ts +15 -0
- package/dist/server/colors/bgRedBright.js +18 -0
- package/dist/server/colors/bgRedBright.mjs +18 -0
- package/dist/server/colors/bgRgb.d.mts +20 -0
- package/dist/server/colors/bgRgb.d.ts +20 -0
- package/dist/server/colors/bgRgb.js +21 -0
- package/dist/server/colors/bgRgb.mjs +21 -0
- package/dist/server/colors/bgWhite.d.mts +15 -0
- package/dist/server/colors/bgWhite.d.ts +15 -0
- package/dist/server/colors/bgWhite.js +18 -0
- package/dist/server/colors/bgWhite.mjs +18 -0
- package/dist/server/colors/bgWhiteBright.d.mts +15 -0
- package/dist/server/colors/bgWhiteBright.d.ts +15 -0
- package/dist/server/colors/bgWhiteBright.js +18 -0
- package/dist/server/colors/bgWhiteBright.mjs +18 -0
- package/dist/server/colors/bgYellow.d.mts +15 -0
- package/dist/server/colors/bgYellow.d.ts +15 -0
- package/dist/server/colors/bgYellow.js +18 -0
- package/dist/server/colors/bgYellow.mjs +18 -0
- package/dist/server/colors/bgYellowBright.d.mts +15 -0
- package/dist/server/colors/bgYellowBright.d.ts +15 -0
- package/dist/server/colors/bgYellowBright.js +18 -0
- package/dist/server/colors/bgYellowBright.mjs +18 -0
- package/dist/server/colors/black.d.mts +15 -0
- package/dist/server/colors/black.d.ts +15 -0
- package/dist/server/colors/black.js +18 -0
- package/dist/server/colors/black.mjs +18 -0
- package/dist/server/colors/blackBright.d.mts +15 -0
- package/dist/server/colors/blackBright.d.ts +15 -0
- package/dist/server/colors/blackBright.js +18 -0
- package/dist/server/colors/blackBright.mjs +18 -0
- package/dist/server/colors/blue.d.mts +15 -0
- package/dist/server/colors/blue.d.ts +15 -0
- package/dist/server/colors/blue.js +18 -0
- package/dist/server/colors/blue.mjs +18 -0
- package/dist/server/colors/blueBright.d.mts +15 -0
- package/dist/server/colors/blueBright.d.ts +15 -0
- package/dist/server/colors/blueBright.js +18 -0
- package/dist/server/colors/blueBright.mjs +18 -0
- package/dist/server/colors/bold.d.mts +15 -0
- package/dist/server/colors/bold.d.ts +15 -0
- package/dist/server/colors/bold.js +18 -0
- package/dist/server/colors/bold.mjs +18 -0
- package/dist/server/colors/cyan.d.mts +15 -0
- package/dist/server/colors/cyan.d.ts +15 -0
- package/dist/server/colors/cyan.js +18 -0
- package/dist/server/colors/cyan.mjs +18 -0
- package/dist/server/colors/cyanBright.d.mts +15 -0
- package/dist/server/colors/cyanBright.d.ts +15 -0
- package/dist/server/colors/cyanBright.js +18 -0
- package/dist/server/colors/cyanBright.mjs +18 -0
- package/dist/server/colors/dim.d.mts +15 -0
- package/dist/server/colors/dim.d.ts +15 -0
- package/dist/server/colors/dim.js +18 -0
- package/dist/server/colors/dim.mjs +18 -0
- package/dist/server/colors/gray.js +18 -0
- package/dist/server/colors/gray.mjs +19 -0
- package/dist/server/colors/green.d.mts +15 -0
- package/dist/server/colors/green.d.ts +15 -0
- package/dist/server/colors/green.js +18 -0
- package/dist/server/colors/green.mjs +18 -0
- package/dist/server/colors/greenBright.d.mts +15 -0
- package/dist/server/colors/greenBright.d.ts +15 -0
- package/dist/server/colors/greenBright.js +18 -0
- package/dist/server/colors/greenBright.mjs +18 -0
- package/dist/server/colors/hex.d.mts +18 -0
- package/dist/server/colors/hex.d.ts +18 -0
- package/dist/server/colors/hex.js +21 -0
- package/dist/server/colors/hex.mjs +21 -0
- package/dist/server/colors/hidden.d.mts +15 -0
- package/dist/server/colors/hidden.d.ts +15 -0
- package/dist/server/colors/hidden.js +18 -0
- package/dist/server/colors/hidden.mjs +18 -0
- package/dist/server/colors/index.d.mts +99 -0
- package/dist/server/colors/index.d.ts +99 -0
- package/dist/server/colors/index.js +99 -0
- package/dist/server/colors/index.mjs +99 -0
- package/dist/server/colors/inverse.d.mts +15 -0
- package/dist/server/colors/inverse.d.ts +15 -0
- package/dist/server/colors/inverse.js +18 -0
- package/dist/server/colors/inverse.mjs +18 -0
- package/dist/server/colors/italic.d.mts +15 -0
- package/dist/server/colors/italic.d.ts +15 -0
- package/dist/server/colors/italic.js +18 -0
- package/dist/server/colors/italic.mjs +18 -0
- package/dist/server/colors/magenta.d.mts +15 -0
- package/dist/server/colors/magenta.d.ts +15 -0
- package/dist/server/colors/magenta.js +18 -0
- package/dist/server/colors/magenta.mjs +18 -0
- package/dist/server/colors/magentaBright.d.mts +15 -0
- package/dist/server/colors/magentaBright.d.ts +15 -0
- package/dist/server/colors/magentaBright.js +18 -0
- package/dist/server/colors/magentaBright.mjs +18 -0
- package/dist/server/colors/red.d.mts +15 -0
- package/dist/server/colors/red.d.ts +15 -0
- package/dist/server/colors/red.js +18 -0
- package/dist/server/colors/red.mjs +18 -0
- package/dist/server/colors/redBright.d.mts +15 -0
- package/dist/server/colors/redBright.d.ts +15 -0
- package/dist/server/colors/redBright.js +18 -0
- package/dist/server/colors/redBright.mjs +18 -0
- package/dist/server/colors/reset.d.mts +15 -0
- package/dist/server/colors/reset.d.ts +15 -0
- package/dist/server/colors/reset.js +18 -0
- package/dist/server/colors/reset.mjs +18 -0
- package/dist/server/colors/rgb.d.mts +20 -0
- package/dist/server/colors/rgb.d.ts +20 -0
- package/dist/server/colors/rgb.js +21 -0
- package/dist/server/colors/rgb.mjs +21 -0
- package/dist/server/colors/strikethrough.d.mts +15 -0
- package/dist/server/colors/strikethrough.d.ts +15 -0
- package/dist/server/colors/strikethrough.js +18 -0
- package/dist/server/colors/strikethrough.mjs +18 -0
- package/dist/server/colors/types.d.mts +4 -0
- package/dist/server/colors/types.d.ts +4 -0
- package/dist/server/colors/underline.d.mts +15 -0
- package/dist/server/colors/underline.d.ts +15 -0
- package/dist/server/colors/underline.js +18 -0
- package/dist/server/colors/underline.mjs +18 -0
- package/dist/server/colors/white.d.mts +15 -0
- package/dist/server/colors/white.d.ts +15 -0
- package/dist/server/colors/white.js +18 -0
- package/dist/server/colors/white.mjs +18 -0
- package/dist/server/colors/whiteBright.d.mts +15 -0
- package/dist/server/colors/whiteBright.d.ts +15 -0
- package/dist/server/colors/whiteBright.js +18 -0
- package/dist/server/colors/whiteBright.mjs +18 -0
- package/dist/server/colors/yellow.d.mts +15 -0
- package/dist/server/colors/yellow.d.ts +15 -0
- package/dist/server/colors/yellow.js +18 -0
- package/dist/server/colors/yellow.mjs +18 -0
- package/dist/server/colors/yellowBright.d.mts +15 -0
- package/dist/server/colors/yellowBright.d.ts +15 -0
- package/dist/server/colors/yellowBright.js +18 -0
- package/dist/server/colors/yellowBright.mjs +18 -0
- package/dist/server/exec.d.mts +63 -0
- package/dist/server/exec.d.ts +63 -0
- package/dist/server/exec.js +103 -0
- package/dist/server/exec.mjs +102 -0
- package/dist/server/index.d.mts +4 -0
- package/dist/server/index.d.ts +4 -0
- package/dist/server/index.js +6 -0
- package/dist/server/index.mjs +3 -0
- package/dist/set/countBy.d.mts +3 -2
- package/dist/set/countBy.d.ts +3 -2
- package/dist/set/countBy.js +31 -11
- package/dist/set/countBy.mjs +31 -7
- package/dist/set/every.d.mts +3 -2
- package/dist/set/every.d.ts +3 -2
- package/dist/set/every.js +24 -11
- package/dist/set/every.mjs +24 -7
- package/dist/set/filter.d.mts +3 -2
- package/dist/set/filter.d.ts +3 -2
- package/dist/set/filter.js +22 -12
- package/dist/set/filter.mjs +22 -8
- package/dist/set/find.d.mts +3 -2
- package/dist/set/find.d.ts +3 -2
- package/dist/set/find.js +24 -11
- package/dist/set/find.mjs +24 -7
- package/dist/set/forEach.d.mts +3 -2
- package/dist/set/forEach.d.ts +3 -2
- package/dist/set/forEach.js +25 -8
- package/dist/set/forEach.mjs +25 -4
- package/dist/set/index.d.mts +10 -9
- package/dist/set/index.d.ts +10 -9
- package/dist/set/index.js +19 -25
- package/dist/set/index.mjs +10 -9
- package/dist/set/keyBy.d.mts +3 -2
- package/dist/set/keyBy.d.ts +3 -2
- package/dist/set/keyBy.js +35 -11
- package/dist/set/keyBy.mjs +35 -7
- package/dist/set/map.d.mts +3 -2
- package/dist/set/map.d.ts +3 -2
- package/dist/set/map.js +26 -11
- package/dist/set/map.mjs +26 -7
- package/dist/set/reduce.d.mts +3 -2
- package/dist/set/reduce.d.ts +3 -2
- package/dist/set/reduce.js +32 -18
- package/dist/set/reduce.mjs +32 -14
- package/dist/set/some.d.mts +3 -2
- package/dist/set/some.d.ts +3 -2
- package/dist/set/some.js +24 -11
- package/dist/set/some.mjs +24 -7
- package/dist/string/camelCase.d.mts +3 -2
- package/dist/string/camelCase.d.ts +3 -2
- package/dist/string/camelCase.js +24 -14
- package/dist/string/camelCase.mjs +24 -10
- package/dist/string/capitalize.d.mts +3 -2
- package/dist/string/capitalize.d.ts +3 -2
- package/dist/string/capitalize.js +14 -6
- package/dist/string/capitalize.mjs +14 -2
- package/dist/string/constantCase.d.mts +3 -2
- package/dist/string/constantCase.d.ts +3 -2
- package/dist/string/constantCase.js +18 -9
- package/dist/string/constantCase.mjs +18 -5
- package/dist/string/deburr.d.mts +3 -2
- package/dist/string/deburr.d.ts +3 -2
- package/dist/string/deburr.js +58 -44
- package/dist/string/deburr.mjs +58 -40
- package/dist/string/escape.d.mts +3 -2
- package/dist/string/escape.d.ts +3 -2
- package/dist/string/escape.js +21 -11
- package/dist/string/escape.mjs +21 -7
- package/dist/string/escapeRegExp.d.mts +3 -2
- package/dist/string/escapeRegExp.d.ts +3 -2
- package/dist/string/escapeRegExp.js +14 -6
- package/dist/string/escapeRegExp.mjs +14 -2
- package/dist/string/index.d.mts +22 -21
- package/dist/string/index.d.ts +22 -21
- package/dist/string/index.js +43 -49
- package/dist/string/index.mjs +22 -21
- package/dist/string/kebabCase.d.mts +3 -2
- package/dist/string/kebabCase.d.ts +3 -2
- package/dist/string/kebabCase.js +18 -9
- package/dist/string/kebabCase.mjs +18 -5
- package/dist/string/lowerCase.d.mts +3 -2
- package/dist/string/lowerCase.d.ts +3 -2
- package/dist/string/lowerCase.js +18 -9
- package/dist/string/lowerCase.mjs +18 -5
- package/dist/string/lowerFirst.d.mts +3 -2
- package/dist/string/lowerFirst.d.ts +3 -2
- package/dist/string/lowerFirst.js +14 -6
- package/dist/string/lowerFirst.mjs +14 -2
- package/dist/string/pad.d.mts +3 -2
- package/dist/string/pad.d.ts +3 -2
- package/dist/string/pad.js +20 -7
- package/dist/string/pad.mjs +20 -3
- package/dist/string/pascalCase.d.mts +3 -2
- package/dist/string/pascalCase.d.ts +3 -2
- package/dist/string/pascalCase.js +19 -10
- package/dist/string/pascalCase.mjs +19 -6
- package/dist/string/reverseString.d.mts +3 -2
- package/dist/string/reverseString.d.ts +3 -2
- package/dist/string/reverseString.js +16 -6
- package/dist/string/reverseString.mjs +16 -2
- package/dist/string/snakeCase.d.mts +3 -2
- package/dist/string/snakeCase.d.ts +3 -2
- package/dist/string/snakeCase.js +18 -9
- package/dist/string/snakeCase.mjs +18 -5
- package/dist/string/startCase.d.mts +3 -2
- package/dist/string/startCase.d.ts +3 -2
- package/dist/string/startCase.js +24 -17
- package/dist/string/startCase.mjs +24 -13
- package/dist/string/trim.d.mts +3 -2
- package/dist/string/trim.d.ts +3 -2
- package/dist/string/trim.js +18 -12
- package/dist/string/trim.mjs +18 -8
- package/dist/string/trimEnd.d.mts +3 -2
- package/dist/string/trimEnd.d.ts +3 -2
- package/dist/string/trimEnd.js +28 -26
- package/dist/string/trimEnd.mjs +28 -22
- package/dist/string/trimStart.d.mts +3 -2
- package/dist/string/trimStart.d.ts +3 -2
- package/dist/string/trimStart.js +27 -23
- package/dist/string/trimStart.mjs +27 -19
- package/dist/string/unescape.d.mts +3 -2
- package/dist/string/unescape.d.ts +3 -2
- package/dist/string/unescape.js +21 -11
- package/dist/string/unescape.mjs +21 -7
- package/dist/string/upperCase.d.mts +3 -2
- package/dist/string/upperCase.d.ts +3 -2
- package/dist/string/upperCase.js +24 -16
- package/dist/string/upperCase.mjs +24 -12
- package/dist/string/upperFirst.d.mts +3 -2
- package/dist/string/upperFirst.d.ts +3 -2
- package/dist/string/upperFirst.js +14 -6
- package/dist/string/upperFirst.mjs +14 -2
- package/dist/string/words.d.mts +21 -2
- package/dist/string/words.d.ts +21 -2
- package/dist/string/words.js +37 -7
- package/dist/string/words.mjs +38 -3
- package/dist/util/attempt.d.mts +3 -2
- package/dist/util/attempt.d.ts +3 -2
- package/dist/util/attempt.js +46 -11
- package/dist/util/attempt.mjs +46 -7
- package/dist/util/attemptAsync.d.mts +3 -2
- package/dist/util/attemptAsync.d.ts +3 -2
- package/dist/util/attemptAsync.js +39 -12
- package/dist/util/attemptAsync.mjs +39 -8
- package/dist/util/index.d.mts +4 -3
- package/dist/util/index.d.ts +4 -3
- package/dist/util/index.js +8 -14
- package/dist/util/index.mjs +4 -3
- package/dist/util/invariant.d.mts +3 -2
- package/dist/util/invariant.d.ts +3 -2
- package/dist/util/invariant.js +29 -12
- package/dist/util/invariant.mjs +29 -8
- package/package.json +27 -6
- package/server.d.ts +1 -0
- package/server.js +1 -0
- package/dist/compat/_internal/Equals.d.d.mts +0 -3
- package/dist/compat/_internal/Equals.d.d.ts +0 -3
- package/dist/compat/_internal/IsWritable.d.d.mts +0 -5
- package/dist/compat/_internal/IsWritable.d.d.ts +0 -5
- package/dist/compat/_internal/MutableList.d.d.mts +0 -6
- package/dist/compat/_internal/MutableList.d.d.ts +0 -6
- package/dist/compat/_internal/RejectReadonly.d.d.mts +0 -6
- package/dist/compat/_internal/RejectReadonly.d.d.ts +0 -6
package/dist/index.mjs
CHANGED
|
@@ -1,180 +1,195 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
1
|
+
import { at } from "./array/at.mjs";
|
|
2
|
+
import { cartesianProduct } from "./array/cartesianProduct.mjs";
|
|
3
|
+
import { chunk } from "./array/chunk.mjs";
|
|
4
|
+
import { combinations } from "./array/combinations.mjs";
|
|
5
|
+
import { compact } from "./array/compact.mjs";
|
|
6
|
+
import { countBy } from "./array/countBy.mjs";
|
|
7
|
+
import { difference } from "./array/difference.mjs";
|
|
8
|
+
import { differenceBy } from "./array/differenceBy.mjs";
|
|
9
|
+
import { differenceWith } from "./array/differenceWith.mjs";
|
|
10
|
+
import { drop } from "./array/drop.mjs";
|
|
11
|
+
import { dropRight } from "./array/dropRight.mjs";
|
|
12
|
+
import { dropRightWhile } from "./array/dropRightWhile.mjs";
|
|
13
|
+
import { dropWhile } from "./array/dropWhile.mjs";
|
|
14
|
+
import { fill } from "./array/fill.mjs";
|
|
15
|
+
import { Semaphore } from "./promise/semaphore.mjs";
|
|
16
|
+
import { limitAsync } from "./array/limitAsync.mjs";
|
|
17
|
+
import { filterAsync } from "./array/filterAsync.mjs";
|
|
18
|
+
import { flatten } from "./array/flatten.mjs";
|
|
19
|
+
import { flatMap } from "./array/flatMap.mjs";
|
|
20
|
+
import { flatMapAsync } from "./array/flatMapAsync.mjs";
|
|
21
|
+
import { flattenDeep } from "./array/flattenDeep.mjs";
|
|
22
|
+
import { flatMapDeep } from "./array/flatMapDeep.mjs";
|
|
23
|
+
import { forEachAsync } from "./array/forEachAsync.mjs";
|
|
24
|
+
import { forEachRight } from "./array/forEachRight.mjs";
|
|
25
|
+
import { groupBy } from "./array/groupBy.mjs";
|
|
26
|
+
import { head } from "./array/head.mjs";
|
|
27
|
+
import { initial } from "./array/initial.mjs";
|
|
28
|
+
import { intersection } from "./array/intersection.mjs";
|
|
29
|
+
import { intersectionBy } from "./array/intersectionBy.mjs";
|
|
30
|
+
import { intersectionWith } from "./array/intersectionWith.mjs";
|
|
31
|
+
import { isSubset } from "./array/isSubset.mjs";
|
|
32
|
+
import { isSubsetWith } from "./array/isSubsetWith.mjs";
|
|
33
|
+
import { keyBy } from "./array/keyBy.mjs";
|
|
34
|
+
import { last } from "./array/last.mjs";
|
|
35
|
+
import { mapAsync } from "./array/mapAsync.mjs";
|
|
36
|
+
import { maxBy } from "./array/maxBy.mjs";
|
|
37
|
+
import { minBy } from "./array/minBy.mjs";
|
|
38
|
+
import { orderBy } from "./array/orderBy.mjs";
|
|
39
|
+
import { partition } from "./array/partition.mjs";
|
|
40
|
+
import { pull } from "./array/pull.mjs";
|
|
41
|
+
import { pullAt } from "./array/pullAt.mjs";
|
|
42
|
+
import { reduceAsync } from "./array/reduceAsync.mjs";
|
|
43
|
+
import { remove } from "./array/remove.mjs";
|
|
44
|
+
import { sample } from "./array/sample.mjs";
|
|
45
|
+
import { random } from "./math/random.mjs";
|
|
46
|
+
import { randomInt } from "./math/randomInt.mjs";
|
|
47
|
+
import { sampleSize } from "./array/sampleSize.mjs";
|
|
48
|
+
import { shuffle } from "./array/shuffle.mjs";
|
|
49
|
+
import { sortBy } from "./array/sortBy.mjs";
|
|
50
|
+
import { tail } from "./array/tail.mjs";
|
|
51
|
+
import { take } from "./array/take.mjs";
|
|
52
|
+
import { takeRight } from "./array/takeRight.mjs";
|
|
53
|
+
import { takeRightWhile } from "./array/takeRightWhile.mjs";
|
|
54
|
+
import { takeWhile } from "./array/takeWhile.mjs";
|
|
55
|
+
import { toFilled } from "./array/toFilled.mjs";
|
|
56
|
+
import { uniq } from "./array/uniq.mjs";
|
|
57
|
+
import { union } from "./array/union.mjs";
|
|
58
|
+
import { uniqBy } from "./array/uniqBy.mjs";
|
|
59
|
+
import { unionBy } from "./array/unionBy.mjs";
|
|
60
|
+
import { uniqWith } from "./array/uniqWith.mjs";
|
|
61
|
+
import { unionWith } from "./array/unionWith.mjs";
|
|
62
|
+
import { unzip } from "./array/unzip.mjs";
|
|
63
|
+
import { unzipWith } from "./array/unzipWith.mjs";
|
|
64
|
+
import { windowed } from "./array/windowed.mjs";
|
|
65
|
+
import { without } from "./array/without.mjs";
|
|
66
|
+
import { xor } from "./array/xor.mjs";
|
|
67
|
+
import { xorBy } from "./array/xorBy.mjs";
|
|
68
|
+
import { xorWith } from "./array/xorWith.mjs";
|
|
69
|
+
import { zip } from "./array/zip.mjs";
|
|
70
|
+
import { zipObject } from "./array/zipObject.mjs";
|
|
71
|
+
import { zipWith } from "./array/zipWith.mjs";
|
|
72
|
+
import "./array/index.mjs";
|
|
73
|
+
import { AbortError } from "./error/AbortError.mjs";
|
|
74
|
+
import { TimeoutError } from "./error/TimeoutError.mjs";
|
|
75
|
+
import "./error/index.mjs";
|
|
76
|
+
import { after } from "./function/after.mjs";
|
|
77
|
+
import { ary } from "./function/ary.mjs";
|
|
78
|
+
import { asyncNoop } from "./function/asyncNoop.mjs";
|
|
79
|
+
import { before } from "./function/before.mjs";
|
|
80
|
+
import { curry } from "./function/curry.mjs";
|
|
81
|
+
import { curryRight } from "./function/curryRight.mjs";
|
|
82
|
+
import { debounce } from "./function/debounce.mjs";
|
|
83
|
+
import { flow } from "./function/flow.mjs";
|
|
84
|
+
import { flowRight } from "./function/flowRight.mjs";
|
|
85
|
+
import { identity } from "./function/identity.mjs";
|
|
86
|
+
import { memoize } from "./function/memoize.mjs";
|
|
87
|
+
import { negate } from "./function/negate.mjs";
|
|
88
|
+
import { noop } from "./function/noop.mjs";
|
|
89
|
+
import { once } from "./function/once.mjs";
|
|
90
|
+
import { partial } from "./function/partial.mjs";
|
|
91
|
+
import { partialRight } from "./function/partialRight.mjs";
|
|
92
|
+
import { rest } from "./function/rest.mjs";
|
|
93
|
+
import { delay } from "./promise/delay.mjs";
|
|
94
|
+
import { retry } from "./function/retry.mjs";
|
|
95
|
+
import { spread } from "./function/spread.mjs";
|
|
96
|
+
import { throttle } from "./function/throttle.mjs";
|
|
97
|
+
import { unary } from "./function/unary.mjs";
|
|
98
|
+
import "./function/index.mjs";
|
|
99
|
+
import { clamp } from "./math/clamp.mjs";
|
|
100
|
+
import { inRange } from "./math/inRange.mjs";
|
|
101
|
+
import { sum } from "./math/sum.mjs";
|
|
102
|
+
import { mean } from "./math/mean.mjs";
|
|
103
|
+
import { sumBy } from "./math/sumBy.mjs";
|
|
104
|
+
import { meanBy } from "./math/meanBy.mjs";
|
|
105
|
+
import { median } from "./math/median.mjs";
|
|
106
|
+
import { medianBy } from "./math/medianBy.mjs";
|
|
107
|
+
import { percentile } from "./math/percentile.mjs";
|
|
108
|
+
import { range } from "./math/range.mjs";
|
|
109
|
+
import { rangeRight } from "./math/rangeRight.mjs";
|
|
110
|
+
import { round } from "./math/round.mjs";
|
|
111
|
+
import "./math/index.mjs";
|
|
112
|
+
import { isPrimitive } from "./predicate/isPrimitive.mjs";
|
|
113
|
+
import { isTypedArray } from "./predicate/isTypedArray.mjs";
|
|
114
|
+
import { clone } from "./object/clone.mjs";
|
|
115
|
+
import { isBuffer } from "./predicate/isBuffer.mjs";
|
|
116
|
+
import { cloneDeepWith } from "./object/cloneDeepWith.mjs";
|
|
117
|
+
import { cloneDeep } from "./object/cloneDeep.mjs";
|
|
118
|
+
import { findKey } from "./object/findKey.mjs";
|
|
119
|
+
import { isPlainObject } from "./predicate/isPlainObject.mjs";
|
|
120
|
+
import { flattenObject } from "./object/flattenObject.mjs";
|
|
121
|
+
import { invert } from "./object/invert.mjs";
|
|
122
|
+
import { mapKeys } from "./object/mapKeys.mjs";
|
|
123
|
+
import { mapValues } from "./object/mapValues.mjs";
|
|
124
|
+
import { merge } from "./object/merge.mjs";
|
|
125
|
+
import { mergeWith } from "./object/mergeWith.mjs";
|
|
126
|
+
import { omit } from "./object/omit.mjs";
|
|
127
|
+
import { omitBy } from "./object/omitBy.mjs";
|
|
128
|
+
import { pick } from "./object/pick.mjs";
|
|
129
|
+
import { pickBy } from "./object/pickBy.mjs";
|
|
130
|
+
import { sortKeys } from "./object/sortKeys.mjs";
|
|
131
|
+
import { capitalize } from "./string/capitalize.mjs";
|
|
132
|
+
import { words } from "./string/words.mjs";
|
|
133
|
+
import { camelCase } from "./string/camelCase.mjs";
|
|
134
|
+
import { toCamelCaseKeys } from "./object/toCamelCaseKeys.mjs";
|
|
135
|
+
import { toMerged } from "./object/toMerged.mjs";
|
|
136
|
+
import { snakeCase } from "./string/snakeCase.mjs";
|
|
137
|
+
import { toSnakeCaseKeys } from "./object/toSnakeCaseKeys.mjs";
|
|
138
|
+
import "./object/index.mjs";
|
|
139
|
+
import { isArrayBuffer } from "./predicate/isArrayBuffer.mjs";
|
|
140
|
+
import { isBlob } from "./predicate/isBlob.mjs";
|
|
141
|
+
import { isBoolean } from "./predicate/isBoolean.mjs";
|
|
142
|
+
import { isBrowser } from "./predicate/isBrowser.mjs";
|
|
143
|
+
import { isDate } from "./predicate/isDate.mjs";
|
|
144
|
+
import { isEmptyObject } from "./predicate/isEmptyObject.mjs";
|
|
145
|
+
import { isEqualWith } from "./predicate/isEqualWith.mjs";
|
|
146
|
+
import { isEqual } from "./predicate/isEqual.mjs";
|
|
147
|
+
import { isError } from "./predicate/isError.mjs";
|
|
148
|
+
import { isFile } from "./predicate/isFile.mjs";
|
|
149
|
+
import { isFunction } from "./predicate/isFunction.mjs";
|
|
150
|
+
import { isJSON } from "./predicate/isJSON.mjs";
|
|
151
|
+
import { isJSONArray, isJSONObject, isJSONValue } from "./predicate/isJSONValue.mjs";
|
|
152
|
+
import { isLength } from "./predicate/isLength.mjs";
|
|
153
|
+
import { isMap } from "./predicate/isMap.mjs";
|
|
154
|
+
import { isNil } from "./predicate/isNil.mjs";
|
|
155
|
+
import { isNode } from "./predicate/isNode.mjs";
|
|
156
|
+
import { isNotNil } from "./predicate/isNotNil.mjs";
|
|
157
|
+
import { isNull } from "./predicate/isNull.mjs";
|
|
158
|
+
import { isNumber } from "./predicate/isNumber.mjs";
|
|
159
|
+
import { isPromise } from "./predicate/isPromise.mjs";
|
|
160
|
+
import { isRegExp } from "./predicate/isRegExp.mjs";
|
|
161
|
+
import { isSet } from "./predicate/isSet.mjs";
|
|
162
|
+
import { isString } from "./predicate/isString.mjs";
|
|
163
|
+
import { isSymbol } from "./predicate/isSymbol.mjs";
|
|
164
|
+
import { isUndefined } from "./predicate/isUndefined.mjs";
|
|
165
|
+
import { isWeakMap } from "./predicate/isWeakMap.mjs";
|
|
166
|
+
import { isWeakSet } from "./predicate/isWeakSet.mjs";
|
|
167
|
+
import "./predicate/index.mjs";
|
|
168
|
+
import { allKeyed } from "./promise/allKeyed.mjs";
|
|
169
|
+
import { Mutex } from "./promise/mutex.mjs";
|
|
170
|
+
import { timeout } from "./promise/timeout.mjs";
|
|
171
|
+
import { withTimeout } from "./promise/withTimeout.mjs";
|
|
172
|
+
import "./promise/index.mjs";
|
|
173
|
+
import { constantCase } from "./string/constantCase.mjs";
|
|
174
|
+
import { deburr } from "./string/deburr.mjs";
|
|
175
|
+
import { escape } from "./string/escape.mjs";
|
|
176
|
+
import { escapeRegExp } from "./string/escapeRegExp.mjs";
|
|
177
|
+
import { kebabCase } from "./string/kebabCase.mjs";
|
|
178
|
+
import { lowerCase } from "./string/lowerCase.mjs";
|
|
179
|
+
import { lowerFirst } from "./string/lowerFirst.mjs";
|
|
180
|
+
import { pad } from "./string/pad.mjs";
|
|
181
|
+
import { pascalCase } from "./string/pascalCase.mjs";
|
|
182
|
+
import { reverseString } from "./string/reverseString.mjs";
|
|
183
|
+
import { startCase } from "./string/startCase.mjs";
|
|
184
|
+
import { trimEnd } from "./string/trimEnd.mjs";
|
|
185
|
+
import { trimStart } from "./string/trimStart.mjs";
|
|
186
|
+
import { trim } from "./string/trim.mjs";
|
|
187
|
+
import { unescape } from "./string/unescape.mjs";
|
|
188
|
+
import { upperCase } from "./string/upperCase.mjs";
|
|
189
|
+
import { upperFirst } from "./string/upperFirst.mjs";
|
|
190
|
+
import "./string/index.mjs";
|
|
191
|
+
import { attempt } from "./util/attempt.mjs";
|
|
192
|
+
import { attemptAsync } from "./util/attemptAsync.mjs";
|
|
193
|
+
import { invariant } from "./util/invariant.mjs";
|
|
194
|
+
import "./util/index.mjs";
|
|
195
|
+
export { AbortError, Mutex, Semaphore, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapValues, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toFilled, toMerged, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
|
package/dist/map/countBy.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/map/countBy.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Counts the occurrences of items in a Map based on a transformation function.
|
|
3
4
|
*
|
|
@@ -31,5 +32,5 @@
|
|
|
31
32
|
* // result will be { a: 1, b: 1, c: 1 }
|
|
32
33
|
*/
|
|
33
34
|
declare function countBy<K, V, K2 extends PropertyKey>(map: Map<K, V>, mapper: (value: V, key: K, object: Map<K, V>) => K2): Map<K2, number>;
|
|
34
|
-
|
|
35
|
-
export { countBy };
|
|
35
|
+
//#endregion
|
|
36
|
+
export { countBy };
|
package/dist/map/countBy.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/map/countBy.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Counts the occurrences of items in a Map based on a transformation function.
|
|
3
4
|
*
|
|
@@ -31,5 +32,5 @@
|
|
|
31
32
|
* // result will be { a: 1, b: 1, c: 1 }
|
|
32
33
|
*/
|
|
33
34
|
declare function countBy<K, V, K2 extends PropertyKey>(map: Map<K, V>, mapper: (value: V, key: K, object: Map<K, V>) => K2): Map<K2, number>;
|
|
34
|
-
|
|
35
|
-
export { countBy };
|
|
35
|
+
//#endregion
|
|
36
|
+
export { countBy };
|
package/dist/map/countBy.js
CHANGED
|
@@ -1,14 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region src/map/countBy.ts
|
|
2
|
+
/**
|
|
3
|
+
* Counts the occurrences of items in a Map based on a transformation function.
|
|
4
|
+
*
|
|
5
|
+
* This function takes a Map and a function that generates a key from each value-key pair.
|
|
6
|
+
* It returns an object with the generated keys as properties and their counts as values.
|
|
7
|
+
* The count is incremented for each entry for which the transformation produces the same key.
|
|
8
|
+
*
|
|
9
|
+
* @template K - The type of the Map's keys.
|
|
10
|
+
* @template V - The type of the Map's values.
|
|
11
|
+
* @template K2 - The type of keys produced by the transformation function.
|
|
12
|
+
* @param {Map<K, V>} map - The Map to count occurrences from.
|
|
13
|
+
* @param {(value: V, key: K, object: Map<K, V>) => K2} mapper - The function to produce a key for counting.
|
|
14
|
+
* @returns {Record<K2, number>} An object containing the mapped keys and their counts.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const map = new Map([
|
|
18
|
+
* ['a', 1],
|
|
19
|
+
* ['b', 2],
|
|
20
|
+
* ['c', 1]
|
|
21
|
+
* ]);
|
|
22
|
+
* const result = countBy(map, (value) => value);
|
|
23
|
+
* // result will be { 1: 2, 2: 1 }
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* const map = new Map([
|
|
27
|
+
* ['alice', 20],
|
|
28
|
+
* ['bob', 30],
|
|
29
|
+
* ['carol', 20]
|
|
30
|
+
* ]);
|
|
31
|
+
* const result = countBy(map, (value, key) => key[0]);
|
|
32
|
+
* // result will be { a: 1, b: 1, c: 1 }
|
|
33
|
+
*/
|
|
5
34
|
function countBy(map, mapper) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
35
|
+
const result = /* @__PURE__ */ new Map();
|
|
36
|
+
for (const [key, value] of map) {
|
|
37
|
+
const mappedKey = mapper(value, key, map);
|
|
38
|
+
result.set(mappedKey, (result.get(mappedKey) ?? 0) + 1);
|
|
39
|
+
}
|
|
40
|
+
return result;
|
|
12
41
|
}
|
|
13
|
-
|
|
42
|
+
//#endregion
|
|
14
43
|
exports.countBy = countBy;
|
package/dist/map/countBy.mjs
CHANGED
|
@@ -1,10 +1,43 @@
|
|
|
1
|
+
//#region src/map/countBy.ts
|
|
2
|
+
/**
|
|
3
|
+
* Counts the occurrences of items in a Map based on a transformation function.
|
|
4
|
+
*
|
|
5
|
+
* This function takes a Map and a function that generates a key from each value-key pair.
|
|
6
|
+
* It returns an object with the generated keys as properties and their counts as values.
|
|
7
|
+
* The count is incremented for each entry for which the transformation produces the same key.
|
|
8
|
+
*
|
|
9
|
+
* @template K - The type of the Map's keys.
|
|
10
|
+
* @template V - The type of the Map's values.
|
|
11
|
+
* @template K2 - The type of keys produced by the transformation function.
|
|
12
|
+
* @param {Map<K, V>} map - The Map to count occurrences from.
|
|
13
|
+
* @param {(value: V, key: K, object: Map<K, V>) => K2} mapper - The function to produce a key for counting.
|
|
14
|
+
* @returns {Record<K2, number>} An object containing the mapped keys and their counts.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const map = new Map([
|
|
18
|
+
* ['a', 1],
|
|
19
|
+
* ['b', 2],
|
|
20
|
+
* ['c', 1]
|
|
21
|
+
* ]);
|
|
22
|
+
* const result = countBy(map, (value) => value);
|
|
23
|
+
* // result will be { 1: 2, 2: 1 }
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* const map = new Map([
|
|
27
|
+
* ['alice', 20],
|
|
28
|
+
* ['bob', 30],
|
|
29
|
+
* ['carol', 20]
|
|
30
|
+
* ]);
|
|
31
|
+
* const result = countBy(map, (value, key) => key[0]);
|
|
32
|
+
* // result will be { a: 1, b: 1, c: 1 }
|
|
33
|
+
*/
|
|
1
34
|
function countBy(map, mapper) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
35
|
+
const result = /* @__PURE__ */ new Map();
|
|
36
|
+
for (const [key, value] of map) {
|
|
37
|
+
const mappedKey = mapper(value, key, map);
|
|
38
|
+
result.set(mappedKey, (result.get(mappedKey) ?? 0) + 1);
|
|
39
|
+
}
|
|
40
|
+
return result;
|
|
8
41
|
}
|
|
9
|
-
|
|
42
|
+
//#endregion
|
|
10
43
|
export { countBy };
|
package/dist/map/every.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/map/every.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Tests whether all entries in a Map satisfy the provided predicate function.
|
|
3
4
|
*
|
|
@@ -24,5 +25,5 @@
|
|
|
24
25
|
* // result2 will be: false
|
|
25
26
|
*/
|
|
26
27
|
declare function every<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
|
|
27
|
-
|
|
28
|
-
export { every };
|
|
28
|
+
//#endregion
|
|
29
|
+
export { every };
|
package/dist/map/every.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/map/every.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Tests whether all entries in a Map satisfy the provided predicate function.
|
|
3
4
|
*
|
|
@@ -24,5 +25,5 @@
|
|
|
24
25
|
* // result2 will be: false
|
|
25
26
|
*/
|
|
26
27
|
declare function every<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
|
|
27
|
-
|
|
28
|
-
export { every };
|
|
28
|
+
//#endregion
|
|
29
|
+
export { every };
|
package/dist/map/every.js
CHANGED
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region src/map/every.ts
|
|
2
|
+
/**
|
|
3
|
+
* Tests whether all entries in a Map satisfy the provided predicate function.
|
|
4
|
+
*
|
|
5
|
+
* This function iterates through all entries of the Map and checks if the predicate function
|
|
6
|
+
* returns true for every entry. It returns true if the predicate is satisfied for all entries,
|
|
7
|
+
* and false otherwise.
|
|
8
|
+
*
|
|
9
|
+
* @template K - The type of keys in the Map.
|
|
10
|
+
* @template V - The type of values in the Map.
|
|
11
|
+
* @param {Map<K, V>} map - The Map to test.
|
|
12
|
+
* @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
|
|
13
|
+
* @returns {boolean} true if all entries satisfy the predicate, false otherwise.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* const map = new Map([
|
|
17
|
+
* ['a', 10],
|
|
18
|
+
* ['b', 20],
|
|
19
|
+
* ['c', 30]
|
|
20
|
+
* ]);
|
|
21
|
+
* const result = every(map, (value) => value > 5);
|
|
22
|
+
* // result will be: true
|
|
23
|
+
*
|
|
24
|
+
* const result2 = every(map, (value) => value > 15);
|
|
25
|
+
* // result2 will be: false
|
|
26
|
+
*/
|
|
5
27
|
function every(map, doesMatch) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return true;
|
|
28
|
+
for (const [key, value] of map) if (!doesMatch(value, key, map)) return false;
|
|
29
|
+
return true;
|
|
12
30
|
}
|
|
13
|
-
|
|
31
|
+
//#endregion
|
|
14
32
|
exports.every = every;
|