es-toolkit 1.18.0 → 1.19.0-dev.605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/_chunk/{rest-CXt9w3.js → curry-BmwJrK.js} +21 -0
  3. package/dist/_chunk/{isWeakSet-CogETi.js → isWeakSet-E_VMwB.js} +9 -3
  4. package/dist/_chunk/range-BXlMmn.js +68 -0
  5. package/dist/_chunk/{toMerged-DN1PPP.js → toMerged-Bzkqyz.js} +28 -46
  6. package/dist/_chunk/{zipWith-CYaH1Y.js → zipWith-B-5AMf.js} +1 -1
  7. package/dist/array/forEachRight.d.mts +23 -0
  8. package/dist/array/forEachRight.d.ts +23 -0
  9. package/dist/array/groupBy.mjs +1 -1
  10. package/dist/array/index.js +1 -1
  11. package/dist/array/orderBy.d.mts +1 -1
  12. package/dist/array/orderBy.d.ts +1 -1
  13. package/dist/array/sortBy.d.mts +1 -1
  14. package/dist/array/sortBy.d.ts +1 -1
  15. package/dist/array/unzip.d.mts +1 -1
  16. package/dist/array/unzip.d.ts +1 -1
  17. package/dist/array/zipObject.d.mts +1 -1
  18. package/dist/array/zipObject.d.ts +1 -1
  19. package/dist/browser.global.js +1 -1
  20. package/dist/browser.global.js.map +1 -1
  21. package/dist/compat/_internal/decimalAdjust.mjs +19 -0
  22. package/dist/compat/_internal/isDeepKey.mjs +1 -3
  23. package/dist/compat/_internal/normalizeForCase.mjs +5 -4
  24. package/dist/compat/_internal/toKey.mjs +2 -7
  25. package/dist/compat/array/flatten.d.mts +1 -1
  26. package/dist/compat/array/flatten.d.ts +1 -1
  27. package/dist/compat/array/flattenDepth.d.mts +1 -1
  28. package/dist/compat/array/flattenDepth.d.ts +1 -1
  29. package/dist/compat/array/indexOf.d.mts +1 -1
  30. package/dist/compat/array/indexOf.d.ts +1 -1
  31. package/dist/compat/array/orderBy.d.mts +1 -1
  32. package/dist/compat/array/orderBy.d.ts +1 -1
  33. package/dist/compat/array/orderBy.mjs +1 -1
  34. package/dist/compat/array/size.d.mts +1 -1
  35. package/dist/compat/array/size.d.ts +1 -1
  36. package/dist/compat/array/sortBy.d.mts +1 -1
  37. package/dist/compat/array/sortBy.d.ts +1 -1
  38. package/dist/compat/array/zipObjectDeep.d.mts +1 -1
  39. package/dist/compat/array/zipObjectDeep.d.ts +1 -1
  40. package/dist/compat/index.d.mts +20 -7
  41. package/dist/compat/index.d.ts +20 -7
  42. package/dist/compat/index.js +459 -137
  43. package/dist/compat/index.mjs +20 -7
  44. package/dist/compat/math/ceil.d.mts +15 -0
  45. package/dist/compat/math/ceil.d.ts +15 -0
  46. package/dist/compat/math/ceil.mjs +7 -0
  47. package/dist/compat/math/floor.d.mts +15 -0
  48. package/dist/compat/math/floor.d.ts +15 -0
  49. package/dist/compat/math/floor.mjs +7 -0
  50. package/dist/compat/math/round.d.mts +15 -0
  51. package/dist/compat/math/round.d.ts +15 -0
  52. package/dist/compat/math/round.mjs +7 -0
  53. package/dist/compat/object/fromPairs.d.mts +2 -2
  54. package/dist/compat/object/fromPairs.d.ts +2 -2
  55. package/dist/compat/object/get.d.mts +12 -12
  56. package/dist/compat/object/get.d.ts +12 -12
  57. package/dist/compat/object/get.mjs +54 -17
  58. package/dist/compat/object/has.mjs +1 -1
  59. package/dist/compat/object/mergeWith.mjs +14 -2
  60. package/dist/compat/object/omit.d.mts +34 -0
  61. package/dist/compat/object/omit.d.ts +34 -0
  62. package/dist/compat/object/omit.mjs +33 -0
  63. package/dist/compat/object/pick.d.mts +47 -0
  64. package/dist/compat/object/pick.d.ts +47 -0
  65. package/dist/compat/object/pick.mjs +38 -0
  66. package/dist/compat/object/set.mjs +1 -1
  67. package/dist/compat/object/unset.d.mts +20 -0
  68. package/dist/compat/object/unset.d.ts +20 -0
  69. package/dist/compat/object/unset.mjs +68 -0
  70. package/dist/compat/predicate/isInteger.d.mts +17 -0
  71. package/dist/compat/predicate/isInteger.d.ts +17 -0
  72. package/dist/compat/predicate/isInteger.mjs +5 -0
  73. package/dist/compat/predicate/isMatch.mjs +44 -4
  74. package/dist/compat/predicate/isNil.mjs +5 -0
  75. package/dist/compat/predicate/isObject.d.mts +4 -4
  76. package/dist/compat/predicate/isObject.d.ts +4 -4
  77. package/dist/compat/predicate/isSafeInteger.d.mts +20 -0
  78. package/dist/compat/predicate/isSafeInteger.d.ts +20 -0
  79. package/dist/compat/predicate/isSafeInteger.mjs +5 -0
  80. package/dist/compat/predicate/matchesProperty.mjs +12 -1
  81. package/dist/compat/string/kebabCase.d.mts +17 -0
  82. package/dist/compat/string/kebabCase.d.ts +17 -0
  83. package/dist/compat/string/kebabCase.mjs +9 -0
  84. package/dist/compat/string/lowerCase.d.mts +17 -0
  85. package/dist/compat/string/lowerCase.d.ts +17 -0
  86. package/dist/compat/string/lowerCase.mjs +8 -0
  87. package/dist/compat/string/snakeCase.d.mts +17 -0
  88. package/dist/compat/string/snakeCase.d.ts +17 -0
  89. package/dist/compat/string/snakeCase.mjs +8 -0
  90. package/dist/compat/string/startCase.d.mts +16 -0
  91. package/dist/compat/string/startCase.d.ts +16 -0
  92. package/dist/compat/string/startCase.mjs +8 -0
  93. package/dist/compat/string/trim.d.mts +16 -0
  94. package/dist/compat/string/trim.d.ts +16 -0
  95. package/dist/compat/string/trim.mjs +25 -0
  96. package/dist/compat/string/trimEnd.d.mts +17 -0
  97. package/dist/compat/string/trimEnd.d.ts +17 -0
  98. package/dist/compat/string/trimEnd.mjs +25 -0
  99. package/dist/compat/string/trimStart.d.mts +17 -0
  100. package/dist/compat/string/trimStart.d.ts +17 -0
  101. package/dist/compat/string/trimStart.mjs +25 -0
  102. package/dist/compat/util/toPath.d.mts +20 -0
  103. package/dist/compat/util/toPath.d.ts +20 -0
  104. package/dist/compat/util/toPath.mjs +37 -0
  105. package/dist/compat/util/toString.d.mts +19 -0
  106. package/dist/compat/util/toString.d.ts +19 -0
  107. package/dist/compat/util/toString.mjs +15 -0
  108. package/dist/function/curry.d.mts +127 -0
  109. package/dist/function/curry.d.ts +127 -0
  110. package/dist/function/curry.mjs +21 -0
  111. package/dist/function/index.d.mts +1 -0
  112. package/dist/function/index.d.ts +1 -0
  113. package/dist/function/index.js +15 -14
  114. package/dist/function/index.mjs +1 -0
  115. package/dist/index.d.mts +6 -0
  116. package/dist/index.d.ts +6 -0
  117. package/dist/index.js +40 -33
  118. package/dist/index.mjs +6 -0
  119. package/dist/math/index.js +8 -66
  120. package/dist/object/clone.mjs +28 -25
  121. package/dist/object/index.js +19 -3
  122. package/dist/object/pick.d.mts +1 -1
  123. package/dist/object/pick.d.ts +1 -1
  124. package/dist/predicate/index.d.mts +1 -0
  125. package/dist/predicate/index.d.ts +1 -0
  126. package/dist/predicate/index.js +6 -5
  127. package/dist/predicate/index.mjs +1 -0
  128. package/dist/predicate/isDate.d.mts +16 -0
  129. package/dist/predicate/isDate.d.ts +16 -0
  130. package/dist/predicate/isDate.mjs +5 -0
  131. package/dist/predicate/isNotNil.mjs +1 -1
  132. package/dist/string/capitalize.d.mts +1 -0
  133. package/dist/string/capitalize.d.ts +1 -0
  134. package/dist/string/index.d.mts +4 -0
  135. package/dist/string/index.d.ts +4 -0
  136. package/dist/string/index.js +65 -0
  137. package/dist/string/index.mjs +4 -0
  138. package/dist/string/startCase.d.mts +1 -1
  139. package/dist/string/startCase.d.ts +1 -1
  140. package/dist/string/trim.d.mts +15 -0
  141. package/dist/string/trim.d.ts +15 -0
  142. package/dist/string/trim.mjs +11 -0
  143. package/dist/string/trimEnd.d.mts +16 -0
  144. package/dist/string/trimEnd.d.ts +16 -0
  145. package/dist/string/trimEnd.mjs +22 -0
  146. package/dist/string/trimStart.d.mts +16 -0
  147. package/dist/string/trimStart.d.ts +16 -0
  148. package/dist/string/trimStart.mjs +22 -0
  149. package/dist/string/upperCase.d.mts +17 -0
  150. package/dist/string/upperCase.d.ts +17 -0
  151. package/dist/string/upperCase.mjs +15 -0
  152. package/package.json +1 -1
  153. package/dist/compat/_internal/isArrayMatch.mjs +0 -24
  154. package/dist/compat/_internal/isMapMatch.mjs +0 -18
  155. package/dist/compat/_internal/isSetMatch.mjs +0 -13
  156. package/dist/compat/_internal/toPath.mjs +0 -40
  157. package/dist/_chunk/{isTypedArray-Dsrnb1.js → isPlainObject-BIekvL.js} +8 -8
