@gooddata/util 11.68.0-alpha.6 → 11.68.0-alpha.8

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 (84) hide show
  1. package/LICENSE +1 -1
  2. package/NOTICE +4 -2
  3. package/esm/_/_baseDifference.d.ts +15 -0
  4. package/esm/_/_baseDifference.d.ts.map +1 -0
  5. package/esm/_/_baseDifference.js +68 -0
  6. package/esm/_/_basePickBy.d.ts +14 -0
  7. package/esm/_/_basePickBy.d.ts.map +1 -0
  8. package/esm/_/_basePickBy.js +57 -0
  9. package/esm/_/_createCompounder.d.ts +11 -0
  10. package/esm/_/_createCompounder.d.ts.map +1 -0
  11. package/esm/_/{_arrayAggregator.js → _createCompounder.js} +12 -16
  12. package/esm/_/camelCase.d.ts +3 -4
  13. package/esm/_/camelCase.d.ts.map +1 -1
  14. package/esm/_/camelCase.js +8 -19
  15. package/esm/_/capitalize.d.ts +9 -0
  16. package/esm/_/capitalize.d.ts.map +1 -0
  17. package/esm/_/{_arrayAggregator.d.ts → capitalize.js} +10 -9
  18. package/esm/_/clamp.d.ts +17 -0
  19. package/esm/_/clamp.d.ts.map +1 -0
  20. package/esm/_/clamp.js +56 -0
  21. package/esm/_/deburr.d.ts.map +1 -1
  22. package/esm/_/deburr.js +2 -1
  23. package/esm/_/difference.d.ts +14 -0
  24. package/esm/_/difference.d.ts.map +1 -0
  25. package/esm/_/difference.js +46 -0
  26. package/esm/_/differenceBy.d.ts +39 -0
  27. package/esm/_/differenceBy.d.ts.map +1 -0
  28. package/esm/_/{_createAggregator.js → differenceBy.js} +7 -17
  29. package/esm/_/escape.d.ts +13 -0
  30. package/esm/_/escape.d.ts.map +1 -0
  31. package/esm/_/escape.js +56 -0
  32. package/esm/_/has.d.ts +23 -0
  33. package/esm/_/has.d.ts.map +1 -0
  34. package/esm/_/has.js +35 -0
  35. package/esm/_/isPlainObject.d.ts +1 -1
  36. package/esm/_/isPlainObject.d.ts.map +1 -1
  37. package/esm/_/kebabCase.d.ts +9 -0
  38. package/esm/_/kebabCase.d.ts.map +1 -0
  39. package/esm/_/kebabCase.js +40 -0
  40. package/esm/_/keyBy.d.ts +17 -0
  41. package/esm/_/keyBy.d.ts.map +1 -0
  42. package/esm/_/{_baseAggregator.js → keyBy.js} +9 -16
  43. package/esm/_/omitBy.d.ts +21 -0
  44. package/esm/_/omitBy.d.ts.map +1 -0
  45. package/esm/_/omitBy.js +37 -0
  46. package/esm/_/partial.d.ts +87 -0
  47. package/esm/_/partial.d.ts.map +1 -0
  48. package/esm/_/partial.js +30 -0
  49. package/esm/_/pickBy.d.ts +21 -0
  50. package/esm/_/pickBy.d.ts.map +1 -0
  51. package/esm/_/pickBy.js +36 -0
  52. package/esm/_/toNumber.d.ts +11 -0
  53. package/esm/_/toNumber.d.ts.map +1 -0
  54. package/esm/_/toNumber.js +69 -0
  55. package/esm/_/toString.d.ts +11 -0
  56. package/esm/_/toString.d.ts.map +1 -0
  57. package/esm/_/toString.js +57 -0
  58. package/esm/_/types.d.ts +38 -0
  59. package/esm/_/types.d.ts.map +1 -1
  60. package/esm/_/union.d.ts +11 -0
  61. package/esm/_/union.d.ts.map +1 -0
  62. package/esm/_/union.js +55 -0
  63. package/esm/_/uniqWith.d.ts +14 -0
  64. package/esm/_/uniqWith.d.ts.map +1 -0
  65. package/esm/_/uniqWith.js +59 -0
  66. package/esm/_/update.d.ts +17 -0
  67. package/esm/_/update.d.ts.map +1 -0
  68. package/esm/_/update.js +55 -0
  69. package/esm/_/upperFirst.d.ts +10 -0
  70. package/esm/_/upperFirst.d.ts.map +1 -0
  71. package/esm/_/upperFirst.js +46 -0
  72. package/esm/_/zip.d.ts +28 -0
  73. package/esm/_/zip.d.ts.map +1 -0
  74. package/esm/_/zip.js +38 -0
  75. package/esm/index.d.ts +17 -1
  76. package/esm/index.d.ts.map +1 -1
  77. package/esm/index.js +16 -0
  78. package/esm/util.d.ts +377 -4
  79. package/package.json +3 -3
  80. package/esm/_/_arrayAggregator.d.ts.map +0 -1
  81. package/esm/_/_baseAggregator.d.ts +0 -13
  82. package/esm/_/_baseAggregator.d.ts.map +0 -1
  83. package/esm/_/_createAggregator.d.ts +0 -10
  84. package/esm/_/_createAggregator.d.ts.map +0 -1
