@domql/utils 2.28.37 → 2.28.41

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.
@@ -175,6 +175,7 @@ const deepClone = (obj, options = {}) => {
175
175
  if ((0, import_types.isObjectLike)(value)) {
176
176
  clone2[key] = deepClone(value, {
177
177
  ...options,
178
+ exclude: ["window", "document", "node"],
178
179
  visited
179
180
  });
180
181
  } else {
@@ -143,6 +143,7 @@ const deepClone = (obj, options = {}) => {
143
143
  }
144
144
  if (isObjectLike(value)) {
145
145
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
146
+ exclude: ["window", "document", "node"],
146
147
  visited
147
148
  }));
148
149
  } else {
package/object.js CHANGED
@@ -193,6 +193,7 @@ export const deepClone = (obj, options = {}) => {
193
193
  if (isObjectLike(value)) {
194
194
  clone[key] = deepClone(value, {
195
195
  ...options,
196
+ exclude: ['window', 'document', 'node'],
196
197
  visited
197
198
  })
198
199
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/utils",
3
- "version": "2.28.37",
3
+ "version": "2.28.41",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -24,7 +24,7 @@
24
24
  "build": "npx rimraf -I dist; npm run build:cjs; npm run build:esm",
25
25
  "prepublish": "npm run build; npm run copy:package:cjs"
26
26
  },
27
- "gitHead": "65666d0a998f268ff1512bdf23aa0f4c331efcd9",
27
+ "gitHead": "f3572ee2c95501d529813cc40a381254f51492a6",
28
28
  "devDependencies": {
29
29
  "@babel/core": "^7.26.0"
30
30
  }