@@ -0,0 +1,19 @@
1
+ function decimalAdjust(type, number, precision = 0) {
2
+ number = Number(number);
3
+ if (Object.is(number, -0)) {
4
+ number = '-0';
5
+ }
6
+ precision = Math.min(Number.parseInt(precision, 10), 292);
7
+ if (precision) {
8
+ const [magnitude, exponent = 0] = number.toString().split('e');
9
+ let adjustedValue = Math[type](Number(`${magnitude}e${Number(exponent) + precision}`));
10
+ if (Object.is(adjustedValue, -0)) {
11
+ adjustedValue = '-0';
12
+ }
13
+ const [newMagnitude, newExponent = 0] = adjustedValue.toString().split('e');
14
+ return Number(`${newMagnitude}e${Number(newExponent) - precision}`);
15
+ }
16
+ return Math[type](Number(number));
17
+ }
18
+
19
+ export { decimalAdjust };
@@ -1,5 +1,3 @@
1
- const IS_PLAIN = /^\w*$/;
2
- const IS_DEEP = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
3
1
  function isDeepKey(key) {
4
2
  switch (typeof key) {
5
3
  case 'number':
@@ -7,7 +5,7 @@ function isDeepKey(key) {
7
5
  return false;
8
6
  }
9
7
  case 'string': {
10
- return !IS_PLAIN.test(key) && IS_DEEP.test(key);
8
+ return key.includes('.') || key.includes('[') || key.includes(']');
11
9
  }
12
10
  }
13
11
  }
