@jarenjs/core 0.87.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.
@@ -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
- * Anything a JSON value cannot be Map, Set, RegExp, function, class
20
- * instance compares by identity only. Deliberately not the same as
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jarenjs/core",
3
3
  "private": false,
4
- "version": "0.87.0",
4
+ "version": "0.89.0",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "types": "./dist/types/index.d.ts",
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
- * Anything a JSON value cannot be Map, Set, RegExp, function, class
121
- * instance compares by identity only. Deliberately not the same as
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