@domql/element 2.33.9 → 2.33.11

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.
@@ -310,7 +310,7 @@ function variables(obj = {}) {
310
310
  return {
311
311
  changed: (cb) => {
312
312
  if (!changed || !varCaches) return;
313
- const returns = cb(changes, (0, import_utils.deepClone)(varCaches));
313
+ const returns = cb(changes, (0, import_utils.clone)(varCaches));
314
314
  for (const key in changes) {
315
315
  varCaches[key] = changes[key];
316
316
  }
@@ -6,8 +6,8 @@ import {
6
6
  isObjectLike,
7
7
  isProduction,
8
8
  removeValueFromArray,
9
- deepClone,
10
- getContextFunction
9
+ getContextFunction,
10
+ clone
11
11
  } from "@domql/utils";
12
12
  import { TREE } from "../tree.js";
13
13
  import { parseFilters, REGISTRY } from "../mixins/index.js";
@@ -269,7 +269,7 @@ function variables(obj = {}) {
269
269
  return {
270
270
  changed: (cb) => {
271
271
  if (!changed || !varCaches) return;
272
- const returns = cb(changes, deepClone(varCaches));
272
+ const returns = cb(changes, clone(varCaches));
273
273
  for (const key in changes) {
274
274
  varCaches[key] = changes[key];
275
275
  }
package/methods/index.js CHANGED
@@ -8,8 +8,8 @@ import {
8
8
  isObjectLike,
9
9
  isProduction,
10
10
  removeValueFromArray,
11
- deepClone,
12
- getContextFunction
11
+ getContextFunction,
12
+ clone
13
13
  } from '@domql/utils'
14
14
  import { TREE } from '../tree.js'
15
15
  import { parseFilters, REGISTRY } from '../mixins/index.js'
@@ -336,7 +336,7 @@ export function variables(obj = {}) {
336
336
  return {
337
337
  changed: (cb) => {
338
338
  if (!changed || !varCaches) return
339
- const returns = cb(changes, deepClone(varCaches))
339
+ const returns = cb(changes, clone(varCaches))
340
340
  for (const key in changes) {
341
341
  varCaches[key] = changes[key]
342
342
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.33.9",
3
+ "version": "2.33.11",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -27,12 +27,12 @@
27
27
  "prepublish": "npx rimraf -I dist && npm run build && npm run copy:package:cjs"
28
28
  },
29
29
  "dependencies": {
30
- "@domql/event": "^2.33.9",
31
- "@domql/render": "^2.33.9",
32
- "@domql/state": "^2.33.9",
33
- "@domql/utils": "^2.33.9"
30
+ "@domql/event": "^2.33.11",
31
+ "@domql/render": "^2.33.11",
32
+ "@domql/state": "^2.33.11",
33
+ "@domql/utils": "^2.33.11"
34
34
  },
35
- "gitHead": "866900dd26ddd709b4132f440d2ab8803b982684",
35
+ "gitHead": "bd35281698ecf0b85f212fa22e3ee66a5053c2bb",
36
36
  "devDependencies": {
37
37
  "@babel/core": "^7.27.1"
38
38
  }