@@ -1,9 +1,10 @@
1
+ import { toString } from '../util/toString.mjs';
2
+
1
3
  function normalizeForCase(str) {
2
- if (typeof str === 'object') {
3
- str = str.toString();
4
+ if (typeof str !== 'string') {
5
+ str = toString(str);
4
6
  }
5
- str = str.replace(/['\u2019]/g, '');
6
- return str;
7
+ return str.replace(/['\u2019]/g, '');
7
8
  }
8
9
 
9
10
  export { normalizeForCase };
@@ -1,13 +1,8 @@
1
- import { isSymbol } from '../predicate/isSymbol.mjs';
2
-
3
1
  function toKey(value) {
4
- if (typeof value === 'string' || isSymbol(value)) {
5
- return value;
6
- }
7
- if (Object.is(value?.valueOf(), -0)) {
2
+ if (Object.is(value, -0)) {
8
3
  return '-0';
9
4
  }
10
- return `${value}`;
5
+ return value.toString();
11
6
  }
12
7
 
13
8
  export { toKey };
@@ -14,6 +14,6 @@
14
14
  * const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);
15
15
  * // Returns: [1, 2, 3, 4, 5, 6]
16
16
  */
17
- declare function flatten<T, D extends number = 1>(value: T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
17
+ declare function flatten<T, D extends number = 1>(value: readonly T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
18
18
 
19
19
  export { flatten };
@@ -14,6 +14,6 @@
14
14
  * const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);
15
15
  * // Returns: [1, 2, 3, 4, 5, 6]
16
16
  */
17
- declare function flatten<T, D extends number = 1>(value: T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
17
+ declare function flatten<T, D extends number = 1>(value: readonly T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
18
18
 
19
19
  export { flatten };
@@ -14,6 +14,6 @@
14
14
  * const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);
15
15
  * // Returns: [1, 2, 3, 4, 5, 6]
16
16
  */
17
- declare function flattenDepth<T, D extends number = 1>(value: T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
17
+ declare function flattenDepth<T, D extends number = 1>(value: readonly T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
18
18
 
19
19
  export { flattenDepth };
@@ -14,6 +14,6 @@
14
14
  * const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);
15
15
  * // Returns: [1, 2, 3, 4, 5, 6]
16
16
  */
17
- declare function flattenDepth<T, D extends number = 1>(value: T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
17
+ declare function flattenDepth<T, D extends number = 1>(value: readonly T[] | object, depth?: D): Array<FlatArray<T[], D>> | [];
18
18
 
19
19
  export { flattenDepth };
@@ -16,6 +16,6 @@
16
16
  * indexOf(array, 3); // => 2
17
17
  * indexOf(array, NaN); // => 3
18
18
  */
19
- declare function indexOf<T>(array: T[] | null | undefined, searchElement: T, fromIndex?: number): number;
19
+ declare function indexOf<T>(array: readonly T[] | null | undefined, searchElement: T, fromIndex?: number): number;
20
20
 
21
21
  export { indexOf };
@@ -16,6 +16,6 @@
16
16
  * indexOf(array, 3); // => 2
17
17
  * indexOf(array, NaN); // => 3
18
18
  */
19
- declare function indexOf<T>(array: T[] | null | undefined, searchElement: T, fromIndex?: number): number;
19
+ declare function indexOf<T>(array: readonly T[] | null | undefined, searchElement: T, fromIndex?: number): number;
20
20
 
21
21
  export { indexOf };
@@ -29,6 +29,6 @@ type Criterion<T> = ((item: T) => unknown) | PropertyKey | PropertyKey[] | null
29
29
  * // { user: 'fred', age: 40 },
30
30
  * // ]
31
31
  */
32
- declare function orderBy<T>(collection: T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>, orders?: unknown | unknown[]): T[];
32
+ declare function orderBy<T>(collection: readonly T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>, orders?: unknown | unknown[]): T[];
33
33
 
34
34
  export { type Criterion, orderBy };
@@ -29,6 +29,6 @@ type Criterion<T> = ((item: T) => unknown) | PropertyKey | PropertyKey[] | null
29
29
  * // { user: 'fred', age: 40 },
30
30
  * // ]
31
31
  */
32
- declare function orderBy<T>(collection: T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>, orders?: unknown | unknown[]): T[];
32
+ declare function orderBy<T>(collection: readonly T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>, orders?: unknown | unknown[]): T[];
33
33
 
34
34
  export { type Criterion, orderBy };
@@ -1,6 +1,6 @@
1
1
  import { compareValues } from '../_internal/compareValues.mjs';
2
2
  import { isKey } from '../_internal/isKey.mjs';
3
- import { toPath } from '../_internal/toPath.mjs';
3
+ import { toPath } from '../util/toPath.mjs';
4
4
 
5
5
  function orderBy(collection, criteria, orders) {
6
6
  if (collection == null || typeof collection === 'number') {
@@ -34,6 +34,6 @@
34
34
  * const emptyObjSize = size(emptyObj);
35
35
  * // emptyObjSize will be 0
36
36
  */
37
- declare function size<T>(target: T[] | object | string | Map<unknown, T> | Set<T> | null | undefined): number;
37
+ declare function size<T>(target: readonly T[] | object | string | Map<unknown, T> | Set<T> | null | undefined): number;
38
38
 
39
39
  export { size };
@@ -34,6 +34,6 @@
34
34
  * const emptyObjSize = size(emptyObj);
35
35
  * // emptyObjSize will be 0
36
36
  */
37
- declare function size<T>(target: T[] | object | string | Map<unknown, T> | Set<T> | null | undefined): number;
37
+ declare function size<T>(target: readonly T[] | object | string | Map<unknown, T> | Set<T> | null | undefined): number;
38
38
 
39
39
  export { size };
@@ -29,6 +29,6 @@ import { Criterion } from './orderBy.mjs';
29
29
  * // { user: 'fred', age: 48 },
30
30
  * // ]
31
31
  */
32
- declare function sortBy<T>(collection: T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>): T[];
32
+ declare function sortBy<T>(collection: readonly T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>): T[];
33
33
 
34
34
  export { sortBy };
@@ -29,6 +29,6 @@ import { Criterion } from './orderBy.js';
29
29
  * // { user: 'fred', age: 48 },
30
30
  * // ]
31
31
  */
32
- declare function sortBy<T>(collection: T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>): T[];
32
+ declare function sortBy<T>(collection: readonly T[] | object | number | null | undefined, criteria?: Criterion<T> | Array<Criterion<T>>): T[];
33
33
 
34
34
  export { sortBy };
@@ -31,7 +31,7 @@
31
31
  * const result = zipObjectDeep(paths, values);
32
32
  * // result will be { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
33
33
  */
34
- declare function zipObjectDeep<P extends PropertyKey, V>(keys: P[] | P[][], values: V[]): {
34
+ declare function zipObjectDeep<P extends PropertyKey, V>(keys: readonly P[] | readonly P[][], values: readonly V[]): {
35
35
  [K in P]: V;
36
36
  };
37
37
 
@@ -31,7 +31,7 @@
31
31
  * const result = zipObjectDeep(paths, values);
32
32
  * // result will be { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
33
33
  */
34
- declare function zipObjectDeep<P extends PropertyKey, V>(keys: P[] | P[][], values: V[]): {
34
+ declare function zipObjectDeep<P extends PropertyKey, V>(keys: readonly P[] | readonly P[][], values: readonly V[]): {
35
35
  [K in P]: V;
36
36
  };
37
37
 
@@ -60,25 +60,24 @@ export { MemoizeCache, memoize } from '../function/memoize.mjs';
60
60
  export { unary } from '../function/unary.mjs';
61
61
  export { partial } from '../function/partial.mjs';
62
62
  export { partialRight } from '../function/partialRight.mjs';
63
+ export { curry } from '../function/curry.mjs';
63
64
  export { clamp } from '../math/clamp.mjs';
64
65
  export { inRange } from '../math/inRange.mjs';
65
66
  export { mean } from '../math/mean.mjs';
66
67
  export { meanBy } from '../math/meanBy.mjs';
67
68
  export { random } from '../math/random.mjs';
68
69
  export { randomInt } from '../math/randomInt.mjs';
69
- export { round } from '../math/round.mjs';
70
70
  export { sum } from '../math/sum.mjs';
71
71
  export { sumBy } from '../math/sumBy.mjs';
72
72
  export { range } from '../math/range.mjs';
73
- export { omit } from '../object/omit.mjs';
74
73
  export { omitBy } from '../object/omitBy.mjs';
75
- export { pick } from '../object/pick.mjs';
76
74
  export { pickBy } from '../object/pickBy.mjs';
77
75
  export { invert } from '../object/invert.mjs';
78
76
  export { clone } from '../object/clone.mjs';
79
77
  export { flattenObject } from '../object/flattenObject.mjs';
80
78
  export { cloneDeep } from '../object/cloneDeep.mjs';
81
79
  export { toMerged } from '../object/toMerged.mjs';
80
+ export { isDate } from '../predicate/isDate.mjs';
82
81
  export { isEqual } from '../predicate/isEqual.mjs';
83
82
  export { isNil } from '../predicate/isNil.mjs';
84
83
  export { isNotNil } from '../predicate/isNotNil.mjs';
@@ -90,10 +89,7 @@ export { isPrimitive } from '../predicate/isPrimitive.mjs';
90
89
  export { delay } from '../promise/delay.mjs';
91
90
  export { withTimeout } from '../promise/withTimeout.mjs';
92
91
  export { timeout } from '../promise/timeout.mjs';
93
- export { snakeCase } from '../string/snakeCase.mjs';
94
- export { kebabCase } from '../string/kebabCase.mjs';
95
- export { lowerCase } from '../string/lowerCase.mjs';
96
- export { startCase } from '../string/startCase.mjs';
92
+ export { upperCase } from '../string/upperCase.mjs';
97
93
  export { capitalize } from '../string/capitalize.mjs';
98
94
  export { pascalCase } from '../string/pascalCase.mjs';
99
95
  export { upperFirst } from '../string/upperFirst.mjs';
@@ -130,6 +126,8 @@ export { attempt } from './function/attempt.mjs';
130
126
  export { rearg } from './function/rearg.mjs';
131
127
  export { get } from './object/get.mjs';
132
128
  export { set } from './object/set.mjs';
129
+ export { pick } from './object/pick.mjs';
130
+ export { omit } from './object/omit.mjs';
133
131
  export { has } from './object/has.mjs';
134
132
  export { property } from './object/property.mjs';
135
133
  export { mapKeys } from './object/mapKeys.mjs';
@@ -137,6 +135,7 @@ export { mapValues } from './object/mapValues.mjs';
137
135
  export { merge } from './object/merge.mjs';
138
136
  export { mergeWith } from './object/mergeWith.mjs';
139
137
  export { fromPairs } from './object/fromPairs.mjs';
138
+ export { unset } from './object/unset.mjs';
140
139
  export { isPlainObject } from './predicate/isPlainObject.mjs';
141
140
  export { isArray } from './predicate/isArray.mjs';
142
141
  export { isArguments } from './predicate/isArguments.mjs';
@@ -155,12 +154,26 @@ export { isWeakMap } from './predicate/isWeakMap.mjs';
155
154
  export { isWeakSet } from './predicate/isWeakSet.mjs';
156
155
  export { conforms } from './predicate/conforms.mjs';
157
156
  export { conformsTo } from './predicate/conformsTo.mjs';
157
+ export { isInteger } from './predicate/isInteger.mjs';
158
+ export { isSafeInteger } from './predicate/isSafeInteger.mjs';
158
159
  export { camelCase } from './string/camelCase.mjs';
160
+ export { kebabCase } from './string/kebabCase.mjs';
161
+ export { snakeCase } from './string/snakeCase.mjs';
162
+ export { startCase } from './string/startCase.mjs';
163
+ export { lowerCase } from './string/lowerCase.mjs';
159
164
  export { startsWith } from './string/startsWith.mjs';
160
165
  export { endsWith } from './string/endsWith.mjs';
161
166
  export { padStart } from './string/padStart.mjs';
162
167
  export { padEnd } from './string/padEnd.mjs';
163
168
  export { repeat } from './string/repeat.mjs';
169
+ export { trim } from './string/trim.mjs';
170
+ export { trimStart } from './string/trimStart.mjs';
171
+ export { trimEnd } from './string/trimEnd.mjs';
164
172
  export { max } from './math/max.mjs';
165
173
  export { min } from './math/min.mjs';
174
+ export { ceil } from './math/ceil.mjs';
175
+ export { floor } from './math/floor.mjs';
176
+ export { round } from './math/round.mjs';
166
177
  export { parseInt } from './math/parseInt.mjs';
178
+ export { toPath } from './util/toPath.mjs';
179
+ export { toString } from './util/toString.mjs';
@@ -60,25 +60,24 @@ export { MemoizeCache, memoize } from '../function/memoize.js';
60
60
  export { unary } from '../function/unary.js';
61
61
  export { partial } from '../function/partial.js';
62
62
  export { partialRight } from '../function/partialRight.js';
63
+ export { curry } from '../function/curry.js';
63
64
  export { clamp } from '../math/clamp.js';
64
65
  export { inRange } from '../math/inRange.js';
65
66
  export { mean } from '../math/mean.js';
66
67
  export { meanBy } from '../math/meanBy.js';
67
68
  export { random } from '../math/random.js';
68
69
  export { randomInt } from '../math/randomInt.js';
69
- export { round } from '../math/round.js';
70
70
  export { sum } from '../math/sum.js';
71
71
  export { sumBy } from '../math/sumBy.js';
72
72
  export { range } from '../math/range.js';
73
- export { omit } from '../object/omit.js';
74
73
  export { omitBy } from '../object/omitBy.js';
75
- export { pick } from '../object/pick.js';
76
74
  export { pickBy } from '../object/pickBy.js';
77
75
  export { invert } from '../object/invert.js';
78
76
  export { clone } from '../object/clone.js';
79
77
  export { flattenObject } from '../object/flattenObject.js';
80
78
  export { cloneDeep } from '../object/cloneDeep.js';
81
79
  export { toMerged } from '../object/toMerged.js';
80
+ export { isDate } from '../predicate/isDate.js';
82
81
  export { isEqual } from '../predicate/isEqual.js';
83
82
  export { isNil } from '../predicate/isNil.js';
84
83
  export { isNotNil } from '../predicate/isNotNil.js';
@@ -90,10 +89,7 @@ export { isPrimitive } from '../predicate/isPrimitive.js';
90
89
  export { delay } from '../promise/delay.js';
91
90
  export { withTimeout } from '../promise/withTimeout.js';
92
91
  export { timeout } from '../promise/timeout.js';
93
- export { snakeCase } from '../string/snakeCase.js';
94
- export { kebabCase } from '../string/kebabCase.js';
95
- export { lowerCase } from '../string/lowerCase.js';
96
- export { startCase } from '../string/startCase.js';
92
+ export { upperCase } from '../string/upperCase.js';
97
93
  export { capitalize } from '../string/capitalize.js';
98
94
  export { pascalCase } from '../string/pascalCase.js';
99
95
  export { upperFirst } from '../string/upperFirst.js';
@@ -130,6 +126,8 @@ export { attempt } from './function/attempt.js';
130
126
  export { rearg } from './function/rearg.js';
131
127
  export { get } from './object/get.js';
132
128
  export { set } from './object/set.js';
129
+ export { pick } from './object/pick.js';
130
+ export { omit } from './object/omit.js';
133
131
  export { has } from './object/has.js';
134
132
  export { property } from './object/property.js';
135
133
  export { mapKeys } from './object/mapKeys.js';
@@ -137,6 +135,7 @@ export { mapValues } from './object/mapValues.js';
137
135
  export { merge } from './object/merge.js';
138
136
  export { mergeWith } from './object/mergeWith.js';
139
137
  export { fromPairs } from './object/fromPairs.js';
138
+ export { unset } from './object/unset.js';
140
139
  export { isPlainObject } from './predicate/isPlainObject.js';
141
140
  export { isArray } from './predicate/isArray.js';
142
141
  export { isArguments } from './predicate/isArguments.js';
@@ -155,12 +154,26 @@ export { isWeakMap } from './predicate/isWeakMap.js';
155
154
  export { isWeakSet } from './predicate/isWeakSet.js';
156
155
  export { conforms } from './predicate/conforms.js';
157
156
  export { conformsTo } from './predicate/conformsTo.js';
157
+ export { isInteger } from './predicate/isInteger.js';
158
+ export { isSafeInteger } from './predicate/isSafeInteger.js';
158
159
  export { camelCase } from './string/camelCase.js';
160
+ export { kebabCase } from './string/kebabCase.js';
161
+ export { snakeCase } from './string/snakeCase.js';
162
+ export { startCase } from './string/startCase.js';
163
+ export { lowerCase } from './string/lowerCase.js';
159
164
  export { startsWith } from './string/startsWith.js';
160
165
  export { endsWith } from './string/endsWith.js';
161
166
  export { padStart } from './string/padStart.js';
162
167
  export { padEnd } from './string/padEnd.js';
163
168
  export { repeat } from './string/repeat.js';
169
+ export { trim } from './string/trim.js';
170
+ export { trimStart } from './string/trimStart.js';
171
+ export { trimEnd } from './string/trimEnd.js';
164
172
  export { max } from './math/max.js';
165
173
  export { min } from './math/min.js';
174
+ export { ceil } from './math/ceil.js';
175
+ export { floor } from './math/floor.js';
176
+ export { round } from './math/round.js';
166
177
  export { parseInt } from './math/parseInt.js';
178
+ export { toPath } from './util/toPath.js';
179
+ export { toString } from './util/toString.js';