@helpers4/object 2.0.0-alpha.18 → 2.0.0-alpha.19
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/llms.txt +1 -8
- package/meta/api.json +9 -11
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @helpers4/object
|
|
2
2
|
|
|
3
3
|
> Tree-shakable TypeScript utility functions for the `object` domain.
|
|
4
|
-
> Package: `@helpers4/object` — Version: 2.0.0-alpha.
|
|
4
|
+
> Package: `@helpers4/object` — Version: 2.0.0-alpha.19
|
|
5
5
|
> License: LGPL-3.0-or-later
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
@@ -25,7 +25,6 @@ import { compact, deepClone, deepCompare, ... } from '@helpers4/object';
|
|
|
25
25
|
| `compact` | Removes all entries with falsy values (`false`, `null`, `undefined`, `0`, `""`, `NaN`) from an objec |
|
|
26
26
|
| `deepClone` | Creates a deep copy of an object or array |
|
|
27
27
|
| `deepCompare` | Deep comparison of two objects that returns detailed information about differences. |
|
|
28
|
-
| `DeepCompareResult` | Result type for deep comparison when objects are not identical |
|
|
29
28
|
| `deepMerge` | Merges two or more objects deeply |
|
|
30
29
|
| `get` | Gets a value from an object using a dot-notated path |
|
|
31
30
|
| `omit` | Creates a new object without the specified keys. |
|
|
@@ -170,12 +169,6 @@ deepCompare({ a: { b: 1 } }, { a: { b: 2 } })
|
|
|
170
169
|
|
|
171
170
|
---
|
|
172
171
|
|
|
173
|
-
### `DeepCompareResult`
|
|
174
|
-
|
|
175
|
-
Result type for deep comparison when objects are not identical
|
|
176
|
-
|
|
177
|
-
---
|
|
178
|
-
|
|
179
172
|
### `deepMerge`
|
|
180
173
|
|
|
181
174
|
Merges two or more objects deeply
|
package/meta/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"category": "object",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.19",
|
|
4
4
|
"functions": [
|
|
5
5
|
{
|
|
6
6
|
"name": "compact",
|
|
@@ -149,16 +149,14 @@
|
|
|
149
149
|
"code": "deepCompare({ a: { b: 1 } }, { a: { b: 2 } })\n// => { a: { b: false } }"
|
|
150
150
|
}
|
|
151
151
|
],
|
|
152
|
-
"sourceFile": "deepCompare.ts"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"examples": [],
|
|
161
|
-
"sourceFile": "deepCompare.ts"
|
|
152
|
+
"sourceFile": "deepCompare.ts",
|
|
153
|
+
"relatedTypes": [
|
|
154
|
+
{
|
|
155
|
+
"name": "DeepCompareResult",
|
|
156
|
+
"description": "Result type for deep comparison when objects are not identical",
|
|
157
|
+
"typeDefinition": "interface DeepCompareResult {}"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
162
160
|
},
|
|
163
161
|
{
|
|
164
162
|
"name": "deepMerge",
|
package/package.json
CHANGED