prototyped.js 3.0.3 → 3.0.4
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/.eslintrc +9 -32
- package/.gitattributes +2 -0
- package/.github/workflows/release.yml +13 -6
- package/.github/workflows/test.yml +14 -13
- package/__tests__/array/all.test.ts +2 -2
- package/__tests__/array/any.test.ts +1 -1
- package/__tests__/array/append.test.ts +5 -7
- package/__tests__/array/average.test.ts +2 -6
- package/__tests__/array/compact.test.ts +13 -15
- package/__tests__/array/countBy.test.ts +8 -2
- package/__tests__/array/diff.test.ts +4 -6
- package/__tests__/array/distinct.test.ts +3 -8
- package/__tests__/array/distinctBy.test.ts +1 -3
- package/__tests__/array/equals.test.ts +15 -15
- package/__tests__/array/implode.test.ts +14 -18
- package/__tests__/array/max.test.ts +1 -3
- package/__tests__/array/median.test.ts +2 -8
- package/__tests__/array/min.test.ts +1 -3
- package/__tests__/array/nest.test.ts +60 -30
- package/__tests__/array/orderBy.test.ts +2 -3
- package/__tests__/array/partition.test.ts +23 -9
- package/__tests__/array/pluck.test.ts +5 -9
- package/__tests__/array/pull.test.ts +2 -2
- package/__tests__/array/sortBy.test.ts +1 -1
- package/__tests__/array/sum.test.ts +1 -3
- package/__tests__/array/toCSV.test.ts +8 -12
- package/__tests__/array/unwind.test.ts +4 -6
- package/__tests__/array/where.test.ts +11 -19
- package/__tests__/array/whereBetween.test.ts +2 -3
- package/__tests__/array/whereIn.test.ts +2 -3
- package/__tests__/array/whereLike.test.ts +4 -6
- package/__tests__/array/whereNotBetween.test.ts +5 -7
- package/__tests__/array/whereNotIn.test.ts +1 -3
- package/__tests__/array/whereNotLike.test.ts +4 -6
- package/__tests__/array/whereNotNull.test.ts +3 -6
- package/__tests__/array/whereNull.test.ts +3 -3
- package/__tests__/array/zip.test.ts +1 -0
- package/__tests__/array/zipObject.test.ts +5 -1
- package/__tests__/date/equals.test.ts +4 -4
- package/__tests__/date/isDate.test.ts +1 -1
- package/__tests__/date/today.test.ts +6 -8
- package/__tests__/date/tomorrow.test.ts +6 -8
- package/__tests__/date/yesterday.test.ts +6 -8
- package/__tests__/object/assign.test.ts +4 -1
- package/__tests__/object/camelCaseKeys.test.ts +9 -5
- package/__tests__/object/clone.test.ts +32 -9
- package/__tests__/object/defaults.test.ts +4 -1
- package/__tests__/object/dig.test.ts +1 -0
- package/__tests__/object/equals.test.ts +16 -12
- package/__tests__/object/flatten.test.ts +15 -12
- package/__tests__/object/forEach.test.ts +14 -5
- package/__tests__/object/get.test.ts +1 -3
- package/__tests__/object/invert.test.ts +5 -2
- package/__tests__/object/isPlainObject.test.ts +3 -1
- package/__tests__/object/kebabCaseKeys.test.ts +9 -5
- package/__tests__/object/keys.test.ts +5 -1
- package/__tests__/object/lowerCaseKeys.test.ts +5 -2
- package/__tests__/object/map.test.ts +15 -8
- package/__tests__/object/mapKeys.test.ts +4 -1
- package/__tests__/object/mapValues.test.ts +15 -8
- package/__tests__/object/merge.test.ts +14 -9
- package/__tests__/object/omit.test.ts +13 -2
- package/__tests__/object/reduce.test.ts +15 -12
- package/__tests__/object/set.test.ts +2 -0
- package/__tests__/object/size.test.ts +5 -1
- package/__tests__/object/snakeCaseKeys.test.ts +9 -5
- package/__tests__/object/values.test.ts +5 -1
- package/__tests__/string/camelCase.test.ts +7 -14
- package/__tests__/string/humanize.test.ts +4 -5
- package/__tests__/string/kebabCase.test.ts +9 -13
- package/__tests__/string/map.test.ts +1 -1
- package/__tests__/string/pluralize.test.ts +15 -3
- package/__tests__/string/reduce.test.ts +1 -0
- package/__tests__/string/snakeCase.test.ts +9 -13
- package/__tests__/utils.test.ts +2 -2
- package/build/cjs/array/all/index.js +10 -0
- package/build/cjs/array/all/index.js.map +1 -1
- package/build/cjs/array/all/shim.js +1 -12
- package/build/cjs/array/all/shim.js.map +1 -1
- package/build/cjs/array/any/index.js +11 -0
- package/build/cjs/array/any/index.js.map +1 -1
- package/build/cjs/array/any/shim.js +1 -13
- package/build/cjs/array/any/shim.js.map +1 -1
- package/build/cjs/array/append/index.js +8 -0
- package/build/cjs/array/append/index.js.map +1 -1
- package/build/cjs/array/append/shim.js +1 -11
- package/build/cjs/array/append/shim.js.map +1 -1
- package/build/cjs/array/average/index.js +12 -2
- package/build/cjs/array/average/index.js.map +1 -1
- package/build/cjs/array/average/shim.js +2 -25
- package/build/cjs/array/average/shim.js.map +1 -1
- package/build/cjs/array/chunk/index.js +8 -1
- package/build/cjs/array/chunk/index.js.map +1 -1
- package/build/cjs/array/chunk/shim.js +1 -10
- package/build/cjs/array/chunk/shim.js.map +1 -1
- package/build/cjs/array/clone/index.js +7 -0
- package/build/cjs/array/clone/index.js.map +1 -1
- package/build/cjs/array/clone/shim.js +1 -10
- package/build/cjs/array/clone/shim.js.map +1 -1
- package/build/cjs/array/compact/index.js +6 -0
- package/build/cjs/array/compact/index.js.map +1 -1
- package/build/cjs/array/compact/shim.js +1 -9
- package/build/cjs/array/compact/shim.js.map +1 -1
- package/build/cjs/array/contains/index.js +10 -0
- package/build/cjs/array/contains/index.js.map +1 -1
- package/build/cjs/array/contains/shim.js +1 -10
- package/build/cjs/array/contains/shim.js.map +1 -1
- package/build/cjs/array/count/index.js +12 -3
- package/build/cjs/array/count/index.js.map +1 -1
- package/build/cjs/array/count/shim.js +1 -11
- package/build/cjs/array/count/shim.js.map +1 -1
- package/build/cjs/array/countBy/index.js +10 -0
- package/build/cjs/array/countBy/index.js.map +1 -1
- package/build/cjs/array/countBy/shim.js +1 -12
- package/build/cjs/array/countBy/shim.js.map +1 -1
- package/build/cjs/array/crossJoin/index.js +9 -1
- package/build/cjs/array/crossJoin/index.js.map +1 -1
- package/build/cjs/array/crossJoin/shim.js +1 -11
- package/build/cjs/array/crossJoin/shim.js.map +1 -1
- package/build/cjs/array/deepFlatten/index.js +7 -1
- package/build/cjs/array/deepFlatten/index.js.map +1 -1
- package/build/cjs/array/deepFlatten/shim.js +1 -9
- package/build/cjs/array/deepFlatten/shim.js.map +1 -1
- package/build/cjs/array/diff/index.js +14 -2
- package/build/cjs/array/diff/index.js.map +1 -1
- package/build/cjs/array/diff/shim.js +1 -14
- package/build/cjs/array/diff/shim.js.map +1 -1
- package/build/cjs/array/distinct/index.js +16 -4
- package/build/cjs/array/distinct/index.js.map +1 -1
- package/build/cjs/array/distinct/shim.js +1 -12
- package/build/cjs/array/distinct/shim.js.map +1 -1
- package/build/cjs/array/distinctBy/index.js +12 -5
- package/build/cjs/array/distinctBy/index.js.map +1 -1
- package/build/cjs/array/distinctBy/shim.js +1 -10
- package/build/cjs/array/distinctBy/shim.js.map +1 -1
- package/build/cjs/array/empty/index.js +8 -0
- package/build/cjs/array/empty/index.js.map +1 -1
- package/build/cjs/array/empty/shim.js +1 -10
- package/build/cjs/array/empty/shim.js.map +1 -1
- package/build/cjs/array/equals/index.js +8 -1
- package/build/cjs/array/equals/index.js.map +1 -1
- package/build/cjs/array/equals/shim.js +1 -10
- package/build/cjs/array/equals/shim.js.map +1 -1
- package/build/cjs/array/everyNth/index.js +7 -0
- package/build/cjs/array/everyNth/index.js.map +1 -1
- package/build/cjs/array/everyNth/shim.js +1 -9
- package/build/cjs/array/everyNth/shim.js.map +1 -1
- package/build/cjs/array/first/index.js +6 -0
- package/build/cjs/array/first/index.js.map +1 -1
- package/build/cjs/array/first/shim.js +1 -9
- package/build/cjs/array/first/shim.js.map +1 -1
- package/build/cjs/array/flatten/index.js +10 -2
- package/build/cjs/array/flatten/index.js.map +1 -1
- package/build/cjs/array/flatten/shim.js +1 -11
- package/build/cjs/array/flatten/shim.js.map +1 -1
- package/build/cjs/array/get/index.js +10 -0
- package/build/cjs/array/get/index.js.map +1 -1
- package/build/cjs/array/get/shim.js +1 -12
- package/build/cjs/array/get/shim.js.map +1 -1
- package/build/cjs/array/groupBy/index.js +11 -1
- package/build/cjs/array/groupBy/index.js.map +1 -1
- package/build/cjs/array/groupBy/shim.js +1 -11
- package/build/cjs/array/groupBy/shim.js.map +1 -1
- package/build/cjs/array/implode/index.js +4 -2
- package/build/cjs/array/implode/index.js.map +1 -1
- package/build/cjs/array/implode/shim.js +1 -12
- package/build/cjs/array/implode/shim.js.map +1 -1
- package/build/cjs/array/index.js.map +1 -1
- package/build/cjs/array/indexOfAll/index.js +9 -0
- package/build/cjs/array/indexOfAll/index.js.map +1 -1
- package/build/cjs/array/indexOfAll/shim.js +1 -11
- package/build/cjs/array/indexOfAll/shim.js.map +1 -1
- package/build/cjs/array/initial/index.js +5 -0
- package/build/cjs/array/initial/index.js.map +1 -1
- package/build/cjs/array/initial/shim.js +1 -9
- package/build/cjs/array/initial/shim.js.map +1 -1
- package/build/cjs/array/intersect/index.js +8 -1
- package/build/cjs/array/intersect/index.js.map +1 -1
- package/build/cjs/array/intersect/shim.js +1 -10
- package/build/cjs/array/intersect/shim.js.map +1 -1
- package/build/cjs/array/isEmpty/index.js +7 -0
- package/build/cjs/array/isEmpty/index.js.map +1 -1
- package/build/cjs/array/isEmpty/shim.js +1 -10
- package/build/cjs/array/isEmpty/shim.js.map +1 -1
- package/build/cjs/array/last/index.js +6 -0
- package/build/cjs/array/last/index.js.map +1 -1
- package/build/cjs/array/last/shim.js +1 -9
- package/build/cjs/array/last/shim.js.map +1 -1
- package/build/cjs/array/limit/index.js +9 -2
- package/build/cjs/array/limit/index.js.map +1 -1
- package/build/cjs/array/limit/shim.js +2 -21
- package/build/cjs/array/limit/shim.js.map +1 -1
- package/build/cjs/array/max/index.js +1 -1
- package/build/cjs/array/max/index.js.map +1 -1
- package/build/cjs/array/max/shim.js +1 -12
- package/build/cjs/array/max/shim.js.map +1 -1
- package/build/cjs/array/median/index.js +1 -1
- package/build/cjs/array/median/index.js.map +1 -1
- package/build/cjs/array/median/shim.js +1 -11
- package/build/cjs/array/median/shim.js.map +1 -1
- package/build/cjs/array/merge/index.js +8 -0
- package/build/cjs/array/merge/index.js.map +1 -1
- package/build/cjs/array/merge/shim.js +1 -10
- package/build/cjs/array/merge/shim.js.map +1 -1
- package/build/cjs/array/min/index.js +1 -1
- package/build/cjs/array/min/index.js.map +1 -1
- package/build/cjs/array/min/shim.js +1 -12
- package/build/cjs/array/min/shim.js.map +1 -1
- package/build/cjs/array/nest/index.js +24 -5
- package/build/cjs/array/nest/index.js.map +1 -1
- package/build/cjs/array/nest/shim.js +1 -18
- package/build/cjs/array/nest/shim.js.map +1 -1
- package/build/cjs/array/orderBy/index.js +11 -9
- package/build/cjs/array/orderBy/index.js.map +1 -1
- package/build/cjs/array/orderBy/shim.js +1 -13
- package/build/cjs/array/orderBy/shim.js.map +1 -1
- package/build/cjs/array/pad/index.js +10 -0
- package/build/cjs/array/pad/index.js.map +1 -1
- package/build/cjs/array/pad/shim.js +1 -12
- package/build/cjs/array/pad/shim.js.map +1 -1
- package/build/cjs/array/partition/index.js +17 -1
- package/build/cjs/array/partition/index.js.map +1 -1
- package/build/cjs/array/partition/shim.js +1 -17
- package/build/cjs/array/partition/shim.js.map +1 -1
- package/build/cjs/array/pluck/index.js +11 -1
- package/build/cjs/array/pluck/index.js.map +1 -1
- package/build/cjs/array/pluck/shim.js +1 -11
- package/build/cjs/array/pluck/shim.js.map +1 -1
- package/build/cjs/array/prepend/index.js +8 -0
- package/build/cjs/array/prepend/index.js.map +1 -1
- package/build/cjs/array/prepend/shim.js +1 -10
- package/build/cjs/array/prepend/shim.js.map +1 -1
- package/build/cjs/array/pull/index.js +10 -2
- package/build/cjs/array/pull/index.js.map +1 -1
- package/build/cjs/array/pull/shim.js +1 -10
- package/build/cjs/array/pull/shim.js.map +1 -1
- package/build/cjs/array/range/index.js +14 -1
- package/build/cjs/array/range/index.js.map +1 -1
- package/build/cjs/array/range/shim.js +0 -14
- package/build/cjs/array/range/shim.js.map +1 -1
- package/build/cjs/array/repeat/index.js +7 -0
- package/build/cjs/array/repeat/index.js.map +1 -1
- package/build/cjs/array/repeat/shim.js +0 -10
- package/build/cjs/array/repeat/shim.js.map +1 -1
- package/build/cjs/array/sample/index.js +5 -0
- package/build/cjs/array/sample/index.js.map +1 -1
- package/build/cjs/array/sample/shim.js +1 -9
- package/build/cjs/array/sample/shim.js.map +1 -1
- package/build/cjs/array/shim.js +0 -1
- package/build/cjs/array/shim.js.map +1 -1
- package/build/cjs/array/shuffle/index.js +6 -0
- package/build/cjs/array/shuffle/index.js.map +1 -1
- package/build/cjs/array/shuffle/shim.js +0 -9
- package/build/cjs/array/shuffle/shim.js.map +1 -1
- package/build/cjs/array/skip/index.js +7 -0
- package/build/cjs/array/skip/index.js.map +1 -1
- package/build/cjs/array/skip/shim.js +1 -20
- package/build/cjs/array/skip/shim.js.map +1 -1
- package/build/cjs/array/sortBy/index.js +10 -0
- package/build/cjs/array/sortBy/index.js.map +1 -1
- package/build/cjs/array/sortBy/shim.js +0 -11
- package/build/cjs/array/sortBy/shim.js.map +1 -1
- package/build/cjs/array/sum/index.js +17 -7
- package/build/cjs/array/sum/index.js.map +1 -1
- package/build/cjs/array/sum/shim.js +0 -11
- package/build/cjs/array/sum/shim.js.map +1 -1
- package/build/cjs/array/tail/index.js +5 -0
- package/build/cjs/array/tail/index.js.map +1 -1
- package/build/cjs/array/tail/shim.js +1 -9
- package/build/cjs/array/tail/shim.js.map +1 -1
- package/build/cjs/array/toCSV/index.js +9 -0
- package/build/cjs/array/toCSV/index.js.map +1 -1
- package/build/cjs/array/toCSV/shim.js +1 -11
- package/build/cjs/array/toCSV/shim.js.map +1 -1
- package/build/cjs/array/union/index.js +7 -0
- package/build/cjs/array/union/index.js.map +1 -1
- package/build/cjs/array/union/shim.js +1 -10
- package/build/cjs/array/union/shim.js.map +1 -1
- package/build/cjs/array/unwind/index.js +12 -1
- package/build/cjs/array/unwind/index.js.map +1 -1
- package/build/cjs/array/unwind/shim.js +1 -11
- package/build/cjs/array/unwind/shim.js.map +1 -1
- package/build/cjs/array/where/index.js +35 -29
- package/build/cjs/array/where/index.js.map +1 -1
- package/build/cjs/array/where/shim.js +1 -15
- package/build/cjs/array/where/shim.js.map +1 -1
- package/build/cjs/array/whereBetween/index.js +10 -5
- package/build/cjs/array/whereBetween/index.js.map +1 -1
- package/build/cjs/array/whereBetween/shim.js +1 -13
- package/build/cjs/array/whereBetween/shim.js.map +1 -1
- package/build/cjs/array/whereIn/index.js +4 -4
- package/build/cjs/array/whereIn/index.js.map +1 -1
- package/build/cjs/array/whereIn/shim.js +1 -12
- package/build/cjs/array/whereIn/shim.js.map +1 -1
- package/build/cjs/array/whereLike/index.js +4 -4
- package/build/cjs/array/whereLike/index.js.map +1 -1
- package/build/cjs/array/whereLike/shim.js +1 -13
- package/build/cjs/array/whereLike/shim.js.map +1 -1
- package/build/cjs/array/whereNotBetween/index.js +10 -5
- package/build/cjs/array/whereNotBetween/index.js.map +1 -1
- package/build/cjs/array/whereNotBetween/shim.js +1 -13
- package/build/cjs/array/whereNotBetween/shim.js.map +1 -1
- package/build/cjs/array/whereNotIn/index.js +4 -4
- package/build/cjs/array/whereNotIn/index.js.map +1 -1
- package/build/cjs/array/whereNotIn/shim.js +1 -12
- package/build/cjs/array/whereNotIn/shim.js.map +1 -1
- package/build/cjs/array/whereNotLike/index.js +4 -4
- package/build/cjs/array/whereNotLike/index.js.map +1 -1
- package/build/cjs/array/whereNotLike/shim.js +1 -12
- package/build/cjs/array/whereNotLike/shim.js.map +1 -1
- package/build/cjs/array/whereNotNull/index.js +10 -2
- package/build/cjs/array/whereNotNull/index.js.map +1 -1
- package/build/cjs/array/whereNotNull/shim.js +1 -11
- package/build/cjs/array/whereNotNull/shim.js.map +1 -1
- package/build/cjs/array/whereNull/index.js +10 -2
- package/build/cjs/array/whereNull/index.js.map +1 -1
- package/build/cjs/array/whereNull/shim.js +1 -11
- package/build/cjs/array/whereNull/shim.js.map +1 -1
- package/build/cjs/array/zip/index.js +10 -3
- package/build/cjs/array/zip/index.js.map +1 -1
- package/build/cjs/array/zip/shim.js +1 -11
- package/build/cjs/array/zip/shim.js.map +1 -1
- package/build/cjs/array/zipObject/index.js +14 -1
- package/build/cjs/array/zipObject/index.js.map +1 -1
- package/build/cjs/array/zipObject/shim.js +1 -12
- package/build/cjs/array/zipObject/shim.js.map +1 -1
- package/build/cjs/boolean/isBoolean/index.js +8 -0
- package/build/cjs/boolean/isBoolean/index.js.map +1 -1
- package/build/cjs/boolean/isBoolean/shim.js +0 -10
- package/build/cjs/boolean/isBoolean/shim.js.map +1 -1
- package/build/cjs/boolean/shim.js +0 -1
- package/build/cjs/boolean/shim.js.map +1 -1
- package/build/cjs/date/equals/index.js +7 -0
- package/build/cjs/date/equals/index.js.map +1 -1
- package/build/cjs/date/equals/shim.js +1 -10
- package/build/cjs/date/equals/shim.js.map +1 -1
- package/build/cjs/date/isDate/index.js +10 -2
- package/build/cjs/date/isDate/index.js.map +1 -1
- package/build/cjs/date/isDate/shim.js +0 -10
- package/build/cjs/date/isDate/shim.js.map +1 -1
- package/build/cjs/date/shim.js +0 -1
- package/build/cjs/date/shim.js.map +1 -1
- package/build/cjs/date/today/index.js +8 -2
- package/build/cjs/date/today/index.js.map +1 -1
- package/build/cjs/date/today/shim.js +0 -8
- package/build/cjs/date/today/shim.js.map +1 -1
- package/build/cjs/date/tomorrow/index.js +8 -2
- package/build/cjs/date/tomorrow/index.js.map +1 -1
- package/build/cjs/date/tomorrow/shim.js +0 -8
- package/build/cjs/date/tomorrow/shim.js.map +1 -1
- package/build/cjs/date/yesterday/index.js +8 -2
- package/build/cjs/date/yesterday/index.js.map +1 -1
- package/build/cjs/date/yesterday/shim.js +0 -8
- package/build/cjs/date/yesterday/shim.js.map +1 -1
- package/build/cjs/function/cache/index.js +9 -1
- package/build/cjs/function/cache/index.js.map +1 -1
- package/build/cjs/function/cache/shim.js +0 -11
- package/build/cjs/function/cache/shim.js.map +1 -1
- package/build/cjs/function/defer/index.js +8 -0
- package/build/cjs/function/defer/index.js.map +1 -1
- package/build/cjs/function/defer/shim.js +1 -11
- package/build/cjs/function/defer/shim.js.map +1 -1
- package/build/cjs/function/isFunction/index.js +8 -0
- package/build/cjs/function/isFunction/index.js.map +1 -1
- package/build/cjs/function/isFunction/shim.js +0 -10
- package/build/cjs/function/isFunction/shim.js.map +1 -1
- package/build/cjs/function/once/index.js +9 -0
- package/build/cjs/function/once/index.js.map +1 -1
- package/build/cjs/function/once/shim.js +1 -12
- package/build/cjs/function/once/shim.js.map +1 -1
- package/build/cjs/function/shim.js +0 -1
- package/build/cjs/function/shim.js.map +1 -1
- package/build/cjs/globals/isBrowser/index.js +6 -0
- package/build/cjs/globals/isBrowser/index.js.map +1 -1
- package/build/cjs/globals/isBrowser/shim.js +0 -9
- package/build/cjs/globals/isBrowser/shim.js.map +1 -1
- package/build/cjs/globals/shim.js +0 -1
- package/build/cjs/globals/shim.js.map +1 -1
- package/build/cjs/index.js +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/math/average/index.js +8 -0
- package/build/cjs/math/average/index.js.map +1 -1
- package/build/cjs/math/average/shim.js +1 -22
- package/build/cjs/math/average/shim.js.map +1 -1
- package/build/cjs/math/degreesToRads/index.js +8 -2
- package/build/cjs/math/degreesToRads/index.js.map +1 -1
- package/build/cjs/math/degreesToRads/shim.js +0 -9
- package/build/cjs/math/degreesToRads/shim.js.map +1 -1
- package/build/cjs/math/factorial/index.js +6 -0
- package/build/cjs/math/factorial/index.js.map +1 -1
- package/build/cjs/math/factorial/shim.js +0 -9
- package/build/cjs/math/factorial/shim.js.map +1 -1
- package/build/cjs/math/fibonacci/index.js +6 -0
- package/build/cjs/math/fibonacci/index.js.map +1 -1
- package/build/cjs/math/fibonacci/shim.js +0 -9
- package/build/cjs/math/fibonacci/shim.js.map +1 -1
- package/build/cjs/math/gcd/index.js +10 -2
- package/build/cjs/math/gcd/index.js.map +1 -1
- package/build/cjs/math/gcd/shim.js +0 -10
- package/build/cjs/math/gcd/shim.js.map +1 -1
- package/build/cjs/math/isDivisible/index.js +7 -0
- package/build/cjs/math/isDivisible/index.js.map +1 -1
- package/build/cjs/math/isDivisible/shim.js +0 -10
- package/build/cjs/math/isDivisible/shim.js.map +1 -1
- package/build/cjs/math/isEven/index.js +6 -0
- package/build/cjs/math/isEven/index.js.map +1 -1
- package/build/cjs/math/isEven/shim.js +0 -9
- package/build/cjs/math/isEven/shim.js.map +1 -1
- package/build/cjs/math/isPrime/index.js +6 -0
- package/build/cjs/math/isPrime/index.js.map +1 -1
- package/build/cjs/math/isPrime/shim.js +0 -9
- package/build/cjs/math/isPrime/shim.js.map +1 -1
- package/build/cjs/math/lcm/index.js +13 -3
- package/build/cjs/math/lcm/index.js.map +1 -1
- package/build/cjs/math/lcm/shim.js +0 -10
- package/build/cjs/math/lcm/shim.js.map +1 -1
- package/build/cjs/math/primes/index.js +7 -1
- package/build/cjs/math/primes/index.js.map +1 -1
- package/build/cjs/math/primes/shim.js +0 -9
- package/build/cjs/math/primes/shim.js.map +1 -1
- package/build/cjs/math/radsToDegrees/index.js +8 -2
- package/build/cjs/math/radsToDegrees/index.js.map +1 -1
- package/build/cjs/math/radsToDegrees/shim.js +0 -9
- package/build/cjs/math/radsToDegrees/shim.js.map +1 -1
- package/build/cjs/math/shim.js +0 -1
- package/build/cjs/math/shim.js.map +1 -1
- package/build/cjs/number/digitize/index.js +6 -1
- package/build/cjs/number/digitize/index.js.map +1 -1
- package/build/cjs/number/digitize/shim.js +1 -9
- package/build/cjs/number/digitize/shim.js.map +1 -1
- package/build/cjs/number/equals/index.js +7 -0
- package/build/cjs/number/equals/index.js.map +1 -1
- package/build/cjs/number/equals/shim.js +1 -10
- package/build/cjs/number/equals/shim.js.map +1 -1
- package/build/cjs/number/inRange/index.js +8 -0
- package/build/cjs/number/inRange/index.js.map +1 -1
- package/build/cjs/number/inRange/shim.js +1 -11
- package/build/cjs/number/inRange/shim.js.map +1 -1
- package/build/cjs/number/isNumber/index.js +8 -0
- package/build/cjs/number/isNumber/index.js.map +1 -1
- package/build/cjs/number/isNumber/shim.js +0 -10
- package/build/cjs/number/isNumber/shim.js.map +1 -1
- package/build/cjs/number/shim.js +0 -1
- package/build/cjs/number/shim.js.map +1 -1
- package/build/cjs/object/assign/index.js +7 -0
- package/build/cjs/object/assign/index.js.map +1 -1
- package/build/cjs/object/assign/shim.js +1 -10
- package/build/cjs/object/assign/shim.js.map +1 -1
- package/build/cjs/object/camelCaseKeys/index.js +7 -0
- package/build/cjs/object/camelCaseKeys/index.js.map +1 -1
- package/build/cjs/object/camelCaseKeys/shim.js +1 -10
- package/build/cjs/object/camelCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/clone/index.js +9 -1
- package/build/cjs/object/clone/index.js.map +1 -1
- package/build/cjs/object/clone/shim.js +1 -11
- package/build/cjs/object/clone/shim.js.map +1 -1
- package/build/cjs/object/defaults/index.js +8 -1
- package/build/cjs/object/defaults/index.js.map +1 -1
- package/build/cjs/object/defaults/shim.js +1 -10
- package/build/cjs/object/defaults/shim.js.map +1 -1
- package/build/cjs/object/dig/index.js +17 -1
- package/build/cjs/object/dig/index.js.map +1 -1
- package/build/cjs/object/dig/shim.js +1 -18
- package/build/cjs/object/dig/shim.js.map +1 -1
- package/build/cjs/object/empty/index.js +10 -3
- package/build/cjs/object/empty/index.js.map +1 -1
- package/build/cjs/object/empty/shim.js +1 -10
- package/build/cjs/object/empty/shim.js.map +1 -1
- package/build/cjs/object/equals/index.js +9 -1
- package/build/cjs/object/equals/index.js.map +1 -1
- package/build/cjs/object/equals/shim.js +1 -10
- package/build/cjs/object/equals/shim.js.map +1 -1
- package/build/cjs/object/flatten/index.js +7 -1
- package/build/cjs/object/flatten/index.js.map +1 -1
- package/build/cjs/object/flatten/shim.js +1 -9
- package/build/cjs/object/flatten/shim.js.map +1 -1
- package/build/cjs/object/forEach/index.js +12 -1
- package/build/cjs/object/forEach/index.js.map +1 -1
- package/build/cjs/object/forEach/shim.js +1 -13
- package/build/cjs/object/forEach/shim.js.map +1 -1
- package/build/cjs/object/get/index.js +7 -0
- package/build/cjs/object/get/index.js.map +1 -1
- package/build/cjs/object/get/shim.js +1 -10
- package/build/cjs/object/get/shim.js.map +1 -1
- package/build/cjs/object/invert/index.js +6 -0
- package/build/cjs/object/invert/index.js.map +1 -1
- package/build/cjs/object/invert/shim.js +1 -9
- package/build/cjs/object/invert/shim.js.map +1 -1
- package/build/cjs/object/isEmpty/index.js +8 -0
- package/build/cjs/object/isEmpty/index.js.map +1 -1
- package/build/cjs/object/isEmpty/shim.js +1 -10
- package/build/cjs/object/isEmpty/shim.js.map +1 -1
- package/build/cjs/object/isObject/index.js +8 -0
- package/build/cjs/object/isObject/index.js.map +1 -1
- package/build/cjs/object/isObject/shim.js +0 -10
- package/build/cjs/object/isObject/shim.js.map +1 -1
- package/build/cjs/object/isObjectLike/index.js +8 -0
- package/build/cjs/object/isObjectLike/index.js.map +1 -1
- package/build/cjs/object/isObjectLike/shim.js +0 -10
- package/build/cjs/object/isObjectLike/shim.js.map +1 -1
- package/build/cjs/object/isPlainObject/index.js +9 -2
- package/build/cjs/object/isPlainObject/index.js.map +1 -1
- package/build/cjs/object/isPlainObject/shim.js +0 -10
- package/build/cjs/object/isPlainObject/shim.js.map +1 -1
- package/build/cjs/object/kebabCaseKeys/index.js +7 -0
- package/build/cjs/object/kebabCaseKeys/index.js.map +1 -1
- package/build/cjs/object/kebabCaseKeys/shim.js +1 -10
- package/build/cjs/object/kebabCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/keys/index.js +6 -0
- package/build/cjs/object/keys/index.js.map +1 -1
- package/build/cjs/object/keys/shim.js +1 -9
- package/build/cjs/object/keys/shim.js.map +1 -1
- package/build/cjs/object/lowerCaseKeys/index.js +6 -0
- package/build/cjs/object/lowerCaseKeys/index.js.map +1 -1
- package/build/cjs/object/lowerCaseKeys/shim.js +1 -10
- package/build/cjs/object/lowerCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/map/index.js +12 -0
- package/build/cjs/object/map/index.js.map +1 -1
- package/build/cjs/object/map/shim.js +0 -14
- package/build/cjs/object/map/shim.js.map +1 -1
- package/build/cjs/object/mapKeys/index.js +8 -0
- package/build/cjs/object/mapKeys/index.js.map +1 -1
- package/build/cjs/object/mapKeys/shim.js +1 -11
- package/build/cjs/object/mapKeys/shim.js.map +1 -1
- package/build/cjs/object/mapValues/index.js +12 -0
- package/build/cjs/object/mapValues/index.js.map +1 -1
- package/build/cjs/object/mapValues/shim.js +1 -15
- package/build/cjs/object/mapValues/shim.js.map +1 -1
- package/build/cjs/object/merge/index.js +18 -2
- package/build/cjs/object/merge/index.js.map +1 -1
- package/build/cjs/object/merge/shim.js +1 -19
- package/build/cjs/object/merge/shim.js.map +1 -1
- package/build/cjs/object/omit/index.js +17 -3
- package/build/cjs/object/omit/index.js.map +1 -1
- package/build/cjs/object/omit/shim.js +1 -13
- package/build/cjs/object/omit/shim.js.map +1 -1
- package/build/cjs/object/reduce/index.js +11 -1
- package/build/cjs/object/reduce/index.js.map +1 -1
- package/build/cjs/object/reduce/shim.js +1 -12
- package/build/cjs/object/reduce/shim.js.map +1 -1
- package/build/cjs/object/set/index.js +11 -2
- package/build/cjs/object/set/index.js.map +1 -1
- package/build/cjs/object/set/shim.js +1 -12
- package/build/cjs/object/set/shim.js.map +1 -1
- package/build/cjs/object/shim.js +0 -1
- package/build/cjs/object/shim.js.map +1 -1
- package/build/cjs/object/size/index.js +5 -0
- package/build/cjs/object/size/index.js.map +1 -1
- package/build/cjs/object/size/shim.js +1 -9
- package/build/cjs/object/size/shim.js.map +1 -1
- package/build/cjs/object/snakeCaseKeys/index.js +7 -0
- package/build/cjs/object/snakeCaseKeys/index.js.map +1 -1
- package/build/cjs/object/snakeCaseKeys/shim.js +1 -10
- package/build/cjs/object/snakeCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/values/index.js +5 -0
- package/build/cjs/object/values/index.js.map +1 -1
- package/build/cjs/object/values/shim.js +1 -9
- package/build/cjs/object/values/shim.js.map +1 -1
- package/build/cjs/string/base64/index.js +5 -0
- package/build/cjs/string/base64/index.js.map +1 -1
- package/build/cjs/string/base64/shim.js +1 -9
- package/build/cjs/string/base64/shim.js.map +1 -1
- package/build/cjs/string/base64Decode/index.js +5 -0
- package/build/cjs/string/base64Decode/index.js.map +1 -1
- package/build/cjs/string/base64Decode/shim.js +1 -9
- package/build/cjs/string/base64Decode/shim.js.map +1 -1
- package/build/cjs/string/camelCase/index.js +14 -2
- package/build/cjs/string/camelCase/index.js.map +1 -1
- package/build/cjs/string/camelCase/shim.js +1 -13
- package/build/cjs/string/camelCase/shim.js.map +1 -1
- package/build/cjs/string/capitalize/index.js +11 -2
- package/build/cjs/string/capitalize/index.js.map +1 -1
- package/build/cjs/string/capitalize/shim.js +1 -11
- package/build/cjs/string/capitalize/shim.js.map +1 -1
- package/build/cjs/string/chars/index.js +5 -0
- package/build/cjs/string/chars/index.js.map +1 -1
- package/build/cjs/string/chars/shim.js +1 -9
- package/build/cjs/string/chars/shim.js.map +1 -1
- package/build/cjs/string/contains/index.js +12 -2
- package/build/cjs/string/contains/index.js.map +1 -1
- package/build/cjs/string/contains/shim.js +1 -12
- package/build/cjs/string/contains/shim.js.map +1 -1
- package/build/cjs/string/decapitalize/index.js +11 -2
- package/build/cjs/string/decapitalize/index.js.map +1 -1
- package/build/cjs/string/decapitalize/shim.js +1 -11
- package/build/cjs/string/decapitalize/shim.js.map +1 -1
- package/build/cjs/string/equals/index.js +7 -0
- package/build/cjs/string/equals/index.js.map +1 -1
- package/build/cjs/string/equals/shim.js +1 -10
- package/build/cjs/string/equals/shim.js.map +1 -1
- package/build/cjs/string/forEach/index.js +8 -1
- package/build/cjs/string/forEach/index.js.map +1 -1
- package/build/cjs/string/forEach/shim.js +1 -10
- package/build/cjs/string/forEach/shim.js.map +1 -1
- package/build/cjs/string/humanize/index.js +11 -3
- package/build/cjs/string/humanize/index.js.map +1 -1
- package/build/cjs/string/humanize/shim.js +1 -11
- package/build/cjs/string/humanize/shim.js.map +1 -1
- package/build/cjs/string/isEmpty/index.js +8 -0
- package/build/cjs/string/isEmpty/index.js.map +1 -1
- package/build/cjs/string/isEmpty/shim.js +1 -10
- package/build/cjs/string/isEmpty/shim.js.map +1 -1
- package/build/cjs/string/isString/index.js +8 -0
- package/build/cjs/string/isString/index.js.map +1 -1
- package/build/cjs/string/isString/shim.js +0 -10
- package/build/cjs/string/isString/shim.js.map +1 -1
- package/build/cjs/string/kebabCase/index.js +18 -2
- package/build/cjs/string/kebabCase/index.js.map +1 -1
- package/build/cjs/string/kebabCase/shim.js +1 -15
- package/build/cjs/string/kebabCase/shim.js.map +1 -1
- package/build/cjs/string/lines/index.js +6 -0
- package/build/cjs/string/lines/index.js.map +1 -1
- package/build/cjs/string/lines/shim.js +1 -9
- package/build/cjs/string/lines/shim.js.map +1 -1
- package/build/cjs/string/map/index.js +9 -1
- package/build/cjs/string/map/index.js.map +1 -1
- package/build/cjs/string/map/shim.js +1 -10
- package/build/cjs/string/map/shim.js.map +1 -1
- package/build/cjs/string/mask/index.js +14 -2
- package/build/cjs/string/mask/index.js.map +1 -1
- package/build/cjs/string/mask/shim.js +1 -13
- package/build/cjs/string/mask/shim.js.map +1 -1
- package/build/cjs/string/pad/index.js +10 -0
- package/build/cjs/string/pad/index.js.map +1 -1
- package/build/cjs/string/pad/shim.js +1 -12
- package/build/cjs/string/pad/shim.js.map +1 -1
- package/build/cjs/string/parseInt/index.js +7 -0
- package/build/cjs/string/parseInt/index.js.map +1 -1
- package/build/cjs/string/parseInt/shim.js +1 -10
- package/build/cjs/string/parseInt/shim.js.map +1 -1
- package/build/cjs/string/pluralize/index.js +54 -32
- package/build/cjs/string/pluralize/index.js.map +1 -1
- package/build/cjs/string/pluralize/shim.js +1 -15
- package/build/cjs/string/pluralize/shim.js.map +1 -1
- package/build/cjs/string/reduce/index.js +11 -1
- package/build/cjs/string/reduce/index.js.map +1 -1
- package/build/cjs/string/reduce/shim.js +1 -11
- package/build/cjs/string/reduce/shim.js.map +1 -1
- package/build/cjs/string/repeat/index.js +7 -0
- package/build/cjs/string/repeat/index.js.map +1 -1
- package/build/cjs/string/repeat/shim.js +0 -10
- package/build/cjs/string/repeat/shim.js.map +1 -1
- package/build/cjs/string/reverse/index.js +6 -0
- package/build/cjs/string/reverse/index.js.map +1 -1
- package/build/cjs/string/reverse/shim.js +1 -9
- package/build/cjs/string/reverse/shim.js.map +1 -1
- package/build/cjs/string/shim.js +0 -1
- package/build/cjs/string/shim.js.map +1 -1
- package/build/cjs/string/snakeCase/index.js +18 -2
- package/build/cjs/string/snakeCase/index.js.map +1 -1
- package/build/cjs/string/snakeCase/shim.js +1 -15
- package/build/cjs/string/snakeCase/shim.js.map +1 -1
- package/build/cjs/string/swapCase/index.js +7 -1
- package/build/cjs/string/swapCase/index.js.map +1 -1
- package/build/cjs/string/swapCase/shim.js +1 -9
- package/build/cjs/string/swapCase/shim.js.map +1 -1
- package/build/cjs/string/truncate/index.js +10 -0
- package/build/cjs/string/truncate/index.js.map +1 -1
- package/build/cjs/string/truncate/shim.js +1 -12
- package/build/cjs/string/truncate/shim.js.map +1 -1
- package/build/cjs/string/words/index.js +9 -0
- package/build/cjs/string/words/index.js.map +1 -1
- package/build/cjs/string/words/shim.js +1 -11
- package/build/cjs/string/words/shim.js.map +1 -1
- package/build/cjs/utils.js +38 -25
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/array/all/index.js +10 -0
- package/build/esm/array/all/index.js.map +1 -1
- package/build/esm/array/all/shim.js +1 -12
- package/build/esm/array/all/shim.js.map +1 -1
- package/build/esm/array/any/index.js +11 -0
- package/build/esm/array/any/index.js.map +1 -1
- package/build/esm/array/any/shim.js +1 -13
- package/build/esm/array/any/shim.js.map +1 -1
- package/build/esm/array/append/index.js +8 -0
- package/build/esm/array/append/index.js.map +1 -1
- package/build/esm/array/append/shim.js +1 -11
- package/build/esm/array/append/shim.js.map +1 -1
- package/build/esm/array/average/index.js +12 -3
- package/build/esm/array/average/index.js.map +1 -1
- package/build/esm/array/average/shim.js +2 -25
- package/build/esm/array/average/shim.js.map +1 -1
- package/build/esm/array/chunk/index.js +8 -1
- package/build/esm/array/chunk/index.js.map +1 -1
- package/build/esm/array/chunk/shim.js +1 -10
- package/build/esm/array/chunk/shim.js.map +1 -1
- package/build/esm/array/clone/index.js +7 -0
- package/build/esm/array/clone/index.js.map +1 -1
- package/build/esm/array/clone/shim.js +1 -10
- package/build/esm/array/clone/shim.js.map +1 -1
- package/build/esm/array/compact/index.js +6 -0
- package/build/esm/array/compact/index.js.map +1 -1
- package/build/esm/array/compact/shim.js +1 -9
- package/build/esm/array/compact/shim.js.map +1 -1
- package/build/esm/array/contains/index.js +10 -0
- package/build/esm/array/contains/index.js.map +1 -1
- package/build/esm/array/contains/shim.js +1 -10
- package/build/esm/array/contains/shim.js.map +1 -1
- package/build/esm/array/count/index.js +12 -3
- package/build/esm/array/count/index.js.map +1 -1
- package/build/esm/array/count/shim.js +1 -11
- package/build/esm/array/count/shim.js.map +1 -1
- package/build/esm/array/countBy/index.js +10 -0
- package/build/esm/array/countBy/index.js.map +1 -1
- package/build/esm/array/countBy/shim.js +1 -12
- package/build/esm/array/countBy/shim.js.map +1 -1
- package/build/esm/array/crossJoin/index.js +9 -1
- package/build/esm/array/crossJoin/index.js.map +1 -1
- package/build/esm/array/crossJoin/shim.js +1 -11
- package/build/esm/array/crossJoin/shim.js.map +1 -1
- package/build/esm/array/deepFlatten/index.js +7 -1
- package/build/esm/array/deepFlatten/index.js.map +1 -1
- package/build/esm/array/deepFlatten/shim.js +1 -9
- package/build/esm/array/deepFlatten/shim.js.map +1 -1
- package/build/esm/array/diff/index.js +14 -2
- package/build/esm/array/diff/index.js.map +1 -1
- package/build/esm/array/diff/shim.js +1 -14
- package/build/esm/array/diff/shim.js.map +1 -1
- package/build/esm/array/distinct/index.js +16 -4
- package/build/esm/array/distinct/index.js.map +1 -1
- package/build/esm/array/distinct/shim.js +1 -12
- package/build/esm/array/distinct/shim.js.map +1 -1
- package/build/esm/array/distinctBy/index.js +12 -5
- package/build/esm/array/distinctBy/index.js.map +1 -1
- package/build/esm/array/distinctBy/shim.js +1 -10
- package/build/esm/array/distinctBy/shim.js.map +1 -1
- package/build/esm/array/empty/index.js +8 -0
- package/build/esm/array/empty/index.js.map +1 -1
- package/build/esm/array/empty/shim.js +1 -10
- package/build/esm/array/empty/shim.js.map +1 -1
- package/build/esm/array/equals/index.js +8 -1
- package/build/esm/array/equals/index.js.map +1 -1
- package/build/esm/array/equals/shim.js +1 -10
- package/build/esm/array/equals/shim.js.map +1 -1
- package/build/esm/array/everyNth/index.js +7 -0
- package/build/esm/array/everyNth/index.js.map +1 -1
- package/build/esm/array/everyNth/shim.js +1 -9
- package/build/esm/array/everyNth/shim.js.map +1 -1
- package/build/esm/array/first/index.js +6 -0
- package/build/esm/array/first/index.js.map +1 -1
- package/build/esm/array/first/shim.js +1 -9
- package/build/esm/array/first/shim.js.map +1 -1
- package/build/esm/array/flatten/index.js +10 -2
- package/build/esm/array/flatten/index.js.map +1 -1
- package/build/esm/array/flatten/shim.js +1 -11
- package/build/esm/array/flatten/shim.js.map +1 -1
- package/build/esm/array/get/index.js +10 -0
- package/build/esm/array/get/index.js.map +1 -1
- package/build/esm/array/get/shim.js +1 -12
- package/build/esm/array/get/shim.js.map +1 -1
- package/build/esm/array/groupBy/index.js +11 -1
- package/build/esm/array/groupBy/index.js.map +1 -1
- package/build/esm/array/groupBy/shim.js +1 -11
- package/build/esm/array/groupBy/shim.js.map +1 -1
- package/build/esm/array/implode/index.js +4 -2
- package/build/esm/array/implode/index.js.map +1 -1
- package/build/esm/array/implode/shim.js +1 -12
- package/build/esm/array/implode/shim.js.map +1 -1
- package/build/esm/array/index.js.map +1 -1
- package/build/esm/array/indexOfAll/index.js +9 -0
- package/build/esm/array/indexOfAll/index.js.map +1 -1
- package/build/esm/array/indexOfAll/shim.js +1 -11
- package/build/esm/array/indexOfAll/shim.js.map +1 -1
- package/build/esm/array/initial/index.js +5 -0
- package/build/esm/array/initial/index.js.map +1 -1
- package/build/esm/array/initial/shim.js +1 -9
- package/build/esm/array/initial/shim.js.map +1 -1
- package/build/esm/array/intersect/index.js +8 -1
- package/build/esm/array/intersect/index.js.map +1 -1
- package/build/esm/array/intersect/shim.js +1 -10
- package/build/esm/array/intersect/shim.js.map +1 -1
- package/build/esm/array/isEmpty/index.js +7 -0
- package/build/esm/array/isEmpty/index.js.map +1 -1
- package/build/esm/array/isEmpty/shim.js +1 -10
- package/build/esm/array/isEmpty/shim.js.map +1 -1
- package/build/esm/array/last/index.js +6 -0
- package/build/esm/array/last/index.js.map +1 -1
- package/build/esm/array/last/shim.js +1 -9
- package/build/esm/array/last/shim.js.map +1 -1
- package/build/esm/array/limit/index.js +9 -2
- package/build/esm/array/limit/index.js.map +1 -1
- package/build/esm/array/limit/shim.js +2 -21
- package/build/esm/array/limit/shim.js.map +1 -1
- package/build/esm/array/max/index.js +1 -1
- package/build/esm/array/max/index.js.map +1 -1
- package/build/esm/array/max/shim.js +1 -12
- package/build/esm/array/max/shim.js.map +1 -1
- package/build/esm/array/median/index.js +1 -1
- package/build/esm/array/median/index.js.map +1 -1
- package/build/esm/array/median/shim.js +1 -11
- package/build/esm/array/median/shim.js.map +1 -1
- package/build/esm/array/merge/index.js +8 -0
- package/build/esm/array/merge/index.js.map +1 -1
- package/build/esm/array/merge/shim.js +1 -10
- package/build/esm/array/merge/shim.js.map +1 -1
- package/build/esm/array/min/index.js +1 -1
- package/build/esm/array/min/index.js.map +1 -1
- package/build/esm/array/min/shim.js +1 -12
- package/build/esm/array/min/shim.js.map +1 -1
- package/build/esm/array/nest/index.js +24 -5
- package/build/esm/array/nest/index.js.map +1 -1
- package/build/esm/array/nest/shim.js +1 -18
- package/build/esm/array/nest/shim.js.map +1 -1
- package/build/esm/array/orderBy/index.js +11 -9
- package/build/esm/array/orderBy/index.js.map +1 -1
- package/build/esm/array/orderBy/shim.js +1 -13
- package/build/esm/array/orderBy/shim.js.map +1 -1
- package/build/esm/array/pad/index.js +10 -0
- package/build/esm/array/pad/index.js.map +1 -1
- package/build/esm/array/pad/shim.js +1 -12
- package/build/esm/array/pad/shim.js.map +1 -1
- package/build/esm/array/partition/index.js +17 -1
- package/build/esm/array/partition/index.js.map +1 -1
- package/build/esm/array/partition/shim.js +1 -17
- package/build/esm/array/partition/shim.js.map +1 -1
- package/build/esm/array/pluck/index.js +11 -1
- package/build/esm/array/pluck/index.js.map +1 -1
- package/build/esm/array/pluck/shim.js +1 -11
- package/build/esm/array/pluck/shim.js.map +1 -1
- package/build/esm/array/prepend/index.js +8 -0
- package/build/esm/array/prepend/index.js.map +1 -1
- package/build/esm/array/prepend/shim.js +1 -10
- package/build/esm/array/prepend/shim.js.map +1 -1
- package/build/esm/array/pull/index.js +10 -2
- package/build/esm/array/pull/index.js.map +1 -1
- package/build/esm/array/pull/shim.js +1 -10
- package/build/esm/array/pull/shim.js.map +1 -1
- package/build/esm/array/range/index.js +14 -1
- package/build/esm/array/range/index.js.map +1 -1
- package/build/esm/array/range/shim.js +0 -14
- package/build/esm/array/range/shim.js.map +1 -1
- package/build/esm/array/repeat/index.js +7 -0
- package/build/esm/array/repeat/index.js.map +1 -1
- package/build/esm/array/repeat/shim.js +0 -10
- package/build/esm/array/repeat/shim.js.map +1 -1
- package/build/esm/array/sample/index.js +5 -0
- package/build/esm/array/sample/index.js.map +1 -1
- package/build/esm/array/sample/shim.js +1 -9
- package/build/esm/array/sample/shim.js.map +1 -1
- package/build/esm/array/shim.js +0 -1
- package/build/esm/array/shim.js.map +1 -1
- package/build/esm/array/shuffle/index.js +6 -0
- package/build/esm/array/shuffle/index.js.map +1 -1
- package/build/esm/array/shuffle/shim.js +0 -9
- package/build/esm/array/shuffle/shim.js.map +1 -1
- package/build/esm/array/skip/index.js +7 -0
- package/build/esm/array/skip/index.js.map +1 -1
- package/build/esm/array/skip/shim.js +1 -20
- package/build/esm/array/skip/shim.js.map +1 -1
- package/build/esm/array/sortBy/index.js +10 -0
- package/build/esm/array/sortBy/index.js.map +1 -1
- package/build/esm/array/sortBy/shim.js +0 -11
- package/build/esm/array/sortBy/shim.js.map +1 -1
- package/build/esm/array/sum/index.js +17 -8
- package/build/esm/array/sum/index.js.map +1 -1
- package/build/esm/array/sum/shim.js +0 -11
- package/build/esm/array/sum/shim.js.map +1 -1
- package/build/esm/array/tail/index.js +5 -0
- package/build/esm/array/tail/index.js.map +1 -1
- package/build/esm/array/tail/shim.js +1 -9
- package/build/esm/array/tail/shim.js.map +1 -1
- package/build/esm/array/toCSV/index.js +9 -0
- package/build/esm/array/toCSV/index.js.map +1 -1
- package/build/esm/array/toCSV/shim.js +1 -11
- package/build/esm/array/toCSV/shim.js.map +1 -1
- package/build/esm/array/union/index.js +7 -0
- package/build/esm/array/union/index.js.map +1 -1
- package/build/esm/array/union/shim.js +1 -10
- package/build/esm/array/union/shim.js.map +1 -1
- package/build/esm/array/unwind/index.js +12 -1
- package/build/esm/array/unwind/index.js.map +1 -1
- package/build/esm/array/unwind/shim.js +1 -11
- package/build/esm/array/unwind/shim.js.map +1 -1
- package/build/esm/array/where/index.js +35 -29
- package/build/esm/array/where/index.js.map +1 -1
- package/build/esm/array/where/shim.js +1 -15
- package/build/esm/array/where/shim.js.map +1 -1
- package/build/esm/array/whereBetween/index.js +10 -5
- package/build/esm/array/whereBetween/index.js.map +1 -1
- package/build/esm/array/whereBetween/shim.js +1 -13
- package/build/esm/array/whereBetween/shim.js.map +1 -1
- package/build/esm/array/whereIn/index.js +4 -4
- package/build/esm/array/whereIn/index.js.map +1 -1
- package/build/esm/array/whereIn/shim.js +1 -12
- package/build/esm/array/whereIn/shim.js.map +1 -1
- package/build/esm/array/whereLike/index.js +4 -4
- package/build/esm/array/whereLike/index.js.map +1 -1
- package/build/esm/array/whereLike/shim.js +1 -13
- package/build/esm/array/whereLike/shim.js.map +1 -1
- package/build/esm/array/whereNotBetween/index.js +10 -5
- package/build/esm/array/whereNotBetween/index.js.map +1 -1
- package/build/esm/array/whereNotBetween/shim.js +1 -13
- package/build/esm/array/whereNotBetween/shim.js.map +1 -1
- package/build/esm/array/whereNotIn/index.js +4 -4
- package/build/esm/array/whereNotIn/index.js.map +1 -1
- package/build/esm/array/whereNotIn/shim.js +1 -12
- package/build/esm/array/whereNotIn/shim.js.map +1 -1
- package/build/esm/array/whereNotLike/index.js +4 -4
- package/build/esm/array/whereNotLike/index.js.map +1 -1
- package/build/esm/array/whereNotLike/shim.js +1 -12
- package/build/esm/array/whereNotLike/shim.js.map +1 -1
- package/build/esm/array/whereNotNull/index.js +10 -2
- package/build/esm/array/whereNotNull/index.js.map +1 -1
- package/build/esm/array/whereNotNull/shim.js +1 -11
- package/build/esm/array/whereNotNull/shim.js.map +1 -1
- package/build/esm/array/whereNull/index.js +10 -2
- package/build/esm/array/whereNull/index.js.map +1 -1
- package/build/esm/array/whereNull/shim.js +1 -11
- package/build/esm/array/whereNull/shim.js.map +1 -1
- package/build/esm/array/zip/index.js +10 -3
- package/build/esm/array/zip/index.js.map +1 -1
- package/build/esm/array/zip/shim.js +1 -11
- package/build/esm/array/zip/shim.js.map +1 -1
- package/build/esm/array/zipObject/index.js +14 -1
- package/build/esm/array/zipObject/index.js.map +1 -1
- package/build/esm/array/zipObject/shim.js +1 -12
- package/build/esm/array/zipObject/shim.js.map +1 -1
- package/build/esm/boolean/isBoolean/index.js +8 -0
- package/build/esm/boolean/isBoolean/index.js.map +1 -1
- package/build/esm/boolean/isBoolean/shim.js +0 -10
- package/build/esm/boolean/isBoolean/shim.js.map +1 -1
- package/build/esm/boolean/shim.js +0 -1
- package/build/esm/boolean/shim.js.map +1 -1
- package/build/esm/date/equals/index.js +7 -0
- package/build/esm/date/equals/index.js.map +1 -1
- package/build/esm/date/equals/shim.js +1 -10
- package/build/esm/date/equals/shim.js.map +1 -1
- package/build/esm/date/isDate/index.js +10 -2
- package/build/esm/date/isDate/index.js.map +1 -1
- package/build/esm/date/isDate/shim.js +0 -10
- package/build/esm/date/isDate/shim.js.map +1 -1
- package/build/esm/date/shim.js +0 -1
- package/build/esm/date/shim.js.map +1 -1
- package/build/esm/date/today/index.js +8 -2
- package/build/esm/date/today/index.js.map +1 -1
- package/build/esm/date/today/shim.js +0 -8
- package/build/esm/date/today/shim.js.map +1 -1
- package/build/esm/date/tomorrow/index.js +8 -2
- package/build/esm/date/tomorrow/index.js.map +1 -1
- package/build/esm/date/tomorrow/shim.js +0 -8
- package/build/esm/date/tomorrow/shim.js.map +1 -1
- package/build/esm/date/yesterday/index.js +8 -2
- package/build/esm/date/yesterday/index.js.map +1 -1
- package/build/esm/date/yesterday/shim.js +0 -8
- package/build/esm/date/yesterday/shim.js.map +1 -1
- package/build/esm/function/cache/index.js +9 -1
- package/build/esm/function/cache/index.js.map +1 -1
- package/build/esm/function/cache/shim.js +0 -11
- package/build/esm/function/cache/shim.js.map +1 -1
- package/build/esm/function/defer/index.js +8 -0
- package/build/esm/function/defer/index.js.map +1 -1
- package/build/esm/function/defer/shim.js +1 -11
- package/build/esm/function/defer/shim.js.map +1 -1
- package/build/esm/function/isFunction/index.js +8 -0
- package/build/esm/function/isFunction/index.js.map +1 -1
- package/build/esm/function/isFunction/shim.js +0 -10
- package/build/esm/function/isFunction/shim.js.map +1 -1
- package/build/esm/function/once/index.js +9 -0
- package/build/esm/function/once/index.js.map +1 -1
- package/build/esm/function/once/shim.js +1 -12
- package/build/esm/function/once/shim.js.map +1 -1
- package/build/esm/function/shim.js +0 -1
- package/build/esm/function/shim.js.map +1 -1
- package/build/esm/globals/isBrowser/index.js +6 -0
- package/build/esm/globals/isBrowser/index.js.map +1 -1
- package/build/esm/globals/isBrowser/shim.js +0 -9
- package/build/esm/globals/isBrowser/shim.js.map +1 -1
- package/build/esm/globals/shim.js +0 -1
- package/build/esm/globals/shim.js.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/math/average/index.js +8 -0
- package/build/esm/math/average/index.js.map +1 -1
- package/build/esm/math/average/shim.js +1 -22
- package/build/esm/math/average/shim.js.map +1 -1
- package/build/esm/math/degreesToRads/index.js +8 -2
- package/build/esm/math/degreesToRads/index.js.map +1 -1
- package/build/esm/math/degreesToRads/shim.js +0 -9
- package/build/esm/math/degreesToRads/shim.js.map +1 -1
- package/build/esm/math/factorial/index.js +6 -0
- package/build/esm/math/factorial/index.js.map +1 -1
- package/build/esm/math/factorial/shim.js +0 -9
- package/build/esm/math/factorial/shim.js.map +1 -1
- package/build/esm/math/fibonacci/index.js +6 -0
- package/build/esm/math/fibonacci/index.js.map +1 -1
- package/build/esm/math/fibonacci/shim.js +0 -9
- package/build/esm/math/fibonacci/shim.js.map +1 -1
- package/build/esm/math/gcd/index.js +10 -2
- package/build/esm/math/gcd/index.js.map +1 -1
- package/build/esm/math/gcd/shim.js +0 -10
- package/build/esm/math/gcd/shim.js.map +1 -1
- package/build/esm/math/isDivisible/index.js +7 -0
- package/build/esm/math/isDivisible/index.js.map +1 -1
- package/build/esm/math/isDivisible/shim.js +0 -10
- package/build/esm/math/isDivisible/shim.js.map +1 -1
- package/build/esm/math/isEven/index.js +6 -0
- package/build/esm/math/isEven/index.js.map +1 -1
- package/build/esm/math/isEven/shim.js +0 -9
- package/build/esm/math/isEven/shim.js.map +1 -1
- package/build/esm/math/isPrime/index.js +6 -0
- package/build/esm/math/isPrime/index.js.map +1 -1
- package/build/esm/math/isPrime/shim.js +0 -9
- package/build/esm/math/isPrime/shim.js.map +1 -1
- package/build/esm/math/lcm/index.js +10 -3
- package/build/esm/math/lcm/index.js.map +1 -1
- package/build/esm/math/lcm/shim.js +0 -10
- package/build/esm/math/lcm/shim.js.map +1 -1
- package/build/esm/math/primes/index.js +7 -1
- package/build/esm/math/primes/index.js.map +1 -1
- package/build/esm/math/primes/shim.js +0 -9
- package/build/esm/math/primes/shim.js.map +1 -1
- package/build/esm/math/radsToDegrees/index.js +8 -2
- package/build/esm/math/radsToDegrees/index.js.map +1 -1
- package/build/esm/math/radsToDegrees/shim.js +0 -9
- package/build/esm/math/radsToDegrees/shim.js.map +1 -1
- package/build/esm/math/shim.js +0 -1
- package/build/esm/math/shim.js.map +1 -1
- package/build/esm/number/digitize/index.js +6 -1
- package/build/esm/number/digitize/index.js.map +1 -1
- package/build/esm/number/digitize/shim.js +1 -9
- package/build/esm/number/digitize/shim.js.map +1 -1
- package/build/esm/number/equals/index.js +7 -0
- package/build/esm/number/equals/index.js.map +1 -1
- package/build/esm/number/equals/shim.js +1 -10
- package/build/esm/number/equals/shim.js.map +1 -1
- package/build/esm/number/inRange/index.js +8 -0
- package/build/esm/number/inRange/index.js.map +1 -1
- package/build/esm/number/inRange/shim.js +1 -11
- package/build/esm/number/inRange/shim.js.map +1 -1
- package/build/esm/number/isNumber/index.js +8 -0
- package/build/esm/number/isNumber/index.js.map +1 -1
- package/build/esm/number/isNumber/shim.js +0 -10
- package/build/esm/number/isNumber/shim.js.map +1 -1
- package/build/esm/number/shim.js +0 -1
- package/build/esm/number/shim.js.map +1 -1
- package/build/esm/object/assign/index.js +7 -0
- package/build/esm/object/assign/index.js.map +1 -1
- package/build/esm/object/assign/shim.js +1 -10
- package/build/esm/object/assign/shim.js.map +1 -1
- package/build/esm/object/camelCaseKeys/index.js +7 -0
- package/build/esm/object/camelCaseKeys/index.js.map +1 -1
- package/build/esm/object/camelCaseKeys/shim.js +1 -10
- package/build/esm/object/camelCaseKeys/shim.js.map +1 -1
- package/build/esm/object/clone/index.js +9 -1
- package/build/esm/object/clone/index.js.map +1 -1
- package/build/esm/object/clone/shim.js +1 -11
- package/build/esm/object/clone/shim.js.map +1 -1
- package/build/esm/object/defaults/index.js +8 -1
- package/build/esm/object/defaults/index.js.map +1 -1
- package/build/esm/object/defaults/shim.js +1 -10
- package/build/esm/object/defaults/shim.js.map +1 -1
- package/build/esm/object/dig/index.js +17 -1
- package/build/esm/object/dig/index.js.map +1 -1
- package/build/esm/object/dig/shim.js +1 -18
- package/build/esm/object/dig/shim.js.map +1 -1
- package/build/esm/object/empty/index.js +12 -5
- package/build/esm/object/empty/index.js.map +1 -1
- package/build/esm/object/empty/shim.js +1 -10
- package/build/esm/object/empty/shim.js.map +1 -1
- package/build/esm/object/equals/index.js +12 -4
- package/build/esm/object/equals/index.js.map +1 -1
- package/build/esm/object/equals/shim.js +1 -10
- package/build/esm/object/equals/shim.js.map +1 -1
- package/build/esm/object/flatten/index.js +7 -1
- package/build/esm/object/flatten/index.js.map +1 -1
- package/build/esm/object/flatten/shim.js +1 -9
- package/build/esm/object/flatten/shim.js.map +1 -1
- package/build/esm/object/forEach/index.js +12 -1
- package/build/esm/object/forEach/index.js.map +1 -1
- package/build/esm/object/forEach/shim.js +1 -13
- package/build/esm/object/forEach/shim.js.map +1 -1
- package/build/esm/object/get/index.js +7 -0
- package/build/esm/object/get/index.js.map +1 -1
- package/build/esm/object/get/shim.js +1 -10
- package/build/esm/object/get/shim.js.map +1 -1
- package/build/esm/object/invert/index.js +6 -0
- package/build/esm/object/invert/index.js.map +1 -1
- package/build/esm/object/invert/shim.js +1 -9
- package/build/esm/object/invert/shim.js.map +1 -1
- package/build/esm/object/isEmpty/index.js +8 -0
- package/build/esm/object/isEmpty/index.js.map +1 -1
- package/build/esm/object/isEmpty/shim.js +1 -10
- package/build/esm/object/isEmpty/shim.js.map +1 -1
- package/build/esm/object/isObject/index.js +8 -0
- package/build/esm/object/isObject/index.js.map +1 -1
- package/build/esm/object/isObject/shim.js +0 -10
- package/build/esm/object/isObject/shim.js.map +1 -1
- package/build/esm/object/isObjectLike/index.js +8 -0
- package/build/esm/object/isObjectLike/index.js.map +1 -1
- package/build/esm/object/isObjectLike/shim.js +0 -10
- package/build/esm/object/isObjectLike/shim.js.map +1 -1
- package/build/esm/object/isPlainObject/index.js +9 -2
- package/build/esm/object/isPlainObject/index.js.map +1 -1
- package/build/esm/object/isPlainObject/shim.js +0 -10
- package/build/esm/object/isPlainObject/shim.js.map +1 -1
- package/build/esm/object/kebabCaseKeys/index.js +7 -0
- package/build/esm/object/kebabCaseKeys/index.js.map +1 -1
- package/build/esm/object/kebabCaseKeys/shim.js +1 -10
- package/build/esm/object/kebabCaseKeys/shim.js.map +1 -1
- package/build/esm/object/keys/index.js +6 -0
- package/build/esm/object/keys/index.js.map +1 -1
- package/build/esm/object/keys/shim.js +1 -9
- package/build/esm/object/keys/shim.js.map +1 -1
- package/build/esm/object/lowerCaseKeys/index.js +6 -0
- package/build/esm/object/lowerCaseKeys/index.js.map +1 -1
- package/build/esm/object/lowerCaseKeys/shim.js +1 -10
- package/build/esm/object/lowerCaseKeys/shim.js.map +1 -1
- package/build/esm/object/map/index.js +12 -0
- package/build/esm/object/map/index.js.map +1 -1
- package/build/esm/object/map/shim.js +0 -14
- package/build/esm/object/map/shim.js.map +1 -1
- package/build/esm/object/mapKeys/index.js +8 -0
- package/build/esm/object/mapKeys/index.js.map +1 -1
- package/build/esm/object/mapKeys/shim.js +1 -11
- package/build/esm/object/mapKeys/shim.js.map +1 -1
- package/build/esm/object/mapValues/index.js +12 -0
- package/build/esm/object/mapValues/index.js.map +1 -1
- package/build/esm/object/mapValues/shim.js +1 -15
- package/build/esm/object/mapValues/shim.js.map +1 -1
- package/build/esm/object/merge/index.js +17 -1
- package/build/esm/object/merge/index.js.map +1 -1
- package/build/esm/object/merge/shim.js +1 -19
- package/build/esm/object/merge/shim.js.map +1 -1
- package/build/esm/object/omit/index.js +17 -3
- package/build/esm/object/omit/index.js.map +1 -1
- package/build/esm/object/omit/shim.js +1 -13
- package/build/esm/object/omit/shim.js.map +1 -1
- package/build/esm/object/reduce/index.js +11 -1
- package/build/esm/object/reduce/index.js.map +1 -1
- package/build/esm/object/reduce/shim.js +1 -12
- package/build/esm/object/reduce/shim.js.map +1 -1
- package/build/esm/object/set/index.js +11 -2
- package/build/esm/object/set/index.js.map +1 -1
- package/build/esm/object/set/shim.js +1 -12
- package/build/esm/object/set/shim.js.map +1 -1
- package/build/esm/object/shim.js +0 -1
- package/build/esm/object/shim.js.map +1 -1
- package/build/esm/object/size/index.js +5 -0
- package/build/esm/object/size/index.js.map +1 -1
- package/build/esm/object/size/shim.js +1 -9
- package/build/esm/object/size/shim.js.map +1 -1
- package/build/esm/object/snakeCaseKeys/index.js +7 -0
- package/build/esm/object/snakeCaseKeys/index.js.map +1 -1
- package/build/esm/object/snakeCaseKeys/shim.js +1 -10
- package/build/esm/object/snakeCaseKeys/shim.js.map +1 -1
- package/build/esm/object/values/index.js +5 -0
- package/build/esm/object/values/index.js.map +1 -1
- package/build/esm/object/values/shim.js +1 -9
- package/build/esm/object/values/shim.js.map +1 -1
- package/build/esm/string/base64/index.js +5 -0
- package/build/esm/string/base64/index.js.map +1 -1
- package/build/esm/string/base64/shim.js +1 -9
- package/build/esm/string/base64/shim.js.map +1 -1
- package/build/esm/string/base64Decode/index.js +5 -0
- package/build/esm/string/base64Decode/index.js.map +1 -1
- package/build/esm/string/base64Decode/shim.js +1 -9
- package/build/esm/string/base64Decode/shim.js.map +1 -1
- package/build/esm/string/camelCase/index.js +14 -2
- package/build/esm/string/camelCase/index.js.map +1 -1
- package/build/esm/string/camelCase/shim.js +1 -13
- package/build/esm/string/camelCase/shim.js.map +1 -1
- package/build/esm/string/capitalize/index.js +11 -2
- package/build/esm/string/capitalize/index.js.map +1 -1
- package/build/esm/string/capitalize/shim.js +1 -11
- package/build/esm/string/capitalize/shim.js.map +1 -1
- package/build/esm/string/chars/index.js +5 -0
- package/build/esm/string/chars/index.js.map +1 -1
- package/build/esm/string/chars/shim.js +1 -9
- package/build/esm/string/chars/shim.js.map +1 -1
- package/build/esm/string/contains/index.js +12 -2
- package/build/esm/string/contains/index.js.map +1 -1
- package/build/esm/string/contains/shim.js +1 -12
- package/build/esm/string/contains/shim.js.map +1 -1
- package/build/esm/string/decapitalize/index.js +11 -2
- package/build/esm/string/decapitalize/index.js.map +1 -1
- package/build/esm/string/decapitalize/shim.js +1 -11
- package/build/esm/string/decapitalize/shim.js.map +1 -1
- package/build/esm/string/equals/index.js +7 -0
- package/build/esm/string/equals/index.js.map +1 -1
- package/build/esm/string/equals/shim.js +1 -10
- package/build/esm/string/equals/shim.js.map +1 -1
- package/build/esm/string/forEach/index.js +8 -1
- package/build/esm/string/forEach/index.js.map +1 -1
- package/build/esm/string/forEach/shim.js +1 -10
- package/build/esm/string/forEach/shim.js.map +1 -1
- package/build/esm/string/humanize/index.js +11 -3
- package/build/esm/string/humanize/index.js.map +1 -1
- package/build/esm/string/humanize/shim.js +1 -11
- package/build/esm/string/humanize/shim.js.map +1 -1
- package/build/esm/string/isEmpty/index.js +8 -0
- package/build/esm/string/isEmpty/index.js.map +1 -1
- package/build/esm/string/isEmpty/shim.js +1 -10
- package/build/esm/string/isEmpty/shim.js.map +1 -1
- package/build/esm/string/isString/index.js +8 -0
- package/build/esm/string/isString/index.js.map +1 -1
- package/build/esm/string/isString/shim.js +0 -10
- package/build/esm/string/isString/shim.js.map +1 -1
- package/build/esm/string/kebabCase/index.js +18 -2
- package/build/esm/string/kebabCase/index.js.map +1 -1
- package/build/esm/string/kebabCase/shim.js +1 -15
- package/build/esm/string/kebabCase/shim.js.map +1 -1
- package/build/esm/string/lines/index.js +6 -0
- package/build/esm/string/lines/index.js.map +1 -1
- package/build/esm/string/lines/shim.js +1 -9
- package/build/esm/string/lines/shim.js.map +1 -1
- package/build/esm/string/map/index.js +9 -1
- package/build/esm/string/map/index.js.map +1 -1
- package/build/esm/string/map/shim.js +1 -10
- package/build/esm/string/map/shim.js.map +1 -1
- package/build/esm/string/mask/index.js +14 -2
- package/build/esm/string/mask/index.js.map +1 -1
- package/build/esm/string/mask/shim.js +1 -13
- package/build/esm/string/mask/shim.js.map +1 -1
- package/build/esm/string/pad/index.js +10 -0
- package/build/esm/string/pad/index.js.map +1 -1
- package/build/esm/string/pad/shim.js +1 -12
- package/build/esm/string/pad/shim.js.map +1 -1
- package/build/esm/string/parseInt/index.js +7 -0
- package/build/esm/string/parseInt/index.js.map +1 -1
- package/build/esm/string/parseInt/shim.js +1 -10
- package/build/esm/string/parseInt/shim.js.map +1 -1
- package/build/esm/string/pluralize/index.js +51 -29
- package/build/esm/string/pluralize/index.js.map +1 -1
- package/build/esm/string/pluralize/shim.js +1 -15
- package/build/esm/string/pluralize/shim.js.map +1 -1
- package/build/esm/string/reduce/index.js +11 -1
- package/build/esm/string/reduce/index.js.map +1 -1
- package/build/esm/string/reduce/shim.js +1 -11
- package/build/esm/string/reduce/shim.js.map +1 -1
- package/build/esm/string/repeat/index.js +7 -0
- package/build/esm/string/repeat/index.js.map +1 -1
- package/build/esm/string/repeat/shim.js +0 -10
- package/build/esm/string/repeat/shim.js.map +1 -1
- package/build/esm/string/reverse/index.js +6 -0
- package/build/esm/string/reverse/index.js.map +1 -1
- package/build/esm/string/reverse/shim.js +1 -9
- package/build/esm/string/reverse/shim.js.map +1 -1
- package/build/esm/string/shim.js +0 -1
- package/build/esm/string/shim.js.map +1 -1
- package/build/esm/string/snakeCase/index.js +18 -2
- package/build/esm/string/snakeCase/index.js.map +1 -1
- package/build/esm/string/snakeCase/shim.js +1 -15
- package/build/esm/string/snakeCase/shim.js.map +1 -1
- package/build/esm/string/swapCase/index.js +7 -1
- package/build/esm/string/swapCase/index.js.map +1 -1
- package/build/esm/string/swapCase/shim.js +1 -9
- package/build/esm/string/swapCase/shim.js.map +1 -1
- package/build/esm/string/truncate/index.js +10 -0
- package/build/esm/string/truncate/index.js.map +1 -1
- package/build/esm/string/truncate/shim.js +1 -12
- package/build/esm/string/truncate/shim.js.map +1 -1
- package/build/esm/string/words/index.js +9 -0
- package/build/esm/string/words/index.js.map +1 -1
- package/build/esm/string/words/shim.js +1 -11
- package/build/esm/string/words/shim.js.map +1 -1
- package/build/esm/utils.js +37 -24
- package/build/esm/utils.js.map +1 -1
- package/build/types/array/all/index.d.ts +10 -0
- package/build/types/array/all/shim.d.ts +9 -0
- package/build/types/array/any/index.d.ts +11 -0
- package/build/types/array/any/shim.d.ts +10 -0
- package/build/types/array/append/index.d.ts +8 -0
- package/build/types/array/append/shim.d.ts +7 -0
- package/build/types/array/average/index.d.ts +12 -3
- package/build/types/array/average/shim.d.ts +20 -0
- package/build/types/array/chunk/index.d.ts +7 -0
- package/build/types/array/chunk/shim.d.ts +6 -0
- package/build/types/array/clone/index.d.ts +7 -0
- package/build/types/array/clone/shim.d.ts +6 -0
- package/build/types/array/compact/index.d.ts +7 -1
- package/build/types/array/compact/shim.d.ts +6 -1
- package/build/types/array/contains/index.d.ts +10 -0
- package/build/types/array/contains/shim.d.ts +9 -0
- package/build/types/array/count/index.d.ts +9 -0
- package/build/types/array/count/shim.d.ts +8 -0
- package/build/types/array/countBy/index.d.ts +11 -3
- package/build/types/array/countBy/shim.d.ts +10 -3
- package/build/types/array/crossJoin/index.d.ts +9 -1
- package/build/types/array/crossJoin/shim.d.ts +8 -1
- package/build/types/array/deepFlatten/index.d.ts +7 -1
- package/build/types/array/deepFlatten/shim.d.ts +5 -0
- package/build/types/array/diff/index.d.ts +12 -0
- package/build/types/array/diff/shim.d.ts +11 -0
- package/build/types/array/distinct/index.d.ts +11 -0
- package/build/types/array/distinct/shim.d.ts +10 -0
- package/build/types/array/distinctBy/index.d.ts +7 -0
- package/build/types/array/distinctBy/shim.d.ts +6 -0
- package/build/types/array/empty/index.d.ts +8 -0
- package/build/types/array/empty/shim.d.ts +7 -0
- package/build/types/array/equals/index.d.ts +7 -0
- package/build/types/array/equals/shim.d.ts +6 -0
- package/build/types/array/everyNth/index.d.ts +7 -0
- package/build/types/array/everyNth/shim.d.ts +6 -0
- package/build/types/array/first/index.d.ts +6 -0
- package/build/types/array/first/shim.d.ts +5 -0
- package/build/types/array/flatten/index.d.ts +9 -0
- package/build/types/array/flatten/shim.d.ts +8 -0
- package/build/types/array/get/index.d.ts +11 -1
- package/build/types/array/get/shim.d.ts +10 -1
- package/build/types/array/groupBy/index.d.ts +10 -3
- package/build/types/array/groupBy/shim.d.ts +9 -3
- package/build/types/array/implode/index.d.ts +10 -1
- package/build/types/array/implode/shim.d.ts +8 -0
- package/build/types/array/index.d.ts +3 -3
- package/build/types/array/indexOfAll/index.d.ts +9 -0
- package/build/types/array/indexOfAll/shim.d.ts +8 -0
- package/build/types/array/initial/index.d.ts +5 -0
- package/build/types/array/initial/shim.d.ts +5 -0
- package/build/types/array/intersect/index.d.ts +7 -0
- package/build/types/array/intersect/shim.d.ts +6 -0
- package/build/types/array/isEmpty/index.d.ts +7 -0
- package/build/types/array/isEmpty/shim.d.ts +7 -0
- package/build/types/array/last/index.d.ts +5 -0
- package/build/types/array/last/shim.d.ts +5 -0
- package/build/types/array/limit/index.d.ts +8 -1
- package/build/types/array/limit/shim.d.ts +16 -2
- package/build/types/array/max/index.d.ts +16 -1
- package/build/types/array/max/shim.d.ts +10 -0
- package/build/types/array/median/index.d.ts +14 -1
- package/build/types/array/median/shim.d.ts +8 -0
- package/build/types/array/merge/index.d.ts +8 -0
- package/build/types/array/merge/shim.d.ts +7 -0
- package/build/types/array/min/index.d.ts +16 -1
- package/build/types/array/min/shim.d.ts +10 -0
- package/build/types/array/nest/index.d.ts +16 -1
- package/build/types/array/nest/shim.d.ts +15 -1
- package/build/types/array/orderBy/index.d.ts +22 -4
- package/build/types/array/orderBy/shim.d.ts +16 -1
- package/build/types/array/pad/index.d.ts +10 -0
- package/build/types/array/pad/shim.d.ts +9 -0
- package/build/types/array/partition/index.d.ts +14 -0
- package/build/types/array/partition/shim.d.ts +13 -0
- package/build/types/array/pluck/index.d.ts +9 -0
- package/build/types/array/pluck/shim.d.ts +8 -0
- package/build/types/array/prepend/index.d.ts +8 -0
- package/build/types/array/prepend/shim.d.ts +7 -0
- package/build/types/array/pull/index.d.ts +8 -0
- package/build/types/array/pull/shim.d.ts +7 -0
- package/build/types/array/range/index.d.ts +13 -0
- package/build/types/array/range/shim.d.ts +13 -0
- package/build/types/array/repeat/index.d.ts +7 -0
- package/build/types/array/repeat/shim.d.ts +7 -0
- package/build/types/array/sample/index.d.ts +5 -0
- package/build/types/array/sample/shim.d.ts +5 -0
- package/build/types/array/shim.d.ts +0 -1
- package/build/types/array/shuffle/index.d.ts +6 -0
- package/build/types/array/shuffle/shim.d.ts +6 -0
- package/build/types/array/skip/index.d.ts +7 -0
- package/build/types/array/skip/shim.d.ts +15 -1
- package/build/types/array/sortBy/index.d.ts +10 -0
- package/build/types/array/sortBy/shim.d.ts +9 -0
- package/build/types/array/sum/index.d.ts +12 -3
- package/build/types/array/sum/shim.d.ts +10 -0
- package/build/types/array/tail/index.d.ts +5 -0
- package/build/types/array/tail/shim.d.ts +5 -0
- package/build/types/array/toCSV/index.d.ts +9 -0
- package/build/types/array/toCSV/shim.d.ts +8 -0
- package/build/types/array/union/index.d.ts +7 -0
- package/build/types/array/union/shim.d.ts +7 -1
- package/build/types/array/unwind/index.d.ts +8 -0
- package/build/types/array/unwind/shim.d.ts +7 -0
- package/build/types/array/where/index.d.ts +36 -4
- package/build/types/array/where/shim.d.ts +31 -3
- package/build/types/array/whereBetween/index.d.ts +18 -1
- package/build/types/array/whereBetween/shim.d.ts +15 -0
- package/build/types/array/whereIn/index.d.ts +16 -1
- package/build/types/array/whereIn/shim.d.ts +13 -0
- package/build/types/array/whereLike/index.d.ts +17 -2
- package/build/types/array/whereLike/shim.d.ts +15 -2
- package/build/types/array/whereNotBetween/index.d.ts +18 -1
- package/build/types/array/whereNotBetween/shim.d.ts +15 -0
- package/build/types/array/whereNotIn/index.d.ts +16 -1
- package/build/types/array/whereNotIn/shim.d.ts +13 -0
- package/build/types/array/whereNotLike/index.d.ts +17 -2
- package/build/types/array/whereNotLike/shim.d.ts +15 -2
- package/build/types/array/whereNotNull/index.d.ts +9 -0
- package/build/types/array/whereNotNull/shim.d.ts +8 -0
- package/build/types/array/whereNull/index.d.ts +9 -0
- package/build/types/array/whereNull/shim.d.ts +11 -0
- package/build/types/array/zip/index.d.ts +9 -0
- package/build/types/array/zip/shim.d.ts +8 -0
- package/build/types/array/zipObject/index.d.ts +10 -0
- package/build/types/array/zipObject/shim.d.ts +9 -0
- package/build/types/boolean/isBoolean/index.d.ts +8 -0
- package/build/types/boolean/isBoolean/shim.d.ts +8 -0
- package/build/types/boolean/shim.d.ts +0 -1
- package/build/types/date/equals/index.d.ts +7 -0
- package/build/types/date/equals/shim.d.ts +6 -0
- package/build/types/date/isDate/index.d.ts +8 -0
- package/build/types/date/isDate/shim.d.ts +8 -0
- package/build/types/date/shim.d.ts +0 -1
- package/build/types/date/today/index.d.ts +5 -0
- package/build/types/date/today/shim.d.ts +5 -0
- package/build/types/date/tomorrow/index.d.ts +5 -0
- package/build/types/date/tomorrow/shim.d.ts +5 -0
- package/build/types/date/yesterday/index.d.ts +5 -0
- package/build/types/date/yesterday/shim.d.ts +5 -0
- package/build/types/function/cache/index.d.ts +8 -0
- package/build/types/function/cache/shim.d.ts +8 -0
- package/build/types/function/defer/index.d.ts +9 -1
- package/build/types/function/defer/shim.d.ts +7 -0
- package/build/types/function/isFunction/index.d.ts +8 -0
- package/build/types/function/isFunction/shim.d.ts +8 -0
- package/build/types/function/once/index.d.ts +10 -1
- package/build/types/function/once/shim.d.ts +8 -0
- package/build/types/function/shim.d.ts +0 -1
- package/build/types/globals/isBrowser/index.d.ts +6 -0
- package/build/types/globals/isBrowser/shim.d.ts +6 -0
- package/build/types/globals/shim.d.ts +0 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/math/average/index.d.ts +8 -0
- package/build/types/math/average/shim.d.ts +18 -0
- package/build/types/math/degreesToRads/index.d.ts +6 -0
- package/build/types/math/degreesToRads/shim.d.ts +6 -0
- package/build/types/math/factorial/index.d.ts +6 -0
- package/build/types/math/factorial/shim.d.ts +6 -0
- package/build/types/math/fibonacci/index.d.ts +6 -0
- package/build/types/math/fibonacci/shim.d.ts +6 -0
- package/build/types/math/gcd/index.d.ts +8 -0
- package/build/types/math/gcd/shim.d.ts +8 -0
- package/build/types/math/isDivisible/index.d.ts +7 -0
- package/build/types/math/isDivisible/shim.d.ts +7 -0
- package/build/types/math/isEven/index.d.ts +6 -0
- package/build/types/math/isEven/shim.d.ts +6 -0
- package/build/types/math/isPrime/index.d.ts +6 -0
- package/build/types/math/isPrime/shim.d.ts +6 -0
- package/build/types/math/lcm/index.d.ts +8 -0
- package/build/types/math/lcm/shim.d.ts +8 -0
- package/build/types/math/primes/index.d.ts +6 -0
- package/build/types/math/primes/shim.d.ts +6 -0
- package/build/types/math/radsToDegrees/index.d.ts +6 -0
- package/build/types/math/radsToDegrees/shim.d.ts +6 -0
- package/build/types/math/shim.d.ts +0 -1
- package/build/types/number/digitize/index.d.ts +5 -0
- package/build/types/number/digitize/shim.d.ts +5 -0
- package/build/types/number/equals/index.d.ts +7 -0
- package/build/types/number/equals/shim.d.ts +6 -0
- package/build/types/number/inRange/index.d.ts +8 -0
- package/build/types/number/inRange/shim.d.ts +7 -0
- package/build/types/number/isNumber/index.d.ts +8 -0
- package/build/types/number/isNumber/shim.d.ts +8 -0
- package/build/types/number/shim.d.ts +0 -1
- package/build/types/object/assign/index.d.ts +8 -1
- package/build/types/object/assign/shim.d.ts +7 -1
- package/build/types/object/camelCaseKeys/index.d.ts +7 -0
- package/build/types/object/camelCaseKeys/shim.d.ts +6 -0
- package/build/types/object/clone/index.d.ts +8 -0
- package/build/types/object/clone/shim.d.ts +7 -0
- package/build/types/object/defaults/index.d.ts +8 -1
- package/build/types/object/defaults/shim.d.ts +7 -1
- package/build/types/object/dig/index.d.ts +15 -0
- package/build/types/object/dig/shim.d.ts +14 -0
- package/build/types/object/empty/index.d.ts +8 -0
- package/build/types/object/empty/shim.d.ts +7 -0
- package/build/types/object/equals/index.d.ts +7 -0
- package/build/types/object/equals/shim.d.ts +6 -0
- package/build/types/object/flatten/index.d.ts +6 -0
- package/build/types/object/flatten/shim.d.ts +5 -0
- package/build/types/object/forEach/index.d.ts +11 -0
- package/build/types/object/forEach/shim.d.ts +10 -0
- package/build/types/object/get/index.d.ts +7 -0
- package/build/types/object/get/shim.d.ts +6 -0
- package/build/types/object/invert/index.d.ts +6 -0
- package/build/types/object/invert/shim.d.ts +5 -0
- package/build/types/object/isEmpty/index.d.ts +8 -0
- package/build/types/object/isEmpty/shim.d.ts +7 -0
- package/build/types/object/isObject/index.d.ts +8 -0
- package/build/types/object/isObject/shim.d.ts +8 -0
- package/build/types/object/isObjectLike/index.d.ts +8 -0
- package/build/types/object/isObjectLike/shim.d.ts +8 -0
- package/build/types/object/isPlainObject/index.d.ts +8 -0
- package/build/types/object/isPlainObject/shim.d.ts +8 -0
- package/build/types/object/kebabCaseKeys/index.d.ts +7 -0
- package/build/types/object/kebabCaseKeys/shim.d.ts +6 -0
- package/build/types/object/keys/index.d.ts +6 -0
- package/build/types/object/keys/shim.d.ts +5 -0
- package/build/types/object/lowerCaseKeys/index.d.ts +6 -0
- package/build/types/object/lowerCaseKeys/shim.d.ts +6 -0
- package/build/types/object/map/index.d.ts +12 -0
- package/build/types/object/map/shim.d.ts +11 -0
- package/build/types/object/mapKeys/index.d.ts +8 -0
- package/build/types/object/mapKeys/shim.d.ts +7 -0
- package/build/types/object/mapValues/index.d.ts +12 -0
- package/build/types/object/mapValues/shim.d.ts +11 -0
- package/build/types/object/merge/index.d.ts +17 -1
- package/build/types/object/merge/shim.d.ts +16 -1
- package/build/types/object/omit/index.d.ts +11 -0
- package/build/types/object/omit/shim.d.ts +10 -0
- package/build/types/object/reduce/index.d.ts +8 -0
- package/build/types/object/reduce/shim.d.ts +7 -0
- package/build/types/object/set/index.d.ts +10 -0
- package/build/types/object/set/shim.d.ts +9 -0
- package/build/types/object/shim.d.ts +0 -1
- package/build/types/object/size/index.d.ts +5 -0
- package/build/types/object/size/shim.d.ts +5 -0
- package/build/types/object/snakeCaseKeys/index.d.ts +7 -0
- package/build/types/object/snakeCaseKeys/shim.d.ts +6 -0
- package/build/types/object/values/index.d.ts +6 -1
- package/build/types/object/values/shim.d.ts +5 -0
- package/build/types/string/base64/index.d.ts +5 -0
- package/build/types/string/base64/shim.d.ts +5 -0
- package/build/types/string/base64Decode/index.d.ts +5 -0
- package/build/types/string/base64Decode/shim.d.ts +5 -0
- package/build/types/string/camelCase/index.d.ts +12 -0
- package/build/types/string/camelCase/shim.d.ts +12 -0
- package/build/types/string/capitalize/index.d.ts +9 -0
- package/build/types/string/capitalize/shim.d.ts +8 -0
- package/build/types/string/chars/index.d.ts +5 -0
- package/build/types/string/chars/shim.d.ts +5 -0
- package/build/types/string/contains/index.d.ts +10 -0
- package/build/types/string/contains/shim.d.ts +9 -0
- package/build/types/string/decapitalize/index.d.ts +9 -0
- package/build/types/string/decapitalize/shim.d.ts +8 -0
- package/build/types/string/equals/index.d.ts +7 -0
- package/build/types/string/equals/shim.d.ts +6 -0
- package/build/types/string/forEach/index.d.ts +7 -0
- package/build/types/string/forEach/shim.d.ts +6 -0
- package/build/types/string/humanize/index.d.ts +8 -0
- package/build/types/string/humanize/shim.d.ts +7 -0
- package/build/types/string/isEmpty/index.d.ts +8 -0
- package/build/types/string/isEmpty/shim.d.ts +7 -0
- package/build/types/string/isString/index.d.ts +8 -0
- package/build/types/string/isString/shim.d.ts +8 -0
- package/build/types/string/kebabCase/index.d.ts +16 -0
- package/build/types/string/kebabCase/shim.d.ts +15 -0
- package/build/types/string/lines/index.d.ts +6 -0
- package/build/types/string/lines/shim.d.ts +5 -0
- package/build/types/string/map/index.d.ts +7 -0
- package/build/types/string/map/shim.d.ts +7 -1
- package/build/types/string/mask/index.d.ts +13 -1
- package/build/types/string/mask/shim.d.ts +11 -0
- package/build/types/string/pad/index.d.ts +10 -0
- package/build/types/string/pad/shim.d.ts +9 -0
- package/build/types/string/parseInt/index.d.ts +7 -0
- package/build/types/string/parseInt/shim.d.ts +6 -0
- package/build/types/string/pluralize/index.d.ts +17 -0
- package/build/types/string/pluralize/shim.d.ts +16 -0
- package/build/types/string/reduce/index.d.ts +8 -0
- package/build/types/string/reduce/shim.d.ts +7 -0
- package/build/types/string/repeat/index.d.ts +7 -0
- package/build/types/string/repeat/shim.d.ts +7 -0
- package/build/types/string/reverse/index.d.ts +6 -0
- package/build/types/string/reverse/shim.d.ts +5 -0
- package/build/types/string/shim.d.ts +0 -1
- package/build/types/string/snakeCase/index.d.ts +16 -0
- package/build/types/string/snakeCase/shim.d.ts +15 -0
- package/build/types/string/swapCase/index.d.ts +6 -0
- package/build/types/string/swapCase/shim.d.ts +5 -0
- package/build/types/string/truncate/index.d.ts +10 -0
- package/build/types/string/truncate/shim.d.ts +9 -0
- package/build/types/string/words/index.d.ts +9 -0
- package/build/types/string/words/shim.d.ts +8 -0
- package/build/types/utils.d.ts +18 -17
- package/docs/assets/highlight.css +31 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +430 -619
- package/docs/enums/OPERATOR.html +107 -0
- package/docs/functions/array.all.html +160 -0
- package/docs/functions/array.any.html +161 -0
- package/docs/functions/array.append.html +141 -0
- package/docs/functions/array.average.html +149 -0
- package/docs/functions/array.chunk.html +141 -0
- package/docs/functions/array.clone.html +141 -0
- package/docs/functions/array.compact.html +139 -0
- package/docs/functions/array.contains.html +146 -0
- package/docs/functions/array.count.html +144 -0
- package/docs/functions/array.countBy.html +148 -0
- package/docs/functions/array.crossJoin.html +144 -0
- package/docs/functions/array.deepFlatten.html +139 -0
- package/docs/functions/array.diff.html +163 -0
- package/docs/functions/array.distinct.html +147 -0
- package/docs/functions/array.distinctBy.html +154 -0
- package/docs/functions/array.empty.html +139 -0
- package/docs/functions/array.equals.html +141 -0
- package/docs/functions/array.everyNth.html +141 -0
- package/docs/functions/array.first.html +139 -0
- package/docs/functions/array.flatten.html +144 -0
- package/docs/functions/array.get.html +150 -0
- package/docs/functions/array.groupBy.html +147 -0
- package/docs/functions/array.implode.html +145 -0
- package/docs/functions/array.indexOfAll.html +144 -0
- package/docs/functions/array.initial.html +139 -0
- package/docs/functions/array.intersect.html +141 -0
- package/docs/functions/array.isEmpty.html +142 -0
- package/docs/functions/array.last.html +139 -0
- package/docs/functions/array.limit.html +141 -0
- package/docs/functions/array.max.html +164 -0
- package/docs/functions/array.median.html +161 -0
- package/docs/functions/array.merge.html +141 -0
- package/docs/functions/array.min.html +164 -0
- package/docs/functions/array.nest.html +143 -0
- package/docs/functions/array.orderBy.html +168 -0
- package/docs/functions/array.pad.html +146 -0
- package/docs/functions/array.partition.html +157 -0
- package/docs/functions/array.pluck.html +146 -0
- package/docs/functions/array.prepend.html +141 -0
- package/docs/functions/array.pull.html +141 -0
- package/docs/functions/array.range.html +145 -0
- package/docs/functions/array.repeat.html +141 -0
- package/docs/functions/array.sample.html +139 -0
- package/docs/functions/array.shuffle.html +139 -0
- package/docs/functions/array.skip.html +141 -0
- package/docs/functions/array.sortBy.html +145 -0
- package/docs/functions/array.sum.html +149 -0
- package/docs/functions/array.tail.html +139 -0
- package/docs/functions/array.toCSV.html +144 -0
- package/docs/functions/array.union.html +143 -0
- package/docs/functions/array.unwind.html +141 -0
- package/docs/functions/array.where.html +209 -0
- package/docs/functions/array.whereBetween.html +167 -0
- package/docs/functions/array.whereIn.html +163 -0
- package/docs/functions/array.whereLike.html +163 -0
- package/docs/functions/array.whereNotBetween.html +167 -0
- package/docs/functions/array.whereNotIn.html +163 -0
- package/docs/functions/array.whereNotLike.html +163 -0
- package/docs/functions/array.whereNotNull.html +144 -0
- package/docs/functions/array.whereNull.html +144 -0
- package/docs/functions/array.zip.html +144 -0
- package/docs/functions/array.zipObject.html +145 -0
- package/docs/functions/boolean.isBoolean.html +73 -0
- package/docs/functions/date.equals.html +76 -0
- package/docs/functions/date.isDate.html +77 -0
- package/docs/functions/date.today.html +69 -0
- package/docs/functions/date.tomorrow.html +69 -0
- package/docs/functions/date.yesterday.html +69 -0
- package/docs/functions/func.cache.html +79 -0
- package/docs/functions/func.defer.html +82 -0
- package/docs/functions/func.isFunction.html +76 -0
- package/docs/functions/func.once.html +84 -0
- package/docs/functions/globals.isBrowser.html +66 -0
- package/docs/functions/math.average.html +83 -0
- package/docs/functions/math.degreesToRads.html +80 -0
- package/docs/functions/math.factorial.html +80 -0
- package/docs/functions/math.fibonacci.html +80 -0
- package/docs/functions/math.gcd.html +83 -0
- package/docs/functions/math.isDivisible.html +82 -0
- package/docs/functions/math.isEven.html +80 -0
- package/docs/functions/math.isPrime.html +80 -0
- package/docs/functions/math.lcm.html +83 -0
- package/docs/functions/math.primes.html +80 -0
- package/docs/functions/math.radsToDegrees.html +80 -0
- package/docs/functions/number.digitize.html +73 -0
- package/docs/functions/number.equals.html +75 -0
- package/docs/functions/number.inRange.html +77 -0
- package/docs/functions/number.isNumber.html +76 -0
- package/docs/functions/object.assign.html +99 -0
- package/docs/functions/object.camelCaseKeys.html +97 -0
- package/docs/functions/object.clone.html +104 -0
- package/docs/functions/object.defaults.html +99 -0
- package/docs/functions/object.dig.html +99 -0
- package/docs/functions/object.empty.html +97 -0
- package/docs/functions/object.equals.html +99 -0
- package/docs/functions/object.flatten.html +97 -0
- package/docs/functions/object.forEach.html +121 -0
- package/docs/functions/object.get.html +106 -0
- package/docs/functions/object.invert.html +97 -0
- package/docs/functions/object.isEmpty.html +100 -0
- package/docs/functions/object.isObject.html +100 -0
- package/docs/functions/object.isObjectLike.html +100 -0
- package/docs/functions/object.isPlainObject.html +100 -0
- package/docs/functions/object.kebabCaseKeys.html +97 -0
- package/docs/functions/object.keys.html +102 -0
- package/docs/functions/object.lowerCaseKeys.html +97 -0
- package/docs/functions/object.map.html +122 -0
- package/docs/functions/object.mapKeys.html +122 -0
- package/docs/functions/object.mapValues.html +122 -0
- package/docs/functions/object.merge.html +99 -0
- package/docs/functions/object.omit.html +104 -0
- package/docs/functions/object.reduce.html +127 -0
- package/docs/functions/object.set.html +101 -0
- package/docs/functions/object.size.html +97 -0
- package/docs/functions/object.snakeCaseKeys.html +97 -0
- package/docs/functions/object.values.html +104 -0
- package/docs/functions/string.base64.html +95 -0
- package/docs/functions/string.base64Decode.html +95 -0
- package/docs/functions/string.camelCase.html +104 -0
- package/docs/functions/string.capitalize.html +100 -0
- package/docs/functions/string.chars.html +95 -0
- package/docs/functions/string.contains.html +102 -0
- package/docs/functions/string.decapitalize.html +100 -0
- package/docs/functions/string.equals.html +97 -0
- package/docs/functions/string.forEach.html +112 -0
- package/docs/functions/string.humanize.html +96 -0
- package/docs/functions/string.isEmpty.html +98 -0
- package/docs/functions/string.isString.html +98 -0
- package/docs/functions/string.kebabCase.html +107 -0
- package/docs/functions/string.lines.html +95 -0
- package/docs/functions/string.map.html +112 -0
- package/docs/functions/string.mask.html +105 -0
- package/docs/functions/string.pad.html +102 -0
- package/docs/functions/string.parseInt.html +97 -0
- package/docs/functions/string.pluralize.html +112 -0
- package/docs/functions/string.reduce.html +121 -0
- package/docs/functions/string.repeat.html +97 -0
- package/docs/functions/string.reverse.html +95 -0
- package/docs/functions/string.snakeCase.html +107 -0
- package/docs/functions/string.swapCase.html +95 -0
- package/docs/functions/string.truncate.html +102 -0
- package/docs/functions/string.words.html +100 -0
- package/docs/index.html +58 -2
- package/docs/modules/array.html +192 -1
- package/docs/modules/boolean.html +61 -1
- package/docs/modules/date.html +69 -1
- package/docs/modules/func.html +67 -0
- package/docs/modules/globals.html +61 -1
- package/docs/modules/math.html +81 -1
- package/docs/modules/number.html +67 -1
- package/docs/modules/object.html +115 -1
- package/docs/modules/string.html +111 -1
- package/docs/modules.html +83 -1
- package/docs/types/JoinT.html +66 -0
- package/docs/types/OperatorT.html +62 -0
- package/docs/types/PathT.html +66 -0
- package/docs/types/PathsToStringPropsT.html +66 -0
- package/docs/types/RecordT.html +62 -0
- package/docs/types/array.CompactT.html +126 -0
- package/docs/types/array.NestedArrayT.html +126 -0
- package/docs/types/array.OrderT.html +122 -0
- package/jest.config.js +8 -6
- package/package.json +17 -17
- package/src/array/all/index.ts +10 -0
- package/src/array/all/shim.ts +11 -12
- package/src/array/any/index.ts +11 -0
- package/src/array/any/shim.ts +12 -13
- package/src/array/append/index.ts +8 -0
- package/src/array/append/shim.ts +9 -11
- package/src/array/average/index.ts +13 -10
- package/src/array/average/shim.ts +23 -26
- package/src/array/chunk/index.ts +8 -1
- package/src/array/chunk/shim.ts +8 -10
- package/src/array/clone/index.ts +7 -0
- package/src/array/clone/shim.ts +8 -10
- package/src/array/compact/index.ts +8 -2
- package/src/array/compact/shim.ts +8 -10
- package/src/array/contains/index.ts +10 -0
- package/src/array/contains/shim.ts +11 -10
- package/src/array/count/index.ts +12 -3
- package/src/array/count/shim.ts +10 -11
- package/src/array/countBy/index.ts +12 -2
- package/src/array/countBy/shim.ts +12 -13
- package/src/array/crossJoin/index.ts +11 -5
- package/src/array/crossJoin/shim.ts +10 -12
- package/src/array/deepFlatten/index.ts +9 -9
- package/src/array/deepFlatten/shim.ts +7 -9
- package/src/array/diff/index.ts +14 -3
- package/src/array/diff/shim.ts +13 -14
- package/src/array/distinct/index.ts +17 -5
- package/src/array/distinct/shim.ts +12 -12
- package/src/array/distinctBy/index.ts +12 -5
- package/src/array/distinctBy/shim.ts +8 -10
- package/src/array/empty/index.ts +8 -0
- package/src/array/empty/shim.ts +9 -10
- package/src/array/equals/index.ts +8 -3
- package/src/array/equals/shim.ts +8 -10
- package/src/array/everyNth/index.ts +7 -0
- package/src/array/everyNth/shim.ts +8 -9
- package/src/array/first/index.ts +6 -0
- package/src/array/first/shim.ts +7 -9
- package/src/array/flatten/index.ts +14 -7
- package/src/array/flatten/shim.ts +11 -11
- package/src/array/get/index.ts +11 -1
- package/src/array/get/shim.ts +12 -13
- package/src/array/groupBy/index.ts +12 -2
- package/src/array/groupBy/shim.ts +11 -12
- package/src/array/implode/index.ts +16 -8
- package/src/array/implode/shim.ts +10 -12
- package/src/array/index.ts +3 -3
- package/src/array/indexOfAll/index.ts +9 -0
- package/src/array/indexOfAll/shim.ts +10 -11
- package/src/array/initial/index.ts +6 -3
- package/src/array/initial/shim.ts +7 -9
- package/src/array/intersect/index.ts +8 -1
- package/src/array/intersect/shim.ts +8 -10
- package/src/array/isEmpty/index.ts +7 -0
- package/src/array/isEmpty/shim.ts +9 -10
- package/src/array/last/index.ts +8 -3
- package/src/array/last/shim.ts +7 -9
- package/src/array/limit/index.ts +9 -2
- package/src/array/limit/shim.ts +19 -24
- package/src/array/max/index.ts +22 -7
- package/src/array/max/shim.ts +12 -12
- package/src/array/median/index.ts +17 -4
- package/src/array/median/shim.ts +10 -11
- package/src/array/merge/index.ts +8 -0
- package/src/array/merge/shim.ts +9 -10
- package/src/array/min/index.ts +22 -7
- package/src/array/min/shim.ts +12 -12
- package/src/array/nest/index.ts +31 -12
- package/src/array/nest/shim.ts +17 -19
- package/src/array/orderBy/index.ts +31 -10
- package/src/array/orderBy/shim.ts +17 -13
- package/src/array/pad/index.ts +10 -0
- package/src/array/pad/shim.ts +11 -12
- package/src/array/partition/index.ts +17 -2
- package/src/array/partition/shim.ts +15 -17
- package/src/array/pluck/index.ts +11 -3
- package/src/array/pluck/shim.ts +10 -11
- package/src/array/prepend/index.ts +8 -0
- package/src/array/prepend/shim.ts +9 -10
- package/src/array/pull/index.ts +10 -2
- package/src/array/pull/shim.ts +9 -10
- package/src/array/range/index.ts +14 -1
- package/src/array/range/shim.ts +14 -14
- package/src/array/repeat/index.ts +7 -0
- package/src/array/repeat/shim.ts +8 -10
- package/src/array/sample/index.ts +5 -0
- package/src/array/sample/shim.ts +7 -9
- package/src/array/shim.ts +0 -2
- package/src/array/shuffle/index.ts +6 -0
- package/src/array/shuffle/shim.ts +7 -9
- package/src/array/skip/index.ts +7 -0
- package/src/array/skip/shim.ts +17 -22
- package/src/array/sortBy/index.ts +11 -2
- package/src/array/sortBy/shim.ts +10 -11
- package/src/array/sum/index.ts +19 -18
- package/src/array/sum/shim.ts +12 -12
- package/src/array/tail/index.ts +6 -3
- package/src/array/tail/shim.ts +7 -9
- package/src/array/toCSV/index.ts +10 -1
- package/src/array/toCSV/shim.ts +10 -11
- package/src/array/union/index.ts +7 -0
- package/src/array/union/shim.ts +9 -11
- package/src/array/unwind/index.ts +14 -5
- package/src/array/unwind/shim.ts +9 -11
- package/src/array/where/index.ts +67 -29
- package/src/array/where/shim.ts +32 -17
- package/src/array/whereBetween/index.ts +27 -7
- package/src/array/whereBetween/shim.ts +17 -13
- package/src/array/whereIn/index.ts +22 -7
- package/src/array/whereIn/shim.ts +15 -12
- package/src/array/whereLike/index.ts +25 -10
- package/src/array/whereLike/shim.ts +17 -15
- package/src/array/whereNotBetween/index.ts +27 -7
- package/src/array/whereNotBetween/shim.ts +17 -13
- package/src/array/whereNotIn/index.ts +22 -7
- package/src/array/whereNotIn/shim.ts +15 -12
- package/src/array/whereNotLike/index.ts +25 -10
- package/src/array/whereNotLike/shim.ts +17 -14
- package/src/array/whereNotNull/index.ts +10 -3
- package/src/array/whereNotNull/shim.ts +10 -11
- package/src/array/whereNull/index.ts +10 -3
- package/src/array/whereNull/shim.ts +13 -11
- package/src/array/zip/index.ts +15 -4
- package/src/array/zip/shim.ts +10 -11
- package/src/array/zipObject/index.ts +15 -1
- package/src/array/zipObject/shim.ts +11 -12
- package/src/boolean/isBoolean/index.ts +8 -0
- package/src/boolean/isBoolean/shim.ts +9 -10
- package/src/boolean/shim.ts +0 -2
- package/src/date/equals/index.ts +7 -0
- package/src/date/equals/shim.ts +8 -10
- package/src/date/isDate/index.ts +10 -2
- package/src/date/isDate/shim.ts +9 -10
- package/src/date/shim.ts +0 -2
- package/src/date/today/index.ts +12 -5
- package/src/date/today/shim.ts +6 -8
- package/src/date/tomorrow/index.ts +12 -5
- package/src/date/tomorrow/shim.ts +6 -8
- package/src/date/yesterday/index.ts +12 -5
- package/src/date/yesterday/shim.ts +6 -8
- package/src/function/cache/index.ts +12 -5
- package/src/function/cache/shim.ts +9 -12
- package/src/function/defer/index.ts +9 -1
- package/src/function/defer/shim.ts +9 -11
- package/src/function/isFunction/index.ts +9 -3
- package/src/function/isFunction/shim.ts +9 -10
- package/src/function/once/index.ts +11 -1
- package/src/function/once/shim.ts +9 -12
- package/src/function/shim.ts +0 -2
- package/src/globals/isBrowser/index.ts +6 -0
- package/src/globals/isBrowser/shim.ts +7 -9
- package/src/globals/shim.ts +0 -2
- package/src/index.ts +2 -0
- package/src/math/average/index.ts +8 -0
- package/src/math/average/shim.ts +20 -23
- package/src/math/degreesToRads/index.ts +8 -2
- package/src/math/degreesToRads/shim.ts +7 -9
- package/src/math/factorial/index.ts +6 -0
- package/src/math/factorial/shim.ts +7 -9
- package/src/math/fibonacci/index.ts +9 -4
- package/src/math/fibonacci/shim.ts +7 -9
- package/src/math/gcd/index.ts +10 -3
- package/src/math/gcd/shim.ts +9 -10
- package/src/math/isDivisible/index.ts +7 -0
- package/src/math/isDivisible/shim.ts +8 -10
- package/src/math/isEven/index.ts +6 -0
- package/src/math/isEven/shim.ts +7 -9
- package/src/math/isPrime/index.ts +6 -0
- package/src/math/isPrime/shim.ts +7 -9
- package/src/math/lcm/index.ts +11 -6
- package/src/math/lcm/shim.ts +9 -10
- package/src/math/primes/index.ts +7 -3
- package/src/math/primes/shim.ts +7 -9
- package/src/math/radsToDegrees/index.ts +8 -2
- package/src/math/radsToDegrees/shim.ts +7 -9
- package/src/math/shim.ts +0 -2
- package/src/number/digitize/index.ts +6 -1
- package/src/number/digitize/shim.ts +7 -9
- package/src/number/equals/index.ts +7 -0
- package/src/number/equals/shim.ts +8 -10
- package/src/number/inRange/index.ts +8 -0
- package/src/number/inRange/shim.ts +9 -11
- package/src/number/isNumber/index.ts +8 -0
- package/src/number/isNumber/shim.ts +9 -10
- package/src/number/shim.ts +0 -2
- package/src/object/assign/index.ts +8 -1
- package/src/object/assign/shim.ts +9 -11
- package/src/object/camelCaseKeys/index.ts +8 -3
- package/src/object/camelCaseKeys/shim.ts +8 -10
- package/src/object/clone/index.ts +9 -1
- package/src/object/clone/shim.ts +9 -11
- package/src/object/defaults/index.ts +9 -2
- package/src/object/defaults/shim.ts +9 -11
- package/src/object/dig/index.ts +18 -3
- package/src/object/dig/shim.ts +16 -18
- package/src/object/empty/index.ts +11 -5
- package/src/object/empty/shim.ts +9 -10
- package/src/object/equals/index.ts +12 -4
- package/src/object/equals/shim.ts +8 -10
- package/src/object/flatten/index.ts +10 -6
- package/src/object/flatten/shim.ts +7 -9
- package/src/object/forEach/index.ts +12 -1
- package/src/object/forEach/shim.ts +12 -13
- package/src/object/get/index.ts +7 -0
- package/src/object/get/shim.ts +8 -10
- package/src/object/invert/index.ts +9 -5
- package/src/object/invert/shim.ts +7 -9
- package/src/object/isEmpty/index.ts +8 -0
- package/src/object/isEmpty/shim.ts +9 -10
- package/src/object/isObject/index.ts +8 -0
- package/src/object/isObject/shim.ts +9 -10
- package/src/object/isObjectLike/index.ts +9 -3
- package/src/object/isObjectLike/shim.ts +9 -10
- package/src/object/isPlainObject/index.ts +11 -6
- package/src/object/isPlainObject/shim.ts +9 -10
- package/src/object/kebabCaseKeys/index.ts +8 -3
- package/src/object/kebabCaseKeys/shim.ts +8 -10
- package/src/object/keys/index.ts +7 -3
- package/src/object/keys/shim.ts +7 -9
- package/src/object/lowerCaseKeys/index.ts +7 -3
- package/src/object/lowerCaseKeys/shim.ts +8 -10
- package/src/object/map/index.ts +14 -2
- package/src/object/map/shim.ts +12 -14
- package/src/object/mapKeys/index.ts +8 -0
- package/src/object/mapKeys/shim.ts +9 -11
- package/src/object/mapValues/index.ts +13 -1
- package/src/object/mapValues/shim.ts +13 -15
- package/src/object/merge/index.ts +24 -10
- package/src/object/merge/shim.ts +18 -20
- package/src/object/omit/index.ts +21 -6
- package/src/object/omit/shim.ts +12 -13
- package/src/object/reduce/index.ts +9 -0
- package/src/object/reduce/shim.ts +9 -12
- package/src/object/set/index.ts +12 -3
- package/src/object/set/shim.ts +11 -12
- package/src/object/shim.ts +0 -2
- package/src/object/size/index.ts +5 -0
- package/src/object/size/shim.ts +7 -9
- package/src/object/snakeCaseKeys/index.ts +8 -3
- package/src/object/snakeCaseKeys/shim.ts +8 -10
- package/src/object/values/index.ts +6 -1
- package/src/object/values/shim.ts +7 -9
- package/src/string/base64/index.ts +5 -0
- package/src/string/base64/shim.ts +7 -9
- package/src/string/base64Decode/index.ts +5 -0
- package/src/string/base64Decode/shim.ts +7 -9
- package/src/string/camelCase/index.ts +14 -4
- package/src/string/camelCase/shim.ts +14 -13
- package/src/string/capitalize/index.ts +11 -2
- package/src/string/capitalize/shim.ts +10 -11
- package/src/string/chars/index.ts +5 -0
- package/src/string/chars/shim.ts +7 -9
- package/src/string/contains/index.ts +12 -2
- package/src/string/contains/shim.ts +11 -12
- package/src/string/decapitalize/index.ts +11 -2
- package/src/string/decapitalize/shim.ts +10 -11
- package/src/string/equals/index.ts +7 -0
- package/src/string/equals/shim.ts +8 -10
- package/src/string/forEach/index.ts +8 -1
- package/src/string/forEach/shim.ts +8 -10
- package/src/string/humanize/index.ts +11 -5
- package/src/string/humanize/shim.ts +9 -11
- package/src/string/isEmpty/index.ts +8 -0
- package/src/string/isEmpty/shim.ts +9 -10
- package/src/string/isString/index.ts +8 -0
- package/src/string/isString/shim.ts +9 -10
- package/src/string/kebabCase/index.ts +18 -4
- package/src/string/kebabCase/shim.ts +17 -15
- package/src/string/lines/index.ts +6 -0
- package/src/string/lines/shim.ts +7 -9
- package/src/string/map/index.ts +9 -1
- package/src/string/map/shim.ts +8 -12
- package/src/string/mask/index.ts +14 -2
- package/src/string/mask/shim.ts +13 -13
- package/src/string/pad/index.ts +12 -2
- package/src/string/pad/shim.ts +11 -12
- package/src/string/parseInt/index.ts +7 -0
- package/src/string/parseInt/shim.ts +8 -10
- package/src/string/pluralize/index.ts +76 -48
- package/src/string/pluralize/shim.ts +18 -15
- package/src/string/reduce/index.ts +9 -0
- package/src/string/reduce/shim.ts +9 -11
- package/src/string/repeat/index.ts +7 -0
- package/src/string/repeat/shim.ts +8 -10
- package/src/string/reverse/index.ts +6 -0
- package/src/string/reverse/shim.ts +7 -9
- package/src/string/shim.ts +0 -2
- package/src/string/snakeCase/index.ts +18 -4
- package/src/string/snakeCase/shim.ts +17 -15
- package/src/string/swapCase/index.ts +7 -3
- package/src/string/swapCase/shim.ts +7 -9
- package/src/string/truncate/index.ts +10 -0
- package/src/string/truncate/shim.ts +11 -12
- package/src/string/words/index.ts +9 -0
- package/src/string/words/shim.ts +10 -11
- package/src/utils.ts +59 -47
- package/tsconfig.eslint.json +4 -0
- package/tsconfig.json +1 -1
- package/typedoc.json +8 -3
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/enums/array_orderBy.ORDER.html +0 -1
- package/docs/enums/utils.OPERATOR.html +0 -1
- package/docs/modules/array_all.html +0 -1
- package/docs/modules/array_any.html +0 -1
- package/docs/modules/array_append.html +0 -1
- package/docs/modules/array_average.html +0 -1
- package/docs/modules/array_chunk.html +0 -1
- package/docs/modules/array_clone.html +0 -1
- package/docs/modules/array_compact.html +0 -1
- package/docs/modules/array_contains.html +0 -1
- package/docs/modules/array_count.html +0 -1
- package/docs/modules/array_countBy.html +0 -1
- package/docs/modules/array_crossJoin.html +0 -1
- package/docs/modules/array_deepFlatten.html +0 -1
- package/docs/modules/array_diff.html +0 -1
- package/docs/modules/array_distinct.html +0 -1
- package/docs/modules/array_distinctBy.html +0 -1
- package/docs/modules/array_empty.html +0 -1
- package/docs/modules/array_equals.html +0 -1
- package/docs/modules/array_everyNth.html +0 -1
- package/docs/modules/array_first.html +0 -1
- package/docs/modules/array_flatten.html +0 -1
- package/docs/modules/array_get.html +0 -1
- package/docs/modules/array_groupBy.html +0 -1
- package/docs/modules/array_implode.html +0 -1
- package/docs/modules/array_indexOfAll.html +0 -1
- package/docs/modules/array_initial.html +0 -1
- package/docs/modules/array_intersect.html +0 -1
- package/docs/modules/array_isEmpty.html +0 -1
- package/docs/modules/array_last.html +0 -1
- package/docs/modules/array_limit.html +0 -1
- package/docs/modules/array_max.html +0 -1
- package/docs/modules/array_median.html +0 -1
- package/docs/modules/array_merge.html +0 -1
- package/docs/modules/array_min.html +0 -1
- package/docs/modules/array_nest.html +0 -1
- package/docs/modules/array_orderBy.html +0 -1
- package/docs/modules/array_pad.html +0 -1
- package/docs/modules/array_partition.html +0 -1
- package/docs/modules/array_pluck.html +0 -1
- package/docs/modules/array_prepend.html +0 -1
- package/docs/modules/array_pull.html +0 -1
- package/docs/modules/array_range.html +0 -1
- package/docs/modules/array_repeat.html +0 -1
- package/docs/modules/array_sample.html +0 -1
- package/docs/modules/array_shuffle.html +0 -1
- package/docs/modules/array_skip.html +0 -1
- package/docs/modules/array_sortBy.html +0 -1
- package/docs/modules/array_sum.html +0 -1
- package/docs/modules/array_tail.html +0 -1
- package/docs/modules/array_toCSV.html +0 -1
- package/docs/modules/array_union.html +0 -1
- package/docs/modules/array_unwind.html +0 -1
- package/docs/modules/array_where.html +0 -1
- package/docs/modules/array_whereBetween.html +0 -1
- package/docs/modules/array_whereIn.html +0 -1
- package/docs/modules/array_whereLike.html +0 -1
- package/docs/modules/array_whereNotBetween.html +0 -1
- package/docs/modules/array_whereNotIn.html +0 -1
- package/docs/modules/array_whereNotLike.html +0 -1
- package/docs/modules/array_whereNotNull.html +0 -1
- package/docs/modules/array_whereNull.html +0 -1
- package/docs/modules/array_zip.html +0 -1
- package/docs/modules/array_zipObject.html +0 -1
- package/docs/modules/boolean_isBoolean.html +0 -1
- package/docs/modules/date_equals.html +0 -1
- package/docs/modules/date_isDate.html +0 -1
- package/docs/modules/date_today.html +0 -1
- package/docs/modules/date_tomorrow.html +0 -1
- package/docs/modules/date_yesterday.html +0 -1
- package/docs/modules/function.html +0 -1
- package/docs/modules/function_cache.html +0 -1
- package/docs/modules/function_defer.html +0 -1
- package/docs/modules/function_isFunction.html +0 -1
- package/docs/modules/function_once.html +0 -1
- package/docs/modules/globals_isBrowser.html +0 -1
- package/docs/modules/index.html +0 -1
- package/docs/modules/math_average.html +0 -1
- package/docs/modules/math_degreesToRads.html +0 -1
- package/docs/modules/math_factorial.html +0 -1
- package/docs/modules/math_fibonacci.html +0 -1
- package/docs/modules/math_gcd.html +0 -1
- package/docs/modules/math_isDivisible.html +0 -1
- package/docs/modules/math_isEven.html +0 -1
- package/docs/modules/math_isPrime.html +0 -1
- package/docs/modules/math_lcm.html +0 -1
- package/docs/modules/math_primes.html +0 -1
- package/docs/modules/math_radsToDegrees.html +0 -1
- package/docs/modules/number_digitize.html +0 -1
- package/docs/modules/number_equals.html +0 -1
- package/docs/modules/number_inRange.html +0 -1
- package/docs/modules/number_isNumber.html +0 -1
- package/docs/modules/object_assign.html +0 -1
- package/docs/modules/object_camelCaseKeys.html +0 -1
- package/docs/modules/object_clone.html +0 -1
- package/docs/modules/object_defaults.html +0 -1
- package/docs/modules/object_dig.html +0 -1
- package/docs/modules/object_empty.html +0 -1
- package/docs/modules/object_equals.html +0 -1
- package/docs/modules/object_flatten.html +0 -1
- package/docs/modules/object_forEach.html +0 -1
- package/docs/modules/object_get.html +0 -1
- package/docs/modules/object_invert.html +0 -1
- package/docs/modules/object_isEmpty.html +0 -1
- package/docs/modules/object_isObject.html +0 -1
- package/docs/modules/object_isObjectLike.html +0 -1
- package/docs/modules/object_isPlainObject.html +0 -1
- package/docs/modules/object_kebabCaseKeys.html +0 -1
- package/docs/modules/object_keys.html +0 -1
- package/docs/modules/object_lowerCaseKeys.html +0 -1
- package/docs/modules/object_map.html +0 -1
- package/docs/modules/object_mapKeys.html +0 -1
- package/docs/modules/object_mapValues.html +0 -1
- package/docs/modules/object_merge.html +0 -1
- package/docs/modules/object_omit.html +0 -1
- package/docs/modules/object_reduce.html +0 -1
- package/docs/modules/object_set.html +0 -1
- package/docs/modules/object_size.html +0 -1
- package/docs/modules/object_snakeCaseKeys.html +0 -1
- package/docs/modules/object_values.html +0 -1
- package/docs/modules/string_base64.html +0 -1
- package/docs/modules/string_base64Decode.html +0 -1
- package/docs/modules/string_camelCase.html +0 -1
- package/docs/modules/string_capitalize.html +0 -1
- package/docs/modules/string_chars.html +0 -1
- package/docs/modules/string_contains.html +0 -1
- package/docs/modules/string_decapitalize.html +0 -1
- package/docs/modules/string_equals.html +0 -1
- package/docs/modules/string_forEach.html +0 -1
- package/docs/modules/string_humanize.html +0 -1
- package/docs/modules/string_isEmpty.html +0 -1
- package/docs/modules/string_isString.html +0 -1
- package/docs/modules/string_kebabCase.html +0 -1
- package/docs/modules/string_lines.html +0 -1
- package/docs/modules/string_map.html +0 -1
- package/docs/modules/string_mask.html +0 -1
- package/docs/modules/string_pad.html +0 -1
- package/docs/modules/string_parseInt.html +0 -1
- package/docs/modules/string_pluralize.html +0 -1
- package/docs/modules/string_reduce.html +0 -1
- package/docs/modules/string_repeat.html +0 -1
- package/docs/modules/string_reverse.html +0 -1
- package/docs/modules/string_snakeCase.html +0 -1
- package/docs/modules/string_swapCase.html +0 -1
- package/docs/modules/string_truncate.html +0 -1
- package/docs/modules/string_words.html +0 -1
- package/docs/modules/utils.html +0 -7
- package/scripts/docs.js +0 -11
|
@@ -3,17 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
6
|
const utils_js_1 = require("../../utils.js");
|
|
8
|
-
|
|
9
|
-
* Creates an array of elements, grouped based on the position in the original arrays
|
|
10
|
-
* @memberof Array.prototype
|
|
11
|
-
* @function zip
|
|
12
|
-
* @param {Array[]} arrays
|
|
13
|
-
* @returns {Array}
|
|
14
|
-
* @example
|
|
15
|
-
* ['a', 'b'].zip([1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
|
|
16
|
-
* ['a'].zip([1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
|
|
17
|
-
*/
|
|
7
|
+
const index_js_1 = __importDefault(require("./index.js"));
|
|
18
8
|
(0, utils_js_1.addPrototype)(Array, "zip", index_js_1.default);
|
|
19
9
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/array/zip/shim.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/array/zip/shim.ts"],"names":[],"mappings":";;;;;AAAA,6CAA8C;AAC9C,0DAA6B;AAkB7B,IAAA,uBAAY,EAAC,KAAK,EAAE,KAAK,EAAE,kBAAG,CAAC,CAAC","sourcesContent":["import { addPrototype } from \"../../utils.js\";\nimport zip from \"./index.js\";\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n interface Array<T> {\n\n /**\n * Creates an array of elements, grouped based on the position in the original arrays\n * @param arrays\n * @example\n * ['a', 'b'].zip([1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]\n * @example\n * ['a'].zip([1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]\n */\n zip(...arrays: unknown[][]): unknown[][];\n }\n}\n\naddPrototype(Array, \"zip\", zip);\n"]}
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Given an array of valid property identifiers and an array of values,
|
|
5
|
+
* return an object associating the properties to the values
|
|
6
|
+
* @param arr
|
|
7
|
+
* @param array
|
|
8
|
+
* @example
|
|
9
|
+
* zipObject(['a', 'b', 'c'], [1, 2]); // {a: 1, b: 2, c: undefined}
|
|
10
|
+
* @example
|
|
11
|
+
* zipObject(['a', 'b'], [1, 2, 3]); // {a: 1, b: 2}
|
|
12
|
+
*/
|
|
3
13
|
function zipObject(arr, array) {
|
|
4
|
-
return arr.reduce((obj, prop, index) =>
|
|
14
|
+
return arr.reduce((obj, prop, index) => {
|
|
15
|
+
obj[prop] = array[index];
|
|
16
|
+
return obj;
|
|
17
|
+
}, {});
|
|
5
18
|
}
|
|
6
19
|
exports.default = zipObject;
|
|
7
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/array/zipObject/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,SAAS,CAC/B,GAAQ,EACR,KAAY;IAEZ,OAAO,GAAG,CAAC,MAAM,CACf,CAAC,GAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/array/zipObject/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;GASG;AACH,SAAwB,SAAS,CAC/B,GAAQ,EACR,KAAY;IAEZ,OAAO,GAAG,CAAC,MAAM,CACf,CAAC,GAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QACxB,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QAEzB,OAAO,GAAG,CAAC;IACb,CAAC,EACD,EAAE,CACH,CAAC;AACJ,CAAC;AAZD,4BAYC","sourcesContent":["/**\n * Given an array of valid property identifiers and an array of values,\n * return an object associating the properties to the values\n * @param arr\n * @param array\n * @example\n * zipObject(['a', 'b', 'c'], [1, 2]); // {a: 1, b: 2, c: undefined}\n * @example\n * zipObject(['a', 'b'], [1, 2, 3]); // {a: 1, b: 2}\n */\nexport default function zipObject<T>(\n arr: T[],\n array: any[],\n): Record<string, unknown> {\n return arr.reduce(\n (obj: any, prop, index) => {\n obj[prop] = array[index];\n\n return obj;\n },\n {},\n );\n}\n"]}
|
|
@@ -3,18 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
6
|
const utils_js_1 = require("../../utils.js");
|
|
8
|
-
|
|
9
|
-
* Given an array of valid property identifiers and an array of values,
|
|
10
|
-
* return an object associating the properties to the values
|
|
11
|
-
* @memberof Array.prototype
|
|
12
|
-
* @function zipObject
|
|
13
|
-
* @param {Array} array
|
|
14
|
-
* @returns {Object}
|
|
15
|
-
* @example
|
|
16
|
-
* ['a', 'b', 'c'].zipObject([1, 2]); // {a: 1, b: 2, c: undefined}
|
|
17
|
-
* ['a', 'b'].zipObject([1, 2, 3]); // {a: 1, b: 2}
|
|
18
|
-
*/
|
|
7
|
+
const index_js_1 = __importDefault(require("./index.js"));
|
|
19
8
|
(0, utils_js_1.addPrototype)(Array, "zipObject", index_js_1.default);
|
|
20
9
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/array/zipObject/shim.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/array/zipObject/shim.ts"],"names":[],"mappings":";;;;;AAAA,6CAA8C;AAC9C,0DAAmC;AAmBnC,IAAA,uBAAY,EAAC,KAAK,EAAE,WAAW,EAAE,kBAAS,CAAC,CAAC","sourcesContent":["import { addPrototype } from \"../../utils.js\";\nimport zipObject from \"./index.js\";\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n interface Array<T> {\n\n /**\n * Given an array of valid property identifiers and an array of values,\n * return an object associating the properties to the values\n * @param array\n * @example\n * ['a', 'b', 'c'].zipObject([1, 2]); // {a: 1, b: 2, c: undefined}\n * @example\n * ['a', 'b'].zipObject([1, 2, 3]); // {a: 1, b: 2}\n */\n zipObject(array: unknown[]): Record<string, unknown>;\n }\n}\n\naddPrototype(Array, \"zipObject\", zipObject);\n"]}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given argument is a boolean
|
|
5
|
+
* @param arg
|
|
6
|
+
* @example
|
|
7
|
+
* isBoolean('foo bar'); // false
|
|
8
|
+
* @example
|
|
9
|
+
* isBoolean(false); // true
|
|
10
|
+
*/
|
|
3
11
|
function isBoolean(arg) {
|
|
4
12
|
return typeof arg === "boolean";
|
|
5
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boolean/isBoolean/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,SAAS,CAAC,GAAY;IAC5C,OAAO,OAAO,GAAG,KAAK,SAAS,CAAC;AAClC,CAAC;AAFD,4BAEC","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boolean/isBoolean/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,SAAwB,SAAS,CAAC,GAAY;IAC5C,OAAO,OAAO,GAAG,KAAK,SAAS,CAAC;AAClC,CAAC;AAFD,4BAEC","sourcesContent":["/**\n * Returns true if the given argument is a boolean\n * @param arg\n * @example\n * isBoolean('foo bar'); // false\n * @example\n * isBoolean(false); // true\n */\nexport default function isBoolean(arg: unknown): arg is boolean {\n return typeof arg === \"boolean\";\n}\n"]}
|
|
@@ -4,15 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns true if the given argument is a boolean
|
|
9
|
-
* @memberof Boolean
|
|
10
|
-
* @function isBoolean
|
|
11
|
-
* @param {*} arg
|
|
12
|
-
* @returns {Boolean}
|
|
13
|
-
* @example
|
|
14
|
-
* Boolean.isBoolean('foo bar'); // false
|
|
15
|
-
* Boolean.isBoolean(false); // true
|
|
16
|
-
*/
|
|
17
7
|
Boolean.isBoolean = index_js_1.default;
|
|
18
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/boolean/isBoolean/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAmC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/boolean/isBoolean/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAmC;AAiBnC,OAAO,CAAC,SAAS,GAAG,kBAAS,CAAC","sourcesContent":["import isBoolean from \"./index.js\";\n\ndeclare global {\n interface BooleanConstructor {\n\n /**\n * Returns true if the given argument is a boolean\n * @param arg\n * @example\n * Boolean.isBoolean('foo bar'); // false\n * @example\n * Boolean.isBoolean(false); // true\n */\n isBoolean(arg: unknown): arg is boolean;\n }\n}\n\nBoolean.isBoolean = isBoolean;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../src/boolean/shim.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../src/boolean/shim.ts"],"names":[],"mappings":";;AAAA,+BAA6B","sourcesContent":["import \"./isBoolean/shim.js\";\n"]}
|
|
@@ -4,6 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../isDate/index.js"));
|
|
7
|
+
/**
|
|
8
|
+
* Checks if the date is equal to the given value
|
|
9
|
+
* @param date
|
|
10
|
+
* @param value
|
|
11
|
+
* @example
|
|
12
|
+
* equals(new Date(), new Date()); // false
|
|
13
|
+
*/
|
|
7
14
|
function equals(date, value) {
|
|
8
15
|
return (0, index_js_1.default)(value) && date.getTime() === value.getTime();
|
|
9
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/equals/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAwC;AAExC,SAAwB,MAAM,CAAC,IAAU,EAAE,KAAc;IACvD,OAAO,IAAA,kBAAM,EAAC,KAAK,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC;AAC7D,CAAC;AAFD,yBAEC","sourcesContent":["import isDate from \"../isDate/index.js\";\n\nexport default function equals(date: Date, value: unknown): boolean {\n return isDate(value) && date.getTime() === value.getTime();\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/equals/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAwC;AAExC;;;;;;GAMG;AACH,SAAwB,MAAM,CAAC,IAAU,EAAE,KAAc;IACvD,OAAO,IAAA,kBAAM,EAAC,KAAK,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC;AAC7D,CAAC;AAFD,yBAEC","sourcesContent":["import isDate from \"../isDate/index.js\";\n\n/**\n * Checks if the date is equal to the given value\n * @param date\n * @param value\n * @example\n * equals(new Date(), new Date()); // false\n */\nexport default function equals(date: Date, value: unknown): boolean {\n return isDate(value) && date.getTime() === value.getTime();\n}\n"]}
|
|
@@ -3,16 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
6
|
const utils_js_1 = require("../../utils.js");
|
|
8
|
-
|
|
9
|
-
* Checks if the date is equal to the given value
|
|
10
|
-
* @memberof Date.prototype
|
|
11
|
-
* @function equals
|
|
12
|
-
* @param {*} value
|
|
13
|
-
* @returns {Boolean}
|
|
14
|
-
* @example
|
|
15
|
-
* (new Date()).equals(new Date()); // false
|
|
16
|
-
*/
|
|
7
|
+
const index_js_1 = __importDefault(require("./index.js"));
|
|
17
8
|
(0, utils_js_1.addPrototype)(Date, "equals", index_js_1.default);
|
|
18
9
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/equals/shim.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/equals/shim.ts"],"names":[],"mappings":";;;;;AAAA,6CAA8C;AAC9C,0DAAgC;AAehC,IAAA,uBAAY,EAAC,IAAI,EAAE,QAAQ,EAAE,kBAAM,CAAC,CAAC","sourcesContent":["import { addPrototype } from \"../../utils.js\";\nimport equals from \"./index.js\";\n\ndeclare global {\n interface Date {\n\n /**\n * Checks if the date is equal to the given value\n * @param value\n * @example\n * (new Date()).equals(new Date()); // false\n */\n equals(value: unknown): boolean;\n }\n}\n\naddPrototype(Date, \"equals\", equals);\n"]}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given argument is an instance of Date
|
|
5
|
+
* @param arg
|
|
6
|
+
* @example
|
|
7
|
+
* isDate('foo bar'); // false
|
|
8
|
+
* @example
|
|
9
|
+
* isDate(new Date()); // true
|
|
10
|
+
*/
|
|
3
11
|
function isDate(arg) {
|
|
4
|
-
return (arg instanceof Date
|
|
5
|
-
Object.prototype.toString.call(arg) === "[object Date]");
|
|
12
|
+
return (arg instanceof Date
|
|
13
|
+
|| Object.prototype.toString.call(arg) === "[object Date]");
|
|
6
14
|
}
|
|
7
15
|
exports.default = isDate;
|
|
8
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/isDate/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,MAAM,CAAC,GAAY;IACzC,OAAO,CACL,GAAG,YAAY,IAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/isDate/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,SAAwB,MAAM,CAAC,GAAY;IACzC,OAAO,CACL,GAAG,YAAY,IAAI;WAChB,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,eAAe,CAC3D,CAAC;AACJ,CAAC;AALD,yBAKC","sourcesContent":["/**\n * Returns true if the given argument is an instance of Date\n * @param arg\n * @example\n * isDate('foo bar'); // false\n * @example\n * isDate(new Date()); // true\n */\nexport default function isDate(arg: unknown): arg is Date {\n return (\n arg instanceof Date\n || Object.prototype.toString.call(arg) === \"[object Date]\"\n );\n}\n"]}
|
|
@@ -4,15 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns true if the given argument is an instance of Date
|
|
9
|
-
* @memberof Date
|
|
10
|
-
* @function isDate
|
|
11
|
-
* @param {*} arg
|
|
12
|
-
* @returns {Boolean}
|
|
13
|
-
* @example
|
|
14
|
-
* Date.isDate('foo bar'); // false
|
|
15
|
-
* Date.isDate(new Date()); // true
|
|
16
|
-
*/
|
|
17
7
|
Date.isDate = index_js_1.default;
|
|
18
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/isDate/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAgC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/isDate/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAgC;AAiBhC,IAAI,CAAC,MAAM,GAAG,kBAAM,CAAC","sourcesContent":["import isDate from \"./index.js\";\n\ndeclare global {\n interface DateConstructor {\n\n /**\n * Returns true if the given argument is an instance of Date\n * @param arg\n * @example\n * Date.isDate('foo bar'); // false\n * @example\n * Date.isDate(new Date()); // true\n */\n isDate(arg: unknown): arg is Date;\n }\n}\n\nDate.isDate = isDate;\n"]}
|
package/build/cjs/date/shim.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../src/date/shim.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../src/date/shim.ts"],"names":[],"mappings":";;AAAA,4BAA0B;AAC1B,4BAA0B;AAC1B,2BAAyB;AACzB,8BAA4B;AAC5B,+BAA6B","sourcesContent":["import \"./equals/shim.js\";\nimport \"./isDate/shim.js\";\nimport \"./today/shim.js\";\nimport \"./tomorrow/shim.js\";\nimport \"./yesterday/shim.js\";\n"]}
|
|
@@ -4,9 +4,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../string/pad/index.js"));
|
|
7
|
+
/**
|
|
8
|
+
* Returns today's date in `YYYY-MM-DD` format
|
|
9
|
+
* @example
|
|
10
|
+
* today(); // "2018-08-10"
|
|
11
|
+
*/
|
|
7
12
|
function today() {
|
|
8
|
-
const now = new Date
|
|
9
|
-
|
|
13
|
+
const now = (new Date);
|
|
14
|
+
const padSize = -2;
|
|
15
|
+
return `${now.getFullYear()}-${(0, index_js_1.default)(`${now.getMonth() + 1}`, padSize, "0")}-${(0, index_js_1.default)(`${now.getDate()}`, padSize, "0")}`;
|
|
10
16
|
}
|
|
11
17
|
exports.default = today;
|
|
12
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/today/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C,SAAwB,KAAK;IAC3B,MAAM,GAAG,GAAG,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/today/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C;;;;GAIG;AACH,SAAwB,KAAK;IAC3B,MAAM,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC;IAEvB,MAAM,OAAO,GAAG,CAAC,CAAC,CAAC;IAEnB,OAAO,GAAI,GAAG,CAAC,WAAW,EAAG,IAAK,IAAA,kBAAG,EAAC,GAAI,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAE,EAAE,EAAE,OAAO,EAAE,GAAG,CAAE,IAAK,IAAA,kBAAG,EACrF,GAAI,GAAG,CAAC,OAAO,EAAG,EAAE,EACpB,OAAO,EACP,GAAG,CACH,EAAE,CAAC;AACP,CAAC;AAVD,wBAUC","sourcesContent":["import pad from \"../../string/pad/index.js\";\n\n/**\n * Returns today's date in `YYYY-MM-DD` format\n * @example\n * today(); // \"2018-08-10\"\n */\nexport default function today(): string {\n const now = (new Date);\n\n const padSize = -2;\n\n return `${ now.getFullYear() }-${ pad(`${ now.getMonth() + 1 }`, padSize, \"0\") }-${ pad(\n `${ now.getDate() }`,\n padSize,\n \"0\",\n ) }`;\n}\n"]}
|
|
@@ -4,13 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns today's date in `YYYY-MM-DD` format
|
|
9
|
-
* @memberof Date
|
|
10
|
-
* @function today
|
|
11
|
-
* @returns {String}
|
|
12
|
-
* @example
|
|
13
|
-
* Date.today(); // "2018-08-10"
|
|
14
|
-
*/
|
|
15
7
|
Date.today = index_js_1.default;
|
|
16
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/today/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAA+B;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/today/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAA+B;AAc/B,IAAI,CAAC,KAAK,GAAG,kBAAK,CAAC","sourcesContent":["import today from \"./index.js\";\n\ndeclare global {\n interface DateConstructor {\n\n /**\n * Returns today's date in `YYYY-MM-DD` format\n * @example\n * Date.today(); // \"2018-08-10\"\n */\n today(): string;\n }\n}\n\nDate.today = today;\n"]}
|
|
@@ -4,10 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../string/pad/index.js"));
|
|
7
|
+
/**
|
|
8
|
+
* Returns tomorrow's date in `YYYY-MM-DD` format
|
|
9
|
+
* @example
|
|
10
|
+
* tomorrow(); // "2018-08-11"
|
|
11
|
+
*/
|
|
7
12
|
function tomorrow() {
|
|
8
|
-
const now = new Date
|
|
13
|
+
const now = (new Date);
|
|
9
14
|
now.setDate(now.getDate() + 1);
|
|
10
|
-
|
|
15
|
+
const padSize = -2;
|
|
16
|
+
return `${now.getFullYear()}-${(0, index_js_1.default)(`${now.getMonth() + 1}`, padSize, "0")}-${(0, index_js_1.default)(`${now.getDate()}`, padSize, "0")}`;
|
|
11
17
|
}
|
|
12
18
|
exports.default = tomorrow;
|
|
13
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/tomorrow/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C,SAAwB,QAAQ;IAC9B,MAAM,GAAG,GAAG,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/tomorrow/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C;;;;GAIG;AACH,SAAwB,QAAQ;IAC9B,MAAM,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC;IAEvB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;IAE/B,MAAM,OAAO,GAAG,CAAC,CAAC,CAAC;IAEnB,OAAO,GAAI,GAAG,CAAC,WAAW,EAAG,IAAK,IAAA,kBAAG,EAAC,GAAI,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAE,EAAE,EAAE,OAAO,EAAE,GAAG,CAAE,IAAK,IAAA,kBAAG,EACrF,GAAI,GAAG,CAAC,OAAO,EAAG,EAAE,EACpB,OAAO,EACP,GAAG,CACH,EAAE,CAAC;AACP,CAAC;AAZD,2BAYC","sourcesContent":["import pad from \"../../string/pad/index.js\";\n\n/**\n * Returns tomorrow's date in `YYYY-MM-DD` format\n * @example\n * tomorrow(); // \"2018-08-11\"\n */\nexport default function tomorrow(): string {\n const now = (new Date);\n\n now.setDate(now.getDate() + 1);\n\n const padSize = -2;\n\n return `${ now.getFullYear() }-${ pad(`${ now.getMonth() + 1 }`, padSize, \"0\") }-${ pad(\n `${ now.getDate() }`,\n padSize,\n \"0\",\n ) }`;\n}\n"]}
|
|
@@ -4,13 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns tomorrow's date in `YYYY-MM-DD` format
|
|
9
|
-
* @memberof Date
|
|
10
|
-
* @function tomorrow
|
|
11
|
-
* @returns {String}
|
|
12
|
-
* @example
|
|
13
|
-
* Date.tomorrow(); // "2018-08-11"
|
|
14
|
-
*/
|
|
15
7
|
Date.tomorrow = index_js_1.default;
|
|
16
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/tomorrow/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAkC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/tomorrow/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAkC;AAclC,IAAI,CAAC,QAAQ,GAAG,kBAAQ,CAAC","sourcesContent":["import tomorrow from \"./index.js\";\n\ndeclare global {\n interface DateConstructor {\n\n /**\n * Returns tomorrow's date in `YYYY-MM-DD` format\n * @example\n * Date.tomorrow(); // \"2018-08-11\"\n */\n tomorrow(): string;\n }\n}\n\nDate.tomorrow = tomorrow;\n"]}
|
|
@@ -4,10 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../string/pad/index.js"));
|
|
7
|
+
/**
|
|
8
|
+
* Returns yesterday's date in `YYYY-MM-DD` format
|
|
9
|
+
* @example
|
|
10
|
+
* yesterday(); // "2018-08-11"
|
|
11
|
+
*/
|
|
7
12
|
function yesterday() {
|
|
8
|
-
const now = new Date
|
|
13
|
+
const now = (new Date);
|
|
9
14
|
now.setDate(now.getDate() - 1);
|
|
10
|
-
|
|
15
|
+
const padSize = -2;
|
|
16
|
+
return `${now.getFullYear()}-${(0, index_js_1.default)(`${now.getMonth() + 1}`, padSize, "0")}-${(0, index_js_1.default)(`${now.getDate()}`, padSize, "0")}`;
|
|
11
17
|
}
|
|
12
18
|
exports.default = yesterday;
|
|
13
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/yesterday/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C,SAAwB,SAAS;IAC/B,MAAM,GAAG,GAAG,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/date/yesterday/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA4C;AAE5C;;;;GAIG;AACH,SAAwB,SAAS;IAC/B,MAAM,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC;IAEvB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;IAE/B,MAAM,OAAO,GAAG,CAAC,CAAC,CAAC;IAEnB,OAAO,GAAI,GAAG,CAAC,WAAW,EAAG,IAAK,IAAA,kBAAG,EAAC,GAAI,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAE,EAAE,EAAE,OAAO,EAAE,GAAG,CAAE,IAAK,IAAA,kBAAG,EACrF,GAAI,GAAG,CAAC,OAAO,EAAG,EAAE,EACpB,OAAO,EACP,GAAG,CACH,EAAE,CAAC;AACP,CAAC;AAZD,4BAYC","sourcesContent":["import pad from \"../../string/pad/index.js\";\n\n/**\n * Returns yesterday's date in `YYYY-MM-DD` format\n * @example\n * yesterday(); // \"2018-08-11\"\n */\nexport default function yesterday(): string {\n const now = (new Date);\n\n now.setDate(now.getDate() - 1);\n\n const padSize = -2;\n\n return `${ now.getFullYear() }-${ pad(`${ now.getMonth() + 1 }`, padSize, \"0\") }-${ pad(\n `${ now.getDate() }`,\n padSize,\n \"0\",\n ) }`;\n}\n"]}
|
|
@@ -4,13 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns yesterday's date in `YYYY-MM-DD` format
|
|
9
|
-
* @memberof Date
|
|
10
|
-
* @function yesterday
|
|
11
|
-
* @returns {String}
|
|
12
|
-
* @example
|
|
13
|
-
* Date.yesterday(); // "2018-08-11"
|
|
14
|
-
*/
|
|
15
7
|
Date.yesterday = index_js_1.default;
|
|
16
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/yesterday/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAmC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/date/yesterday/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAmC;AAcnC,IAAI,CAAC,SAAS,GAAG,kBAAS,CAAC","sourcesContent":["import yesterday from \"./index.js\";\n\ndeclare global {\n interface DateConstructor {\n\n /**\n * Returns yesterday's date in `YYYY-MM-DD` format\n * @example\n * Date.yesterday(); // \"2018-08-11\"\n */\n yesterday(): string;\n }\n}\n\nDate.yesterday = yesterday;\n"]}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Returns the cached function results if already runned with this method
|
|
5
|
+
* @param func
|
|
6
|
+
* @example
|
|
7
|
+
* const test = cache(() => setTimeout(console.log, 1000, `test`));
|
|
8
|
+
* test(); // takes a second to log 'test'
|
|
9
|
+
* test(); // instantly logs the second 'test'
|
|
10
|
+
*/
|
|
3
11
|
function cache(func) {
|
|
4
|
-
const cacheMap = func.cached
|
|
12
|
+
const cacheMap = func.cached ?? (func.cached = (new Map));
|
|
5
13
|
function cached(...args) {
|
|
6
14
|
const key = JSON.stringify(args);
|
|
7
15
|
if (cacheMap.has(key))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/cache/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,KAAK,CAC3B,IAAO;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/cache/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,SAAwB,KAAK,CAC3B,IAAO;IACP,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IAE1D,SAAS,MAAM,CAAC,GAAG,IAAe;QAChC,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEjC,IAAI,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEhD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,CAAkB,CAAC;QAEzD,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QAE1B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAW,CAAC;AACrB,CAAC;AAjBD,wBAiBC","sourcesContent":["/**\n * Returns the cached function results if already runned with this method\n * @param func\n * @example\n * const test = cache(() => setTimeout(console.log, 1000, `test`));\n * test(); // takes a second to log 'test'\n * test(); // instantly logs the second 'test'\n */\nexport default function cache<F extends (...args: unknown[]) => unknown>(\n func: F): F {\n const cacheMap = func.cached ?? (func.cached = (new Map));\n\n function cached(...args: unknown[]): ReturnType<F> {\n const key = JSON.stringify(args);\n\n if (cacheMap.has(key)) return cacheMap.get(key);\n\n const result = func.call(func, ...args) as ReturnType<F>;\n\n cacheMap.set(key, result);\n\n return result;\n }\n\n return cached as F;\n}\n"]}
|
|
@@ -4,17 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns the cached function results if already runned with this method
|
|
9
|
-
* @memberof Function
|
|
10
|
-
* @function cache
|
|
11
|
-
* @param {Array} args
|
|
12
|
-
* @returns {*}
|
|
13
|
-
* @example
|
|
14
|
-
* const test = () => setTimeout(console.log, 1000, `test`);
|
|
15
|
-
* test.cache(); // takes a second to log 'test'
|
|
16
|
-
* test.cache(); // instantly logs the second 'test'
|
|
17
|
-
*/
|
|
18
7
|
Function.prototype.cache = function cache(...args) {
|
|
19
8
|
return (0, index_js_1.default)(this)(...args);
|
|
20
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/cache/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAgC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/cache/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAgC;AAkBhC,QAAQ,CAAC,SAAS,CAAC,KAAK,GAAG,SAAS,KAAK,CAAC,GAAG,IAAI;IAC/C,OAAO,IAAA,kBAAM,EAAC,IAAW,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AACtC,CAAC,CAAC","sourcesContent":["import method from \"./index.js\";\n\ndeclare global {\n interface Function {\n cached?: Map<string, unknown>;\n\n /**\n * Returns the cached function results if already runned with this method\n * @param args\n * @example\n * const test = () => setTimeout(console.log, 1000, `test`);\n * test.cache(); // takes a second to log 'test'\n * test.cache(); // instantly logs the second 'test'\n */\n cache(...args: unknown[]): unknown;\n }\n}\n\nFunction.prototype.cache = function cache(...args): unknown {\n return method(this as any)(...args);\n};\n"]}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Defers invoking the function until the current call stack has cleared
|
|
5
|
+
* @param func
|
|
6
|
+
* @param args
|
|
7
|
+
* @example
|
|
8
|
+
* const test = (msg) => console.log(msg);
|
|
9
|
+
* defer(test, 'a'), test('b'); // logs 'b' then 'a'
|
|
10
|
+
*/
|
|
3
11
|
function defer(func, ...args) {
|
|
4
12
|
return setTimeout(func, 1, ...args);
|
|
5
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/defer/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,KAAK,CAG3B,IAAO,EAAE,GAAG,IAAU;IACtB,OAAO,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;AACtC,CAAC;AALD,wBAKC","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/defer/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,SAAwB,KAAK,CAG3B,IAAO,EAAE,GAAG,IAAU;IACtB,OAAO,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;AACtC,CAAC;AALD,wBAKC","sourcesContent":["/**\n * Defers invoking the function until the current call stack has cleared\n * @param func\n * @param args\n * @example\n * const test = (msg) => console.log(msg);\n * defer(test, 'a'), test('b'); // logs 'b' then 'a'\n */\nexport default function defer<\n Args extends unknown[],\n F extends (...a: Args) => unknown,\n>(func: F, ...args: Args): NodeJS.Timeout {\n return setTimeout(func, 1, ...args);\n}\n"]}
|
|
@@ -3,17 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
6
|
const utils_js_1 = require("../../utils.js");
|
|
8
|
-
|
|
9
|
-
* Defers invoking the function until the current call stack has cleared
|
|
10
|
-
* @memberof Function.prototype
|
|
11
|
-
* @function defer
|
|
12
|
-
* @param {Array} args
|
|
13
|
-
* @returns {*}
|
|
14
|
-
* @example
|
|
15
|
-
* const test = (msg) => console.log(msg);
|
|
16
|
-
* test.defer('a'), test('b'); // logs 'b' then 'a'
|
|
17
|
-
*/
|
|
7
|
+
const index_js_1 = __importDefault(require("./index.js"));
|
|
18
8
|
(0, utils_js_1.addPrototype)(Function, "defer", index_js_1.default);
|
|
19
9
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/defer/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAA+B;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/defer/shim.ts"],"names":[],"mappings":";;;;;AAAA,6CAA8C;AAC9C,0DAA+B;AAgB/B,IAAA,uBAAY,EAAC,QAAQ,EAAE,OAAO,EAAE,kBAAK,CAAC,CAAC","sourcesContent":["import { addPrototype } from \"../../utils.js\";\nimport defer from \"./index.js\";\n\ndeclare global {\n interface Function {\n\n /**\n * Defers invoking the function until the current call stack has cleared\n * @param args\n * @example\n * const test = (msg) => console.log(msg);\n * test.defer('a'), test('b'); // logs 'b' then 'a'\n */\n defer(...args: unknown[]): NodeJS.Timeout;\n }\n}\n\naddPrototype(Function, \"defer\", defer);\n"]}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given argument is a function
|
|
5
|
+
* @param arg
|
|
6
|
+
* @example
|
|
7
|
+
* isFunction(2); // false
|
|
8
|
+
* @example
|
|
9
|
+
* isFunction(() => {}); // true
|
|
10
|
+
*/
|
|
3
11
|
function isFunction(arg) {
|
|
4
12
|
return typeof arg === "function";
|
|
5
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/isFunction/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/isFunction/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,SAAwB,UAAU,CAAC,GAAY;IAC7C,OAAO,OAAO,GAAG,KAAK,UAAU,CAAC;AACnC,CAAC;AAFD,6BAEC","sourcesContent":["/**\n * Returns true if the given argument is a function\n * @param arg\n * @example\n * isFunction(2); // false\n * @example\n * isFunction(() => {}); // true\n */\nexport default function isFunction(arg: unknown): arg is (...args: unknown[]) => unknown {\n return typeof arg === \"function\";\n}\n"]}
|
|
@@ -4,15 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("./index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* Returns true if the given argument is a function
|
|
9
|
-
* @memberof Function
|
|
10
|
-
* @function isFunction
|
|
11
|
-
* @param {*} arg
|
|
12
|
-
* @returns {Boolean}
|
|
13
|
-
* @example
|
|
14
|
-
* Function.isFunction(2); // false
|
|
15
|
-
* Function.isFunction((() => {})); // true
|
|
16
|
-
*/
|
|
17
7
|
Function.isFunction = index_js_1.default;
|
|
18
8
|
//# sourceMappingURL=shim.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/isFunction/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAoC;
|
|
1
|
+
{"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../src/function/isFunction/shim.ts"],"names":[],"mappings":";;;;;AAAA,0DAAoC;AAiBpC,QAAQ,CAAC,UAAU,GAAG,kBAAU,CAAC","sourcesContent":["import isFunction from \"./index.js\";\n\ndeclare global {\n interface FunctionConstructor {\n\n /**\n * Returns true if the given argument is a function\n * @param arg\n * @example\n * Function.isFunction(2); // false\n * @example\n * Function.isFunction(() => {}); // true\n */\n isFunction(arg: unknown): arg is (...args: unknown[]) => unknown;\n }\n}\n\nFunction.isFunction = isFunction;\n"]}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Ensures a function is called only once
|
|
5
|
+
* @param func
|
|
6
|
+
* @param args
|
|
7
|
+
* @example
|
|
8
|
+
* const test = (msg) => console.log(msg);
|
|
9
|
+
* once(test, 'a'); // logs 'a'
|
|
10
|
+
* once(test, 'b'); // no log this time
|
|
11
|
+
*/
|
|
3
12
|
function once(func, ...args) {
|
|
4
13
|
if (func.called)
|
|
5
14
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/once/index.ts"],"names":[],"mappings":";;AAAA,SAAwB,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/function/once/index.ts"],"names":[],"mappings":";;AAAA;;;;;;;;GAQG;AACH,SAAwB,IAAI,CAK1B,IAAO,EAAE,GAAG,IAAU;IACtB,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO;IAExB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAEnB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC;AAClC,CAAC;AAXD,uBAWC","sourcesContent":["/**\n * Ensures a function is called only once\n * @param func\n * @param args\n * @example\n * const test = (msg) => console.log(msg);\n * once(test, 'a'); // logs 'a'\n * once(test, 'b'); // no log this time\n */\nexport default function once<\n Args extends unknown[],\n Return,\n F extends (...a: Args) => Return,\n// eslint-disable-next-line @typescript-eslint/no-invalid-void-type\n>(func: F, ...args: Args): Return | void {\n if (func.called) return;\n\n func.called = true;\n\n return func.call(func, ...args);\n}\n"]}
|