@@ -0,0 +1,57 @@
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 { _isSymbol } from "./isSymbol.js";
33
+ /**
34
+ * Converts `value` to a string. An empty string is returned for `null` and `undefined` values. The sign of
35
+ * `-0` is preserved, symbols are converted through their `toString`, and arrays are converted element by
36
+ * element and joined with commas.
37
+ *
38
+ * @param value - The value to convert.
39
+ * @returns Returns the converted string.
40
+ * @internal
41
+ */
42
+ export function _toString(value) {
43
+ return value == null ? "" : _baseToString(value);
44
+ }
45
+ function _baseToString(value) {
46
+ if (typeof value === "string") {
47
+ return value;
48
+ }
49
+ if (Array.isArray(value)) {
50
+ return value.map(_baseToString).join(",");
51
+ }
52
+ if (_isSymbol(value)) {
53
+ return Symbol.prototype.toString.call(value);
54
+ }
55
+ const result = String(value);
56
+ return result === "0" && 1 / value === -Infinity ? "-0" : result;
57
+ }
package/esm/_/types.d.ts CHANGED
@@ -93,4 +93,42 @@ export type _ObjectIteratee<TObject> = _ObjectIterator<TObject, _NotVoid> | _Ite
93
93
  * @internal
94
94
  */
95
95
  export type _PartialObject<T> = Partial<T>;
96
+ /**
97
+ * @internal
98
+ */
99
+ export type _ValueKeyIteratee<T> = ((value: T, key: string) => _NotVoid) | _IterateeShorthand<T>;
100
+ /**
101
+ * @internal
102
+ */
103
+ export type _NumericDictionary<T> = {
104
+ [index: number]: T;
105
+ };
106
+ /**
107
+ * @internal
108
+ */
109
+ export type _ValueIterateeCustom<T, TResult> = ((value: T) => TResult) | _IterateeShorthand<T>;
110
+ /**
111
+ * @internal
112
+ */
113
+ export type _Function0<R> = () => R;
114
+ /**
115
+ * @internal
116
+ */
117
+ export type _Function1<T1, R> = (t1: T1) => R;
118
+ /**
119
+ * @internal
120
+ */
121
+ export type _Function2<T1, T2, R> = (t1: T1, t2: T2) => R;
122
+ /**
123
+ * @internal
124
+ */
125
+ export type _Function3<T1, T2, T3, R> = (t1: T1, t2: T2, t3: T3) => R;
126
+ /**
127
+ * @internal
128
+ */
129
+ export type _Function4<T1, T2, T3, T4, R> = (t1: T1, t2: T2, t3: T3, t4: T4) => R;
130
+ /**
131
+ * @internal
132
+ */
133
+ export type _Comparator<T> = (a: T, b: T) => boolean;
96
134
  //# s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AAE,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { _List } from "./types.js";
