@jarenjs/core 0.86.0 → 0.89.0
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/types/object.d.ts +3 -2
- package/package.json +1 -1
- package/src/object.js +3 -2
package/dist/types/object.d.ts
CHANGED
|
@@ -16,8 +16,9 @@ export declare function equalsDeep(target: any, source: any): boolean;
|
|
|
16
16
|
*
|
|
17
17
|
* JSON-only equality: objects compare by own enumerable keys, arrays by
|
|
18
18
|
* index, primitives by `===` (so `1 === 1.0`, and `NaN` is never equal).
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Other objects also compare by own enumerable keys: constructors and
|
|
20
|
+
* non-enumerable Map/Set entries are ignored. Functions compare by identity.
|
|
21
|
+
* Deliberately not the same as
|
|
21
22
|
* `equalsDeep`, the generic JavaScript variant: this is the hot-path
|
|
22
23
|
* comparator of the JSONPath engine — do not merge the two.
|
|
23
24
|
* @param {any} a
|
package/package.json
CHANGED
package/src/object.js
CHANGED
|
@@ -117,8 +117,9 @@ export function equalsDeep(target, source) {
|
|
|
117
117
|
*
|
|
118
118
|
* JSON-only equality: objects compare by own enumerable keys, arrays by
|
|
119
119
|
* index, primitives by `===` (so `1 === 1.0`, and `NaN` is never equal).
|
|
120
|
-
*
|
|
121
|
-
*
|
|
120
|
+
* Other objects also compare by own enumerable keys: constructors and
|
|
121
|
+
* non-enumerable Map/Set entries are ignored. Functions compare by identity.
|
|
122
|
+
* Deliberately not the same as
|
|
122
123
|
* `equalsDeep`, the generic JavaScript variant: this is the hot-path
|
|
123
124
|
* comparator of the JSONPath engine — do not merge the two.
|
|
124
125
|
* @param {any} a
|