@gooddata/util 11.68.0-alpha.2 → 11.68.0-alpha.3

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 (152) hide show
  1. package/esm/_/_assignValue.d.ts +12 -0
  2. package/esm/_/_assignValue.d.ts.map +1 -0
  3. package/esm/_/_assignValue.js +53 -0
  4. package/esm/_/_baseClone.d.ts +15 -0
  5. package/esm/_/_baseClone.d.ts.map +1 -0
  6. package/esm/_/_baseClone.js +224 -0
  7. package/esm/_/_baseEach.d.ts +11 -0
  8. package/esm/_/_baseEach.d.ts.map +1 -0
  9. package/esm/_/_baseEach.js +62 -0
  10. package/esm/_/_baseGet.d.ts +10 -0
  11. package/esm/_/_baseGet.d.ts.map +1 -0
  12. package/esm/_/_baseGet.js +50 -0
  13. package/esm/_/_baseGetTag.d.ts +9 -0
  14. package/esm/_/_baseGetTag.d.ts.map +1 -0
  15. package/esm/_/_baseGetTag.js +48 -0
  16. package/esm/_/_baseIsEqual.d.ts +34 -0
  17. package/esm/_/_baseIsEqual.d.ts.map +1 -0
  18. package/esm/_/_baseIsEqual.js +278 -0
  19. package/esm/_/_baseIsMatch.d.ts +13 -0
  20. package/esm/_/_baseIsMatch.d.ts.map +1 -0
  21. package/esm/_/_baseIsMatch.js +67 -0
  22. package/esm/_/_baseIteratee.d.ts +15 -0
  23. package/esm/_/_baseIteratee.d.ts.map +1 -0
  24. package/esm/_/_baseIteratee.js +65 -0
  25. package/esm/_/_baseKeys.d.ts +12 -0
  26. package/esm/_/_baseKeys.d.ts.map +1 -0
  27. package/esm/_/_baseKeys.js +46 -0
  28. package/esm/_/_baseMatches.d.ts +10 -0
  29. package/esm/_/_baseMatches.d.ts.map +1 -0
  30. package/esm/_/_baseMatches.js +50 -0
  31. package/esm/_/_baseMatchesProperty.d.ts +11 -0
  32. package/esm/_/_baseMatchesProperty.d.ts.map +1 -0
  33. package/esm/_/_baseMatchesProperty.js +59 -0
  34. package/esm/_/_baseSet.d.ts +11 -0
  35. package/esm/_/_baseSet.d.ts.map +1 -0
  36. package/esm/_/_baseSet.js +68 -0
  37. package/esm/_/_baseUniq.d.ts +43 -0
  38. package/esm/_/_baseUniq.d.ts.map +1 -0
  39. package/esm/_/_baseUniq.js +57 -0
  40. package/esm/_/_baseUnset.d.ts +13 -0
  41. package/esm/_/_baseUnset.d.ts.map +1 -0
  42. package/esm/_/_baseUnset.js +62 -0
  43. package/esm/_/_castPath.d.ts +10 -0
  44. package/esm/_/_castPath.d.ts.map +1 -0
  45. package/esm/_/_castPath.js +48 -0
  46. package/esm/_/_getAllKeys.d.ts +9 -0
  47. package/esm/_/_getAllKeys.d.ts.map +1 -0
  48. package/esm/_/_getAllKeys.js +43 -0
  49. package/esm/_/_getAllKeysIn.d.ts +12 -0
  50. package/esm/_/_getAllKeysIn.d.ts.map +1 -0
  51. package/esm/_/_getAllKeysIn.js +59 -0
  52. package/esm/_/_getMatchData.d.ts +16 -0
  53. package/esm/_/_getMatchData.d.ts.map +1 -0
  54. package/esm/_/_getMatchData.js +46 -0
  55. package/esm/_/_getRawTag.d.ts +43 -0
  56. package/esm/_/_getRawTag.d.ts.map +1 -0
  57. package/esm/_/_getRawTag.js +65 -0
  58. package/esm/_/_hasPath.d.ts +13 -0
  59. package/esm/_/_hasPath.d.ts.map +1 -0
  60. package/esm/_/_hasPath.js +70 -0
  61. package/esm/_/_isIndex.d.ts +11 -0
  62. package/esm/_/_isIndex.d.ts.map +1 -0
  63. package/esm/_/_isIndex.js +51 -0
  64. package/esm/_/_isIterateeCall.d.ts +13 -0
  65. package/esm/_/_isIterateeCall.d.ts.map +1 -0
  66. package/esm/_/_isIterateeCall.js +55 -0
  67. package/esm/_/_isKey.d.ts +12 -0
  68. package/esm/_/_isKey.d.ts.map +1 -0
  69. package/esm/_/_isKey.js +58 -0
  70. package/esm/_/_isPrototype.d.ts +39 -0
  71. package/esm/_/_isPrototype.d.ts.map +1 -0
  72. package/esm/_/_isPrototype.js +43 -0
  73. package/esm/_/_isStrictComparable.d.ts +9 -0
  74. package/esm/_/_isStrictComparable.d.ts.map +1 -0
  75. package/esm/_/_isStrictComparable.js +42 -0
  76. package/esm/_/_matchesStrictComparable.d.ts +41 -0
  77. package/esm/_/_matchesStrictComparable.d.ts.map +1 -0
  78. package/esm/_/_matchesStrictComparable.js +50 -0
  79. package/esm/_/_stringToPath.d.ts +10 -0
  80. package/esm/_/_stringToPath.d.ts.map +1 -0
  81. package/esm/_/_stringToPath.js +64 -0
  82. package/esm/_/_toKey.d.ts +9 -0
  83. package/esm/_/_toKey.d.ts.map +1 -0
  84. package/esm/_/_toKey.js +46 -0
  85. package/esm/_/cloneDeep.d.ts +14 -0
  86. package/esm/_/cloneDeep.d.ts.map +1 -0
  87. package/esm/_/cloneDeep.js +47 -0
  88. package/esm/_/compact.d.ts +46 -0
  89. package/esm/_/compact.d.ts.map +1 -0
  90. package/esm/_/compact.js +23 -0
  91. package/esm/_/debounce.d.ts +70 -0
  92. package/esm/_/debounce.d.ts.map +1 -0
  93. package/esm/_/debounce.js +136 -0
  94. package/esm/_/eq.d.ts +41 -0
  95. package/esm/_/eq.d.ts.map +1 -0
  96. package/esm/_/eq.js +43 -0
  97. package/esm/_/groupBy.d.ts +19 -0
  98. package/esm/_/groupBy.d.ts.map +1 -0
  99. package/esm/_/groupBy.js +49 -0
  100. package/esm/_/isArguments.d.ts +9 -0
  101. package/esm/_/isArguments.d.ts.map +1 -0
  102. package/esm/_/isArguments.js +45 -0
  103. package/esm/_/isArrayLike.d.ts +25 -0
  104. package/esm/_/isArrayLike.d.ts.map +1 -0
  105. package/esm/_/isArrayLike.js +35 -0
  106. package/esm/_/isEmpty.d.ts +49 -0
  107. package/esm/_/isEmpty.d.ts.map +1 -0
  108. package/esm/_/isEmpty.js +57 -0
  109. package/esm/_/isEqual.d.ts +15 -0
  110. package/esm/_/isEqual.d.ts.map +1 -0
  111. package/esm/_/isEqual.js +48 -0
  112. package/esm/_/isLength.d.ts +41 -0
  113. package/esm/_/isLength.d.ts.map +1 -0
  114. package/esm/_/isLength.js +43 -0
  115. package/esm/_/isObject.d.ts +40 -0
  116. package/esm/_/isObject.d.ts.map +1 -0
  117. package/esm/_/isObject.js +42 -0
  118. package/esm/_/isObjectLike.d.ts +40 -0
  119. package/esm/_/isObjectLike.d.ts.map +1 -0
  120. package/esm/_/isObjectLike.js +42 -0
  121. package/esm/_/isPlainObject.d.ts +10 -0
  122. package/esm/_/isPlainObject.d.ts.map +1 -0
  123. package/esm/_/isPlainObject.js +58 -0
  124. package/esm/_/isSymbol.d.ts +9 -0
  125. package/esm/_/isSymbol.d.ts.map +1 -0
  126. package/esm/_/isSymbol.js +45 -0
  127. package/esm/_/isTypedArray.d.ts +43 -0
  128. package/esm/_/isTypedArray.d.ts.map +1 -0
  129. package/esm/_/isTypedArray.js +45 -0
  130. package/esm/_/omit.d.ts +31 -0
  131. package/esm/_/omit.d.ts.map +1 -0
  132. package/esm/_/omit.js +76 -0
  133. package/esm/_/range.d.ts +24 -0
  134. package/esm/_/range.d.ts.map +1 -0
  135. package/esm/_/range.js +56 -0
  136. package/esm/_/set.d.ts +25 -0
  137. package/esm/_/set.d.ts.map +1 -0
  138. package/esm/_/set.js +35 -0
  139. package/esm/_/toFinite.d.ts +40 -0
  140. package/esm/_/toFinite.d.ts.map +1 -0
  141. package/esm/_/toFinite.js +50 -0
  142. package/esm/_/types.d.ts +70 -0
  143. package/esm/_/types.d.ts.map +1 -0
  144. package/esm/_/types.js +2 -0
  145. package/esm/_/uniqBy.d.ts +13 -0
  146. package/esm/_/uniqBy.d.ts.map +1 -0
  147. package/esm/_/uniqBy.js +49 -0
  148. package/esm/index.d.ts +11 -0
  149. package/esm/index.d.ts.map +1 -1
  150. package/esm/index.js +11 -0
  151. package/esm/util.d.ts +337 -0
  152. package/package.json +3 -3