2
+ /**
3
+ * Creates an array of unique values, in order, from all given arrays using SameValueZero for equality
4
+ * comparisons. Only array-like objects are inspected; other arguments, strings included, are skipped.
5
+ *
6
+ * @param arrays - The arrays to inspect.
7
+ * @returns Returns the new array of combined values.
8
+ * @internal
9
+ */
10
+ export declare function _union<T>(...arrays: (_List<T> | null | undefined)[]): T[];
11
+ //# sourceMappingURL=union.d.ts.map
@@ -0,0 +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"}
package/esm/_/union.js ADDED
@@ -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 { _baseUniq } from "./_baseUniq.js";
33
+ import { _isArrayLike } from "./isArrayLike.js";
34
+ import { _isObjectLike } from "./isObjectLike.js";
35
+ /**
36
+ * Creates an array of unique values, in order, from all given arrays using SameValueZero for equality
37
+ * comparisons. Only array-like objects are inspected; other arguments, strings included, are skipped.
38
+ *
39
+ * @param arrays - The arrays to inspect.
40
+ * @returns Returns the new array of combined values.
41
+ * @internal
42
+ */
43
+ 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);
55
+ }
@@ -0,0 +1,14 @@
1
+ import type { _Comparator, _List } from "./types.js";
2
+ /**
3
+ * This method is like `_uniq` except that it accepts `comparator` which is invoked to compare elements of
4
+ * `array`. The order of result values is determined by the order they occur in the array. The comparator
5
+ * is invoked with two arguments: (arrVal, othVal), the candidate first and then each kept element in order.
6
+ * Without a function comparator, elements are compared with SameValueZero.
7
+ *
8
+ * @param array - The array to inspect.
9
+ * @param comparator - The comparator invoked per element.
10
+ * @returns Returns the new duplicate free array.
11
+ * @internal
12
+ */
13
+ export declare function _uniqWith<T>(array: _List<T> | null | undefined, comparator?: _Comparator<T>): T[];
14
+ //# sourceMappingURL=uniqWith.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uniqWith.d.ts","sourceRoot":"","sources":["../../src/_/uniqWith.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,UAAU,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAoBjG"}
@@ -0,0 +1,59 @@
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 { _baseUniq } from "./_baseUniq.js";
33
+ /**
34
+ * This method is like `_uniq` except that it accepts `comparator` which is invoked to compare elements of
35
+ * `array`. The order of result values is determined by the order they occur in the array. The comparator
36
+ * is invoked with two arguments: (arrVal, othVal), the candidate first and then each kept element in order.
37
+ * Without a function comparator, elements are compared with SameValueZero.
38
+ *
39
+ * @param array - The array to inspect.
40
+ * @param comparator - The comparator invoked per element.
41
+ * @returns Returns the new duplicate free array.
42
+ * @internal
43
+ */
44
+ export function _uniqWith(array, comparator) {
45
+ if (!array?.length) {
46
+ return [];
47
+ }
48
+ if (typeof comparator !== "function") {
49
+ return _baseUniq(array);
50
+ }
51
+ const result = [];
52
+ for (let index = 0; index < array.length; index++) {
53
+ const value = array[index];
54
+ if (!result.some((kept) => comparator(value, kept))) {
55
+ result.push(value);
56
+ }
57
+ }
58
+ return result;
59
+ }
@@ -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,10 @@
1
+ /**
2
+ * Converts the first character of `string` to upper case. A surrogate pair, a character with combining
3
+ * marks or a joined emoji sequence counts as one character and is kept whole.
4
+ *
5
+ * @param string - The string to convert.
6
+ * @returns Returns the converted string.
7
+ * @internal
8
+ */
9
+ export declare function _upperFirst(string?: string): string;
10
+ //# sourceMappingURL=upperFirst.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upperFirst.d.ts","sourceRoot":"","sources":["../../src/_/upperFirst.ts"],"names":[],"mappings":"AAoCA;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAKnD"}
@@ -0,0 +1,46 @@
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 { _hasUnicode, _unicodeToArray } from "./_unicode.js";
33
+ import { _toString } from "./toString.js";
34
+ /**
35
+ * Converts the first character of `string` to upper case. A surrogate pair, a character with combining
36
+ * marks or a joined emoji sequence counts as one character and is kept whole.
37
+ *
38
+ * @param string - The string to convert.
39
+ * @returns Returns the converted string.
40
+ * @internal
41
+ */
42
+ export function _upperFirst(string) {
43
+ const text = _toString(string);
44
+ const first = (_hasUnicode(text) ? _unicodeToArray(text)[0] : text.charAt(0)) ?? "";
45
+ return first.toUpperCase() + text.slice(first.length);
46
+ }
package/esm/_/zip.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ import type { _List } from "./types.js";
2
+ /**
3
+ * Creates an array of grouped elements, the first of which contains the first elements of the given arrays,
4
+ * the second of which contains the second elements of the given arrays, and so on. Shorter arrays are padded
5
+ * with `undefined` up to the longest one. Only array-like objects take part; other arguments are skipped.
6
+ *
7
+ * @param arrays - The arrays to process.
8
+ * @returns Returns the new array of grouped elements.
9
+ * @internal
10
+ */
11
+ export declare function _zip<T1, T2>(arrays1: _List<T1>, arrays2: _List<T2>): [T1 | undefined, T2 | undefined][];
12
+ /**
13
+ * @internal
14
+ */
15
+ export declare function _zip<T1, T2, T3>(arrays1: _List<T1>, arrays2: _List<T2>, arrays3: _List<T3>): [T1 | undefined, T2 | undefined, T3 | undefined][];
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare function _zip<T1, T2, T3, T4>(arrays1: _List<T1>, arrays2: _List<T2>, arrays3: _List<T3>, arrays4: _List<T4>): [T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined][];
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare function _zip<T1, T2, T3, T4, T5>(arrays1: _List<T1>, arrays2: _List<T2>, arrays3: _List<T3>, arrays4: _List<T4>, arrays5: _List<T5>): [T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined][];
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare function _zip<T>(...arrays: (_List<T> | null | undefined)[]): (T | undefined)[][];
28
+ //# sourceMappingURL=zip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../src/_/zip.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,GAAG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C,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,EAAE,EAAE,CAAC"}
package/esm/_/zip.js ADDED
@@ -0,0 +1,38 @@
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 { _isArrayLike } from "./isArrayLike.js";
33
+ import { _isObjectLike } from "./isObjectLike.js";
34
+ export function _zip(...arrays) {
35
+ const groups = arrays.filter((array) => _isObjectLike(array) && _isArrayLike(array));
36
+ const length = groups.reduce((longest, group) => Math.max(longest, group.length), 0);
37
+ return Array.from({ length }, (_, index) => groups.map((group) => group[index]));
38
+ }
package/esm/index.d.ts CHANGED
@@ -13,22 +13,38 @@ 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
15
  export { _camelCase } from "./_/camelCase.js";
