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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/NOTICE +177 -0
  2. package/esm/_/_arrayAggregator.d.ts +42 -0
  3. package/esm/_/_arrayAggregator.d.ts.map +1 -0
  4. package/esm/_/_arrayAggregator.js +51 -0
  5. package/esm/_/_assignValue.d.ts.map +1 -1
  6. package/esm/_/_assignValue.js +2 -6
  7. package/esm/_/_baseAggregator.d.ts +13 -0
  8. package/esm/_/_baseAggregator.d.ts.map +1 -0
  9. package/esm/_/_baseAggregator.js +50 -0
  10. package/esm/_/_baseAssignValue.d.ts +41 -0
  11. package/esm/_/_baseAssignValue.d.ts.map +1 -0
  12. package/esm/_/_baseAssignValue.js +48 -0
  13. package/esm/_/_baseClone.d.ts.map +1 -1
  14. package/esm/_/_baseClone.js +3 -30
  15. package/esm/_/_baseMerge.d.ts +15 -0
  16. package/esm/_/_baseMerge.d.ts.map +1 -0
  17. package/esm/_/_baseMerge.js +137 -0
  18. package/esm/_/_baseOrderBy.d.ts +11 -0
  19. package/esm/_/_baseOrderBy.d.ts.map +1 -0
  20. package/esm/_/_baseOrderBy.js +70 -0
  21. package/esm/_/_cloneArrayBuffer.d.ts +39 -0
  22. package/esm/_/_cloneArrayBuffer.d.ts.map +1 -0
  23. package/esm/_/_cloneArrayBuffer.js +45 -0
  24. package/esm/_/_cloneTypedArray.d.ts +10 -0
  25. package/esm/_/_cloneTypedArray.d.ts.map +1 -0
  26. package/esm/_/_cloneTypedArray.js +49 -0
  27. package/esm/_/_compareAscending.d.ts +12 -0
  28. package/esm/_/_compareAscending.d.ts.map +1 -0
  29. package/esm/_/_compareAscending.js +78 -0
  30. package/esm/_/_createAggregator.d.ts +10 -0
  31. package/esm/_/_createAggregator.d.ts.map +1 -0
  32. package/esm/_/_createAggregator.js +50 -0
  33. package/esm/_/_initCloneObject.d.ts +10 -0
  34. package/esm/_/_initCloneObject.d.ts.map +1 -0
  35. package/esm/_/_initCloneObject.js +48 -0
  36. package/esm/_/_unicode.d.ts +27 -0
  37. package/esm/_/_unicode.d.ts.map +1 -0
  38. package/esm/_/_unicode.js +120 -0
  39. package/esm/_/camelCase.d.ts +11 -0
  40. package/esm/_/camelCase.d.ts.map +1 -0
  41. package/esm/_/camelCase.js +56 -0
  42. package/esm/_/deburr.d.ts +10 -0
  43. package/esm/_/deburr.d.ts.map +1 -0
  44. package/esm/_/deburr.js +242 -0
  45. package/esm/_/isArray.d.ts +61 -0
  46. package/esm/_/isArray.d.ts.map +1 -0
  47. package/esm/_/isArray.js +62 -0
  48. package/esm/_/keysIn.d.ts +10 -0
  49. package/esm/_/keysIn.d.ts.map +1 -0
  50. package/esm/_/keysIn.js +54 -0
  51. package/esm/_/memoize.d.ts +89 -0
  52. package/esm/_/memoize.d.ts.map +1 -0
  53. package/esm/_/memoize.js +36 -0
  54. package/esm/_/merge.d.ts +32 -0
  55. package/esm/_/merge.d.ts.map +1 -0
  56. package/esm/_/merge.js +45 -0
  57. package/esm/_/omit.d.ts +1 -5
  58. package/esm/_/omit.d.ts.map +1 -1
  59. package/esm/_/partition.d.ts +23 -0
  60. package/esm/_/partition.d.ts.map +1 -0
  61. package/esm/_/partition.js +42 -0
  62. package/esm/_/pick.d.ts +18 -0
  63. package/esm/_/pick.d.ts.map +1 -0
  64. package/esm/_/pick.js +48 -0
  65. package/esm/_/sortBy.d.ts +17 -0
  66. package/esm/_/sortBy.d.ts.map +1 -0
  67. package/esm/_/sortBy.js +46 -0
  68. package/esm/_/throttle.d.ts +76 -0
  69. package/esm/_/throttle.d.ts.map +1 -0
  70. package/esm/_/throttle.js +45 -0
  71. package/esm/_/types.d.ts +26 -0
  72. package/esm/_/types.d.ts.map +1 -1
  73. package/esm/_/uniq.d.ts +12 -0
  74. package/esm/_/uniq.d.ts.map +1 -0
  75. package/esm/_/uniq.js +47 -0
  76. package/esm/_/words.d.ts +9 -0
  77. package/esm/_/words.d.ts.map +1 -0
  78. package/esm/_/words.js +50 -0
  79. package/esm/index.d.ts +10 -2
  80. package/esm/index.d.ts.map +1 -1
  81. package/esm/index.js +8 -0
  82. package/esm/util.d.ts +254 -0
  83. package/package.json +5 -4