@@ -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 { _isLength } from "./isLength.js";
33
+ export function _isArrayLike(value) {
34
+ return value != null && _isLength(value.length) && typeof value !== "function";
35
+ }
@@ -0,0 +1,49 @@
1
+ import type { _List } from "./types.js";
2
+ /** Common interface between Arrays and jQuery objects */
3
+ /**
4
+ * @internal
5
+ */
6
+ export type _EmptyObject<T> = {
7
+ [K in keyof T]?: never;
8
+ };
9
+ /**
10
+ * @internal
11
+ */
12
+ export type _EmptyObjectOf<T> = _EmptyObject<T> extends T ? _EmptyObject<T> : never;
13
+ /**
14
+ * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or
15
+ * jQuery-like collection with a length greater than 0 or an object with own enumerable properties.
16
+ *
17
+ * @param value - The value to inspect.
18
+ * @returns Returns true if value is empty, else false.
19
+ * @internal
20
+ */
21
+ export declare function _isEmpty<T extends {
22
+ __trapAny: any;
23
+ }>(value?: T): boolean;
24
+ /**
25
+ * @see _isEmpty
26
+ * @internal
27
+ */
28
+ export declare function _isEmpty(value: string): value is "";
29
+ /**
30
+ * @see _isEmpty
31
+ * @internal
32
+ */
33
+ export declare function _isEmpty(value: Map<any, any> | Set<any> | _List<any> | null | undefined): boolean;
34
+ /**
35
+ * @see _isEmpty
36
+ * @internal
37
+ */
38
+ export declare function _isEmpty(value: object): boolean;
39
+ /**
40
+ * @see _isEmpty
41
+ * @internal
42
+ */
43
+ export declare function _isEmpty<T extends object>(value: T | null | undefined): value is _EmptyObjectOf<T> | null | undefined;
44
+ /**
45
+ * @see _isEmpty
46
+ * @internal
47
+ */
48
+ export declare function _isEmpty(value?: any): boolean;
49
+ //# sourceMappingURL=isEmpty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isEmpty.d.ts","sourceRoot":"","sources":["../../src/_/isEmpty.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC,yDAAyD;AAEzD;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;AAMpF;;;;;;;GAOG;AAEH,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,SAAS,EAAE,GAAG,CAAA;CAAE,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC;AAC3E;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,EAAE,CAAC;AACrD;;;GAGG;AAEH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC;AACnG;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;AACjD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,EACrC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAC5B,KAAK,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACjD;;;GAGG;AAEH,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC"}
@@ -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 { _baseGetTag } from "./_baseGetTag.js";
33
+ import { _baseKeys } from "./_baseKeys.js";
34
+ import { _isArguments } from "./isArguments.js";
35
+ import { _isArrayLike } from "./isArrayLike.js";
36
+ import { _isTypedArray } from "./isTypedArray.js";
37
+ /** `Object#toString` result references. */
38
+ const MAP_TAG = "[object Map]";
39
+ const SET_TAG = "[object Set]";
40
+ export function _isEmpty(value) {
41
+ if (value == null) {
42
+ return true;
43
+ }
44
+ if (_isArrayLike(value) &&
45
+ (Array.isArray(value) ||
46
+ typeof value === "string" ||
47
+ typeof value.splice === "function" ||
48
+ _isTypedArray(value) ||
49
+ _isArguments(value))) {
50
+ return !value.length;
51
+ }
52
+ const tag = _baseGetTag(value);
53
+ if (tag === MAP_TAG || tag === SET_TAG) {
54
+ return !value.size;
55
+ }
56
+ return _baseKeys(value).length === 0;
57
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Performs a deep comparison between two values to determine if they are equivalent.
3
+ *
4
+ * Supports comparing arrays, array buffers, booleans, date objects, error objects, maps, numbers,
5
+ * `Object` objects, regexes, sets, strings, symbols, and typed arrays. `Object` objects are compared
6
+ * by their own, not inherited, enumerable properties. Functions and DOM nodes are compared by strict
7
+ * equality, i.e. `===`.
8
+ *
9
+ * @param value - The value to compare.
10
+ * @param other - The other value to compare.
11
+ * @returns Returns `true` if the values are equivalent, else `false`.
12
+ * @internal
13
+ */
14
+ export declare function _isEqual(value: unknown, other: unknown): boolean;
15
+ //# sourceMappingURL=isEqual.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isEqual.d.ts","sourceRoot":"","sources":["../../src/_/isEqual.ts"],"names":[],"mappings":"AAmCA;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAEhE"}
@@ -0,0 +1,48 @@
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 { _baseIsEqual } from "./_baseIsEqual.js";
33
+ /**
34
+ * Performs a deep comparison between two values to determine if they are equivalent.
35
+ *
36
+ * Supports comparing arrays, array buffers, booleans, date objects, error objects, maps, numbers,
37
+ * `Object` objects, regexes, sets, strings, symbols, and typed arrays. `Object` objects are compared
38
+ * by their own, not inherited, enumerable properties. Functions and DOM nodes are compared by strict
39
+ * equality, i.e. `===`.
40
+ *
41
+ * @param value - The value to compare.
42
+ * @param other - The other value to compare.
43
+ * @returns Returns `true` if the values are equivalent, else `false`.
44
+ * @internal
45
+ */
46
+ export function _isEqual(value, other) {
47
+ return _baseIsEqual(value, other);
48
+ }
@@ -0,0 +1,41 @@
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 a valid array-like length.
33
+ *
34
+ * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
35
+ *
36
+ * @param value - The value to check.
37
+ * @returns Returns `true` if `value` is a valid length, else `false`.
38
+ * @internal
39
+ */
40
+ export declare function _isLength(value?: unknown): boolean;
41
+ //# sourceMappingURL=isLength.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isLength.d.ts","sourceRoot":"","sources":["../../src/_/isLength.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAElD"}
@@ -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
+ /**
33
+ * Checks if `value` is a valid array-like length.
34
+ *
35
+ * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
36
+ *
37
+ * @param value - The value to check.
38
+ * @returns Returns `true` if `value` is a valid length, else `false`.
39
+ * @internal
40
+ */
41
+ export function _isLength(value) {
42
+ return typeof value === "number" && value > -1 && value % 1 === 0 && value <= Number.MAX_SAFE_INTEGER;
43
+ }
@@ -0,0 +1,40 @@
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 the language type of `Object`: arrays, functions, objects, regexes, `new Number(0)`,
33
+ * `new String("")` and so on. `null` is not an object.
34
+ *
35
+ * @param value - The value to check.
36
+ * @returns Returns `true` if `value` is an object, else `false`.
37
+ * @internal
38
+ */
39
+ export declare function _isObject(value: unknown): value is object;
40
+ //# sourceMappingURL=isObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isObject.d.ts","sourceRoot":"","sources":["../../src/_/isObject.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEzD"}
@@ -0,0 +1,42 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ /**
33
+ * Checks if `value` is the language type of `Object`: arrays, functions, objects, regexes, `new Number(0)`,
34
+ * `new String("")` and so on. `null` is not an object.
35
+ *
36
+ * @param value - The value to check.
37
+ * @returns Returns `true` if `value` is an object, else `false`.
38
+ * @internal
39
+ */
40
+ export function _isObject(value) {
41
+ return value != null && (typeof value === "object" || typeof value === "function");
42
+ }
@@ -0,0 +1,40 @@
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 object-like. A value is object-like if it's not `null`
33
+ * and has a `typeof` result of "object".
34
+ *
35
+ * @param value - The value to check.
36
+ * @returns Returns `true` if `value` is object-like, else `false`.
37
+ * @internal
38
+ */
39
+ export declare function _isObjectLike(value?: unknown): boolean;
40
+ //# sourceMappingURL=isObjectLike.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isObjectLike.d.ts","sourceRoot":"","sources":["../../src/_/isObjectLike.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAEtD"}
@@ -0,0 +1,42 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /*!
3
+ * Portions of this file are derived from Lodash.
4
+ * https://github.com/lodash/lodash
5
+ *
6
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
7
+ *
8
+ * Based on Underscore.js, copyright Jeremy Ashkenas,
9
+ * DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
10
+ *
11
+ * Modifications Copyright (c) 2026 GoodData Corporation
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining
14
+ * a copy of this software and associated documentation files (the
15
+ * "Software"), to deal in the Software without restriction, including
16
+ * without limitation the rights to use, copy, modify, merge, publish,
17
+ * distribute, sublicense, and/or sell copies of the Software, and to
18
+ * permit persons to whom the Software is furnished to do so, subject to
19
+ * the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be
22
+ * included in all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31
+ */
32
+ /**
33
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
34
+ * and has a `typeof` result of "object".
35
+ *
36
+ * @param value - The value to check.
37
+ * @returns Returns `true` if `value` is object-like, else `false`.
38
+ * @internal
39
+ */
40
+ export function _isObjectLike(value) {
41
+ return value != null && typeof value === "object";
42
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Checks if `value` is a plain object, that is, an object created by the `Object` constructor or one
3
+ * with a `[[Prototype]]` of `null`.
4
+ *
5
+ * @param value - The value to check.
6
+ * @returns Returns `true` if `value` is a plain object, else `false`.
7
+ * @internal
8
+ */
9
+ export declare function _isPlainObject(value: unknown): boolean;
10
+ //# sourceMappingURL=isPlainObject.d.ts.map
@@ -0,0 +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,CAmBtD"}
@@ -0,0 +1,58 @@
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 { _baseGetTag } from "./_baseGetTag.js";
33
+ import { _isObjectLike } from "./isObjectLike.js";
34
+ /** `Object#toString` result references. */
35
+ const OBJECT_TAG = "[object Object]";
36
+ /** Used to infer the `Object` constructor. */
37
+ const OBJECT_CTOR_STRING = Function.prototype.toString.call(Object);
38
+ /**
39
+ * Checks if `value` is a plain object, that is, an object created by the `Object` constructor or one
40
+ * with a `[[Prototype]]` of `null`.
41
+ *
42
+ * @param value - The value to check.
43
+ * @returns Returns `true` if `value` is a plain object, else `false`.
44
+ * @internal
45
+ */
46
+ export function _isPlainObject(value) {
47
+ if (!_isObjectLike(value) || _baseGetTag(value) !== OBJECT_TAG) {
48
+ return false;
49
+ }
50
+ const proto = Object.getPrototypeOf(value);
51
+ if (proto === null) {
52
+ return true;
53
+ }
54
+ const Ctor = Object.hasOwn(proto, "constructor") && proto.constructor;
55
+ return (typeof Ctor === "function" &&
56
+ Ctor instanceof Ctor &&
57
+ Function.prototype.toString.call(Ctor) === OBJECT_CTOR_STRING);
58
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Checks if `value` is classified as a `Symbol` primitive or object.
3
+ *
4
+ * @param value - The value to check.
5
+ * @returns Returns `true` if `value` is a symbol, else `false`.
6
+ * @internal
7
+ */
8
+ export declare function _isSymbol(value: unknown): value is symbol;
9
+ //# sourceMappingURL=isSymbol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSymbol.d.ts","sourceRoot":"","sources":["../../src/_/isSymbol.ts"],"names":[],"mappings":"AAuCA;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEzD"}
@@ -0,0 +1,45 @@
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 { _baseGetTag } from "./_baseGetTag.js";
33
+ import { _isObjectLike } from "./isObjectLike.js";
34
+ /** `Object#toString` result references. */
35
+ const SYMBOL_TAG = "[object Symbol]";
36
+ /**
37
+ * Checks if `value` is classified as a `Symbol` primitive or object.
38
+ *
39
+ * @param value - The value to check.
40
+ * @returns Returns `true` if `value` is a symbol, else `false`.
41
+ * @internal
42
+ */
43
+ export function _isSymbol(value) {
44
+ return typeof value === "symbol" || (_isObjectLike(value) && _baseGetTag(value) === SYMBOL_TAG);
45
+ }
@@ -0,0 +1,43 @@
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 a typed array.
33
+ *
34
+ * Unlike lodash, which matches against a fixed list of `Object#toString` tags and therefore misses
35
+ * `BigInt64Array`, `BigUint64Array` and `Float16Array`, this relies on `ArrayBuffer.isView`, which
36
+ * recognises every typed array in every realm. `DataView` is the only other view and is excluded.
37
+ *
38
+ * @param value - The value to check.
39
+ * @returns Returns true if value is correctly classified, else false.
40
+ * @internal
41
+ */
42
+ export declare function _isTypedArray(value: unknown): boolean;
43
+ //# sourceMappingURL=isTypedArray.d.ts.map