@gooddata/util 11.68.0-alpha.7 → 11.68.0-alpha.9

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 (163) hide show
  1. package/NOTICE +4 -2
  2. package/esm/_/_baseClone.d.ts +17 -4
  3. package/esm/_/_baseClone.d.ts.map +1 -1
  4. package/esm/_/_baseClone.js +55 -23
  5. package/esm/_/_baseDifference.d.ts +18 -0
  6. package/esm/_/_baseDifference.d.ts.map +1 -0
  7. package/esm/_/_baseDifference.js +79 -0
  8. package/esm/_/_baseExtremum.d.ts +15 -0
  9. package/esm/_/_baseExtremum.d.ts.map +1 -0
  10. package/esm/_/_baseExtremum.js +64 -0
  11. package/esm/_/_baseIntersection.d.ts +19 -0
  12. package/esm/_/_baseIntersection.d.ts.map +1 -0
  13. package/esm/_/_baseIntersection.js +91 -0
  14. package/esm/_/_baseMerge.d.ts +7 -3
  15. package/esm/_/_baseMerge.d.ts.map +1 -1
  16. package/esm/_/_baseMerge.js +20 -11
  17. package/esm/_/_baseSet.d.ts +3 -1
  18. package/esm/_/_baseSet.d.ts.map +1 -1
  19. package/esm/_/_baseSet.js +9 -3
  20. package/esm/_/_baseSlice.d.ts +45 -0
  21. package/esm/_/_baseSlice.d.ts.map +1 -0
  22. package/esm/_/_baseSlice.js +30 -0
  23. package/esm/_/_baseSum.d.ts +42 -0
  24. package/esm/_/_baseSum.d.ts.map +1 -0
  25. package/esm/_/_baseSum.js +21 -0
  26. package/esm/_/_cloneTypedArray.d.ts +1 -1
  27. package/esm/_/_cloneTypedArray.d.ts.map +1 -1
  28. package/esm/_/_cloneTypedArray.js +3 -2
  29. package/esm/_/_flattenArrayLikeObjects.d.ts +11 -0
  30. package/esm/_/_flattenArrayLikeObjects.d.ts.map +1 -0
  31. package/esm/_/_flattenArrayLikeObjects.js +55 -0
  32. package/esm/_/assignIn.d.ts +35 -0
  33. package/esm/_/assignIn.d.ts.map +1 -0
  34. package/esm/_/assignIn.js +50 -0
  35. package/esm/_/bindAll.d.ts +16 -0
  36. package/esm/_/bindAll.d.ts.map +1 -0
  37. package/esm/_/bindAll.js +88 -0
  38. package/esm/_/chunk.d.ts +15 -0
  39. package/esm/_/chunk.d.ts.map +1 -0
  40. package/esm/_/chunk.js +61 -0
  41. package/esm/_/clamp.d.ts +17 -0
  42. package/esm/_/clamp.d.ts.map +1 -0
  43. package/esm/_/clamp.js +56 -0
  44. package/esm/_/clone.d.ts +12 -0
  45. package/esm/_/clone.d.ts.map +1 -0
  46. package/esm/_/clone.js +45 -0
  47. package/esm/_/cloneDeep.js +1 -1
  48. package/esm/_/cloneDeepWith.d.ts +18 -0
  49. package/esm/_/cloneDeepWith.d.ts.map +1 -0
  50. package/esm/_/cloneDeepWith.js +36 -0
  51. package/esm/_/constant.d.ts +39 -0
  52. package/esm/_/constant.d.ts.map +1 -0
  53. package/esm/_/constant.js +43 -0
  54. package/esm/_/defaults.d.ts +36 -0
  55. package/esm/_/defaults.d.ts.map +1 -0
  56. package/esm/_/defaults.js +51 -0
  57. package/esm/_/difference.d.ts.map +1 -1
  58. package/esm/_/difference.js +2 -23
  59. package/esm/_/differenceBy.d.ts +39 -0
  60. package/esm/_/differenceBy.d.ts.map +1 -0
  61. package/esm/_/differenceBy.js +40 -0
  62. package/esm/_/differenceWith.d.ts +27 -0
  63. package/esm/_/differenceWith.d.ts.map +1 -0
  64. package/esm/_/differenceWith.js +39 -0
  65. package/esm/_/dropRightWhile.d.ts +13 -0
  66. package/esm/_/dropRightWhile.d.ts.map +1 -0
  67. package/esm/_/dropRightWhile.js +54 -0
  68. package/esm/_/escapeRegExp.d.ts +12 -0
  69. package/esm/_/escapeRegExp.d.ts.map +1 -0
  70. package/esm/_/escapeRegExp.js +47 -0
  71. package/esm/_/findKey.d.ts +14 -0
  72. package/esm/_/findKey.d.ts.map +1 -0
  73. package/esm/_/findKey.js +58 -0
  74. package/esm/_/findLastIndex.d.ts +16 -0
  75. package/esm/_/findLastIndex.d.ts.map +1 -0
  76. package/esm/_/findLastIndex.js +67 -0
  77. package/esm/_/get.d.ts +78 -0
  78. package/esm/_/get.d.ts.map +1 -0
  79. package/esm/_/get.js +36 -0
  80. package/esm/_/inRange.d.ts +14 -0
  81. package/esm/_/inRange.d.ts.map +1 -0
  82. package/esm/_/inRange.js +51 -0
  83. package/esm/_/initial.d.ts +11 -0
  84. package/esm/_/initial.d.ts.map +1 -0
  85. package/esm/_/initial.js +44 -0
  86. package/esm/_/intersection.d.ts +13 -0
  87. package/esm/_/intersection.d.ts.map +1 -0
  88. package/esm/_/intersection.js +45 -0
  89. package/esm/_/intersectionBy.d.ts +32 -0
  90. package/esm/_/intersectionBy.d.ts.map +1 -0
  91. package/esm/_/intersectionBy.js +41 -0
  92. package/esm/_/intersectionWith.d.ts +28 -0
  93. package/esm/_/intersectionWith.d.ts.map +1 -0
  94. package/esm/_/intersectionWith.js +38 -0
  95. package/esm/_/invert.d.ts +14 -0
  96. package/esm/_/invert.d.ts.map +1 -0
  97. package/esm/_/invert.js +55 -0
  98. package/esm/_/isError.d.ts +11 -0
  99. package/esm/_/isError.d.ts.map +1 -0
  100. package/esm/_/isError.js +57 -0
  101. package/esm/_/keys.d.ts +11 -0
  102. package/esm/_/keys.d.ts.map +1 -0
  103. package/esm/_/keys.js +60 -0
  104. package/esm/_/mapValues.d.ts +63 -0
  105. package/esm/_/mapValues.d.ts.map +1 -0
  106. package/esm/_/mapValues.js +47 -0
  107. package/esm/_/max.d.ts +16 -0
  108. package/esm/_/max.d.ts.map +1 -0
  109. package/esm/_/max.js +37 -0
  110. package/esm/_/mergeWith.d.ts +34 -0
  111. package/esm/_/mergeWith.d.ts.map +1 -0
  112. package/esm/_/mergeWith.js +50 -0
  113. package/esm/_/min.d.ts +16 -0
  114. package/esm/_/min.d.ts.map +1 -0
  115. package/esm/_/min.js +37 -0
  116. package/esm/_/negate.d.ts +41 -0
  117. package/esm/_/negate.d.ts.map +1 -0
  118. package/esm/_/negate.js +48 -0
  119. package/esm/_/reduce.d.ts +37 -0
  120. package/esm/_/reduce.d.ts.map +1 -0
  121. package/esm/_/reduce.js +48 -0
  122. package/esm/_/sumBy.d.ts +14 -0
  123. package/esm/_/sumBy.d.ts.map +1 -0
  124. package/esm/_/sumBy.js +47 -0
  125. package/esm/_/tail.d.ts +15 -0
  126. package/esm/_/tail.d.ts.map +1 -0
  127. package/esm/_/tail.js +36 -0
  128. package/esm/_/times.d.ts +17 -0
  129. package/esm/_/times.d.ts.map +1 -0
  130. package/esm/_/times.js +57 -0
  131. package/esm/_/toFinite.d.ts +0 -30
  132. package/esm/_/toFinite.d.ts.map +1 -1
  133. package/esm/_/toFinite.js +2 -2
  134. package/esm/_/toInteger.d.ts +11 -0
  135. package/esm/_/toInteger.d.ts.map +1 -0
  136. package/esm/_/toInteger.js +46 -0
  137. package/esm/_/toNumber.d.ts +11 -0
  138. package/esm/_/toNumber.d.ts.map +1 -0
  139. package/esm/_/toNumber.js +69 -0
  140. package/esm/_/types.d.ts +47 -0
  141. package/esm/_/types.d.ts.map +1 -1
  142. package/esm/_/unescape.d.ts +13 -0
  143. package/esm/_/unescape.d.ts.map +1 -0
  144. package/esm/_/unescape.js +56 -0
  145. package/esm/_/union.d.ts.map +1 -1
  146. package/esm/_/union.js +2 -13
  147. package/esm/_/unionBy.d.ts +34 -0
  148. package/esm/_/unionBy.d.ts.map +1 -0
  149. package/esm/_/unionBy.js +42 -0
  150. package/esm/_/update.d.ts +17 -0
  151. package/esm/_/update.d.ts.map +1 -0
  152. package/esm/_/update.js +55 -0
  153. package/esm/_/updateWith.d.ts +23 -0
  154. package/esm/_/updateWith.d.ts.map +1 -0
  155. package/esm/_/updateWith.js +41 -0
  156. package/esm/_/without.d.ts +15 -0
  157. package/esm/_/without.d.ts.map +1 -0
  158. package/esm/_/without.js +47 -0
  159. package/esm/index.d.ts +40 -3
  160. package/esm/index.d.ts.map +1 -1
  161. package/esm/index.js +39 -2
  162. package/esm/util.d.ts +918 -1
  163. package/package.json +3 -3