@@ -0,0 +1,120 @@
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
+ /** Used to compose unicode character classes. */
33
+ const RS_ASTRAL_RANGE = "\\ud800-\\udfff";
34
+ const RS_COMBO_RANGE = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff";
35
+ const RS_DINGBAT_RANGE = "\\u2700-\\u27bf";
36
+ const RS_LOWER_RANGE = "a-z\\xdf-\\xf6\\xf8-\\xff";
37
+ const RS_MATH_OP_RANGE = "\\xac\\xb1\\xd7\\xf7";
38
+ const RS_NON_CHAR_RANGE = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
39
+ const RS_PUNCTUATION_RANGE = "\\u2000-\\u206f";
40
+ const RS_SPACE_RANGE = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
41
+ const RS_UPPER_RANGE = "A-Z\\xc0-\\xd6\\xd8-\\xde";
42
+ const RS_VAR_RANGE = "\\ufe0e\\ufe0f";
43
+ const RS_BREAK_RANGE = RS_MATH_OP_RANGE + RS_NON_CHAR_RANGE + RS_PUNCTUATION_RANGE + RS_SPACE_RANGE;
44
+ /** Used to compose unicode capture groups. */
45
+ const RS_APOS = "['’]";
46
+ const RS_ASTRAL = `[${RS_ASTRAL_RANGE}]`;
47
+ const RS_BREAK = `[${RS_BREAK_RANGE}]`;
48
+ const RS_COMBO = `[${RS_COMBO_RANGE}]`;
49
+ const RS_DIGITS = "\\d+";
50
+ const RS_DINGBAT = `[${RS_DINGBAT_RANGE}]`;
51
+ const RS_LOWER = `[${RS_LOWER_RANGE}]`;
52
+ const RS_MISC = `[^${RS_ASTRAL_RANGE}${RS_BREAK_RANGE}${RS_DIGITS}${RS_DINGBAT_RANGE}${RS_LOWER_RANGE}${RS_UPPER_RANGE}]`;
53
+ const RS_FITZ = "\\ud83c[\\udffb-\\udfff]";
54
+ const RS_MODIFIER = `(?:${RS_COMBO}|${RS_FITZ})`;
55
+ const RS_NON_ASTRAL = `[^${RS_ASTRAL_RANGE}]`;
56
+ const RS_REGIONAL = "(?:\\ud83c[\\udde6-\\uddff]){2}";
57
+ const RS_SURR_PAIR = "[\\ud800-\\udbff][\\udc00-\\udfff]";
58
+ const RS_UPPER = `[${RS_UPPER_RANGE}]`;
59
+ const RS_ZWJ = "\\u200d";
60
+ /** Used to compose unicode regexes. */
61
+ const RS_MISC_LOWER = `(?:${RS_LOWER}|${RS_MISC})`;
62
+ const RS_MISC_UPPER = `(?:${RS_UPPER}|${RS_MISC})`;
63
+ const RS_OPT_CONTR_LOWER = `(?:${RS_APOS}(?:d|ll|m|re|s|t|ve))?`;
64
+ const RS_OPT_CONTR_UPPER = `(?:${RS_APOS}(?:D|LL|M|RE|S|T|VE))?`;
65
+ const RE_OPT_MOD = `${RS_MODIFIER}?`;
66
+ const RS_OPT_VAR = `[${RS_VAR_RANGE}]?`;
67
+ const RS_OPT_JOIN = `(?:${RS_ZWJ}(?:${[RS_NON_ASTRAL, RS_REGIONAL, RS_SURR_PAIR].join("|")})${RS_OPT_VAR}${RE_OPT_MOD})*`;
68
+ const RS_ORD_LOWER = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])";
69
+ const RS_ORD_UPPER = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])";
70
+ const RS_SEQ = RS_OPT_VAR + RE_OPT_MOD + RS_OPT_JOIN;
71
+ const RS_EMOJI = `(?:${[RS_DINGBAT, RS_REGIONAL, RS_SURR_PAIR].join("|")})${RS_SEQ}`;
72
+ const RS_NON_ASTRAL_COMBO = `${RS_NON_ASTRAL}${RS_COMBO}?`;
73
+ const RS_SYMBOL = `(?:${[RS_NON_ASTRAL_COMBO, RS_COMBO, RS_REGIONAL, RS_SURR_PAIR, RS_ASTRAL].join("|")})`;
74
+ /** Used to detect strings with zero-width joiners or code points from the astral planes. */
75
+ const RE_HAS_UNICODE = new RegExp(`[${RS_ZWJ}${RS_ASTRAL_RANGE}${RS_COMBO_RANGE}${RS_VAR_RANGE}]`);
76
+ /** Used to match string symbols, that is, what a user would perceive as one character. */
77
+ const RE_UNICODE = new RegExp(`${RS_FITZ}(?=${RS_FITZ})|${RS_SYMBOL}${RS_SEQ}`, "g");
78
+ /** Used to match complex or compound words. */
79
+ const RE_UNICODE_WORD = new RegExp([
80
+ `${RS_UPPER}?${RS_LOWER}+${RS_OPT_CONTR_LOWER}(?=${[RS_BREAK, RS_UPPER, "$"].join("|")})`,
81
+ `${RS_MISC_UPPER}+${RS_OPT_CONTR_UPPER}(?=${[RS_BREAK, RS_UPPER + RS_MISC_LOWER, "$"].join("|")})`,
82
+ `${RS_UPPER}?${RS_MISC_LOWER}+${RS_OPT_CONTR_LOWER}`,
83
+ `${RS_UPPER}+${RS_OPT_CONTR_UPPER}`,
84
+ RS_ORD_UPPER,
85
+ RS_ORD_LOWER,
86
+ RS_DIGITS,
87
+ RS_EMOJI,
88
+ ].join("|"), "g");
89
+ /**
90
+ * Checks if `string` contains Unicode symbols: zero-width joiners, combining marks, variation selectors or
91
+ * code points from the astral planes.
92
+ *
93
+ * @param string - The string to inspect.
94
+ * @returns Returns `true` if a symbol is found, else `false`.
95
+ * @internal
96
+ */
97
+ export function _hasUnicode(string) {
98
+ return RE_HAS_UNICODE.test(string);
99
+ }
100
+ /**
101
+ * Splits a Unicode `string` into an array of its symbols, keeping surrogate pairs, combining marks and
102
+ * joined emoji sequences together.
103
+ *
104
+ * @param string - The string to convert.
105
+ * @returns Returns the converted array.
106
+ * @internal
107
+ */
108
+ export function _unicodeToArray(string) {
109
+ return string.match(RE_UNICODE) ?? [];
110
+ }
111
+ /**
112
+ * Splits a Unicode `string` into an array of its words.
113
+ *
114
+ * @param string - The string to inspect.
115
+ * @returns Returns the words of `string`.
116
+ * @internal
117
+ */
118
+ export function _unicodeWords(string) {
119
+ return string.match(RE_UNICODE_WORD) ?? [];
120
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Converts `string` to camel case: the string is deburred, split into words (on separators, case changes,
3
+ * digits and Unicode boundaries, as lodash does), each word is lower-cased and every word but the first is
4
+ * capitalised.
5
+ *
6
+ * @param string - The string to convert.
7
+ * @returns Returns the camel cased string.
8
+ * @internal
9
+ */
10
+ export declare function _camelCase(string?: string): string;
11
+ //# sourceMappingURL=camelCase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camelCase.d.ts","sourceRoot":"","sources":["../../src/_/camelCase.ts"],"names":[],"mappings":"AAwCA;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAMlD"}
@@ -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 { _hasUnicode, _unicodeToArray } from "./_unicode.js";
33
+ import { _deburr } from "./deburr.js";
34
+ import { _words } from "./words.js";
35
+ /** Used to match apostrophes. */
36
+ const RE_APOS = /['’]/g;
37
+ /**
38
+ * Converts `string` to camel case: the string is deburred, split into words (on separators, case changes,
39
+ * digits and Unicode boundaries, as lodash does), each word is lower-cased and every word but the first is
40
+ * capitalised.
41
+ *
42
+ * @param string - The string to convert.
43
+ * @returns Returns the camel cased string.
44
+ * @internal
45
+ */
46
+ export function _camelCase(string) {
47
+ return _words(_deburr(string).replace(RE_APOS, "")).reduce((result, word, index) => {
48
+ const lower = word.toLowerCase();
49
+ return result + (index ? _upperFirst(lower) : lower);
50
+ }, "");
51
+ }
52
+ /** Upper-cases the first symbol of `string`, keeping a surrogate pair or joined emoji sequence whole. */
53
+ function _upperFirst(string) {
54
+ const first = (_hasUnicode(string) ? _unicodeToArray(string)[0] : string.charAt(0)) ?? "";
55
+ return first.toUpperCase() + string.slice(first.length);
56
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Deburrs `string` by converting Latin-1 Supplement and Latin Extended-A letters to basic Latin letters and
3
+ * removing combining diacritical marks.
4
+ *
5
+ * @param string - The string to deburr.
6
+ * @returns Returns the deburred string.
7
+ * @internal
8
+ */
9
+ export declare function _deburr(string?: string): string;
10
+ //# sourceMappingURL=deburr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deburr.d.ts","sourceRoot":"","sources":["../../src/_/deburr.ts"],"names":[],"mappings":"AA2OA;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAI/C"}
@@ -0,0 +1,242 @@
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
+ /** Used to match Latin Unicode letters (excluding mathematical operators). */
33
+ const RE_LATIN = /[\xc0-\xd6\xd8-\xf6\xf8-\xffĀ-ſ]/g;
34
+ /** Used to match combining diacritical marks and combining diacritical marks for symbols. */
35
+ const RE_COMBO_MARK = /[̀-ͯ︠-︯⃐-⃿]/g;
36
+ /** Used to map Latin Unicode letters to basic Latin letters. */
37
+ const DEBURRED_LETTERS = {
38
+ // Latin-1 Supplement block.
39
+ "\xc0": "A",
40
+ "\xc1": "A",
41
+ "\xc2": "A",
42
+ "\xc3": "A",
43
+ "\xc4": "A",
44
+ "\xc5": "A",
45
+ "\xe0": "a",
46
+ "\xe1": "a",
47
+ "\xe2": "a",
48
+ "\xe3": "a",
49
+ "\xe4": "a",
50
+ "\xe5": "a",
51
+ "\xc7": "C",
52
+ "\xe7": "c",
53
+ "\xd0": "D",
54
+ "\xf0": "d",
55
+ "\xc8": "E",
56
+ "\xc9": "E",
57
+ "\xca": "E",
58
+ "\xcb": "E",
59
+ "\xe8": "e",
60
+ "\xe9": "e",
61
+ "\xea": "e",
62
+ "\xeb": "e",
63
+ "\xcc": "I",
64
+ "\xcd": "I",
65
+ "\xce": "I",
66
+ "\xcf": "I",
67
+ "\xec": "i",
68
+ "\xed": "i",
69
+ "\xee": "i",
70
+ "\xef": "i",
71
+ "\xd1": "N",
72
+ "\xf1": "n",
73
+ "\xd2": "O",
74
+ "\xd3": "O",
75
+ "\xd4": "O",
76
+ "\xd5": "O",
77
+ "\xd6": "O",
78
+ "\xd8": "O",
79
+ "\xf2": "o",
80
+ "\xf3": "o",
81
+ "\xf4": "o",
82
+ "\xf5": "o",
83
+ "\xf6": "o",
84
+ "\xf8": "o",
85
+ "\xd9": "U",
86
+ "\xda": "U",
87
+ "\xdb": "U",
88
+ "\xdc": "U",
89
+ "\xf9": "u",
90
+ "\xfa": "u",
91
+ "\xfb": "u",
92
+ "\xfc": "u",
93
+ "\xdd": "Y",
94
+ "\xfd": "y",
95
+ "\xff": "y",
96
+ "\xc6": "Ae",
97
+ "\xe6": "ae",
98
+ "\xde": "Th",
99
+ "\xfe": "th",
100
+ "\xdf": "ss",
101
+ // Latin Extended-A block.
102
+ Ā: "A",
103
+ Ă: "A",
104
+ Ą: "A",
105
+ ā: "a",
106
+ ă: "a",
107
+ ą: "a",
108
+ Ć: "C",
109
+ Ĉ: "C",
110
+ Ċ: "C",
111
+ Č: "C",
112
+ ć: "c",
113
+ ĉ: "c",
114
+ ċ: "c",
115
+ č: "c",
116
+ Ď: "D",
117
+ Đ: "D",
118
+ ď: "d",
119
+ đ: "d",
120
+ Ē: "E",
121
+ Ĕ: "E",
122
+ Ė: "E",
123
+ Ę: "E",
124
+ Ě: "E",
125
+ ē: "e",
126
+ ĕ: "e",
127
+ ė: "e",
128
+ ę: "e",
129
+ ě: "e",
130
+ Ĝ: "G",
131
+ Ğ: "G",
132
+ Ġ: "G",
133
+ Ģ: "G",
134
+ ĝ: "g",
135
+ ğ: "g",
136
+ ġ: "g",
137
+ ģ: "g",
138
+ Ĥ: "H",
139
+ Ħ: "H",
140
+ ĥ: "h",
141
+ ħ: "h",
142
+ Ĩ: "I",
143
+ Ī: "I",
144
+ Ĭ: "I",
145
+ Į: "I",
146
+ İ: "I",
147
+ ĩ: "i",
148
+ ī: "i",
149
+ ĭ: "i",
150
+ į: "i",
151
+ ı: "i",
152
+ Ĵ: "J",
153
+ ĵ: "j",
154
+ Ķ: "K",
155
+ ķ: "k",
156
+ ĸ: "k",
157
+ Ĺ: "L",
158
+ Ļ: "L",
159
+ Ľ: "L",
160
+ Ŀ: "L",
161
+ Ł: "L",
162
+ ĺ: "l",
163
+ ļ: "l",
164
+ ľ: "l",
165
+ ŀ: "l",
166
+ ł: "l",
167
+ Ń: "N",
168
+ Ņ: "N",
169
+ Ň: "N",
170
+ Ŋ: "N",
171
+ ń: "n",
172
+ ņ: "n",
173
+ ň: "n",
174
+ ŋ: "n",
175
+ Ō: "O",
176
+ Ŏ: "O",
177
+ Ő: "O",
178
+ ō: "o",
179
+ ŏ: "o",
180
+ ő: "o",
181
+ Ŕ: "R",
182
+ Ŗ: "R",
183
+ Ř: "R",
184
+ ŕ: "r",
185
+ ŗ: "r",
186
+ ř: "r",
187
+ Ś: "S",
188
+ Ŝ: "S",
189
+ Ş: "S",
190
+ Š: "S",
191
+ ś: "s",
192
+ ŝ: "s",
193
+ ş: "s",
194
+ š: "s",
195
+ Ţ: "T",
196
+ Ť: "T",
197
+ Ŧ: "T",
198
+ ţ: "t",
199
+ ť: "t",
200
+ ŧ: "t",
201
+ Ũ: "U",
202
+ Ū: "U",
203
+ Ŭ: "U",
204
+ Ů: "U",
205
+ Ű: "U",
206
+ Ų: "U",
207
+ ũ: "u",
208
+ ū: "u",
209
+ ŭ: "u",
210
+ ů: "u",
211
+ ű: "u",
212
+ ų: "u",
213
+ Ŵ: "W",
214
+ ŵ: "w",
215
+ Ŷ: "Y",
216
+ ŷ: "y",
217
+ Ÿ: "Y",
218
+ Ź: "Z",
219
+ Ż: "Z",
220
+ Ž: "Z",
221
+ ź: "z",
222
+ ż: "z",
223
+ ž: "z",
224
+ IJ: "IJ",
225
+ ij: "ij",
226
+ Œ: "Oe",
227
+ œ: "oe",
228
+ ʼn: "'n",
229
+ ſ: "s",
230
+ };
231
+ /**
232
+ * Deburrs `string` by converting Latin-1 Supplement and Latin Extended-A letters to basic Latin letters and
233
+ * removing combining diacritical marks.
234
+ *
235
+ * @param string - The string to deburr.
236
+ * @returns Returns the deburred string.
237
+ * @internal
238
+ */
239
+ export function _deburr(string) {
240
+ const text = string == null ? "" : String(string);
241
+ return text.replace(RE_LATIN, (letter) => DEBURRED_LETTERS[letter] ?? letter).replace(RE_COMBO_MARK, "");
242
+ }
@@ -0,0 +1,61 @@
1
+ /*!
2
+ * Portions of this file are derived from Lodash.
3
+ * https://github.com/lodash/lodash
4
+ *
5
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
6
+ *
7
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
8
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
9
+ *
10
+ * Modifications Copyright (c) 2026 GoodData Corporation
11
+ *
12
+ * Permission is hereby granted, free of charge, to any person obtaining
13
+ * a copy of this software and associated documentation files (the
14
+ * "Software"), to deal in the Software without restriction, including
15
+ * without limitation the rights to use, copy, modify, merge, publish,
16
+ * distribute, sublicense, and/or sell copies of the Software, and to
17
+ * permit persons to whom the Software is furnished to do so, subject to
18
+ * the following conditions:
19
+ *
20
+ * The above copyright notice and this permission notice shall be
21
+ * included in all copies or substantial portions of the Software.
22
+ *
23
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
+ */
31
+ /**
32
+ * Checks if `value` is classified as an `Array` object.
33
+ *
34
+ * @static
35
+ * @memberOf _
36
+ * @since 0.1.0
37
+ * @category Lang
38
+ * @param {*} value The value to check.
39
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
40
+ * @example
41
+ *
42
+ * _.isArray([1, 2, 3]);
43
+ * // => true
44
+ *
45
+ * _.isArray(document.body.children);
46
+ * // => false
47
+ *
48
+ * _.isArray('abc');
49
+ * // => false
50
+ *
51
+ * _.isArray(_.noop);
52
+ * // => false
53
+ */
54
+ /**
55
+ * Checks if value is classified as an Array object.
56
+ * @param value The value to check.
57
+ *
58
+ * @return Returns true if value is correctly classified, else false.
59
+ */
60
+ export declare const _isArray: (value?: any) => value is any[];
61
+ //# sourceMappingURL=isArray.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isArray.d.ts","sourceRoot":"","sources":["../../src/_/isArray.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,KAAK,IAAI,GAAG,EAAkB,CAAC"}
@@ -0,0 +1,62 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /* eslint-disable */
3
+ /*!
4
+ * Portions of this file are derived from Lodash.
5
+ * https://github.com/lodash/lodash
6
+ *
7
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
8
+ *
9
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
10
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
11
+ *
12
+ * Modifications Copyright (c) 2026 GoodData Corporation
13
+ *
14
+ * Permission is hereby granted, free of charge, to any person obtaining
15
+ * a copy of this software and associated documentation files (the
16
+ * "Software"), to deal in the Software without restriction, including
17
+ * without limitation the rights to use, copy, modify, merge, publish,
18
+ * distribute, sublicense, and/or sell copies of the Software, and to
19
+ * permit persons to whom the Software is furnished to do so, subject to
20
+ * the following conditions:
21
+ *
22
+ * The above copyright notice and this permission notice shall be
23
+ * included in all copies or substantial portions of the Software.
24
+ *
25
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
26
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
27
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32
+ */
33
+ /**
34
+ * Checks if `value` is classified as an `Array` object.
35
+ *
36
+ * @static
37
+ * @memberOf _
38
+ * @since 0.1.0
39
+ * @category Lang
40
+ * @param {*} value The value to check.
41
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
42
+ * @example
43
+ *
44
+ * _.isArray([1, 2, 3]);
45
+ * // => true
46
+ *
47
+ * _.isArray(document.body.children);
48
+ * // => false
49
+ *
50
+ * _.isArray('abc');
51
+ * // => false
52
+ *
53
+ * _.isArray(_.noop);
54
+ * // => false
55
+ */
56
+ /**
57
+ * Checks if value is classified as an Array object.
58
+ * @param value The value to check.
59
+ *
60
+ * @return Returns true if value is correctly classified, else false.
61
+ */
62
+ export const _isArray = Array.isArray;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Creates an array of the own and inherited enumerable string keys of `object`. Arrays, arguments objects
3
+ * and typed arrays list every index first, holes included, followed by their other keys.
4
+ *
5
+ * @param object - The object to query.
6
+ * @returns Returns the array of property names.
7
+ * @internal
8
+ */
9
+ export declare function _keysIn(object: unknown): string[];
10
+ //# sourceMappingURL=keysIn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keysIn.d.ts","sourceRoot":"","sources":["../../src/_/keysIn.ts"],"names":[],"mappings":"AAqCA;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,EAAE,CAajD"}
@@ -0,0 +1,54 @@
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 { _isIndex } from "./_isIndex.js";
33
+ import { _isArguments } from "./isArguments.js";
34
+ import { _isTypedArray } from "./isTypedArray.js";
35
+ /**
36
+ * Creates an array of the own and inherited enumerable string keys of `object`. Arrays, arguments objects
37
+ * and typed arrays list every index first, holes included, followed by their other keys.
38
+ *
39
+ * @param object - The object to query.
40
+ * @returns Returns the array of property names.
41
+ * @internal
42
+ */
43
+ export function _keysIn(object) {
44
+ const value = Object(object);
45
+ const indexed = Array.isArray(value) || _isArguments(value) || _isTypedArray(value);
46
+ const length = indexed ? value.length : 0;
47
+ const result = Array.from({ length }, (_, index) => String(index));
48
+ for (const key in value) {
49
+ if (!(indexed && (key === "length" || _isIndex(key, length)))) {
50
+ result.push(key);
51
+ }
52
+ }
53
+ return result;
54
+ }