merge-anything 6.0.1 → 6.0.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.
- package/dist/merge.d.ts +3 -3
- package/package.json +2 -2
package/dist/merge.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export type Merge<T, Ts extends unknown[]> = T extends Record<string | number |
|
|
|
12
12
|
* Objects get merged, special objects (classes etc.) are re-assigned "as is".
|
|
13
13
|
* Basic types overwrite objects or other basic types.
|
|
14
14
|
*/
|
|
15
|
-
export declare function merge<T, Tn extends unknown[]>(object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
|
16
|
-
export declare function mergeAndCompare<T, Tn extends unknown[]>(compareFn: (prop1: unknown, prop2: unknown, propName: string | symbol) => any, object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
|
17
|
-
export declare function mergeAndConcat<T, Tn extends unknown[]>(object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
|
15
|
+
export declare function merge<T, const Tn extends unknown[]>(object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
|
16
|
+
export declare function mergeAndCompare<T, const Tn extends unknown[]>(compareFn: (prop1: unknown, prop2: unknown, propName: string | symbol) => any, object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
|
17
|
+
export declare function mergeAndConcat<T, const Tn extends unknown[]>(object: T, ...otherObjects: Tn): Merge<T, Tn>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "merge-anything",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"description": "Merge objects & other types recursively. A simple & small integration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"release": "npm run lint && npm run build && np"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"is-what": "^
|
|
20
|
+
"is-what": "^5.0.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"del-cli": "^5.1.0",
|