@@ -0,0 +1,56 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ import { _toString } from "./toString.js";
33
+ /** Used to match the HTML entities `_unescape` handles. */
34
+ const RE_ESCAPED_HTML = /&(?:amp|lt|gt|quot|#39);/g;
35
+ /** Used to map HTML entities to characters. */
36
+ const HTML_UNESCAPES = {
37
+ "&amp;": "&",
38
+ "&lt;": "<",
39
+ "&gt;": ">",
40
+ "&quot;": '"',
41
+ "&#39;": "'",
42
+ };
43
+ /**
44
+ * The inverse of `_escape`; this method converts the HTML entities `&amp;`, `&lt;`, `&gt;`, `&quot;` and
45
+ * `&#39;` in `string` to their corresponding characters.
46
+ *
47
+ * **Note:** No other HTML entities are unescaped. To unescape additional HTML entities use a third-party
48
+ * library like [he](https://mths.be/he).
49
+ *
50
+ * @param string - The string to unescape.
51
+ * @returns Returns the unescaped string.
52
+ * @internal
53
+ */
54
+ export function _unescape(string) {
55
+ return _toString(string).replace(RE_ESCAPED_HTML, (entity) => HTML_UNESCAPES[entity] ?? entity);
56
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"union.d.ts","sourceRoot":"","sources":["../../src/_/union.ts"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAezE"}
1
+ {"version":3,"file":"union.d.ts","sourceRoot":"","sources":["../../src/_/union.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAEzE"}
package/esm/_/union.js CHANGED
@@ -30,8 +30,7 @@
30
30
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
31
  */
32
32
  import { _baseUniq } from "./_baseUniq.js";
33
- import { _isArrayLike } from "./isArrayLike.js";
34
- import { _isObjectLike } from "./isObjectLike.js";
33
+ import { _flattenArrayLikeObjects } from "./_flattenArrayLikeObjects.js";
35
34
  /**
36
35
  * Creates an array of unique values, in order, from all given arrays using SameValueZero for equality
37
36
  * comparisons. Only array-like objects are inspected; other arguments, strings included, are skipped.
@@ -41,15 +40,5 @@ import { _isObjectLike } from "./isObjectLike.js";
41
40
  * @internal
42
41
  */
43
42
  export function _union(...arrays) {
44
- const values = [];
45
- for (const array of arrays) {
46
- if (!_isObjectLike(array) || !_isArrayLike(array)) {
47
- continue;
48
- }
49
- // visited by index, so holes become `undefined` entries
50
- for (let index = 0; index < array.length; index++) {
51
- values.push(array[index]);
52
- }
53
- }
54
- return _baseUniq(values);
43
+ return _baseUniq(_flattenArrayLikeObjects(arrays));
55
44
  }
@@ -0,0 +1,34 @@
1
+ import type { _List, _ValueIteratee } from "./types.js";
2
+ /**
3
+ * This method is like `_union` except that it accepts `iteratee` which is invoked for each element of each
4
+ * array to generate the criterion by which uniqueness is computed. Result values are chosen from the first
5
+ * array in which the value occurs. The iteratee is invoked with one argument: (value). As in lodash, the
6
+ * last argument is taken as the iteratee unless it is an array-like object, so an array is always a list
7
+ * to merge, and arguments that are not array-like objects are skipped.
8
+ *
9
+ * @param arrays - The arrays to inspect, followed by the optional iteratee.
10
+ * @returns Returns the new array of combined values.
11
+ * @internal
12
+ */
13
+ export declare function _unionBy<T>(arrays: _List<T> | null | undefined, iteratee?: _ValueIteratee<T>): T[];
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare function _unionBy<T>(arrays1: _List<T> | null | undefined, arrays2: _List<T> | null | undefined, iteratee?: _ValueIteratee<T>): T[];
18
+ /**
19
+ * @internal
20
+ */
21
+ export declare function _unionBy<T>(arrays1: _List<T> | null | undefined, arrays2: _List<T> | null | undefined, arrays3: _List<T> | null | undefined, iteratee?: _ValueIteratee<T>): T[];
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare function _unionBy<T>(arrays1: _List<T> | null | undefined, arrays2: _List<T> | null | undefined, arrays3: _List<T> | null | undefined, arrays4: _List<T> | null | undefined, iteratee?: _ValueIteratee<T>): T[];
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare function _unionBy<T>(arrays1: _List<T> | null | undefined, arrays2: _List<T> | null | undefined, arrays3: _List<T> | null | undefined, arrays4: _List<T> | null | undefined, arrays5: _List<T> | null | undefined, ...iteratee: (_ValueIteratee<T> | _List<T> | null | undefined)[]): T[];
30
+ /**
31
+ * @internal
32
+ */
33
+ export declare function _unionBy<T>(...values: (_ValueIteratee<T> | _List<T> | null | undefined)[]): T[];
34
+ //# sourceMappingURL=unionBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unionBy.d.ts","sourceRoot":"","sources":["../../src/_/unionBy.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;AACpG;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACtB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,GAC7B,CAAC,EAAE,CAAC;AACP;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACtB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,GAC7B,CAAC,EAAE,CAAC;AACP;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACtB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,GAC7B,CAAC,EAAE,CAAC;AACP;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACtB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EACpC,GAAG,QAAQ,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GACjE,CAAC,EAAE,CAAC;AACP;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC"}
@@ -0,0 +1,42 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ import { _baseIteratee } from "./_baseIteratee.js";
33
+ import { _baseUniq } from "./_baseUniq.js";
34
+ import { _flattenArrayLikeObjects } from "./_flattenArrayLikeObjects.js";
35
+ import { _isArrayLike } from "./isArrayLike.js";
36
+ import { _isObjectLike } from "./isObjectLike.js";
37
+ export function _unionBy(...values) {
38
+ const last = values[values.length - 1];
39
+ const iteratee = _isObjectLike(last) && _isArrayLike(last) ? undefined : last;
40
+ // a non-list iteratee is not array-like, so the flatten drops it from the values
41
+ return _baseUniq(_flattenArrayLikeObjects(values), _baseIteratee(iteratee));
42
+ }
@@ -0,0 +1,17 @@
1
+ import type { _PropertyPath } from "./set.js";
2
+ /**
3
+ * This method is like `_set` except that it accepts `updater` to produce the value to set. The updater is
4
+ * invoked with one argument, the current value at `path`, which is `undefined` when the path does not exist;
5
+ * a non-function updater keeps the current value. Missing segments of the path are created as lodash does,
6
+ * arrays for index segments and plain objects otherwise.
7
+ *
8
+ * **Note:** This method mutates `object`.
9
+ *
10
+ * @param object - The object to modify.
11
+ * @param path - The path of the property to set.
12
+ * @param updater - The function to produce the updated value.
13
+ * @returns Returns `object`.
14
+ * @internal
15
+ */
16
+ export declare function _update(object: object, path: _PropertyPath, updater: (value: any) => any): any;
17
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/_/update.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;;;;;;GAaG;AAEH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,GAAG,GAAG,CAQ9F"}
@@ -0,0 +1,55 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ import { _baseGet } from "./_baseGet.js";
33
+ import { _baseSet } from "./_baseSet.js";
34
+ /**
35
+ * This method is like `_set` except that it accepts `updater` to produce the value to set. The updater is
36
+ * invoked with one argument, the current value at `path`, which is `undefined` when the path does not exist;
37
+ * a non-function updater keeps the current value. Missing segments of the path are created as lodash does,
38
+ * arrays for index segments and plain objects otherwise.
39
+ *
40
+ * **Note:** This method mutates `object`.
41
+ *
42
+ * @param object - The object to modify.
43
+ * @param path - The path of the property to set.
44
+ * @param updater - The function to produce the updated value.
45
+ * @returns Returns `object`.
46
+ * @internal
47
+ */
48
+ // oxlint-disable-next-line @typescript-eslint/no-explicit-any -- matches the lodash signature
49
+ export function _update(object, path, updater) {
50
+ if (object == null) {
51
+ return object;
52
+ }
53
+ const produce = typeof updater === "function" ? updater : (value) => value;
54
+ return _baseSet(object, path, produce(_baseGet(object, path)));
55
+ }
@@ -0,0 +1,23 @@
1
+ import type { _PropertyPath } from "./set.js";
2
+ import type { _SetWithCustomizer } from "./types.js";
3
+ /**
4
+ * This method is like `_update` except that it accepts `customizer` which is invoked to produce the objects
5
+ * of `path`. If `customizer` returns `undefined` path creation is handled by the method instead. The
6
+ * `customizer` is invoked with three arguments: (nsValue, key, nsObject). Anything but a function is
7
+ * ignored as a customizer, and anything but a function is the identity as an updater.
8
+ *
9
+ * **Note:** This method mutates `object`.
10
+ *
11
+ * @param object - The object to modify.
12
+ * @param path - The path of the property to set.
13
+ * @param updater - The function to produce the updated value.
14
+ * @param customizer - The function to customize assigned values.
15
+ * @returns Returns `object`.
16
+ * @internal
17
+ */
18
+ export declare function _updateWith<T extends object>(object: T, path: _PropertyPath, updater: (oldValue: any) => any, customizer?: _SetWithCustomizer<T>): T;
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare function _updateWith<T extends object, TResult>(object: T, path: _PropertyPath, updater: (oldValue: any) => any, customizer?: _SetWithCustomizer<T>): TResult;
23
+ //# sourceMappingURL=updateWith.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateWith.d.ts","sourceRoot":"","sources":["../../src/_/updateWith.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EACxC,MAAM,EAAE,CAAC,EACT,IAAI,EAAE,aAAa,EAEnB,OAAO,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,EAC/B,UAAU,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GACnC,CAAC,CAAC;AACL;;GAEG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EACjD,MAAM,EAAE,CAAC,EACT,IAAI,EAAE,aAAa,EAEnB,OAAO,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,EAC/B,UAAU,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GACnC,OAAO,CAAC"}
@@ -0,0 +1,41 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ import { _baseGet } from "./_baseGet.js";
33
+ import { _baseSet } from "./_baseSet.js";
34
+ export function _updateWith(object, path, updater, customizer) {
35
+ if (object == null) {
36
+ return object;
37
+ }
38
+ const produce = typeof updater === "function" ? updater : (value) => value;
39
+ const customize = typeof customizer === "function" ? customizer : undefined;
40
+ return _baseSet(object, path, produce(_baseGet(object, path)), customize);
41
+ }
@@ -0,0 +1,15 @@
1
+ import type { _List } from "./types.js";
2
+ /**
3
+ * Creates an array excluding all given values using SameValueZero for equality comparisons. The order and
4
+ * references of result values are determined by the input array, with `-0` normalised to `0`. Only an
5
+ * array-like object is inspected: any other `array` yields an empty array.
6
+ *
7
+ * **Note:** Unlike `_.pull`, this method returns a new array.
8
+ *
9
+ * @param array - The array to inspect.
10
+ * @param values - The values to exclude.
11
+ * @returns Returns the new array of filtered values.
12
+ * @internal
13
+ */
14
+ export declare function _without<T>(array: _List<T> | null | undefined, ...values: T[]): T[];
15
+ //# sourceMappingURL=without.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"without.d.ts","sourceRoot":"","sources":["../../src/_/without.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,MAAM,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAEnF"}
@@ -0,0 +1,47 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ import { _baseDifference } from "./_baseDifference.js";
33
+ /**
34
+ * Creates an array excluding all given values using SameValueZero for equality comparisons. The order and
35
+ * references of result values are determined by the input array, with `-0` normalised to `0`. Only an
36
+ * array-like object is inspected: any other `array` yields an empty array.
37
+ *
38
+ * **Note:** Unlike `_.pull`, this method returns a new array.
39
+ *
40
+ * @param array - The array to inspect.
41
+ * @param values - The values to exclude.
42
+ * @returns Returns the new array of filtered values.
43
+ * @internal
44
+ */
45
+ export function _without(array, ...values) {
46
+ return _baseDifference(array, [values]);
47
+ }
package/esm/index.d.ts CHANGED
@@ -12,22 +12,50 @@ export { type IShortenTextOptions, hashCodeString, randomString, shortenText, es
12
12
  export { removeMetadata, sanitizeLocaleForMoment } from "./translationUtils.js";
13
13
  export { type GuardType, type EmptyObject, combineGuards } from "./typesUtils.js";
14
14
  export { type MatcherFunction, type ConsoleFunction, type Matcher, type SpecificMatcherFunction, type ConsoleType, type WaitForFn, delay, strictBarrel, suppressConsole, createTightWaitFor, } from "./testUtils.js";
15
+ export { _assignIn } from "./_/assignIn.js";
16
+ export { _bindAll } from "./_/bindAll.js";
15
17
  export { _camelCase } from "./_/camelCase.js";
16
18
  export { _capitalize } from "./_/capitalize.js";
19
+ export { _chunk } from "./_/chunk.js";
20
+ export { _clamp } from "./_/clamp.js";
21
+ export { _clone } from "./_/clone.js";
17
22
  export { _cloneDeep } from "./_/cloneDeep.js";
23
+ export { _cloneDeepWith } from "./_/cloneDeepWith.js";
18
24
  export { type _Falsey, _compact } from "./_/compact.js";
25
+ export { _constant } from "./_/constant.js";
19
26
  export { type _DebouncedFunc, type _DebouncedFuncLeading, type _DebounceSettings, type _DebounceSettingsLeading, _debounce, } from "./_/debounce.js";
27
+ export { _deburr } from "./_/deburr.js";
28
+ export { _defaults } from "./_/defaults.js";
20
29
  export { _difference } from "./_/difference.js";
30
+ export { _differenceBy } from "./_/differenceBy.js";
31
+ export { _differenceWith } from "./_/differenceWith.js";
32
+ export { _dropRightWhile } from "./_/dropRightWhile.js";
21
33
  export { _escape } from "./_/escape.js";
34
+ export { _escapeRegExp } from "./_/escapeRegExp.js";
35
+ export { _findKey } from "./_/findKey.js";
36
+ export { _findLastIndex } from "./_/findLastIndex.js";
37
+ export { _get } from "./_/get.js";
22
38
  export { _groupBy } from "./_/groupBy.js";
23
39
  export { _has } from "./_/has.js";
24
- export { _isEqual } from "./_/isEqual.js";
40
+ export { _inRange } from "./_/inRange.js";
41
+ export { _initial } from "./_/initial.js";
42
+ export { _intersection } from "./_/intersection.js";
43
+ export { _intersectionBy } from "./_/intersectionBy.js";
44
+ export { _intersectionWith } from "./_/intersectionWith.js";
45
+ export { _invert } from "./_/invert.js";
25
46
  export { type _EmptyObject, type _EmptyObjectOf, _isEmpty } from "./_/isEmpty.js";
47
+ export { _isEqual } from "./_/isEqual.js";
48
+ export { _isError } from "./_/isError.js";
49
+ export { _isPlainObject } from "./_/isPlainObject.js";
26
50
  export { _kebabCase } from "./_/kebabCase.js";
27
51
  export { _keyBy } from "./_/keyBy.js";
28
- export { _isPlainObject } from "./_/isPlainObject.js";
52
+ export { _mapValues } from "./_/mapValues.js";
53
+ export { _max } from "./_/max.js";
29
54
  export { type _MapCache, type _MapCacheConstructor, type _Memoize, type _MemoizedFunction, _memoize, } from "./_/memoize.js";
30
55
  export { _merge } from "./_/merge.js";
56
+ export { _mergeWith } from "./_/mergeWith.js";
57
+ export { _min } from "./_/min.js";
58
+ export { _negate } from "./_/negate.js";
31
59
  export { _omit } from "./_/omit.js";
32
60
  export { _omitBy } from "./_/omitBy.js";
33
61
  export { type _Partial, type _Placeholder, _partial } from "./_/partial.js";
@@ -35,13 +63,22 @@ export { _partition } from "./_/partition.js";
35
63
  export { _pick } from "./_/pick.js";
36
64
  export { _pickBy } from "./_/pickBy.js";
37
65
  export { _range } from "./_/range.js";
66
+ export { _reduce } from "./_/reduce.js";
38
67
  export { type _PropertyPath, _set } from "./_/set.js";
39
68
  export { _sortBy } from "./_/sortBy.js";
69
+ export { _sumBy } from "./_/sumBy.js";
70
+ export { _tail } from "./_/tail.js";
40
71
  export { type _ThrottleSettings, type _ThrottleSettingsLeading, _throttle } from "./_/throttle.js";
72
+ export { _times } from "./_/times.js";
73
+ export { _unescape } from "./_/unescape.js";
41
74
  export { _union } from "./_/union.js";
75
+ export { _unionBy } from "./_/unionBy.js";
42
76
  export { _uniq } from "./_/uniq.js";
43
77
  export { _uniqBy } from "./_/uniqBy.js";
44
78
  export { _uniqWith } from "./_/uniqWith.js";
79
+ export { _update } from "./_/update.js";
80
+ export { _updateWith } from "./_/updateWith.js";
81
+ export { _without } from "./_/without.js";
45
82
  export { _zip } from "./_/zip.js";
46
- export type { _Comparator, _Dictionary, _Function0, _Function1, _Function2, _Function3, _Function4, _IterateeShorthand, _List, _ListIteratee, _ListIterator, _Many, _NotVoid, _NumericDictionary, _ObjectIteratee, _ObjectIterator, _PartialObject, _PartialShallow, _PropertyName, _ValueIteratee, _ValueIterateeCustom, _ValueIteratorTypeGuard, _ValueKeyIteratee, } from "./_/types.js";
83
+ export type { _ArrayIterator, _CloneDeepWithCustomizer, _Comparator, _Comparator2, _Dictionary, _Function0, _Function1, _Function2, _Function3, _Function4, _IterateeShorthand, _List, _ListIteratee, _ListIterateeCustom, _ListIterator, _Many, _MemoListIterator, _MemoObjectIterator, _MergeWithCustomizer, _NotVoid, _NumericDictionary, _ObjectIteratee, _ObjectIterator, _PartialObject, _PartialShallow, _PropertyName, _SetWithCustomizer, _StringIterator, _ValueIteratee, _ValueIterateeCustom, _ValueIteratorTypeGuard, _ValueKeyIteratee, } from "./_/types.js";
47
84
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EACH,KAAK,mBAAmB,EACxB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,kBAAkB,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,OAAO,EACZ,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,EACL,YAAY,EACZ,eAAe,EACf,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,SAAS,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB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AAc,EACd,wBAAwB,EACxB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,KAAK,EACL,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,KAAK,EACL,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,GACpB,MAAM,cAAc,CAAC"}
package/esm/index.js CHANGED
@@ -15,22 +15,50 @@ export { removeMetadata, sanitizeLocaleForMoment } from "./translationUtils.js";
15
15
  export { combineGuards } from "./typesUtils.js";
16
16
  export { delay, strictBarrel, suppressConsole, createTightWaitFor, } from "./testUtils.js";
17
17
  // local functions from lodash-es
18
+ export { _assignIn } from "./_/assignIn.js";
19
+ export { _bindAll } from "./_/bindAll.js";
18
20
  export { _camelCase } from "./_/camelCase.js";
19
21
  export { _capitalize } from "./_/capitalize.js";
22
+ export { _chunk } from "./_/chunk.js";
23
+ export { _clamp } from "./_/clamp.js";
24
+ export { _clone } from "./_/clone.js";
20
25
  export { _cloneDeep } from "./_/cloneDeep.js";
26
+ export { _cloneDeepWith } from "./_/cloneDeepWith.js";
21
27
  export { _compact } from "./_/compact.js";
28
+ export { _constant } from "./_/constant.js";
22
29
  export { _debounce, } from "./_/debounce.js";
30
+ export { _deburr } from "./_/deburr.js";
31
+ export { _defaults } from "./_/defaults.js";
23
32
  export { _difference } from "./_/difference.js";
33
+ export { _differenceBy } from "./_/differenceBy.js";
34
+ export { _differenceWith } from "./_/differenceWith.js";
35
+ export { _dropRightWhile } from "./_/dropRightWhile.js";
24
36
  export { _escape } from "./_/escape.js";
37
+ export { _escapeRegExp } from "./_/escapeRegExp.js";
38
+ export { _findKey } from "./_/findKey.js";
39
+ export { _findLastIndex } from "./_/findLastIndex.js";
40
+ export { _get } from "./_/get.js";
25
41
  export { _groupBy } from "./_/groupBy.js";
26
42
  export { _has } from "./_/has.js";
27
- export { _isEqual } from "./_/isEqual.js";
43
+ export { _inRange } from "./_/inRange.js";
44
+ export { _initial } from "./_/initial.js";
45
+ export { _intersection } from "./_/intersection.js";
46
+ export { _intersectionBy } from "./_/intersectionBy.js";
47
+ export { _intersectionWith } from "./_/intersectionWith.js";
48
+ export { _invert } from "./_/invert.js";
28
49
  export { _isEmpty } from "./_/isEmpty.js";
50
+ export { _isEqual } from "./_/isEqual.js";
51
+ export { _isError } from "./_/isError.js";
52
+ export { _isPlainObject } from "./_/isPlainObject.js";
29
53
  export { _kebabCase } from "./_/kebabCase.js";
30
54
  export { _keyBy } from "./_/keyBy.js";
31
- export { _isPlainObject } from "./_/isPlainObject.js";
55
+ export { _mapValues } from "./_/mapValues.js";
56
+ export { _max } from "./_/max.js";
32
57
  export { _memoize, } from "./_/memoize.js";
33
58
  export { _merge } from "./_/merge.js";
59
+ export { _mergeWith } from "./_/mergeWith.js";
60
+ export { _min } from "./_/min.js";
61
+ export { _negate } from "./_/negate.js";
34
62
  export { _omit } from "./_/omit.js";
35
63
  export { _omitBy } from "./_/omitBy.js";
36
64
  export { _partial } from "./_/partial.js";
@@ -38,11 +66,20 @@ export { _partition } from "./_/partition.js";
38
66
  export { _pick } from "./_/pick.js";
39
67
  export { _pickBy } from "./_/pickBy.js";
40
68
  export { _range } from "./_/range.js";
69
+ export { _reduce } from "./_/reduce.js";
41
70
  export { _set } from "./_/set.js";
42
71
  export { _sortBy } from "./_/sortBy.js";
72
+ export { _sumBy } from "./_/sumBy.js";
73
+ export { _tail } from "./_/tail.js";
43
74
  export { _throttle } from "./_/throttle.js";
75
+ export { _times } from "./_/times.js";
76
+ export { _unescape } from "./_/unescape.js";
44
77
  export { _union } from "./_/union.js";
78
+ export { _unionBy } from "./_/unionBy.js";
45
79
  export { _uniq } from "./_/uniq.js";
46
80
  export { _uniqBy } from "./_/uniqBy.js";
47
81
  export { _uniqWith } from "./_/uniqWith.js";
82
+ export { _update } from "./_/update.js";
83
+ export { _updateWith } from "./_/updateWith.js";
84
+ export { _without } from "./_/without.js";
48
85
  export { _zip } from "./_/zip.js";