16
+ export { _capitalize } from "./_/capitalize.js";
17
+ export { _clamp } from "./_/clamp.js";
16
18
  export { _cloneDeep } from "./_/cloneDeep.js";
17
19
  export { type _Falsey, _compact } from "./_/compact.js";
18
20
  export { type _DebouncedFunc, type _DebouncedFuncLeading, type _DebounceSettings, type _DebounceSettingsLeading, _debounce, } from "./_/debounce.js";
21
+ export { _difference } from "./_/difference.js";
22
+ export { _differenceBy } from "./_/differenceBy.js";
23
+ export { _escape } from "./_/escape.js";
19
24
  export { _groupBy } from "./_/groupBy.js";
25
+ export { _has } from "./_/has.js";
20
26
  export { _isEqual } from "./_/isEqual.js";
21
27
  export { type _EmptyObject, type _EmptyObjectOf, _isEmpty } from "./_/isEmpty.js";
28
+ export { _kebabCase } from "./_/kebabCase.js";
29
+ export { _keyBy } from "./_/keyBy.js";
30
+ export { _isPlainObject } from "./_/isPlainObject.js";
22
31
  export { type _MapCache, type _MapCacheConstructor, type _Memoize, type _MemoizedFunction, _memoize, } from "./_/memoize.js";
