prototyped.js 3.0.4 → 3.0.6
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/.node-version +1 -0
- package/CODEOWNERS +2 -0
- package/README.md +31 -1
- package/build/cjs/object/merge/index.js +10 -3
- package/build/cjs/object/merge/index.js.map +1 -1
- package/build/esm/array/all/index.d.ts +11 -0
- package/build/esm/array/all/shim.d.ts +15 -0
- package/build/esm/array/any/index.d.ts +12 -0
- package/build/esm/array/any/shim.d.ts +16 -0
- package/build/esm/array/append/index.d.ts +9 -0
- package/build/esm/array/append/shim.d.ts +13 -0
- package/build/esm/array/average/index.d.ts +13 -0
- package/build/esm/array/average/shim.d.ts +27 -0
- package/build/esm/array/chunk/index.d.ts +8 -0
- package/build/esm/array/chunk/shim.d.ts +12 -0
- package/build/esm/array/clone/index.d.ts +8 -0
- package/build/esm/array/clone/shim.d.ts +12 -0
- package/build/esm/array/compact/index.d.ts +8 -0
- package/build/esm/array/compact/shim.d.ts +11 -0
- package/build/esm/array/contains/index.d.ts +11 -0
- package/build/esm/array/contains/shim.d.ts +15 -0
- package/build/esm/array/count/index.d.ts +10 -0
- package/build/esm/array/count/shim.d.ts +14 -0
- package/build/esm/array/countBy/index.d.ts +11 -0
- package/build/esm/array/countBy/shim.d.ts +15 -0
- package/build/esm/array/crossJoin/index.d.ts +9 -0
- package/build/esm/array/crossJoin/shim.d.ts +13 -0
- package/build/esm/array/deepFlatten/index.d.ts +8 -0
- package/build/esm/array/deepFlatten/shim.d.ts +11 -0
- package/build/esm/array/diff/index.d.ts +13 -0
- package/build/esm/array/diff/shim.d.ts +17 -0
- package/build/esm/array/distinct/index.d.ts +12 -0
- package/build/esm/array/distinct/shim.d.ts +16 -0
- package/build/esm/array/distinctBy/index.d.ts +8 -0
- package/build/esm/array/distinctBy/shim.d.ts +12 -0
- package/build/esm/array/empty/index.d.ts +9 -0
- package/build/esm/array/empty/shim.d.ts +13 -0
- package/build/esm/array/equals/index.d.ts +8 -0
- package/build/esm/array/equals/shim.d.ts +12 -0
- package/build/esm/array/everyNth/index.d.ts +8 -0
- package/build/esm/array/everyNth/shim.d.ts +12 -0
- package/build/esm/array/first/index.d.ts +7 -0
- package/build/esm/array/first/shim.d.ts +11 -0
- package/build/esm/array/flatten/index.d.ts +10 -0
- package/build/esm/array/flatten/shim.d.ts +14 -0
- package/build/esm/array/get/index.d.ts +11 -0
- package/build/esm/array/get/shim.d.ts +15 -0
- package/build/esm/array/groupBy/index.d.ts +10 -0
- package/build/esm/array/groupBy/shim.d.ts +14 -0
- package/build/esm/array/implode/index.d.ts +12 -0
- package/build/esm/array/implode/shim.d.ts +14 -0
- package/build/esm/array/indexOfAll/index.d.ts +10 -0
- package/build/esm/array/indexOfAll/shim.d.ts +14 -0
- package/build/esm/array/initial/index.d.ts +6 -0
- package/build/esm/array/initial/shim.d.ts +11 -0
- package/build/esm/array/intersect/index.d.ts +8 -0
- package/build/esm/array/intersect/shim.d.ts +12 -0
- package/build/esm/array/isEmpty/index.d.ts +8 -0
- package/build/esm/array/isEmpty/shim.d.ts +13 -0
- package/build/esm/array/last/index.d.ts +6 -0
- package/build/esm/array/last/shim.d.ts +11 -0
- package/build/esm/array/limit/index.d.ts +8 -0
- package/build/esm/array/limit/shim.d.ts +21 -0
- package/build/esm/array/max/index.d.ts +19 -0
- package/build/esm/array/max/shim.d.ts +16 -0
- package/build/esm/array/median/index.d.ts +17 -0
- package/build/esm/array/median/shim.d.ts +14 -0
- package/build/esm/array/merge/index.d.ts +9 -0
- package/build/esm/array/merge/shim.d.ts +13 -0
- package/build/esm/array/min/index.d.ts +19 -0
- package/build/esm/array/min/shim.d.ts +16 -0
- package/build/esm/array/nest/index.d.ts +16 -0
- package/build/esm/array/nest/shim.d.ts +20 -0
- package/build/esm/array/orderBy/index.d.ts +27 -0
- package/build/esm/array/orderBy/shim.d.ts +23 -0
- package/build/esm/array/pad/index.d.ts +11 -0
- package/build/esm/array/pad/shim.d.ts +15 -0
- package/build/esm/array/partition/index.d.ts +15 -0
- package/build/esm/array/partition/shim.d.ts +19 -0
- package/build/esm/array/pluck/index.d.ts +11 -0
- package/build/esm/array/pluck/shim.d.ts +14 -0
- package/build/esm/array/prepend/index.d.ts +9 -0
- package/build/esm/array/prepend/shim.d.ts +13 -0
- package/build/esm/array/pull/index.d.ts +9 -0
- package/build/esm/array/pull/shim.d.ts +13 -0
- package/build/esm/array/range/index.d.ts +14 -0
- package/build/esm/array/range/shim.d.ts +19 -0
- package/build/esm/array/repeat/index.d.ts +8 -0
- package/build/esm/array/repeat/shim.d.ts +13 -0
- package/build/esm/array/sample/index.d.ts +6 -0
- package/build/esm/array/sample/shim.d.ts +11 -0
- package/build/esm/array/shuffle/index.d.ts +7 -0
- package/build/esm/array/shuffle/shim.d.ts +12 -0
- package/build/esm/array/skip/index.d.ts +8 -0
- package/build/esm/array/skip/shim.d.ts +21 -0
- package/build/esm/array/sortBy/index.d.ts +11 -0
- package/build/esm/array/sortBy/shim.d.ts +15 -0
- package/build/esm/array/sum/index.d.ts +13 -0
- package/build/esm/array/sum/shim.d.ts +16 -0
- package/build/esm/array/tail/index.d.ts +6 -0
- package/build/esm/array/tail/shim.d.ts +11 -0
- package/build/esm/array/toCSV/index.d.ts +10 -0
- package/build/esm/array/toCSV/shim.d.ts +14 -0
- package/build/esm/array/union/index.d.ts +8 -0
- package/build/esm/array/union/shim.d.ts +12 -0
- package/build/esm/array/unwind/index.d.ts +9 -0
- package/build/esm/array/unwind/shim.d.ts +13 -0
- package/build/esm/array/where/index.d.ts +38 -0
- package/build/esm/array/where/shim.d.ts +37 -0
- package/build/esm/array/whereBetween/index.d.ts +20 -0
- package/build/esm/array/whereBetween/shim.d.ts +22 -0
- package/build/esm/array/whereIn/index.d.ts +18 -0
- package/build/esm/array/whereIn/shim.d.ts +20 -0
- package/build/esm/array/whereLike/index.d.ts +18 -0
- package/build/esm/array/whereLike/shim.d.ts +20 -0
- package/build/esm/array/whereNotBetween/index.d.ts +20 -0
- package/build/esm/array/whereNotBetween/shim.d.ts +22 -0
- package/build/esm/array/whereNotIn/index.d.ts +18 -0
- package/build/esm/array/whereNotIn/shim.d.ts +20 -0
- package/build/esm/array/whereNotLike/index.d.ts +18 -0
- package/build/esm/array/whereNotLike/shim.d.ts +20 -0
- package/build/esm/array/whereNotNull/index.d.ts +10 -0
- package/build/esm/array/whereNotNull/shim.d.ts +14 -0
- package/build/esm/array/whereNull/index.d.ts +10 -0
- package/build/esm/array/whereNull/shim.d.ts +18 -0
- package/build/esm/array/zip/index.d.ts +10 -0
- package/build/esm/array/zip/shim.d.ts +14 -0
- package/build/esm/array/zipObject/index.d.ts +11 -0
- package/build/esm/array/zipObject/shim.d.ts +15 -0
- package/build/esm/boolean/isBoolean/index.d.ts +9 -0
- package/build/esm/boolean/isBoolean/shim.d.ts +14 -0
- package/build/esm/date/equals/index.d.ts +8 -0
- package/build/esm/date/equals/shim.d.ts +12 -0
- package/build/esm/date/isDate/index.d.ts +9 -0
- package/build/esm/date/isDate/shim.d.ts +14 -0
- package/build/esm/date/today/index.d.ts +6 -0
- package/build/esm/date/today/shim.d.ts +11 -0
- package/build/esm/date/tomorrow/index.d.ts +6 -0
- package/build/esm/date/tomorrow/shim.d.ts +11 -0
- package/build/esm/date/yesterday/index.d.ts +6 -0
- package/build/esm/date/yesterday/shim.d.ts +11 -0
- package/build/esm/function/cache/index.d.ts +9 -0
- package/build/esm/function/cache/shim.d.ts +15 -0
- package/build/esm/function/defer/index.d.ts +10 -0
- package/build/esm/function/defer/shim.d.ts +14 -0
- package/build/esm/function/isFunction/index.d.ts +9 -0
- package/build/esm/function/isFunction/shim.d.ts +14 -0
- package/build/esm/function/once/index.d.ts +10 -0
- package/build/esm/function/once/shim.d.ts +15 -0
- package/build/esm/globals/isBrowser/index.d.ts +7 -0
- package/build/esm/globals/isBrowser/shim.d.ts +12 -0
- package/build/esm/index.d.ts +10 -0
- package/build/esm/math/average/index.d.ts +9 -0
- package/build/esm/math/average/shim.d.ts +25 -0
- package/build/esm/math/degreesToRads/index.d.ts +7 -0
- package/build/esm/math/degreesToRads/shim.d.ts +12 -0
- package/build/esm/math/factorial/index.d.ts +7 -0
- package/build/esm/math/factorial/shim.d.ts +12 -0
- package/build/esm/math/fibonacci/index.d.ts +7 -0
- package/build/esm/math/fibonacci/shim.d.ts +12 -0
- package/build/esm/math/gcd/index.d.ts +9 -0
- package/build/esm/math/gcd/shim.d.ts +14 -0
- package/build/esm/math/isDivisible/index.d.ts +8 -0
- package/build/esm/math/isDivisible/shim.d.ts +13 -0
- package/build/esm/math/isEven/index.d.ts +7 -0
- package/build/esm/math/isEven/shim.d.ts +12 -0
- package/build/esm/math/isPrime/index.d.ts +7 -0
- package/build/esm/math/isPrime/shim.d.ts +12 -0
- package/build/esm/math/lcm/index.d.ts +9 -0
- package/build/esm/math/lcm/shim.d.ts +14 -0
- package/build/esm/math/primes/index.d.ts +7 -0
- package/build/esm/math/primes/shim.d.ts +12 -0
- package/build/esm/math/radsToDegrees/index.d.ts +7 -0
- package/build/esm/math/radsToDegrees/shim.d.ts +12 -0
- package/build/esm/number/digitize/index.d.ts +6 -0
- package/build/esm/number/digitize/shim.d.ts +11 -0
- package/build/esm/number/equals/index.d.ts +8 -0
- package/build/esm/number/equals/shim.d.ts +12 -0
- package/build/esm/number/inRange/index.d.ts +9 -0
- package/build/esm/number/inRange/shim.d.ts +13 -0
- package/build/esm/number/isNumber/index.d.ts +9 -0
- package/build/esm/number/isNumber/shim.d.ts +14 -0
- package/build/esm/object/assign/index.d.ts +8 -0
- package/build/esm/object/assign/shim.d.ts +12 -0
- package/build/esm/object/camelCaseKeys/index.d.ts +8 -0
- package/build/esm/object/camelCaseKeys/shim.d.ts +12 -0
- package/build/esm/object/clone/index.d.ts +9 -0
- package/build/esm/object/clone/shim.d.ts +13 -0
- package/build/esm/object/defaults/index.d.ts +8 -0
- package/build/esm/object/defaults/shim.d.ts +12 -0
- package/build/esm/object/dig/index.d.ts +16 -0
- package/build/esm/object/dig/shim.d.ts +20 -0
- package/build/esm/object/empty/index.d.ts +9 -0
- package/build/esm/object/empty/shim.d.ts +13 -0
- package/build/esm/object/equals/index.d.ts +8 -0
- package/build/esm/object/equals/shim.d.ts +12 -0
- package/build/esm/object/flatten/index.d.ts +7 -0
- package/build/esm/object/flatten/shim.d.ts +11 -0
- package/build/esm/object/forEach/index.d.ts +12 -0
- package/build/esm/object/forEach/shim.d.ts +16 -0
- package/build/esm/object/get/index.d.ts +9 -0
- package/build/esm/object/get/shim.d.ts +12 -0
- package/build/esm/object/invert/index.d.ts +7 -0
- package/build/esm/object/invert/shim.d.ts +11 -0
- package/build/esm/object/isEmpty/index.d.ts +9 -0
- package/build/esm/object/isEmpty/shim.d.ts +13 -0
- package/build/esm/object/isObject/index.d.ts +9 -0
- package/build/esm/object/isObject/shim.d.ts +14 -0
- package/build/esm/object/isObjectLike/index.d.ts +9 -0
- package/build/esm/object/isObjectLike/shim.d.ts +14 -0
- package/build/esm/object/isPlainObject/index.d.ts +9 -0
- package/build/esm/object/isPlainObject/shim.d.ts +14 -0
- package/build/esm/object/kebabCaseKeys/index.d.ts +8 -0
- package/build/esm/object/kebabCaseKeys/shim.d.ts +12 -0
- package/build/esm/object/keys/index.d.ts +7 -0
- package/build/esm/object/keys/shim.d.ts +11 -0
- package/build/esm/object/lowerCaseKeys/index.d.ts +7 -0
- package/build/esm/object/lowerCaseKeys/shim.d.ts +12 -0
- package/build/esm/object/map/index.d.ts +13 -0
- package/build/esm/object/map/shim.d.ts +17 -0
- package/build/esm/object/mapKeys/index.d.ts +9 -0
- package/build/esm/object/mapKeys/shim.d.ts +13 -0
- package/build/esm/object/mapValues/index.d.ts +13 -0
- package/build/esm/object/mapValues/shim.d.ts +17 -0
- package/build/esm/object/merge/index.d.ts +17 -0
- package/build/esm/object/merge/index.js +10 -3
- package/build/esm/object/merge/index.js.map +1 -1
- package/build/esm/object/merge/shim.d.ts +21 -0
- package/build/esm/object/omit/index.d.ts +12 -0
- package/build/esm/object/omit/shim.d.ts +16 -0
- package/build/esm/object/reduce/index.d.ts +9 -0
- package/build/esm/object/reduce/shim.d.ts +13 -0
- package/build/esm/object/set/index.d.ts +11 -0
- package/build/esm/object/set/shim.d.ts +15 -0
- package/build/esm/object/size/index.d.ts +6 -0
- package/build/esm/object/size/shim.d.ts +11 -0
- package/build/esm/object/snakeCaseKeys/index.d.ts +8 -0
- package/build/esm/object/snakeCaseKeys/shim.d.ts +12 -0
- package/build/esm/object/values/index.d.ts +6 -0
- package/build/esm/object/values/shim.d.ts +11 -0
- package/build/esm/string/base64/index.d.ts +6 -0
- package/build/esm/string/base64/shim.d.ts +11 -0
- package/build/esm/string/base64Decode/index.d.ts +6 -0
- package/build/esm/string/base64Decode/shim.d.ts +11 -0
- package/build/esm/string/camelCase/index.d.ts +13 -0
- package/build/esm/string/camelCase/shim.d.ts +18 -0
- package/build/esm/string/capitalize/index.d.ts +10 -0
- package/build/esm/string/capitalize/shim.d.ts +14 -0
- package/build/esm/string/chars/index.d.ts +6 -0
- package/build/esm/string/chars/shim.d.ts +11 -0
- package/build/esm/string/contains/index.d.ts +11 -0
- package/build/esm/string/contains/shim.d.ts +15 -0
- package/build/esm/string/decapitalize/index.d.ts +10 -0
- package/build/esm/string/decapitalize/shim.d.ts +14 -0
- package/build/esm/string/equals/index.d.ts +8 -0
- package/build/esm/string/equals/shim.d.ts +12 -0
- package/build/esm/string/forEach/index.d.ts +8 -0
- package/build/esm/string/forEach/shim.d.ts +12 -0
- package/build/esm/string/humanize/index.d.ts +9 -0
- package/build/esm/string/humanize/shim.d.ts +13 -0
- package/build/esm/string/isEmpty/index.d.ts +9 -0
- package/build/esm/string/isEmpty/shim.d.ts +13 -0
- package/build/esm/string/isString/index.d.ts +9 -0
- package/build/esm/string/isString/shim.d.ts +14 -0
- package/build/esm/string/kebabCase/index.d.ts +17 -0
- package/build/esm/string/kebabCase/shim.d.ts +21 -0
- package/build/esm/string/lines/index.d.ts +7 -0
- package/build/esm/string/lines/shim.d.ts +11 -0
- package/build/esm/string/map/index.d.ts +8 -0
- package/build/esm/string/map/shim.d.ts +12 -0
- package/build/esm/string/mask/index.d.ts +13 -0
- package/build/esm/string/mask/shim.d.ts +17 -0
- package/build/esm/string/pad/index.d.ts +11 -0
- package/build/esm/string/pad/shim.d.ts +15 -0
- package/build/esm/string/parseInt/index.d.ts +8 -0
- package/build/esm/string/parseInt/shim.d.ts +12 -0
- package/build/esm/string/pluralize/index.d.ts +18 -0
- package/build/esm/string/pluralize/shim.d.ts +22 -0
- package/build/esm/string/reduce/index.d.ts +9 -0
- package/build/esm/string/reduce/shim.d.ts +13 -0
- package/build/esm/string/repeat/index.d.ts +8 -0
- package/build/esm/string/repeat/shim.d.ts +13 -0
- package/build/esm/string/reverse/index.d.ts +7 -0
- package/build/esm/string/reverse/shim.d.ts +11 -0
- package/build/esm/string/snakeCase/index.d.ts +17 -0
- package/build/esm/string/snakeCase/shim.d.ts +21 -0
- package/build/esm/string/swapCase/index.d.ts +7 -0
- package/build/esm/string/swapCase/shim.d.ts +11 -0
- package/build/esm/string/truncate/index.d.ts +11 -0
- package/build/esm/string/truncate/shim.d.ts +15 -0
- package/build/esm/string/words/index.d.ts +10 -0
- package/build/esm/string/words/shim.d.ts +14 -0
- package/build/esm/utils.d.ts +54 -0
- package/package.json +2461 -710
- package/pnpm-workspace.yaml +10 -0
- package/.eslintrc +0 -18
- package/.gitattributes +0 -2
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -35
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- package/.github/dependabot.yml +0 -26
- package/.github/workflows/release.yml +0 -111
- package/.github/workflows/test.yml +0 -83
- package/.prettierrc +0 -6
- package/CODE_OF_CONDUCT.md +0 -46
- package/__tests__/array/all.test.ts +0 -15
- package/__tests__/array/any.test.ts +0 -15
- package/__tests__/array/append.test.ts +0 -13
- package/__tests__/array/average.test.ts +0 -29
- package/__tests__/array/chunk.test.ts +0 -7
- package/__tests__/array/clone.test.ts +0 -34
- package/__tests__/array/compact.test.ts +0 -19
- package/__tests__/array/contains.test.ts +0 -7
- package/__tests__/array/count.test.ts +0 -11
- package/__tests__/array/countBy.test.ts +0 -17
- package/__tests__/array/crossJoin.test.ts +0 -12
- package/__tests__/array/deepFlatten.test.ts +0 -7
- package/__tests__/array/diff.test.ts +0 -14
- package/__tests__/array/distinct.test.ts +0 -16
- package/__tests__/array/distinctBy.test.ts +0 -7
- package/__tests__/array/empty.test.ts +0 -9
- package/__tests__/array/equals.test.ts +0 -35
- package/__tests__/array/everyNth.test.ts +0 -7
- package/__tests__/array/first.test.ts +0 -7
- package/__tests__/array/flatten.test.ts +0 -19
- package/__tests__/array/get.test.ts +0 -15
- package/__tests__/array/groupBy.test.ts +0 -17
- package/__tests__/array/implode.test.ts +0 -27
- package/__tests__/array/indexOfAll.test.ts +0 -11
- package/__tests__/array/initial.test.ts +0 -7
- package/__tests__/array/intersect.test.ts +0 -7
- package/__tests__/array/isEmpty.test.ts +0 -11
- package/__tests__/array/last.test.ts +0 -7
- package/__tests__/array/limit.test.ts +0 -7
- package/__tests__/array/max.test.ts +0 -19
- package/__tests__/array/median.test.ts +0 -23
- package/__tests__/array/merge.test.ts +0 -11
- package/__tests__/array/min.test.ts +0 -19
- package/__tests__/array/nest.test.ts +0 -115
- package/__tests__/array/orderBy.test.ts +0 -16
- package/__tests__/array/pad.test.ts +0 -15
- package/__tests__/array/partition.test.ts +0 -33
- package/__tests__/array/pluck.test.ts +0 -17
- package/__tests__/array/prepend.test.ts +0 -10
- package/__tests__/array/pull.test.ts +0 -15
- package/__tests__/array/range.test.ts +0 -15
- package/__tests__/array/repeat.test.ts +0 -11
- package/__tests__/array/sample.test.ts +0 -7
- package/__tests__/array/shuffle.test.ts +0 -7
- package/__tests__/array/skip.test.ts +0 -7
- package/__tests__/array/sortBy.test.ts +0 -19
- package/__tests__/array/sum.test.ts +0 -19
- package/__tests__/array/tail.test.ts +0 -11
- package/__tests__/array/toCSV.test.ts +0 -17
- package/__tests__/array/union.test.ts +0 -7
- package/__tests__/array/unwind.test.ts +0 -16
- package/__tests__/array/where.test.ts +0 -41
- package/__tests__/array/whereBetween.test.ts +0 -12
- package/__tests__/array/whereIn.test.ts +0 -12
- package/__tests__/array/whereLike.test.ts +0 -18
- package/__tests__/array/whereNotBetween.test.ts +0 -15
- package/__tests__/array/whereNotIn.test.ts +0 -11
- package/__tests__/array/whereNotLike.test.ts +0 -14
- package/__tests__/array/whereNotNull.test.ts +0 -12
- package/__tests__/array/whereNull.test.ts +0 -16
- package/__tests__/array/zip.test.ts +0 -18
- package/__tests__/array/zipObject.test.ts +0 -19
- package/__tests__/boolean/isBoolean.test.ts +0 -11
- package/__tests__/date/equals.test.ts +0 -17
- package/__tests__/date/isDate.test.ts +0 -11
- package/__tests__/date/today.test.ts +0 -14
- package/__tests__/date/tomorrow.test.ts +0 -20
- package/__tests__/date/yesterday.test.ts +0 -20
- package/__tests__/function/cache.test.ts +0 -11
- package/__tests__/function/isFunction.test.ts +0 -16
- package/__tests__/globals/isBrowser.test.ts +0 -15
- package/__tests__/math/average.test.ts +0 -7
- package/__tests__/math/degreesToRads.test.ts +0 -7
- package/__tests__/math/factorial.test.ts +0 -7
- package/__tests__/math/fibonacci.test.ts +0 -7
- package/__tests__/math/gcd.test.ts +0 -7
- package/__tests__/math/isDivisible.test.ts +0 -7
- package/__tests__/math/isEven.test.ts +0 -7
- package/__tests__/math/isPrime.test.ts +0 -11
- package/__tests__/math/lcm.test.ts +0 -7
- package/__tests__/math/primes.test.ts +0 -7
- package/__tests__/math/radsToDegrees.test.ts +0 -7
- package/__tests__/number/digitize.test.ts +0 -7
- package/__tests__/number/equals.test.ts +0 -11
- package/__tests__/number/inRange.test.ts +0 -7
- package/__tests__/number/isNumber.test.ts +0 -19
- package/__tests__/object/assign.test.ts +0 -10
- package/__tests__/object/camelCaseKeys.test.ts +0 -17
- package/__tests__/object/clone.test.ts +0 -62
- package/__tests__/object/defaults.test.ts +0 -13
- package/__tests__/object/dig.test.ts +0 -25
- package/__tests__/object/empty.test.ts +0 -9
- package/__tests__/object/equals.test.ts +0 -44
- package/__tests__/object/flatten.test.ts +0 -44
- package/__tests__/object/forEach.test.ts +0 -28
- package/__tests__/object/get.test.ts +0 -7
- package/__tests__/object/invert.test.ts +0 -13
- package/__tests__/object/isEmpty.test.ts +0 -11
- package/__tests__/object/isObject.test.ts +0 -23
- package/__tests__/object/isObjectLike.test.ts +0 -23
- package/__tests__/object/isPlainObject.test.ts +0 -29
- package/__tests__/object/kebabCaseKeys.test.ts +0 -17
- package/__tests__/object/keys.test.ts +0 -15
- package/__tests__/object/lowerCaseKeys.test.ts +0 -13
- package/__tests__/object/map.test.ts +0 -23
- package/__tests__/object/mapKeys.test.ts +0 -13
- package/__tests__/object/mapValues.test.ts +0 -23
- package/__tests__/object/merge.test.ts +0 -22
- package/__tests__/object/omit.test.ts +0 -24
- package/__tests__/object/reduce.test.ts +0 -24
- package/__tests__/object/set.test.ts +0 -21
- package/__tests__/object/size.test.ts +0 -11
- package/__tests__/object/snakeCaseKeys.test.ts +0 -17
- package/__tests__/object/values.test.ts +0 -11
- package/__tests__/string/base64.test.ts +0 -7
- package/__tests__/string/base64Decode.test.ts +0 -7
- package/__tests__/string/camelCase.test.ts +0 -32
- package/__tests__/string/capitalize.test.ts +0 -11
- package/__tests__/string/chars.test.ts +0 -7
- package/__tests__/string/contains.test.ts +0 -11
- package/__tests__/string/decapitalize.test.ts +0 -11
- package/__tests__/string/equals.test.ts +0 -11
- package/__tests__/string/forEach.test.ts +0 -11
- package/__tests__/string/humanize.test.ts +0 -16
- package/__tests__/string/isEmpty.test.ts +0 -11
- package/__tests__/string/isString.test.ts +0 -11
- package/__tests__/string/kebabCase.test.ts +0 -39
- package/__tests__/string/lines.test.ts +0 -13
- package/__tests__/string/map.test.ts +0 -7
- package/__tests__/string/mask.test.ts +0 -15
- package/__tests__/string/pad.test.ts +0 -15
- package/__tests__/string/parseInt.test.ts +0 -7
- package/__tests__/string/pluralize.test.ts +0 -684
- package/__tests__/string/reduce.test.ts +0 -12
- package/__tests__/string/repeat.test.ts +0 -11
- package/__tests__/string/reverse.test.ts +0 -7
- package/__tests__/string/snakeCase.test.ts +0 -39
- package/__tests__/string/swapCase.test.ts +0 -7
- package/__tests__/string/truncate.test.ts +0 -19
- package/__tests__/string/words.test.ts +0 -15
- package/__tests__/utils.test.ts +0 -61
- package/docs/.nojekyll +0 -1
- package/docs/CNAME +0 -1
- package/docs/assets/highlight.css +0 -106
- package/docs/assets/main.js +0 -54
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1224
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/enums/OPERATOR.html +0 -107
- package/docs/functions/array.all.html +0 -160
- package/docs/functions/array.any.html +0 -161
- package/docs/functions/array.append.html +0 -141
- package/docs/functions/array.average.html +0 -149
- package/docs/functions/array.chunk.html +0 -141
- package/docs/functions/array.clone.html +0 -141
- package/docs/functions/array.compact.html +0 -139
- package/docs/functions/array.contains.html +0 -146
- package/docs/functions/array.count.html +0 -144
- package/docs/functions/array.countBy.html +0 -148
- package/docs/functions/array.crossJoin.html +0 -144
- package/docs/functions/array.deepFlatten.html +0 -139
- package/docs/functions/array.diff.html +0 -163
- package/docs/functions/array.distinct.html +0 -147
- package/docs/functions/array.distinctBy.html +0 -154
- package/docs/functions/array.empty.html +0 -139
- package/docs/functions/array.equals.html +0 -141
- package/docs/functions/array.everyNth.html +0 -141
- package/docs/functions/array.first.html +0 -139
- package/docs/functions/array.flatten.html +0 -144
- package/docs/functions/array.get.html +0 -150
- package/docs/functions/array.groupBy.html +0 -147
- package/docs/functions/array.implode.html +0 -145
- package/docs/functions/array.indexOfAll.html +0 -144
- package/docs/functions/array.initial.html +0 -139
- package/docs/functions/array.intersect.html +0 -141
- package/docs/functions/array.isEmpty.html +0 -142
- package/docs/functions/array.last.html +0 -139
- package/docs/functions/array.limit.html +0 -141
- package/docs/functions/array.max.html +0 -164
- package/docs/functions/array.median.html +0 -161
- package/docs/functions/array.merge.html +0 -141
- package/docs/functions/array.min.html +0 -164
- package/docs/functions/array.nest.html +0 -143
- package/docs/functions/array.orderBy.html +0 -168
- package/docs/functions/array.pad.html +0 -146
- package/docs/functions/array.partition.html +0 -157
- package/docs/functions/array.pluck.html +0 -146
- package/docs/functions/array.prepend.html +0 -141
- package/docs/functions/array.pull.html +0 -141
- package/docs/functions/array.range.html +0 -145
- package/docs/functions/array.repeat.html +0 -141
- package/docs/functions/array.sample.html +0 -139
- package/docs/functions/array.shuffle.html +0 -139
- package/docs/functions/array.skip.html +0 -141
- package/docs/functions/array.sortBy.html +0 -145
- package/docs/functions/array.sum.html +0 -149
- package/docs/functions/array.tail.html +0 -139
- package/docs/functions/array.toCSV.html +0 -144
- package/docs/functions/array.union.html +0 -143
- package/docs/functions/array.unwind.html +0 -141
- package/docs/functions/array.where.html +0 -209
- package/docs/functions/array.whereBetween.html +0 -167
- package/docs/functions/array.whereIn.html +0 -163
- package/docs/functions/array.whereLike.html +0 -163
- package/docs/functions/array.whereNotBetween.html +0 -167
- package/docs/functions/array.whereNotIn.html +0 -163
- package/docs/functions/array.whereNotLike.html +0 -163
- package/docs/functions/array.whereNotNull.html +0 -144
- package/docs/functions/array.whereNull.html +0 -144
- package/docs/functions/array.zip.html +0 -144
- package/docs/functions/array.zipObject.html +0 -145
- package/docs/functions/boolean.isBoolean.html +0 -73
- package/docs/functions/date.equals.html +0 -76
- package/docs/functions/date.isDate.html +0 -77
- package/docs/functions/date.today.html +0 -69
- package/docs/functions/date.tomorrow.html +0 -69
- package/docs/functions/date.yesterday.html +0 -69
- package/docs/functions/func.cache.html +0 -79
- package/docs/functions/func.defer.html +0 -82
- package/docs/functions/func.isFunction.html +0 -76
- package/docs/functions/func.once.html +0 -84
- package/docs/functions/globals.isBrowser.html +0 -66
- package/docs/functions/math.average.html +0 -83
- package/docs/functions/math.degreesToRads.html +0 -80
- package/docs/functions/math.factorial.html +0 -80
- package/docs/functions/math.fibonacci.html +0 -80
- package/docs/functions/math.gcd.html +0 -83
- package/docs/functions/math.isDivisible.html +0 -82
- package/docs/functions/math.isEven.html +0 -80
- package/docs/functions/math.isPrime.html +0 -80
- package/docs/functions/math.lcm.html +0 -83
- package/docs/functions/math.primes.html +0 -80
- package/docs/functions/math.radsToDegrees.html +0 -80
- package/docs/functions/number.digitize.html +0 -73
- package/docs/functions/number.equals.html +0 -75
- package/docs/functions/number.inRange.html +0 -77
- package/docs/functions/number.isNumber.html +0 -76
- package/docs/functions/object.assign.html +0 -99
- package/docs/functions/object.camelCaseKeys.html +0 -97
- package/docs/functions/object.clone.html +0 -104
- package/docs/functions/object.defaults.html +0 -99
- package/docs/functions/object.dig.html +0 -99
- package/docs/functions/object.empty.html +0 -97
- package/docs/functions/object.equals.html +0 -99
- package/docs/functions/object.flatten.html +0 -97
- package/docs/functions/object.forEach.html +0 -121
- package/docs/functions/object.get.html +0 -106
- package/docs/functions/object.invert.html +0 -97
- package/docs/functions/object.isEmpty.html +0 -100
- package/docs/functions/object.isObject.html +0 -100
- package/docs/functions/object.isObjectLike.html +0 -100
- package/docs/functions/object.isPlainObject.html +0 -100
- package/docs/functions/object.kebabCaseKeys.html +0 -97
- package/docs/functions/object.keys.html +0 -102
- package/docs/functions/object.lowerCaseKeys.html +0 -97
- package/docs/functions/object.map.html +0 -122
- package/docs/functions/object.mapKeys.html +0 -122
- package/docs/functions/object.mapValues.html +0 -122
- package/docs/functions/object.merge.html +0 -99
- package/docs/functions/object.omit.html +0 -104
- package/docs/functions/object.reduce.html +0 -127
- package/docs/functions/object.set.html +0 -101
- package/docs/functions/object.size.html +0 -97
- package/docs/functions/object.snakeCaseKeys.html +0 -97
- package/docs/functions/object.values.html +0 -104
- package/docs/functions/string.base64.html +0 -95
- package/docs/functions/string.base64Decode.html +0 -95
- package/docs/functions/string.camelCase.html +0 -104
- package/docs/functions/string.capitalize.html +0 -100
- package/docs/functions/string.chars.html +0 -95
- package/docs/functions/string.contains.html +0 -102
- package/docs/functions/string.decapitalize.html +0 -100
- package/docs/functions/string.equals.html +0 -97
- package/docs/functions/string.forEach.html +0 -112
- package/docs/functions/string.humanize.html +0 -96
- package/docs/functions/string.isEmpty.html +0 -98
- package/docs/functions/string.isString.html +0 -98
- package/docs/functions/string.kebabCase.html +0 -107
- package/docs/functions/string.lines.html +0 -95
- package/docs/functions/string.map.html +0 -112
- package/docs/functions/string.mask.html +0 -105
- package/docs/functions/string.pad.html +0 -102
- package/docs/functions/string.parseInt.html +0 -97
- package/docs/functions/string.pluralize.html +0 -112
- package/docs/functions/string.reduce.html +0 -121
- package/docs/functions/string.repeat.html +0 -97
- package/docs/functions/string.reverse.html +0 -95
- package/docs/functions/string.snakeCase.html +0 -107
- package/docs/functions/string.swapCase.html +0 -95
- package/docs/functions/string.truncate.html +0 -102
- package/docs/functions/string.words.html +0 -100
- package/docs/index.html +0 -141
- package/docs/modules/array.html +0 -192
- package/docs/modules/boolean.html +0 -61
- package/docs/modules/date.html +0 -69
- package/docs/modules/func.html +0 -67
- package/docs/modules/globals.html +0 -61
- package/docs/modules/math.html +0 -81
- package/docs/modules/number.html +0 -67
- package/docs/modules/object.html +0 -115
- package/docs/modules/string.html +0 -111
- package/docs/modules.html +0 -83
- package/docs/types/JoinT.html +0 -66
- package/docs/types/OperatorT.html +0 -62
- package/docs/types/PathT.html +0 -66
- package/docs/types/PathsToStringPropsT.html +0 -66
- package/docs/types/RecordT.html +0 -62
- package/docs/types/array.CompactT.html +0 -126
- package/docs/types/array.NestedArrayT.html +0 -126
- package/docs/types/array.OrderT.html +0 -122
- package/jest.config.js +0 -194
- package/scripts/post-build.sh +0 -13
- package/scripts/pre-build.sh +0 -6
- package/scripts/regenerate-package-json.js +0 -90
- package/src/array/all/index.ts +0 -16
- package/src/array/all/shim.ts +0 -20
- package/src/array/any/index.ts +0 -17
- package/src/array/any/shim.ts +0 -21
- package/src/array/append/index.ts +0 -15
- package/src/array/append/shim.ts +0 -18
- package/src/array/average/index.ts +0 -17
- package/src/array/average/shim.ts +0 -35
- package/src/array/chunk/index.ts +0 -15
- package/src/array/chunk/shim.ts +0 -17
- package/src/array/clone/index.ts +0 -12
- package/src/array/clone/shim.ts +0 -17
- package/src/array/compact/index.ts +0 -21
- package/src/array/compact/shim.ts +0 -16
- package/src/array/contains/index.ts +0 -17
- package/src/array/contains/shim.ts +0 -20
- package/src/array/count/index.ts +0 -14
- package/src/array/count/shim.ts +0 -19
- package/src/array/countBy/index.ts +0 -22
- package/src/array/countBy/shim.ts +0 -22
- package/src/array/crossJoin/index.ts +0 -15
- package/src/array/crossJoin/shim.ts +0 -18
- package/src/array/deepFlatten/index.ts +0 -11
- package/src/array/deepFlatten/shim.ts +0 -16
- package/src/array/diff/index.ts +0 -23
- package/src/array/diff/shim.ts +0 -22
- package/src/array/distinct/index.ts +0 -44
- package/src/array/distinct/shim.ts +0 -21
- package/src/array/distinctBy/index.ts +0 -29
- package/src/array/distinctBy/shim.ts +0 -17
- package/src/array/empty/index.ts +0 -11
- package/src/array/empty/shim.ts +0 -19
- package/src/array/equals/index.ts +0 -17
- package/src/array/equals/shim.ts +0 -17
- package/src/array/everyNth/index.ts +0 -10
- package/src/array/everyNth/shim.ts +0 -17
- package/src/array/first/index.ts +0 -9
- package/src/array/first/shim.ts +0 -16
- package/src/array/flatten/index.ts +0 -18
- package/src/array/flatten/shim.ts +0 -20
- package/src/array/get/index.ts +0 -17
- package/src/array/get/shim.ts +0 -20
- package/src/array/groupBy/index.ts +0 -22
- package/src/array/groupBy/shim.ts +0 -21
- package/src/array/implode/index.ts +0 -29
- package/src/array/implode/shim.ts +0 -22
- package/src/array/indexOfAll/index.ts +0 -16
- package/src/array/indexOfAll/shim.ts +0 -19
- package/src/array/initial/index.ts +0 -8
- package/src/array/initial/shim.ts +0 -16
- package/src/array/intersect/index.ts +0 -12
- package/src/array/intersect/shim.ts +0 -17
- package/src/array/isEmpty/index.ts +0 -10
- package/src/array/isEmpty/shim.ts +0 -19
- package/src/array/last/index.ts +0 -10
- package/src/array/last/shim.ts +0 -16
- package/src/array/limit/index.ts +0 -10
- package/src/array/limit/shim.ts +0 -27
- package/src/array/max/index.ts +0 -39
- package/src/array/max/shim.ts +0 -21
- package/src/array/median/index.ts +0 -39
- package/src/array/median/shim.ts +0 -19
- package/src/array/merge/index.ts +0 -11
- package/src/array/merge/shim.ts +0 -19
- package/src/array/min/index.ts +0 -39
- package/src/array/min/shim.ts +0 -21
- package/src/array/nest/index.ts +0 -37
- package/src/array/nest/shim.ts +0 -26
- package/src/array/orderBy/index.ts +0 -62
- package/src/array/orderBy/shim.ts +0 -31
- package/src/array/pad/index.ts +0 -27
- package/src/array/pad/shim.ts +0 -20
- package/src/array/partition/index.ts +0 -28
- package/src/array/partition/shim.ts +0 -24
- package/src/array/pluck/index.ts +0 -20
- package/src/array/pluck/shim.ts +0 -21
- package/src/array/prepend/index.ts +0 -15
- package/src/array/prepend/shim.ts +0 -18
- package/src/array/pull/index.ts +0 -15
- package/src/array/pull/shim.ts +0 -18
- package/src/array/range/index.ts +0 -18
- package/src/array/range/shim.ts +0 -23
- package/src/array/repeat/index.ts +0 -10
- package/src/array/repeat/shim.ts +0 -17
- package/src/array/sample/index.ts +0 -8
- package/src/array/sample/shim.ts +0 -16
- package/src/array/shuffle/index.ts +0 -17
- package/src/array/shuffle/shim.ts +0 -17
- package/src/array/skip/index.ts +0 -10
- package/src/array/skip/shim.ts +0 -27
- package/src/array/sortBy/index.ts +0 -27
- package/src/array/sortBy/shim.ts +0 -20
- package/src/array/sum/index.ts +0 -25
- package/src/array/sum/shim.ts +0 -21
- package/src/array/tail/index.ts +0 -8
- package/src/array/tail/shim.ts +0 -16
- package/src/array/toCSV/index.ts +0 -14
- package/src/array/toCSV/shim.ts +0 -20
- package/src/array/union/index.ts +0 -13
- package/src/array/union/shim.ts +0 -17
- package/src/array/unwind/index.ts +0 -20
- package/src/array/unwind/shim.ts +0 -19
- package/src/array/where/index.ts +0 -110
- package/src/array/where/shim.ts +0 -45
- package/src/array/whereBetween/index.ts +0 -47
- package/src/array/whereBetween/shim.ts +0 -28
- package/src/array/whereIn/index.ts +0 -31
- package/src/array/whereIn/shim.ts +0 -26
- package/src/array/whereLike/index.ts +0 -38
- package/src/array/whereLike/shim.ts +0 -26
- package/src/array/whereNotBetween/index.ts +0 -47
- package/src/array/whereNotBetween/shim.ts +0 -28
- package/src/array/whereNotIn/index.ts +0 -31
- package/src/array/whereNotIn/shim.ts +0 -26
- package/src/array/whereNotLike/index.ts +0 -38
- package/src/array/whereNotLike/shim.ts +0 -26
- package/src/array/whereNotNull/index.ts +0 -14
- package/src/array/whereNotNull/shim.ts +0 -19
- package/src/array/whereNull/index.ts +0 -14
- package/src/array/whereNull/shim.ts +0 -24
- package/src/array/zip/index.ts +0 -20
- package/src/array/zip/shim.ts +0 -20
- package/src/array/zipObject/index.ts +0 -23
- package/src/array/zipObject/shim.ts +0 -21
- package/src/boolean/isBoolean/index.ts +0 -11
- package/src/boolean/isBoolean/shim.ts +0 -18
- package/src/date/equals/index.ts +0 -12
- package/src/date/equals/shim.ts +0 -17
- package/src/date/isDate/index.ts +0 -14
- package/src/date/isDate/shim.ts +0 -18
- package/src/date/today/index.ts +0 -18
- package/src/date/today/shim.ts +0 -15
- package/src/date/tomorrow/index.ts +0 -20
- package/src/date/tomorrow/shim.ts +0 -15
- package/src/date/yesterday/index.ts +0 -20
- package/src/date/yesterday/shim.ts +0 -15
- package/src/function/cache/index.ts +0 -26
- package/src/function/cache/shim.ts +0 -21
- package/src/function/defer/index.ts +0 -14
- package/src/function/defer/shim.ts +0 -18
- package/src/function/isFunction/index.ts +0 -11
- package/src/function/isFunction/shim.ts +0 -18
- package/src/function/once/index.ts +0 -21
- package/src/function/once/shim.ts +0 -20
- package/src/globals/isBrowser/index.ts +0 -11
- package/src/globals/isBrowser/shim.ts +0 -17
- package/src/index.ts +0 -11
- package/src/math/average/index.ts +0 -13
- package/src/math/average/shim.ts +0 -30
- package/src/math/degreesToRads/index.ts +0 -11
- package/src/math/degreesToRads/shim.ts +0 -16
- package/src/math/factorial/index.ts +0 -9
- package/src/math/factorial/shim.ts +0 -16
- package/src/math/fibonacci/index.ts +0 -12
- package/src/math/fibonacci/shim.ts +0 -16
- package/src/math/gcd/index.ts +0 -12
- package/src/math/gcd/shim.ts +0 -18
- package/src/math/isDivisible/index.ts +0 -13
- package/src/math/isDivisible/shim.ts +0 -17
- package/src/math/isEven/index.ts +0 -9
- package/src/math/isEven/shim.ts +0 -16
- package/src/math/isPrime/index.ts +0 -13
- package/src/math/isPrime/shim.ts +0 -16
- package/src/math/lcm/index.ts +0 -13
- package/src/math/lcm/shim.ts +0 -18
- package/src/math/primes/index.ts +0 -15
- package/src/math/primes/shim.ts +0 -16
- package/src/math/radsToDegrees/index.ts +0 -11
- package/src/math/radsToDegrees/shim.ts +0 -16
- package/src/number/digitize/index.ts +0 -8
- package/src/number/digitize/shim.ts +0 -16
- package/src/number/equals/index.ts +0 -10
- package/src/number/equals/shim.ts +0 -17
- package/src/number/inRange/index.ts +0 -11
- package/src/number/inRange/shim.ts +0 -18
- package/src/number/isNumber/index.ts +0 -11
- package/src/number/isNumber/shim.ts +0 -18
- package/src/object/assign/index.ts +0 -13
- package/src/object/assign/shim.ts +0 -17
- package/src/object/camelCaseKeys/index.ts +0 -17
- package/src/object/camelCaseKeys/shim.ts +0 -17
- package/src/object/clone/index.ts +0 -16
- package/src/object/clone/shim.ts +0 -18
- package/src/object/defaults/index.ts +0 -13
- package/src/object/defaults/shim.ts +0 -17
- package/src/object/dig/index.ts +0 -30
- package/src/object/dig/shim.ts +0 -25
- package/src/object/empty/index.ts +0 -15
- package/src/object/empty/shim.ts +0 -18
- package/src/object/equals/index.ts +0 -31
- package/src/object/equals/shim.ts +0 -17
- package/src/object/flatten/index.ts +0 -40
- package/src/object/flatten/shim.ts +0 -16
- package/src/object/forEach/index.ts +0 -19
- package/src/object/forEach/shim.ts +0 -27
- package/src/object/get/index.ts +0 -18
- package/src/object/get/shim.ts +0 -17
- package/src/object/invert/index.ts +0 -15
- package/src/object/invert/shim.ts +0 -16
- package/src/object/isEmpty/index.ts +0 -13
- package/src/object/isEmpty/shim.ts +0 -18
- package/src/object/isObject/index.ts +0 -11
- package/src/object/isObject/shim.ts +0 -18
- package/src/object/isObjectLike/index.ts +0 -15
- package/src/object/isObjectLike/shim.ts +0 -18
- package/src/object/isPlainObject/index.ts +0 -20
- package/src/object/isPlainObject/shim.ts +0 -18
- package/src/object/kebabCaseKeys/index.ts +0 -17
- package/src/object/kebabCaseKeys/shim.ts +0 -17
- package/src/object/keys/index.ts +0 -9
- package/src/object/keys/shim.ts +0 -16
- package/src/object/lowerCaseKeys/index.ts +0 -15
- package/src/object/lowerCaseKeys/shim.ts +0 -17
- package/src/object/map/index.ts +0 -31
- package/src/object/map/shim.ts +0 -28
- package/src/object/mapKeys/index.ts +0 -24
- package/src/object/mapKeys/shim.ts +0 -24
- package/src/object/mapValues/index.ts +0 -29
- package/src/object/mapValues/shim.ts +0 -28
- package/src/object/merge/index.ts +0 -34
- package/src/object/merge/shim.ts +0 -26
- package/src/object/omit/index.ts +0 -42
- package/src/object/omit/shim.ts +0 -23
- package/src/object/reduce/index.ts +0 -27
- package/src/object/reduce/shim.ts +0 -26
- package/src/object/set/index.ts +0 -32
- package/src/object/set/shim.ts +0 -20
- package/src/object/size/index.ts +0 -10
- package/src/object/size/shim.ts +0 -16
- package/src/object/snakeCaseKeys/index.ts +0 -17
- package/src/object/snakeCaseKeys/shim.ts +0 -17
- package/src/object/values/index.ts +0 -9
- package/src/object/values/shim.ts +0 -16
- package/src/string/base64/index.ts +0 -8
- package/src/string/base64/shim.ts +0 -16
- package/src/string/base64Decode/index.ts +0 -8
- package/src/string/base64Decode/shim.ts +0 -16
- package/src/string/camelCase/index.ts +0 -21
- package/src/string/camelCase/shim.ts +0 -23
- package/src/string/capitalize/index.ts +0 -14
- package/src/string/capitalize/shim.ts +0 -19
- package/src/string/chars/index.ts +0 -8
- package/src/string/chars/shim.ts +0 -16
- package/src/string/contains/index.ts +0 -19
- package/src/string/contains/shim.ts +0 -20
- package/src/string/decapitalize/index.ts +0 -14
- package/src/string/decapitalize/shim.ts +0 -19
- package/src/string/equals/index.ts +0 -10
- package/src/string/equals/shim.ts +0 -17
- package/src/string/forEach/index.ts +0 -13
- package/src/string/forEach/shim.ts +0 -17
- package/src/string/humanize/index.ts +0 -16
- package/src/string/humanize/shim.ts +0 -18
- package/src/string/isEmpty/index.ts +0 -11
- package/src/string/isEmpty/shim.ts +0 -18
- package/src/string/isString/index.ts +0 -11
- package/src/string/isString/shim.ts +0 -18
- package/src/string/kebabCase/index.ts +0 -23
- package/src/string/kebabCase/shim.ts +0 -26
- package/src/string/lines/index.ts +0 -9
- package/src/string/lines/shim.ts +0 -16
- package/src/string/map/index.ts +0 -14
- package/src/string/map/shim.ts +0 -17
- package/src/string/mask/index.ts +0 -15
- package/src/string/mask/shim.ts +0 -22
- package/src/string/pad/index.ts +0 -23
- package/src/string/pad/shim.ts +0 -20
- package/src/string/parseInt/index.ts +0 -10
- package/src/string/parseInt/shim.ts +0 -17
- package/src/string/pluralize/index.ts +0 -427
- package/src/string/pluralize/shim.ts +0 -27
- package/src/string/reduce/index.ts +0 -16
- package/src/string/reduce/shim.ts +0 -21
- package/src/string/repeat/index.ts +0 -12
- package/src/string/repeat/shim.ts +0 -17
- package/src/string/reverse/index.ts +0 -9
- package/src/string/reverse/shim.ts +0 -16
- package/src/string/snakeCase/index.ts +0 -23
- package/src/string/snakeCase/shim.ts +0 -26
- package/src/string/swapCase/index.ts +0 -9
- package/src/string/swapCase/shim.ts +0 -16
- package/src/string/truncate/index.ts +0 -21
- package/src/string/truncate/shim.ts +0 -20
- package/src/string/words/index.ts +0 -12
- package/src/string/words/shim.ts +0 -19
- package/src/utils.ts +0 -151
- package/stale.yml +0 -17
- package/tsconfig.eslint.json +0 -4
- package/tsconfig.esm.json +0 -11
- package/tsconfig.json +0 -103
- package/typedoc.json +0 -12
- /package/build/{types → cjs}/array/all/index.d.ts +0 -0
- /package/build/{types → cjs}/array/all/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/any/index.d.ts +0 -0
- /package/build/{types → cjs}/array/any/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/append/index.d.ts +0 -0
- /package/build/{types → cjs}/array/append/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/average/index.d.ts +0 -0
- /package/build/{types → cjs}/array/average/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/chunk/index.d.ts +0 -0
- /package/build/{types → cjs}/array/chunk/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/clone/index.d.ts +0 -0
- /package/build/{types → cjs}/array/clone/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/compact/index.d.ts +0 -0
- /package/build/{types → cjs}/array/compact/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/contains/index.d.ts +0 -0
- /package/build/{types → cjs}/array/contains/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/count/index.d.ts +0 -0
- /package/build/{types → cjs}/array/count/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/countBy/index.d.ts +0 -0
- /package/build/{types → cjs}/array/countBy/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/crossJoin/index.d.ts +0 -0
- /package/build/{types → cjs}/array/crossJoin/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/deepFlatten/index.d.ts +0 -0
- /package/build/{types → cjs}/array/deepFlatten/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/diff/index.d.ts +0 -0
- /package/build/{types → cjs}/array/diff/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/distinct/index.d.ts +0 -0
- /package/build/{types → cjs}/array/distinct/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/distinctBy/index.d.ts +0 -0
- /package/build/{types → cjs}/array/distinctBy/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/empty/index.d.ts +0 -0
- /package/build/{types → cjs}/array/empty/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/equals/index.d.ts +0 -0
- /package/build/{types → cjs}/array/equals/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/everyNth/index.d.ts +0 -0
- /package/build/{types → cjs}/array/everyNth/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/first/index.d.ts +0 -0
- /package/build/{types → cjs}/array/first/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/flatten/index.d.ts +0 -0
- /package/build/{types → cjs}/array/flatten/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/get/index.d.ts +0 -0
- /package/build/{types → cjs}/array/get/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/groupBy/index.d.ts +0 -0
- /package/build/{types → cjs}/array/groupBy/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/implode/index.d.ts +0 -0
- /package/build/{types → cjs}/array/implode/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/index.d.ts +0 -0
- /package/build/{types → cjs}/array/indexOfAll/index.d.ts +0 -0
- /package/build/{types → cjs}/array/indexOfAll/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/initial/index.d.ts +0 -0
- /package/build/{types → cjs}/array/initial/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/intersect/index.d.ts +0 -0
- /package/build/{types → cjs}/array/intersect/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/isEmpty/index.d.ts +0 -0
- /package/build/{types → cjs}/array/isEmpty/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/last/index.d.ts +0 -0
- /package/build/{types → cjs}/array/last/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/limit/index.d.ts +0 -0
- /package/build/{types → cjs}/array/limit/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/max/index.d.ts +0 -0
- /package/build/{types → cjs}/array/max/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/median/index.d.ts +0 -0
- /package/build/{types → cjs}/array/median/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/merge/index.d.ts +0 -0
- /package/build/{types → cjs}/array/merge/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/min/index.d.ts +0 -0
- /package/build/{types → cjs}/array/min/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/nest/index.d.ts +0 -0
- /package/build/{types → cjs}/array/nest/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/orderBy/index.d.ts +0 -0
- /package/build/{types → cjs}/array/orderBy/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/pad/index.d.ts +0 -0
- /package/build/{types → cjs}/array/pad/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/partition/index.d.ts +0 -0
- /package/build/{types → cjs}/array/partition/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/pluck/index.d.ts +0 -0
- /package/build/{types → cjs}/array/pluck/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/prepend/index.d.ts +0 -0
- /package/build/{types → cjs}/array/prepend/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/pull/index.d.ts +0 -0
- /package/build/{types → cjs}/array/pull/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/range/index.d.ts +0 -0
- /package/build/{types → cjs}/array/range/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/repeat/index.d.ts +0 -0
- /package/build/{types → cjs}/array/repeat/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/sample/index.d.ts +0 -0
- /package/build/{types → cjs}/array/sample/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/shuffle/index.d.ts +0 -0
- /package/build/{types → cjs}/array/shuffle/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/skip/index.d.ts +0 -0
- /package/build/{types → cjs}/array/skip/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/sortBy/index.d.ts +0 -0
- /package/build/{types → cjs}/array/sortBy/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/sum/index.d.ts +0 -0
- /package/build/{types → cjs}/array/sum/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/tail/index.d.ts +0 -0
- /package/build/{types → cjs}/array/tail/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/toCSV/index.d.ts +0 -0
- /package/build/{types → cjs}/array/toCSV/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/union/index.d.ts +0 -0
- /package/build/{types → cjs}/array/union/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/unwind/index.d.ts +0 -0
- /package/build/{types → cjs}/array/unwind/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/where/index.d.ts +0 -0
- /package/build/{types → cjs}/array/where/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereBetween/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereBetween/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereIn/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereIn/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereLike/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereLike/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotBetween/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotBetween/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotIn/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotIn/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotLike/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotLike/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotNull/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNotNull/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNull/index.d.ts +0 -0
- /package/build/{types → cjs}/array/whereNull/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/zip/index.d.ts +0 -0
- /package/build/{types → cjs}/array/zip/shim.d.ts +0 -0
- /package/build/{types → cjs}/array/zipObject/index.d.ts +0 -0
- /package/build/{types → cjs}/array/zipObject/shim.d.ts +0 -0
- /package/build/{types → cjs}/boolean/index.d.ts +0 -0
- /package/build/{types → cjs}/boolean/isBoolean/index.d.ts +0 -0
- /package/build/{types → cjs}/boolean/isBoolean/shim.d.ts +0 -0
- /package/build/{types → cjs}/boolean/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/equals/index.d.ts +0 -0
- /package/build/{types → cjs}/date/equals/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/index.d.ts +0 -0
- /package/build/{types → cjs}/date/isDate/index.d.ts +0 -0
- /package/build/{types → cjs}/date/isDate/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/today/index.d.ts +0 -0
- /package/build/{types → cjs}/date/today/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/tomorrow/index.d.ts +0 -0
- /package/build/{types → cjs}/date/tomorrow/shim.d.ts +0 -0
- /package/build/{types → cjs}/date/yesterday/index.d.ts +0 -0
- /package/build/{types → cjs}/date/yesterday/shim.d.ts +0 -0
- /package/build/{types → cjs}/function/cache/index.d.ts +0 -0
- /package/build/{types → cjs}/function/cache/shim.d.ts +0 -0
- /package/build/{types → cjs}/function/defer/index.d.ts +0 -0
- /package/build/{types → cjs}/function/defer/shim.d.ts +0 -0
- /package/build/{types → cjs}/function/index.d.ts +0 -0
- /package/build/{types → cjs}/function/isFunction/index.d.ts +0 -0
- /package/build/{types → cjs}/function/isFunction/shim.d.ts +0 -0
- /package/build/{types → cjs}/function/once/index.d.ts +0 -0
- /package/build/{types → cjs}/function/once/shim.d.ts +0 -0
- /package/build/{types → cjs}/function/shim.d.ts +0 -0
- /package/build/{types → cjs}/globals/index.d.ts +0 -0
- /package/build/{types → cjs}/globals/isBrowser/index.d.ts +0 -0
- /package/build/{types → cjs}/globals/isBrowser/shim.d.ts +0 -0
- /package/build/{types → cjs}/globals/shim.d.ts +0 -0
- /package/build/{types → cjs}/index.d.ts +0 -0
- /package/build/{types → cjs}/math/average/index.d.ts +0 -0
- /package/build/{types → cjs}/math/average/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/degreesToRads/index.d.ts +0 -0
- /package/build/{types → cjs}/math/degreesToRads/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/factorial/index.d.ts +0 -0
- /package/build/{types → cjs}/math/factorial/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/fibonacci/index.d.ts +0 -0
- /package/build/{types → cjs}/math/fibonacci/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/gcd/index.d.ts +0 -0
- /package/build/{types → cjs}/math/gcd/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/index.d.ts +0 -0
- /package/build/{types → cjs}/math/isDivisible/index.d.ts +0 -0
- /package/build/{types → cjs}/math/isDivisible/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/isEven/index.d.ts +0 -0
- /package/build/{types → cjs}/math/isEven/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/isPrime/index.d.ts +0 -0
- /package/build/{types → cjs}/math/isPrime/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/lcm/index.d.ts +0 -0
- /package/build/{types → cjs}/math/lcm/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/primes/index.d.ts +0 -0
- /package/build/{types → cjs}/math/primes/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/radsToDegrees/index.d.ts +0 -0
- /package/build/{types → cjs}/math/radsToDegrees/shim.d.ts +0 -0
- /package/build/{types → cjs}/math/shim.d.ts +0 -0
- /package/build/{types → cjs}/number/digitize/index.d.ts +0 -0
- /package/build/{types → cjs}/number/digitize/shim.d.ts +0 -0
- /package/build/{types → cjs}/number/equals/index.d.ts +0 -0
- /package/build/{types → cjs}/number/equals/shim.d.ts +0 -0
- /package/build/{types → cjs}/number/inRange/index.d.ts +0 -0
- /package/build/{types → cjs}/number/inRange/shim.d.ts +0 -0
- /package/build/{types → cjs}/number/index.d.ts +0 -0
- /package/build/{types → cjs}/number/isNumber/index.d.ts +0 -0
- /package/build/{types → cjs}/number/isNumber/shim.d.ts +0 -0
- /package/build/{types → cjs}/number/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/assign/index.d.ts +0 -0
- /package/build/{types → cjs}/object/assign/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/camelCaseKeys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/camelCaseKeys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/clone/index.d.ts +0 -0
- /package/build/{types → cjs}/object/clone/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/defaults/index.d.ts +0 -0
- /package/build/{types → cjs}/object/defaults/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/dig/index.d.ts +0 -0
- /package/build/{types → cjs}/object/dig/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/empty/index.d.ts +0 -0
- /package/build/{types → cjs}/object/empty/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/equals/index.d.ts +0 -0
- /package/build/{types → cjs}/object/equals/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/flatten/index.d.ts +0 -0
- /package/build/{types → cjs}/object/flatten/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/forEach/index.d.ts +0 -0
- /package/build/{types → cjs}/object/forEach/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/get/index.d.ts +0 -0
- /package/build/{types → cjs}/object/get/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/index.d.ts +0 -0
- /package/build/{types → cjs}/object/invert/index.d.ts +0 -0
- /package/build/{types → cjs}/object/invert/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/isEmpty/index.d.ts +0 -0
- /package/build/{types → cjs}/object/isEmpty/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/isObject/index.d.ts +0 -0
- /package/build/{types → cjs}/object/isObject/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/isObjectLike/index.d.ts +0 -0
- /package/build/{types → cjs}/object/isObjectLike/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/isPlainObject/index.d.ts +0 -0
- /package/build/{types → cjs}/object/isPlainObject/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/kebabCaseKeys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/kebabCaseKeys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/keys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/keys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/lowerCaseKeys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/lowerCaseKeys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/map/index.d.ts +0 -0
- /package/build/{types → cjs}/object/map/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/mapKeys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/mapKeys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/mapValues/index.d.ts +0 -0
- /package/build/{types → cjs}/object/mapValues/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/merge/index.d.ts +0 -0
- /package/build/{types → cjs}/object/merge/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/omit/index.d.ts +0 -0
- /package/build/{types → cjs}/object/omit/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/reduce/index.d.ts +0 -0
- /package/build/{types → cjs}/object/reduce/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/set/index.d.ts +0 -0
- /package/build/{types → cjs}/object/set/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/size/index.d.ts +0 -0
- /package/build/{types → cjs}/object/size/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/snakeCaseKeys/index.d.ts +0 -0
- /package/build/{types → cjs}/object/snakeCaseKeys/shim.d.ts +0 -0
- /package/build/{types → cjs}/object/values/index.d.ts +0 -0
- /package/build/{types → cjs}/object/values/shim.d.ts +0 -0
- /package/build/{types → cjs}/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/base64/index.d.ts +0 -0
- /package/build/{types → cjs}/string/base64/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/base64Decode/index.d.ts +0 -0
- /package/build/{types → cjs}/string/base64Decode/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/camelCase/index.d.ts +0 -0
- /package/build/{types → cjs}/string/camelCase/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/capitalize/index.d.ts +0 -0
- /package/build/{types → cjs}/string/capitalize/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/chars/index.d.ts +0 -0
- /package/build/{types → cjs}/string/chars/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/contains/index.d.ts +0 -0
- /package/build/{types → cjs}/string/contains/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/decapitalize/index.d.ts +0 -0
- /package/build/{types → cjs}/string/decapitalize/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/equals/index.d.ts +0 -0
- /package/build/{types → cjs}/string/equals/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/forEach/index.d.ts +0 -0
- /package/build/{types → cjs}/string/forEach/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/humanize/index.d.ts +0 -0
- /package/build/{types → cjs}/string/humanize/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/index.d.ts +0 -0
- /package/build/{types → cjs}/string/isEmpty/index.d.ts +0 -0
- /package/build/{types → cjs}/string/isEmpty/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/isString/index.d.ts +0 -0
- /package/build/{types → cjs}/string/isString/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/kebabCase/index.d.ts +0 -0
- /package/build/{types → cjs}/string/kebabCase/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/lines/index.d.ts +0 -0
- /package/build/{types → cjs}/string/lines/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/map/index.d.ts +0 -0
- /package/build/{types → cjs}/string/map/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/mask/index.d.ts +0 -0
- /package/build/{types → cjs}/string/mask/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/pad/index.d.ts +0 -0
- /package/build/{types → cjs}/string/pad/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/parseInt/index.d.ts +0 -0
- /package/build/{types → cjs}/string/parseInt/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/pluralize/index.d.ts +0 -0
- /package/build/{types → cjs}/string/pluralize/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/reduce/index.d.ts +0 -0
- /package/build/{types → cjs}/string/reduce/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/repeat/index.d.ts +0 -0
- /package/build/{types → cjs}/string/repeat/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/reverse/index.d.ts +0 -0
- /package/build/{types → cjs}/string/reverse/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/snakeCase/index.d.ts +0 -0
- /package/build/{types → cjs}/string/snakeCase/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/swapCase/index.d.ts +0 -0
- /package/build/{types → cjs}/string/swapCase/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/truncate/index.d.ts +0 -0
- /package/build/{types → cjs}/string/truncate/shim.d.ts +0 -0
- /package/build/{types → cjs}/string/words/index.d.ts +0 -0
- /package/build/{types → cjs}/string/words/shim.d.ts +0 -0
- /package/build/{types → cjs}/utils.d.ts +0 -0
- /package/{src/array/index.ts → build/esm/array/index.d.ts} +0 -0
- /package/{src/array/shim.ts → build/esm/array/shim.d.ts} +0 -0
- /package/{src/boolean/index.ts → build/esm/boolean/index.d.ts} +0 -0
- /package/{src/boolean/shim.ts → build/esm/boolean/shim.d.ts} +0 -0
- /package/{src/date/index.ts → build/esm/date/index.d.ts} +0 -0
- /package/{src/date/shim.ts → build/esm/date/shim.d.ts} +0 -0
- /package/{src/function/index.ts → build/esm/function/index.d.ts} +0 -0
- /package/{src/function/shim.ts → build/esm/function/shim.d.ts} +0 -0
- /package/{src/globals/index.ts → build/esm/globals/index.d.ts} +0 -0
- /package/{src/globals/shim.ts → build/esm/globals/shim.d.ts} +0 -0
- /package/{src/math/index.ts → build/esm/math/index.d.ts} +0 -0
- /package/{src/math/shim.ts → build/esm/math/shim.d.ts} +0 -0
- /package/{src/number/index.ts → build/esm/number/index.d.ts} +0 -0
- /package/{src/number/shim.ts → build/esm/number/shim.d.ts} +0 -0
- /package/{src/object/index.ts → build/esm/object/index.d.ts} +0 -0
- /package/{src/object/shim.ts → build/esm/object/shim.d.ts} +0 -0
- /package/{src/shim.ts → build/esm/shim.d.ts} +0 -0
- /package/{src/string/index.ts → build/esm/string/index.d.ts} +0 -0
- /package/{src/string/shim.ts → build/esm/string/shim.d.ts} +0 -0
|
@@ -1,684 +0,0 @@
|
|
|
1
|
-
import "prototyped.js/shim";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Standard singular/plural matches.
|
|
5
|
-
*
|
|
6
|
-
* @private
|
|
7
|
-
* @type {Array}
|
|
8
|
-
*/
|
|
9
|
-
const BASIC_TESTS = [
|
|
10
|
-
// Uncountables.
|
|
11
|
-
["fish", "fish"],
|
|
12
|
-
["media", "media"],
|
|
13
|
-
["moose", "moose"],
|
|
14
|
-
["police", "police"],
|
|
15
|
-
["sheep", "sheep"],
|
|
16
|
-
["series", "series"],
|
|
17
|
-
["species", "species"],
|
|
18
|
-
["agenda", "agenda"],
|
|
19
|
-
["news", "news"],
|
|
20
|
-
["reindeer", "reindeer"],
|
|
21
|
-
["starfish", "starfish"],
|
|
22
|
-
["smallpox", "smallpox"],
|
|
23
|
-
["tennis", "tennis"],
|
|
24
|
-
["chickenpox", "chickenpox"],
|
|
25
|
-
["shambles", "shambles"],
|
|
26
|
-
["garbage", "garbage"],
|
|
27
|
-
["you", "you"],
|
|
28
|
-
["wildlife", "wildlife"],
|
|
29
|
-
["Staff", "Staff"],
|
|
30
|
-
["STAFF", "STAFF"],
|
|
31
|
-
["turquois", "turquois"],
|
|
32
|
-
["carnivorous", "carnivorous"],
|
|
33
|
-
|
|
34
|
-
// Latin.
|
|
35
|
-
["veniam", "veniam"],
|
|
36
|
-
|
|
37
|
-
// Pluralization.
|
|
38
|
-
["this", "these"],
|
|
39
|
-
["that", "those"],
|
|
40
|
-
["is", "are"],
|
|
41
|
-
["man", "men"],
|
|
42
|
-
["superman", "supermen"],
|
|
43
|
-
["ox", "oxen"],
|
|
44
|
-
["bus", "buses"],
|
|
45
|
-
["airbus", "airbuses"],
|
|
46
|
-
["railbus", "railbuses"],
|
|
47
|
-
["wife", "wives"],
|
|
48
|
-
["guest", "guests"],
|
|
49
|
-
["thing", "things"],
|
|
50
|
-
["mess", "messes"],
|
|
51
|
-
["guess", "guesses"],
|
|
52
|
-
["person", "people"],
|
|
53
|
-
["meteor", "meteors"],
|
|
54
|
-
["chateau", "chateaus"],
|
|
55
|
-
["lap", "laps"],
|
|
56
|
-
["cough", "coughs"],
|
|
57
|
-
["death", "deaths"],
|
|
58
|
-
["coach", "coaches"],
|
|
59
|
-
["boy", "boys"],
|
|
60
|
-
["toy", "toys"],
|
|
61
|
-
["guy", "guys"],
|
|
62
|
-
["girl", "girls"],
|
|
63
|
-
["chair", "chairs"],
|
|
64
|
-
["toe", "toes"],
|
|
65
|
-
["tiptoe", "tiptoes"],
|
|
66
|
-
["tomato", "tomatoes"],
|
|
67
|
-
["potato", "potatoes"],
|
|
68
|
-
["tornado", "tornadoes"],
|
|
69
|
-
["torpedo", "torpedoes"],
|
|
70
|
-
["hero", "heroes"],
|
|
71
|
-
["superhero", "superheroes"],
|
|
72
|
-
["volcano", "volcanoes"],
|
|
73
|
-
["canto", "cantos"],
|
|
74
|
-
["hetero", "heteros"],
|
|
75
|
-
["photo", "photos"],
|
|
76
|
-
["portico", "porticos"],
|
|
77
|
-
["quarto", "quartos"],
|
|
78
|
-
["kimono", "kimonos"],
|
|
79
|
-
["albino", "albinos"],
|
|
80
|
-
["cherry", "cherries"],
|
|
81
|
-
["piano", "pianos"],
|
|
82
|
-
["pro", "pros"],
|
|
83
|
-
["combo", "combos"],
|
|
84
|
-
["turbo", "turbos"],
|
|
85
|
-
["bar", "bars"],
|
|
86
|
-
["crowbar", "crowbars"],
|
|
87
|
-
["van", "vans"],
|
|
88
|
-
["tobacco", "tobaccos"],
|
|
89
|
-
["afficionado", "afficionados"],
|
|
90
|
-
["monkey", "monkeys"],
|
|
91
|
-
["neutrino", "neutrinos"],
|
|
92
|
-
["rhino", "rhinos"],
|
|
93
|
-
["steno", "stenos"],
|
|
94
|
-
["latino", "latinos"],
|
|
95
|
-
["casino", "casinos"],
|
|
96
|
-
["avocado", "avocados"],
|
|
97
|
-
["commando", "commandos"],
|
|
98
|
-
["tuxedo", "tuxedos"],
|
|
99
|
-
["speedo", "speedos"],
|
|
100
|
-
["dingo", "dingoes"],
|
|
101
|
-
["echo", "echoes"],
|
|
102
|
-
["nacho", "nachos"],
|
|
103
|
-
["motto", "mottos"],
|
|
104
|
-
["psycho", "psychos"],
|
|
105
|
-
["poncho", "ponchos"],
|
|
106
|
-
["pass", "passes"],
|
|
107
|
-
["ghetto", "ghettos"],
|
|
108
|
-
["mango", "mangos"],
|
|
109
|
-
["lady", "ladies"],
|
|
110
|
-
["bath", "baths"],
|
|
111
|
-
["professional", "professionals"],
|
|
112
|
-
|
|
113
|
-
// Proper spelling is "dwarfs".
|
|
114
|
-
["dwarf", "dwarves"],
|
|
115
|
-
["encyclopedia", "encyclopedias"],
|
|
116
|
-
["louse", "lice"],
|
|
117
|
-
["roof", "roofs"],
|
|
118
|
-
["woman", "women"],
|
|
119
|
-
["formula", "formulas"],
|
|
120
|
-
["polyhedron", "polyhedra"],
|
|
121
|
-
|
|
122
|
-
// Maybe "indexes".
|
|
123
|
-
["index", "indices"],
|
|
124
|
-
["matrix", "matrices"],
|
|
125
|
-
["vertex", "vertices"],
|
|
126
|
-
|
|
127
|
-
// Could also be plural of "ax".
|
|
128
|
-
["axe", "axes"],
|
|
129
|
-
["pickaxe", "pickaxes"],
|
|
130
|
-
["crisis", "crises"],
|
|
131
|
-
["criterion", "criteria"],
|
|
132
|
-
["phenomenon", "phenomena"],
|
|
133
|
-
["addendum", "addenda"],
|
|
134
|
-
["datum", "data"],
|
|
135
|
-
["forum", "forums"],
|
|
136
|
-
["millennium", "millennia"],
|
|
137
|
-
["alumnus", "alumni"],
|
|
138
|
-
["medium", "mediums"],
|
|
139
|
-
["census", "censuses"],
|
|
140
|
-
["genus", "genera"],
|
|
141
|
-
["dogma", "dogmata"],
|
|
142
|
-
["life", "lives"],
|
|
143
|
-
["hive", "hives"],
|
|
144
|
-
["kiss", "kisses"],
|
|
145
|
-
["dish", "dishes"],
|
|
146
|
-
["human", "humans"],
|
|
147
|
-
["knife", "knives"],
|
|
148
|
-
["phase", "phases"],
|
|
149
|
-
["judge", "judges"],
|
|
150
|
-
["class", "classes"],
|
|
151
|
-
["witch", "witches"],
|
|
152
|
-
["church", "churches"],
|
|
153
|
-
["massage", "massages"],
|
|
154
|
-
["prospectus", "prospectuses"],
|
|
155
|
-
["syllabus", "syllabi"],
|
|
156
|
-
["viscus", "viscera"],
|
|
157
|
-
["cactus", "cacti"],
|
|
158
|
-
["hippopotamus", "hippopotamuses"],
|
|
159
|
-
["octopus", "octopi"],
|
|
160
|
-
["platypus", "platypuses"],
|
|
161
|
-
["kangaroo", "kangaroos"],
|
|
162
|
-
["atlas", "atlases"],
|
|
163
|
-
["stigma", "stigmata"],
|
|
164
|
-
["schema", "schemata"],
|
|
165
|
-
["phenomenon", "phenomena"],
|
|
166
|
-
["diagnosis", "diagnoses"],
|
|
167
|
-
["mongoose", "mongooses"],
|
|
168
|
-
["mouse", "mice"],
|
|
169
|
-
["liturgist", "liturgists"],
|
|
170
|
-
["box", "boxes"],
|
|
171
|
-
["gas", "gases"],
|
|
172
|
-
["self", "selves"],
|
|
173
|
-
["chief", "chiefs"],
|
|
174
|
-
["quiz", "quizzes"],
|
|
175
|
-
["child", "children"],
|
|
176
|
-
["shelf", "shelves"],
|
|
177
|
-
["fizz", "fizzes"],
|
|
178
|
-
["tooth", "teeth"],
|
|
179
|
-
["thief", "thieves"],
|
|
180
|
-
["day", "days"],
|
|
181
|
-
["loaf", "loaves"],
|
|
182
|
-
["fix", "fixes"],
|
|
183
|
-
["spy", "spies"],
|
|
184
|
-
["vertebra", "vertebrae"],
|
|
185
|
-
["clock", "clocks"],
|
|
186
|
-
["lap", "laps"],
|
|
187
|
-
["cuff", "cuffs"],
|
|
188
|
-
["leaf", "leaves"],
|
|
189
|
-
["calf", "calves"],
|
|
190
|
-
["moth", "moths"],
|
|
191
|
-
["mouth", "mouths"],
|
|
192
|
-
["house", "houses"],
|
|
193
|
-
["proof", "proofs"],
|
|
194
|
-
["hoof", "hooves"],
|
|
195
|
-
["elf", "elves"],
|
|
196
|
-
["turf", "turfs"],
|
|
197
|
-
["craft", "crafts"],
|
|
198
|
-
["die", "dice"],
|
|
199
|
-
["penny", "pennies"],
|
|
200
|
-
["campus", "campuses"],
|
|
201
|
-
["virus", "viri"],
|
|
202
|
-
["iris", "irises"],
|
|
203
|
-
["bureau", "bureaus"],
|
|
204
|
-
["kiwi", "kiwis"],
|
|
205
|
-
["wiki", "wikis"],
|
|
206
|
-
["igloo", "igloos"],
|
|
207
|
-
["ninja", "ninjas"],
|
|
208
|
-
["pizza", "pizzas"],
|
|
209
|
-
["kayak", "kayaks"],
|
|
210
|
-
["canoe", "canoes"],
|
|
211
|
-
["tiding", "tidings"],
|
|
212
|
-
["pea", "peas"],
|
|
213
|
-
["drive", "drives"],
|
|
214
|
-
["nose", "noses"],
|
|
215
|
-
["movie", "movies"],
|
|
216
|
-
["status", "statuses"],
|
|
217
|
-
["alias", "aliases"],
|
|
218
|
-
["memorandum", "memorandums"],
|
|
219
|
-
["language", "languages"],
|
|
220
|
-
["plural", "plurals"],
|
|
221
|
-
["word", "words"],
|
|
222
|
-
["multiple", "multiples"],
|
|
223
|
-
["reward", "rewards"],
|
|
224
|
-
["sandwich", "sandwiches"],
|
|
225
|
-
["subway", "subways"],
|
|
226
|
-
["direction", "directions"],
|
|
227
|
-
["land", "lands"],
|
|
228
|
-
["row", "rows"],
|
|
229
|
-
["grow", "grows"],
|
|
230
|
-
["flow", "flows"],
|
|
231
|
-
["rose", "roses"],
|
|
232
|
-
["raise", "raises"],
|
|
233
|
-
["friend", "friends"],
|
|
234
|
-
["follower", "followers"],
|
|
235
|
-
["male", "males"],
|
|
236
|
-
["nail", "nails"],
|
|
237
|
-
["sex", "sexes"],
|
|
238
|
-
["tape", "tapes"],
|
|
239
|
-
["ruler", "rulers"],
|
|
240
|
-
["king", "kings"],
|
|
241
|
-
["queen", "queens"],
|
|
242
|
-
["zero", "zeros"],
|
|
243
|
-
["quest", "quests"],
|
|
244
|
-
["goose", "geese"],
|
|
245
|
-
["foot", "feet"],
|
|
246
|
-
["ex", "exes"],
|
|
247
|
-
["reflex", "reflexes"],
|
|
248
|
-
["heat", "heats"],
|
|
249
|
-
["train", "trains"],
|
|
250
|
-
["test", "tests"],
|
|
251
|
-
["pie", "pies"],
|
|
252
|
-
["fly", "flies"],
|
|
253
|
-
["eye", "eyes"],
|
|
254
|
-
["lie", "lies"],
|
|
255
|
-
["node", "nodes"],
|
|
256
|
-
["trade", "trades"],
|
|
257
|
-
["chinese", "chinese"],
|
|
258
|
-
["please", "pleases"],
|
|
259
|
-
["japanese", "japanese"],
|
|
260
|
-
["regex", "regexes"],
|
|
261
|
-
["license", "licenses"],
|
|
262
|
-
["zebra", "zebras"],
|
|
263
|
-
["general", "generals"],
|
|
264
|
-
["corps", "corps"],
|
|
265
|
-
["pliers", "pliers"],
|
|
266
|
-
["flyer", "flyers"],
|
|
267
|
-
["scissors", "scissors"],
|
|
268
|
-
["fireman", "firemen"],
|
|
269
|
-
["chirp", "chirps"],
|
|
270
|
-
["harp", "harps"],
|
|
271
|
-
["corpse", "corpses"],
|
|
272
|
-
["dye", "dyes"],
|
|
273
|
-
["move", "moves"],
|
|
274
|
-
["zombie", "zombies"],
|
|
275
|
-
["variety", "varieties"],
|
|
276
|
-
["talkie", "talkies"],
|
|
277
|
-
["walkie-talkie", "walkie-talkies"],
|
|
278
|
-
["groupie", "groupies"],
|
|
279
|
-
["goonie", "goonies"],
|
|
280
|
-
["lassie", "lassies"],
|
|
281
|
-
["genie", "genies"],
|
|
282
|
-
["foodie", "foodies"],
|
|
283
|
-
["faerie", "faeries"],
|
|
284
|
-
["collie", "collies"],
|
|
285
|
-
["obloquy", "obloquies"],
|
|
286
|
-
["looey", "looies"],
|
|
287
|
-
["osprey", "ospreys"],
|
|
288
|
-
["cover", "covers"],
|
|
289
|
-
["tie", "ties"],
|
|
290
|
-
["groove", "grooves"],
|
|
291
|
-
["bee", "bees"],
|
|
292
|
-
["ave", "aves"],
|
|
293
|
-
["wave", "waves"],
|
|
294
|
-
["wolf", "wolves"],
|
|
295
|
-
["airwave", "airwaves"],
|
|
296
|
-
["archive", "archives"],
|
|
297
|
-
["arch", "arches"],
|
|
298
|
-
["dive", "dives"],
|
|
299
|
-
["aftershave", "aftershaves"],
|
|
300
|
-
["cave", "caves"],
|
|
301
|
-
["grave", "graves"],
|
|
302
|
-
["gift", "gifts"],
|
|
303
|
-
["nerve", "nerves"],
|
|
304
|
-
["nerd", "nerds"],
|
|
305
|
-
["carve", "carves"],
|
|
306
|
-
["rave", "raves"],
|
|
307
|
-
["scarf", "scarves"],
|
|
308
|
-
["sale", "sales"],
|
|
309
|
-
["sail", "sails"],
|
|
310
|
-
["swerve", "swerves"],
|
|
311
|
-
["love", "loves"],
|
|
312
|
-
["dove", "doves"],
|
|
313
|
-
["glove", "gloves"],
|
|
314
|
-
["wharf", "wharves"],
|
|
315
|
-
["valve", "valves"],
|
|
316
|
-
["werewolf", "werewolves"],
|
|
317
|
-
["view", "views"],
|
|
318
|
-
["emu", "emus"],
|
|
319
|
-
["menu", "menus"],
|
|
320
|
-
["wax", "waxes"],
|
|
321
|
-
["fax", "faxes"],
|
|
322
|
-
["nut", "nuts"],
|
|
323
|
-
["crust", "crusts"],
|
|
324
|
-
["lemma", "lemmata"],
|
|
325
|
-
["anathema", "anathemata"],
|
|
326
|
-
["analysis", "analyses"],
|
|
327
|
-
["locus", "loci"],
|
|
328
|
-
["uterus", "uteri"],
|
|
329
|
-
["curriculum", "curricula"],
|
|
330
|
-
["quorum", "quora"],
|
|
331
|
-
["genie", "genies"],
|
|
332
|
-
["genius", "geniuses"],
|
|
333
|
-
["flower", "flowers"],
|
|
334
|
-
["crash", "crashes"],
|
|
335
|
-
["soul", "souls"],
|
|
336
|
-
["career", "careers"],
|
|
337
|
-
["planet", "planets"],
|
|
338
|
-
["son", "sons"],
|
|
339
|
-
["sun", "suns"],
|
|
340
|
-
["drink", "drinks"],
|
|
341
|
-
["diploma", "diplomas"],
|
|
342
|
-
["dilemma", "dilemmas"],
|
|
343
|
-
["grandma", "grandmas"],
|
|
344
|
-
["no", "nos"],
|
|
345
|
-
["yes", "yeses"],
|
|
346
|
-
["employ", "employs"],
|
|
347
|
-
["employee", "employees"],
|
|
348
|
-
["history", "histories"],
|
|
349
|
-
["story", "stories"],
|
|
350
|
-
["purchase", "purchases"],
|
|
351
|
-
["order", "orders"],
|
|
352
|
-
["key", "keys"],
|
|
353
|
-
["bomb", "bombs"],
|
|
354
|
-
["city", "cities"],
|
|
355
|
-
["sanity", "sanities"],
|
|
356
|
-
["ability", "abilities"],
|
|
357
|
-
["activity", "activities"],
|
|
358
|
-
["cutie", "cuties"],
|
|
359
|
-
["validation", "validations"],
|
|
360
|
-
["floaty", "floaties"],
|
|
361
|
-
["nicety", "niceties"],
|
|
362
|
-
["goalie", "goalies"],
|
|
363
|
-
["crawly", "crawlies"],
|
|
364
|
-
["duty", "duties"],
|
|
365
|
-
["scrutiny", "scrutinies"],
|
|
366
|
-
["deputy", "deputies"],
|
|
367
|
-
["beauty", "beauties"],
|
|
368
|
-
["bank", "banks"],
|
|
369
|
-
["family", "families"],
|
|
370
|
-
["tally", "tallies"],
|
|
371
|
-
["ally", "allies"],
|
|
372
|
-
["alley", "alleys"],
|
|
373
|
-
["valley", "valleys"],
|
|
374
|
-
["medley", "medleys"],
|
|
375
|
-
["melody", "melodies"],
|
|
376
|
-
["trolly", "trollies"],
|
|
377
|
-
["thunk", "thunks"],
|
|
378
|
-
["koala", "koalas"],
|
|
379
|
-
["special", "specials"],
|
|
380
|
-
["book", "books"],
|
|
381
|
-
["knob", "knobs"],
|
|
382
|
-
["crab", "crabs"],
|
|
383
|
-
["plough", "ploughs"],
|
|
384
|
-
["high", "highs"],
|
|
385
|
-
["low", "lows"],
|
|
386
|
-
["hiccup", "hiccups"],
|
|
387
|
-
["bonus", "bonuses"],
|
|
388
|
-
["circus", "circuses"],
|
|
389
|
-
["abacus", "abacuses"],
|
|
390
|
-
["phobia", "phobias"],
|
|
391
|
-
["case", "cases"],
|
|
392
|
-
["lace", "laces"],
|
|
393
|
-
["trace", "traces"],
|
|
394
|
-
["mage", "mages"],
|
|
395
|
-
["lotus", "lotuses"],
|
|
396
|
-
["motorbus", "motorbuses"],
|
|
397
|
-
["cutlas", "cutlases"],
|
|
398
|
-
["tequila", "tequilas"],
|
|
399
|
-
["liar", "liars"],
|
|
400
|
-
["delta", "deltas"],
|
|
401
|
-
["visa", "visas"],
|
|
402
|
-
["flea", "fleas"],
|
|
403
|
-
["favela", "favelas"],
|
|
404
|
-
["cobra", "cobras"],
|
|
405
|
-
["finish", "finishes"],
|
|
406
|
-
["gorilla", "gorillas"],
|
|
407
|
-
["mass", "masses"],
|
|
408
|
-
["face", "faces"],
|
|
409
|
-
["rabbit", "rabbits"],
|
|
410
|
-
["adventure", "adventures"],
|
|
411
|
-
["breeze", "breezes"],
|
|
412
|
-
["brew", "brews"],
|
|
413
|
-
["canopy", "canopies"],
|
|
414
|
-
["copy", "copies"],
|
|
415
|
-
["spy", "spies"],
|
|
416
|
-
["cave", "caves"],
|
|
417
|
-
["charge", "charges"],
|
|
418
|
-
["cinema", "cinemas"],
|
|
419
|
-
["coffee", "coffees"],
|
|
420
|
-
["favourite", "favourites"],
|
|
421
|
-
["themself", "themselves"],
|
|
422
|
-
["country", "countries"],
|
|
423
|
-
["issue", "issues"],
|
|
424
|
-
["authority", "authorities"],
|
|
425
|
-
["force", "forces"],
|
|
426
|
-
["objective", "objectives"],
|
|
427
|
-
["present", "presents"],
|
|
428
|
-
["industry", "industries"],
|
|
429
|
-
["believe", "believes"],
|
|
430
|
-
["century", "centuries"],
|
|
431
|
-
["category", "categories"],
|
|
432
|
-
["eve", "eves"],
|
|
433
|
-
["fee", "fees"],
|
|
434
|
-
["gene", "genes"],
|
|
435
|
-
["try", "tries"],
|
|
436
|
-
["currency", "currencies"],
|
|
437
|
-
["pose", "poses"],
|
|
438
|
-
["cheese", "cheeses"],
|
|
439
|
-
["clue", "clues"],
|
|
440
|
-
["cheer", "cheers"],
|
|
441
|
-
["litre", "litres"],
|
|
442
|
-
["money", "monies"],
|
|
443
|
-
["attorney", "attorneys"],
|
|
444
|
-
["balcony", "balconies"],
|
|
445
|
-
["cockney", "cockneys"],
|
|
446
|
-
["donkey", "donkeys"],
|
|
447
|
-
["honey", "honeys"],
|
|
448
|
-
["smiley", "smilies"],
|
|
449
|
-
["survey", "surveys"],
|
|
450
|
-
["whiskey", "whiskies"],
|
|
451
|
-
["volley", "volleys"],
|
|
452
|
-
["tongue", "tongues"],
|
|
453
|
-
["suit", "suits"],
|
|
454
|
-
["suite", "suites"],
|
|
455
|
-
["cruise", "cruises"],
|
|
456
|
-
["eave", "eaves"],
|
|
457
|
-
["consultancy", "consultancies"],
|
|
458
|
-
["pouch", "pouches"],
|
|
459
|
-
["wallaby", "wallabies"],
|
|
460
|
-
["abyss", "abysses"],
|
|
461
|
-
["weekly", "weeklies"],
|
|
462
|
-
["whistle", "whistles"],
|
|
463
|
-
["utilise", "utilises"],
|
|
464
|
-
["utilize", "utilizes"],
|
|
465
|
-
["mercy", "mercies"],
|
|
466
|
-
["mercenary", "mercenaries"],
|
|
467
|
-
["take", "takes"],
|
|
468
|
-
["flush", "flushes"],
|
|
469
|
-
["gate", "gates"],
|
|
470
|
-
["evolve", "evolves"],
|
|
471
|
-
["slave", "slaves"],
|
|
472
|
-
["native", "natives"],
|
|
473
|
-
["revolve", "revolves"],
|
|
474
|
-
["twelve", "twelves"],
|
|
475
|
-
["sleeve", "sleeves"],
|
|
476
|
-
["subjective", "subjectives"],
|
|
477
|
-
["stream", "streams"],
|
|
478
|
-
["beam", "beams"],
|
|
479
|
-
["foam", "foams"],
|
|
480
|
-
["callus", "calluses"],
|
|
481
|
-
["use", "uses"],
|
|
482
|
-
["beau", "beaus"],
|
|
483
|
-
["gateau", "gateaus"],
|
|
484
|
-
["fetus", "fetuses"],
|
|
485
|
-
["luau", "luaus"],
|
|
486
|
-
["pilau", "pilaus"],
|
|
487
|
-
["shoe", "shoes"],
|
|
488
|
-
["sandshoe", "sandshoes"],
|
|
489
|
-
["zeus", "zeuses"],
|
|
490
|
-
["nucleus", "nuclei"],
|
|
491
|
-
["sky", "skies"],
|
|
492
|
-
["beach", "beaches"],
|
|
493
|
-
["brush", "brushes"],
|
|
494
|
-
["hoax", "hoaxes"],
|
|
495
|
-
["scratch", "scratches"],
|
|
496
|
-
["nanny", "nannies"],
|
|
497
|
-
["negro", "negroes"],
|
|
498
|
-
["taco", "tacos"],
|
|
499
|
-
["cafe", "cafes"],
|
|
500
|
-
["cave", "caves"],
|
|
501
|
-
["giraffe", "giraffes"],
|
|
502
|
-
["goodwife", "goodwives"],
|
|
503
|
-
["housewife", "housewives"],
|
|
504
|
-
["safe", "safes"],
|
|
505
|
-
["save", "saves"],
|
|
506
|
-
["pocketknife", "pocketknives"],
|
|
507
|
-
["tartufe", "tartufes"],
|
|
508
|
-
["tartuffe", "tartuffes"],
|
|
509
|
-
["truffle", "truffles"],
|
|
510
|
-
["jefe", "jefes"],
|
|
511
|
-
["agrafe", "agrafes"],
|
|
512
|
-
["agraffe", "agraffes"],
|
|
513
|
-
["bouffe", "bouffes"],
|
|
514
|
-
["carafe", "carafes"],
|
|
515
|
-
["chafe", "chafes"],
|
|
516
|
-
["pouffe", "pouffes"],
|
|
517
|
-
["pouf", "poufs"],
|
|
518
|
-
["piaffe", "piaffes"],
|
|
519
|
-
["gaffe", "gaffes"],
|
|
520
|
-
["executive", "executives"],
|
|
521
|
-
["cove", "coves"],
|
|
522
|
-
["dove", "doves"],
|
|
523
|
-
["fave", "faves"],
|
|
524
|
-
["positive", "positives"],
|
|
525
|
-
["solve", "solves"],
|
|
526
|
-
["trove", "troves"],
|
|
527
|
-
["treasure", "treasures"],
|
|
528
|
-
["suave", "suaves"],
|
|
529
|
-
["bluff", "bluffs"],
|
|
530
|
-
["half", "halves"],
|
|
531
|
-
["knockoff", "knockoffs"],
|
|
532
|
-
["handkerchief", "handkerchiefs"],
|
|
533
|
-
["reed", "reeds"],
|
|
534
|
-
["reef", "reefs"],
|
|
535
|
-
["yourself", "yourselves"],
|
|
536
|
-
["sunroof", "sunroofs"],
|
|
537
|
-
["plateau", "plateaus"],
|
|
538
|
-
["radius", "radii"],
|
|
539
|
-
["stratum", "strata"],
|
|
540
|
-
["stratus", "strati"],
|
|
541
|
-
["focus", "foci"],
|
|
542
|
-
["fungus", "fungi"],
|
|
543
|
-
["appendix", "appendices"],
|
|
544
|
-
["seraph", "seraphim"],
|
|
545
|
-
["cherub", "cherubim"],
|
|
546
|
-
["memo", "memos"],
|
|
547
|
-
["cello", "cellos"],
|
|
548
|
-
["automaton", "automata"],
|
|
549
|
-
["button", "buttons"],
|
|
550
|
-
["crayon", "crayons"],
|
|
551
|
-
["captive", "captives"],
|
|
552
|
-
["abrasive", "abrasives"],
|
|
553
|
-
["archive", "archives"],
|
|
554
|
-
["additive", "additives"],
|
|
555
|
-
["hive", "hives"],
|
|
556
|
-
["beehive", "beehives"],
|
|
557
|
-
["olive", "olives"],
|
|
558
|
-
["black olive", "black olives"],
|
|
559
|
-
["chive", "chives"],
|
|
560
|
-
["adjective", "adjectives"],
|
|
561
|
-
["cattle drive", "cattle drives"],
|
|
562
|
-
["explosive", "explosives"],
|
|
563
|
-
["executive", "executives"],
|
|
564
|
-
["negative", "negatives"],
|
|
565
|
-
["fugitive", "fugitives"],
|
|
566
|
-
["progressive", "progressives"],
|
|
567
|
-
["laxative", "laxatives"],
|
|
568
|
-
["incentive", "incentives"],
|
|
569
|
-
["relative", "relatives"],
|
|
570
|
-
["positive", "positives"],
|
|
571
|
-
["perspective", "perspectives"],
|
|
572
|
-
["superlative", "superlatives"],
|
|
573
|
-
["afterlife", "afterlives"],
|
|
574
|
-
["native", "natives"],
|
|
575
|
-
["detective", "detectives"],
|
|
576
|
-
["collective", "collectives"],
|
|
577
|
-
["lowlife", "lowlives"],
|
|
578
|
-
["low-life", "low-lives"],
|
|
579
|
-
["strife", "strifes"],
|
|
580
|
-
["pony", "ponies"],
|
|
581
|
-
["phony", "phonies"],
|
|
582
|
-
["felony", "felonies"],
|
|
583
|
-
["colony", "colonies"],
|
|
584
|
-
["symphony", "symphonies"],
|
|
585
|
-
["semicolony", "semicolonies"],
|
|
586
|
-
["radiotelephony", "radiotelephonies"],
|
|
587
|
-
["company", "companies"],
|
|
588
|
-
["ceremony", "ceremonies"],
|
|
589
|
-
["carnivore", "carnivores"],
|
|
590
|
-
["emphasis", "emphases"],
|
|
591
|
-
["abuse", "abuses"],
|
|
592
|
-
["ass", "asses"],
|
|
593
|
-
["mile", "miles"],
|
|
594
|
-
["consensus", "consensuses"],
|
|
595
|
-
["coatdress", "coatdresses"],
|
|
596
|
-
["courthouse", "courthouses"],
|
|
597
|
-
["playhouse", "playhouses"],
|
|
598
|
-
["crispness", "crispnesses"],
|
|
599
|
-
["racehorse", "racehorses"],
|
|
600
|
-
["greatness", "greatnesses"],
|
|
601
|
-
["christmas", "christmases"],
|
|
602
|
-
["zymase", "zymases"],
|
|
603
|
-
["accomplice", "accomplices"],
|
|
604
|
-
["amice", "amices"],
|
|
605
|
-
["titmouse", "titmice"],
|
|
606
|
-
["slice", "slices"],
|
|
607
|
-
|
|
608
|
-
// Prototype inheritance.
|
|
609
|
-
["constructor", "constructors"],
|
|
610
|
-
|
|
611
|
-
// Non-standard case.
|
|
612
|
-
["randomWord", "randomWords"],
|
|
613
|
-
["camelCase", "camelCases"],
|
|
614
|
-
["PascalCase", "PascalCases"],
|
|
615
|
-
["Alumnus", "Alumni"],
|
|
616
|
-
["CHICKEN", "CHICKENS"],
|
|
617
|
-
["日本語", "日本語"],
|
|
618
|
-
["한국", "한국"],
|
|
619
|
-
["中文", "中文"],
|
|
620
|
-
["اللغة العربية", "اللغة العربية"],
|
|
621
|
-
["四 chicken", "四 chickens"],
|
|
622
|
-
];
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Odd plural to singular tests.
|
|
626
|
-
*
|
|
627
|
-
* @private
|
|
628
|
-
* @type {Array}
|
|
629
|
-
*/
|
|
630
|
-
const SINGULAR_TESTS = BASIC_TESTS.concat([
|
|
631
|
-
["dingo", "dingos"],
|
|
632
|
-
["mango", "mangoes"],
|
|
633
|
-
["echo", "echos"],
|
|
634
|
-
["ghetto", "ghettoes"],
|
|
635
|
-
["nucleus", "nucleuses"],
|
|
636
|
-
["bureau", "bureaux"],
|
|
637
|
-
["seraph", "seraphs"],
|
|
638
|
-
]);
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Odd singular to plural tests.
|
|
642
|
-
*
|
|
643
|
-
* @private
|
|
644
|
-
* @type {Array}
|
|
645
|
-
*/
|
|
646
|
-
const PLURAL_TESTS = BASIC_TESTS.concat([
|
|
647
|
-
["whisky", "whiskies"],
|
|
648
|
-
["plateaux", "plateaux"],
|
|
649
|
-
["axis", "axes"],
|
|
650
|
-
["automatum", "automata"],
|
|
651
|
-
["thou", "you"],
|
|
652
|
-
]);
|
|
653
|
-
|
|
654
|
-
describe("String.prototype.pluralize", () => {
|
|
655
|
-
describe("pluralize()", () => {
|
|
656
|
-
it.each(PLURAL_TESTS)("%s -> %s", (singular, plural) => {
|
|
657
|
-
expect(singular.pluralize()).toEqual(plural);
|
|
658
|
-
});
|
|
659
|
-
});
|
|
660
|
-
|
|
661
|
-
describe("automatically convert", () => {
|
|
662
|
-
describe("pluralize(5)", () => {
|
|
663
|
-
// eslint-disable-next-line max-nested-callbacks
|
|
664
|
-
it.each(PLURAL_TESTS)("5 %s -> %s", (singular, plural) => {
|
|
665
|
-
// Make sure the plural stays plural.
|
|
666
|
-
expect(plural.pluralize(5)).toEqual(plural);
|
|
667
|
-
|
|
668
|
-
// Make sure the singular becomes plural.
|
|
669
|
-
expect(singular.pluralize(5)).toEqual(plural);
|
|
670
|
-
});
|
|
671
|
-
});
|
|
672
|
-
|
|
673
|
-
describe("pluralize(1)", () => {
|
|
674
|
-
// eslint-disable-next-line max-nested-callbacks
|
|
675
|
-
it.each(SINGULAR_TESTS)("1 %s -> %s", (singular, plural) => {
|
|
676
|
-
// Make sure the singular stays singular.
|
|
677
|
-
expect(singular.pluralize(1)).toEqual(singular);
|
|
678
|
-
|
|
679
|
-
// Make sure the plural becomes singular.
|
|
680
|
-
expect(plural.pluralize(1)).toEqual(singular);
|
|
681
|
-
});
|
|
682
|
-
});
|
|
683
|
-
});
|
|
684
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "prototyped.js/shim";
|
|
2
|
-
|
|
3
|
-
describe("String.prototype.reduce", () => {
|
|
4
|
-
test("'123'.reduce((prev, char) => prev + (+char), 0) returns 6", () => {
|
|
5
|
-
expect("123".reduce((prev, char) => prev + +char, 0)).toBe(6);
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
test("'123'.reduce((prev = 0, char) => prev + (+char)) returns 6", () => {
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/default-param-last
|
|
10
|
-
expect("123".reduce((prev = 0, char) => prev + +char)).toBe(6);
|
|
11
|
-
});
|
|
12
|
-
});
|