@gooddata/util 11.68.0-alpha.5 → 11.68.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/NOTICE +177 -0
- package/esm/_/_assignValue.d.ts.map +1 -1
- package/esm/_/_assignValue.js +2 -6
- package/esm/_/_baseAssignValue.d.ts +41 -0
- package/esm/_/_baseAssignValue.d.ts.map +1 -0
- package/esm/_/_baseAssignValue.js +48 -0
- package/esm/_/_baseClone.d.ts.map +1 -1
- package/esm/_/_baseClone.js +3 -30
- package/esm/_/_baseMerge.d.ts +15 -0
- package/esm/_/_baseMerge.d.ts.map +1 -0
- package/esm/_/_baseMerge.js +137 -0
- package/esm/_/_baseOrderBy.d.ts +11 -0
- package/esm/_/_baseOrderBy.d.ts.map +1 -0
- package/esm/_/_baseOrderBy.js +70 -0
- package/esm/_/_basePickBy.d.ts +14 -0
- package/esm/_/_basePickBy.d.ts.map +1 -0
- package/esm/_/_basePickBy.js +57 -0
- package/esm/_/_cloneArrayBuffer.d.ts +39 -0
- package/esm/_/_cloneArrayBuffer.d.ts.map +1 -0
- package/esm/_/_cloneArrayBuffer.js +45 -0
- package/esm/_/_cloneTypedArray.d.ts +10 -0
- package/esm/_/_cloneTypedArray.d.ts.map +1 -0
- package/esm/_/_cloneTypedArray.js +49 -0
- package/esm/_/_compareAscending.d.ts +12 -0
- package/esm/_/_compareAscending.d.ts.map +1 -0
- package/esm/_/_compareAscending.js +78 -0
- package/esm/_/_createCompounder.d.ts +11 -0
- package/esm/_/_createCompounder.d.ts.map +1 -0
- package/esm/_/_createCompounder.js +47 -0
- package/esm/_/_initCloneObject.d.ts +10 -0
- package/esm/_/_initCloneObject.d.ts.map +1 -0
- package/esm/_/_initCloneObject.js +48 -0
- package/esm/_/_unicode.d.ts +27 -0
- package/esm/_/_unicode.d.ts.map +1 -0
- package/esm/_/_unicode.js +120 -0
- package/esm/_/camelCase.d.ts +10 -0
- package/esm/_/camelCase.d.ts.map +1 -0
- package/esm/_/camelCase.js +45 -0
- package/esm/_/capitalize.d.ts +9 -0
- package/esm/_/capitalize.d.ts.map +1 -0
- package/esm/_/capitalize.js +43 -0
- package/esm/_/deburr.d.ts +10 -0
- package/esm/_/deburr.d.ts.map +1 -0
- package/esm/_/deburr.js +243 -0
- package/esm/_/difference.d.ts +14 -0
- package/esm/_/difference.d.ts.map +1 -0
- package/esm/_/difference.js +67 -0
- package/esm/_/escape.d.ts +13 -0
- package/esm/_/escape.d.ts.map +1 -0
- package/esm/_/escape.js +56 -0
- package/esm/_/has.d.ts +23 -0
- package/esm/_/has.d.ts.map +1 -0
- package/esm/_/has.js +35 -0
- package/esm/_/isArray.d.ts +61 -0
- package/esm/_/isArray.d.ts.map +1 -0
- package/esm/_/isArray.js +62 -0
- package/esm/_/isPlainObject.d.ts +1 -1
- package/esm/_/isPlainObject.d.ts.map +1 -1
- package/esm/_/kebabCase.d.ts +9 -0
- package/esm/_/kebabCase.d.ts.map +1 -0
- package/esm/_/kebabCase.js +40 -0
- package/esm/_/keyBy.d.ts +17 -0
- package/esm/_/keyBy.d.ts.map +1 -0
- package/esm/_/keyBy.js +43 -0
- package/esm/_/keysIn.d.ts +10 -0
- package/esm/_/keysIn.d.ts.map +1 -0
- package/esm/_/keysIn.js +54 -0
- package/esm/_/memoize.d.ts +89 -0
- package/esm/_/memoize.d.ts.map +1 -0
- package/esm/_/memoize.js +36 -0
- package/esm/_/merge.d.ts +32 -0
- package/esm/_/merge.d.ts.map +1 -0
- package/esm/_/merge.js +45 -0
- package/esm/_/omit.d.ts +1 -5
- package/esm/_/omit.d.ts.map +1 -1
- package/esm/_/omitBy.d.ts +21 -0
- package/esm/_/omitBy.d.ts.map +1 -0
- package/esm/_/omitBy.js +37 -0
- package/esm/_/partial.d.ts +87 -0
- package/esm/_/partial.d.ts.map +1 -0
- package/esm/_/partial.js +30 -0
- package/esm/_/partition.d.ts +23 -0
- package/esm/_/partition.d.ts.map +1 -0
- package/esm/_/partition.js +42 -0
- package/esm/_/pick.d.ts +18 -0
- package/esm/_/pick.d.ts.map +1 -0
- package/esm/_/pick.js +48 -0
- package/esm/_/pickBy.d.ts +21 -0
- package/esm/_/pickBy.d.ts.map +1 -0
- package/esm/_/pickBy.js +36 -0
- package/esm/_/sortBy.d.ts +17 -0
- package/esm/_/sortBy.d.ts.map +1 -0
- package/esm/_/sortBy.js +46 -0
- package/esm/_/throttle.d.ts +76 -0
- package/esm/_/throttle.d.ts.map +1 -0
- package/esm/_/throttle.js +45 -0
- package/esm/_/toString.d.ts +11 -0
- package/esm/_/toString.d.ts.map +1 -0
- package/esm/_/toString.js +57 -0
- package/esm/_/types.d.ts +64 -0
- package/esm/_/types.d.ts.map +1 -1
- package/esm/_/union.d.ts +11 -0
- package/esm/_/union.d.ts.map +1 -0
- package/esm/_/union.js +55 -0
- package/esm/_/uniq.d.ts +12 -0
- package/esm/_/uniq.d.ts.map +1 -0
- package/esm/_/uniq.js +47 -0
- package/esm/_/uniqWith.d.ts +14 -0
- package/esm/_/uniqWith.d.ts.map +1 -0
- package/esm/_/uniqWith.js +59 -0
- package/esm/_/upperFirst.d.ts +10 -0
- package/esm/_/upperFirst.d.ts.map +1 -0
- package/esm/_/upperFirst.js +46 -0
- package/esm/_/words.d.ts +9 -0
- package/esm/_/words.d.ts.map +1 -0
- package/esm/_/words.js +50 -0
- package/esm/_/zip.d.ts +28 -0
- package/esm/_/zip.d.ts.map +1 -0
- package/esm/_/zip.js +38 -0
- package/esm/index.d.ts +23 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +21 -0
- package/esm/util.d.ts +549 -0
- package/package.json +5 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capitalize.d.ts","sourceRoot":"","sources":["../../src/_/capitalize.ts"],"names":[],"mappings":"AAoCA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEnD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { _upperFirst } from "./upperFirst.js";
|
|
34
|
+
/**
|
|
35
|
+
* Converts the first character of `string` to upper case and the remaining to lower case.
|
|
36
|
+
*
|
|
37
|
+
* @param string - The string to capitalize.
|
|
38
|
+
* @returns Returns the capitalized string.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
export function _capitalize(string) {
|
|
42
|
+
return _upperFirst(_toString(string).toLowerCase());
|
|
43
|
+
}
|
|
@@ -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":"AA6OA;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAI/C"}
|
package/esm/_/deburr.js
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
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 Latin Unicode letters (excluding mathematical operators). */
|
|
34
|
+
const RE_LATIN = /[\xc0-\xd6\xd8-\xf6\xf8-\xffĀ-ſ]/g;
|
|
35
|
+
/** Used to match combining diacritical marks and combining diacritical marks for symbols. */
|
|
36
|
+
const RE_COMBO_MARK = /[̀-ͯ︠-︯⃐-]/g;
|
|
37
|
+
/** Used to map Latin Unicode letters to basic Latin letters. */
|
|
38
|
+
const DEBURRED_LETTERS = {
|
|
39
|
+
// Latin-1 Supplement block.
|
|
40
|
+
"\xc0": "A",
|
|
41
|
+
"\xc1": "A",
|
|
42
|
+
"\xc2": "A",
|
|
43
|
+
"\xc3": "A",
|
|
44
|
+
"\xc4": "A",
|
|
45
|
+
"\xc5": "A",
|
|
46
|
+
"\xe0": "a",
|
|
47
|
+
"\xe1": "a",
|
|
48
|
+
"\xe2": "a",
|
|
49
|
+
"\xe3": "a",
|
|
50
|
+
"\xe4": "a",
|
|
51
|
+
"\xe5": "a",
|
|
52
|
+
"\xc7": "C",
|
|
53
|
+
"\xe7": "c",
|
|
54
|
+
"\xd0": "D",
|
|
55
|
+
"\xf0": "d",
|
|
56
|
+
"\xc8": "E",
|
|
57
|
+
"\xc9": "E",
|
|
58
|
+
"\xca": "E",
|
|
59
|
+
"\xcb": "E",
|
|
60
|
+
"\xe8": "e",
|
|
61
|
+
"\xe9": "e",
|
|
62
|
+
"\xea": "e",
|
|
63
|
+
"\xeb": "e",
|
|
64
|
+
"\xcc": "I",
|
|
65
|
+
"\xcd": "I",
|
|
66
|
+
"\xce": "I",
|
|
67
|
+
"\xcf": "I",
|
|
68
|
+
"\xec": "i",
|
|
69
|
+
"\xed": "i",
|
|
70
|
+
"\xee": "i",
|
|
71
|
+
"\xef": "i",
|
|
72
|
+
"\xd1": "N",
|
|
73
|
+
"\xf1": "n",
|
|
74
|
+
"\xd2": "O",
|
|
75
|
+
"\xd3": "O",
|
|
76
|
+
"\xd4": "O",
|
|
77
|
+
"\xd5": "O",
|
|
78
|
+
"\xd6": "O",
|
|
79
|
+
"\xd8": "O",
|
|
80
|
+
"\xf2": "o",
|
|
81
|
+
"\xf3": "o",
|
|
82
|
+
"\xf4": "o",
|
|
83
|
+
"\xf5": "o",
|
|
84
|
+
"\xf6": "o",
|
|
85
|
+
"\xf8": "o",
|
|
86
|
+
"\xd9": "U",
|
|
87
|
+
"\xda": "U",
|
|
88
|
+
"\xdb": "U",
|
|
89
|
+
"\xdc": "U",
|
|
90
|
+
"\xf9": "u",
|
|
91
|
+
"\xfa": "u",
|
|
92
|
+
"\xfb": "u",
|
|
93
|
+
"\xfc": "u",
|
|
94
|
+
"\xdd": "Y",
|
|
95
|
+
"\xfd": "y",
|
|
96
|
+
"\xff": "y",
|
|
97
|
+
"\xc6": "Ae",
|
|
98
|
+
"\xe6": "ae",
|
|
99
|
+
"\xde": "Th",
|
|
100
|
+
"\xfe": "th",
|
|
101
|
+
"\xdf": "ss",
|
|
102
|
+
// Latin Extended-A block.
|
|
103
|
+
Ā: "A",
|
|
104
|
+
Ă: "A",
|
|
105
|
+
Ą: "A",
|
|
106
|
+
ā: "a",
|
|
107
|
+
ă: "a",
|
|
108
|
+
ą: "a",
|
|
109
|
+
Ć: "C",
|
|
110
|
+
Ĉ: "C",
|
|
111
|
+
Ċ: "C",
|
|
112
|
+
Č: "C",
|
|
113
|
+
ć: "c",
|
|
114
|
+
ĉ: "c",
|
|
115
|
+
ċ: "c",
|
|
116
|
+
č: "c",
|
|
117
|
+
Ď: "D",
|
|
118
|
+
Đ: "D",
|
|
119
|
+
ď: "d",
|
|
120
|
+
đ: "d",
|
|
121
|
+
Ē: "E",
|
|
122
|
+
Ĕ: "E",
|
|
123
|
+
Ė: "E",
|
|
124
|
+
Ę: "E",
|
|
125
|
+
Ě: "E",
|
|
126
|
+
ē: "e",
|
|
127
|
+
ĕ: "e",
|
|
128
|
+
ė: "e",
|
|
129
|
+
ę: "e",
|
|
130
|
+
ě: "e",
|
|
131
|
+
Ĝ: "G",
|
|
132
|
+
Ğ: "G",
|
|
133
|
+
Ġ: "G",
|
|
134
|
+
Ģ: "G",
|
|
135
|
+
ĝ: "g",
|
|
136
|
+
ğ: "g",
|
|
137
|
+
ġ: "g",
|
|
138
|
+
ģ: "g",
|
|
139
|
+
Ĥ: "H",
|
|
140
|
+
Ħ: "H",
|
|
141
|
+
ĥ: "h",
|
|
142
|
+
ħ: "h",
|
|
143
|
+
Ĩ: "I",
|
|
144
|
+
Ī: "I",
|
|
145
|
+
Ĭ: "I",
|
|
146
|
+
Į: "I",
|
|
147
|
+
İ: "I",
|
|
148
|
+
ĩ: "i",
|
|
149
|
+
ī: "i",
|
|
150
|
+
ĭ: "i",
|
|
151
|
+
į: "i",
|
|
152
|
+
ı: "i",
|
|
153
|
+
Ĵ: "J",
|
|
154
|
+
ĵ: "j",
|
|
155
|
+
Ķ: "K",
|
|
156
|
+
ķ: "k",
|
|
157
|
+
ĸ: "k",
|
|
158
|
+
Ĺ: "L",
|
|
159
|
+
Ļ: "L",
|
|
160
|
+
Ľ: "L",
|
|
161
|
+
Ŀ: "L",
|
|
162
|
+
Ł: "L",
|
|
163
|
+
ĺ: "l",
|
|
164
|
+
ļ: "l",
|
|
165
|
+
ľ: "l",
|
|
166
|
+
ŀ: "l",
|
|
167
|
+
ł: "l",
|
|
168
|
+
Ń: "N",
|
|
169
|
+
Ņ: "N",
|
|
170
|
+
Ň: "N",
|
|
171
|
+
Ŋ: "N",
|
|
172
|
+
ń: "n",
|
|
173
|
+
ņ: "n",
|
|
174
|
+
ň: "n",
|
|
175
|
+
ŋ: "n",
|
|
176
|
+
Ō: "O",
|
|
177
|
+
Ŏ: "O",
|
|
178
|
+
Ő: "O",
|
|
179
|
+
ō: "o",
|
|
180
|
+
ŏ: "o",
|
|
181
|
+
ő: "o",
|
|
182
|
+
Ŕ: "R",
|
|
183
|
+
Ŗ: "R",
|
|
184
|
+
Ř: "R",
|
|
185
|
+
ŕ: "r",
|
|
186
|
+
ŗ: "r",
|
|
187
|
+
ř: "r",
|
|
188
|
+
Ś: "S",
|
|
189
|
+
Ŝ: "S",
|
|
190
|
+
Ş: "S",
|
|
191
|
+
Š: "S",
|
|
192
|
+
ś: "s",
|
|
193
|
+
ŝ: "s",
|
|
194
|
+
ş: "s",
|
|
195
|
+
š: "s",
|
|
196
|
+
Ţ: "T",
|
|
197
|
+
Ť: "T",
|
|
198
|
+
Ŧ: "T",
|
|
199
|
+
ţ: "t",
|
|
200
|
+
ť: "t",
|
|
201
|
+
ŧ: "t",
|
|
202
|
+
Ũ: "U",
|
|
203
|
+
Ū: "U",
|
|
204
|
+
Ŭ: "U",
|
|
205
|
+
Ů: "U",
|
|
206
|
+
Ű: "U",
|
|
207
|
+
Ų: "U",
|
|
208
|
+
ũ: "u",
|
|
209
|
+
ū: "u",
|
|
210
|
+
ŭ: "u",
|
|
211
|
+
ů: "u",
|
|
212
|
+
ű: "u",
|
|
213
|
+
ų: "u",
|
|
214
|
+
Ŵ: "W",
|
|
215
|
+
ŵ: "w",
|
|
216
|
+
Ŷ: "Y",
|
|
217
|
+
ŷ: "y",
|
|
218
|
+
Ÿ: "Y",
|
|
219
|
+
Ź: "Z",
|
|
220
|
+
Ż: "Z",
|
|
221
|
+
Ž: "Z",
|
|
222
|
+
ź: "z",
|
|
223
|
+
ż: "z",
|
|
224
|
+
ž: "z",
|
|
225
|
+
IJ: "IJ",
|
|
226
|
+
ij: "ij",
|
|
227
|
+
Œ: "Oe",
|
|
228
|
+
œ: "oe",
|
|
229
|
+
ʼn: "'n",
|
|
230
|
+
ſ: "s",
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Deburrs `string` by converting Latin-1 Supplement and Latin Extended-A letters to basic Latin letters and
|
|
234
|
+
* removing combining diacritical marks.
|
|
235
|
+
*
|
|
236
|
+
* @param string - The string to deburr.
|
|
237
|
+
* @returns Returns the deburred string.
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
export function _deburr(string) {
|
|
241
|
+
const text = _toString(string);
|
|
242
|
+
return text.replace(RE_LATIN, (letter) => DEBURRED_LETTERS[letter] ?? letter).replace(RE_COMBO_MARK, "");
|
|
243
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { _List } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Creates an array of `array` values not included in the other given arrays using SameValueZero for equality
|
|
4
|
+
* comparisons. The order and references of result values are determined by the first array. Only array-like
|
|
5
|
+
* objects are inspected: any other first argument yields an empty array and any other exclusion argument is
|
|
6
|
+
* skipped.
|
|
7
|
+
*
|
|
8
|
+
* @param array - The array to inspect.
|
|
9
|
+
* @param values - The arrays of values to exclude.
|
|
10
|
+
* @returns Returns the new array of filtered values.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare function _difference<T>(array: _List<T> | null | undefined, ...values: _List<T>[]): T[];
|
|
14
|
+
//# sourceMappingURL=difference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"difference.d.ts","sourceRoot":"","sources":["../../src/_/difference.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CA6B7F"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
/**
|
|
35
|
+
* Creates an array of `array` values not included in the other given arrays using SameValueZero for equality
|
|
36
|
+
* comparisons. The order and references of result values are determined by the first array. Only array-like
|
|
37
|
+
* objects are inspected: any other first argument yields an empty array and any other exclusion argument is
|
|
38
|
+
* skipped.
|
|
39
|
+
*
|
|
40
|
+
* @param array - The array to inspect.
|
|
41
|
+
* @param values - The arrays of values to exclude.
|
|
42
|
+
* @returns Returns the new array of filtered values.
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export function _difference(array, ...values) {
|
|
46
|
+
if (!_isObjectLike(array) || !_isArrayLike(array)) {
|
|
47
|
+
return [];
|
|
48
|
+
}
|
|
49
|
+
const excluded = new Set();
|
|
50
|
+
for (const list of values) {
|
|
51
|
+
if (!_isObjectLike(list) || !_isArrayLike(list)) {
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
for (let index = 0; index < list.length; index++) {
|
|
55
|
+
excluded.add(list[index]);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const result = [];
|
|
59
|
+
for (let index = 0; index < array.length; index++) {
|
|
60
|
+
const value = array[index];
|
|
61
|
+
if (!excluded.has(value)) {
|
|
62
|
+
// lodash normalises `-0` to `+0` in the result
|
|
63
|
+
result.push(value === 0 ? 0 : value);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return result;
|
|
67
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts the characters `&`, `<`, `>`, `"` and `'` in `string` to their corresponding HTML entities.
|
|
3
|
+
*
|
|
4
|
+
* **Note:** No other characters are escaped. Though `>` is escaped for symmetry, characters like `>` and `/`
|
|
5
|
+
* don't need escaping in HTML and have no special meaning unless they're part of a tag or unquoted attribute
|
|
6
|
+
* value. When working with HTML you should always quote attribute values to reduce XSS vectors.
|
|
7
|
+
*
|
|
8
|
+
* @param string - The string to escape.
|
|
9
|
+
* @returns Returns the escaped string.
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare function _escape(string?: string): string;
|
|
13
|
+
//# sourceMappingURL=escape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../../src/_/escape.ts"],"names":[],"mappings":"AA+CA;;;;;;;;;;GAUG;AACH,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|
package/esm/_/escape.js
ADDED
|
@@ -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 HTML characters. */
|
|
34
|
+
const RE_UNESCAPED_HTML = /[&<>"']/g;
|
|
35
|
+
/** Used to map characters to HTML entities. */
|
|
36
|
+
const HTML_ESCAPES = {
|
|
37
|
+
"&": "&",
|
|
38
|
+
"<": "<",
|
|
39
|
+
">": ">",
|
|
40
|
+
'"': """,
|
|
41
|
+
"'": "'",
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Converts the characters `&`, `<`, `>`, `"` and `'` in `string` to their corresponding HTML entities.
|
|
45
|
+
*
|
|
46
|
+
* **Note:** No other characters are escaped. Though `>` is escaped for symmetry, characters like `>` and `/`
|
|
47
|
+
* don't need escaping in HTML and have no special meaning unless they're part of a tag or unquoted attribute
|
|
48
|
+
* value. When working with HTML you should always quote attribute values to reduce XSS vectors.
|
|
49
|
+
*
|
|
50
|
+
* @param string - The string to escape.
|
|
51
|
+
* @returns Returns the escaped string.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
export function _escape(string) {
|
|
55
|
+
return _toString(string).replace(RE_UNESCAPED_HTML, (character) => HTML_ESCAPES[character] ?? character);
|
|
56
|
+
}
|
package/esm/_/has.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { _PropertyPath } from "./set.js";
|
|
2
|
+
import type { _PropertyName } from "./types.js";
|
|
3
|
+
declare const uniqueSymbol: unique symbol;
|
|
4
|
+
/**
|
|
5
|
+
* Checks if `path` is a direct property of `object`: every segment of the path must be an own property of
|
|
6
|
+
* the value before it, or a valid index of an array or arguments object.
|
|
7
|
+
*
|
|
8
|
+
* @param object - The object to query.
|
|
9
|
+
* @param path - The path to check.
|
|
10
|
+
* @returns Returns `true` if `path` exists, else `false`.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare function _has<T, K extends _PropertyName>(object: T, path: K): object is T & {
|
|
14
|
+
[P in K]: P extends keyof T ? T[P] : Record<string, unknown> extends T ? T[keyof T] : unknown;
|
|
15
|
+
} & {
|
|
16
|
+
[uniqueSymbol]: unknown;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare function _has<T>(object: T, path: _PropertyPath): boolean;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=has.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"has.d.ts","sourceRoot":"","sources":["../../src/_/has.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,CAAC,MAAM,YAAY,EAAE,OAAO,MAAM,CAAC;AAE1C;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,aAAa,EAC3C,MAAM,EAAE,CAAC,EACT,IAAI,EAAE,CAAC,GACR,MAAM,IAAI,CAAC,GAAG;KACZ,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO;CAChG,GAAG;IAAE,CAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAChC;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC"}
|
package/esm/_/has.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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 { _hasPath } from "./_hasPath.js";
|
|
33
|
+
export function _has(object, path) {
|
|
34
|
+
return object != null && _hasPath(object, path, (target, key) => Object.hasOwn(target, key));
|
|
35
|
+
}
|
|
@@ -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"}
|
package/esm/_/isArray.js
ADDED
|
@@ -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;
|
package/esm/_/isPlainObject.d.ts
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* @returns Returns `true` if `value` is a plain object, else `false`.
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare function _isPlainObject(value
|
|
9
|
+
export declare function _isPlainObject(value?: unknown): boolean;
|
|
10
10
|
//# sourceMappingURL=isPlainObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isPlainObject.d.ts","sourceRoot":"","sources":["../../src/_/isPlainObject.ts"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"isPlainObject.d.ts","sourceRoot":"","sources":["../../src/_/isPlainObject.ts"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAmBvD"}
|