@domql/utils 2.5.24 → 2.5.25

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.
@@ -340,7 +340,7 @@ const makeObjectWithoutPrototype = () => /* @__PURE__ */ Object.create(null);
340
340
  const deepDiff = (lhs, rhs) => {
341
341
  if (lhs === rhs)
342
342
  return {};
343
- if (!(0, import_types.isObject)(lhs) || !(0, import_types.isObject)(rhs))
343
+ if (!(0, import_types.isObjectLike)(lhs) || !(0, import_types.isObjectLike)(rhs))
344
344
  return rhs;
345
345
  const deletedValues = Object.keys(lhs).reduce((acc, key) => {
346
346
  if (!hasOwnProperty(rhs, key)) {
package/object.js CHANGED
@@ -315,7 +315,7 @@ export const makeObjectWithoutPrototype = () => Object.create(null)
315
315
  export const deepDiff = (lhs, rhs) => {
316
316
  if (lhs === rhs) return {}
317
317
 
318
- if (!isObject(lhs) || !isObject(rhs)) return rhs
318
+ if (!isObjectLike(lhs) || !isObjectLike(rhs)) return rhs
319
319
 
320
320
  const deletedValues = Object.keys(lhs).reduce((acc, key) => {
321
321
  if (!hasOwnProperty(rhs, key)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/utils",
3
- "version": "2.5.24",
3
+ "version": "2.5.25",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -23,7 +23,7 @@
23
23
  "build": "yarn build:cjs",
24
24
  "prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs"
25
25
  },
26
- "gitHead": "95da8bcaf5250c1a6a339b7a5d11f49dd54a8369",
26
+ "gitHead": "054fb8ee22eb9d62dbaf3cb596a73f240fe8f93e",
27
27
  "devDependencies": {
28
28
  "@babel/core": "^7.12.0"
29
29
  }