23
32
  export { _merge } from "./_/merge.js";
24
33
  export { _omit } from "./_/omit.js";
34
+ export { _omitBy } from "./_/omitBy.js";
35
+ export { type _Partial, type _Placeholder, _partial } from "./_/partial.js";
25
36
  export { _partition } from "./_/partition.js";
26
37
  export { _pick } from "./_/pick.js";
38
+ export { _pickBy } from "./_/pickBy.js";
27
39
  export { _range } from "./_/range.js";
28
40
  export { type _PropertyPath, _set } from "./_/set.js";
29
41
  export { _sortBy } from "./_/sortBy.js";
30
42
  export { type _ThrottleSettings, type _ThrottleSettingsLeading, _throttle } from "./_/throttle.js";
43
+ export { _union } from "./_/union.js";
31
44
  export { _uniq } from "./_/uniq.js";
32
45
  export { _uniqBy } from "./_/uniqBy.js";
33
- export type { _Dictionary, _IterateeShorthand, _List, _ListIteratee, _ListIterator, _Many, _NotVoid, _ObjectIteratee, _ObjectIterator, _PartialObject, _PartialShallow, _PropertyName, _ValueIteratee, _ValueIteratorTypeGuard, } from "./_/types.js";
46
+ export { _uniqWith } from "./_/uniqWith.js";
47
+ export { _update } from "./_/update.js";
48
+ export { _zip } from "./_/zip.js";
49
+ 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";
34
50
  //# 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,KA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MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,aAAa,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,YAAY,EACR,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,KAAK,EACL,aAAa,EACb,aAAa,EACb,KAAK,EACL,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,GACpB,MAAM,cAAc,CAAC"}
package/esm/index.js CHANGED
@@ -16,20 +16,36 @@ export { combineGuards } from "./typesUtils.js";
16
16
  export { delay, strictBarrel, suppressConsole, createTightWaitFor, } from "./testUtils.js";
17
17
  // local functions from lodash-es
18
18
  export { _camelCase } from "./_/camelCase.js";
19
+ export { _capitalize } from "./_/capitalize.js";
20
+ export { _clamp } from "./_/clamp.js";
19
21
  export { _cloneDeep } from "./_/cloneDeep.js";
20
22
  export { _compact } from "./_/compact.js";
21
23
  export { _debounce, } from "./_/debounce.js";
24
+ export { _difference } from "./_/difference.js";
25
+ export { _differenceBy } from "./_/differenceBy.js";
26
+ export { _escape } from "./_/escape.js";
22
27
  export { _groupBy } from "./_/groupBy.js";
28
+ export { _has } from "./_/has.js";
23
29
  export { _isEqual } from "./_/isEqual.js";
24
30
  export { _isEmpty } from "./_/isEmpty.js";
31
+ export { _kebabCase } from "./_/kebabCase.js";
32
+ export { _keyBy } from "./_/keyBy.js";
33
+ export { _isPlainObject } from "./_/isPlainObject.js";
25
34
  export { _memoize, } from "./_/memoize.js";
26
35
  export { _merge } from "./_/merge.js";
27
36
  export { _omit } from "./_/omit.js";
37
+ export { _omitBy } from "./_/omitBy.js";
38
+ export { _partial } from "./_/partial.js";
28
39
  export { _partition } from "./_/partition.js";
29
40
  export { _pick } from "./_/pick.js";
41
+ export { _pickBy } from "./_/pickBy.js";
30
42
  export { _range } from "./_/range.js";
31
43
  export { _set } from "./_/set.js";
32
44
  export { _sortBy } from "./_/sortBy.js";
33
45
  export { _throttle } from "./_/throttle.js";
46
+ export { _union } from "./_/union.js";
34
47
  export { _uniq } from "./_/uniq.js";
35
48
  export { _uniqBy } from "./_/uniqBy.js";
49
+ export { _uniqWith } from "./_/uniqWith.js";
50
+ export { _update } from "./_/update.js";
51
+ export { _zip } from "./_/zip.js";