@symbo.ls/scratch 2.33.8 → 2.33.10

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.
@@ -133,7 +133,7 @@ var deepClone = (obj, options = {}) => {
133
133
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
134
134
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
135
135
  continue;
136
- const value = obj[key];
136
+ let value = obj[key];
137
137
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
138
138
  continue;
139
139
  if (isDOMNode(value)) {
@@ -148,6 +148,12 @@ var deepClone = (obj, options = {}) => {
148
148
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
149
149
  continue;
150
150
  }
151
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
152
+ value = value.parseDeep();
153
+ }
154
+ if (value == null ? void 0 : value.__element) {
155
+ value = value.parse();
156
+ }
151
157
  if (isObjectLike(value)) {
152
158
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
153
159
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
package/dist/cjs/index.js CHANGED
@@ -614,7 +614,7 @@ var deepClone = (obj, options = {}) => {
614
614
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
615
615
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
616
616
  continue;
617
- const value = obj[key];
617
+ let value = obj[key];
618
618
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
619
619
  continue;
620
620
  if (isDOMNode(value)) {
@@ -629,6 +629,12 @@ var deepClone = (obj, options = {}) => {
629
629
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
630
630
  continue;
631
631
  }
632
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
633
+ value = value.parseDeep();
634
+ }
635
+ if (value == null ? void 0 : value.__element) {
636
+ value = value.parse();
637
+ }
632
638
  if (isObjectLike(value)) {
633
639
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
634
640
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
package/dist/cjs/set.js CHANGED
@@ -435,7 +435,7 @@ var deepClone = (obj, options = {}) => {
435
435
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
436
436
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
437
437
  continue;
438
- const value = obj[key];
438
+ let value = obj[key];
439
439
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
440
440
  continue;
441
441
  if (isDOMNode(value)) {
@@ -450,6 +450,12 @@ var deepClone = (obj, options = {}) => {
450
450
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
451
451
  continue;
452
452
  }
453
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
454
+ value = value.parseDeep();
455
+ }
456
+ if (value == null ? void 0 : value.__element) {
457
+ value = value.parse();
458
+ }
453
459
  if (isObjectLike(value)) {
454
460
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
455
461
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -422,7 +422,7 @@ var deepClone = (obj, options = {}) => {
422
422
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
423
423
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
424
424
  continue;
425
- const value = obj[key];
425
+ let value = obj[key];
426
426
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
427
427
  continue;
428
428
  if (isDOMNode(value)) {
@@ -437,6 +437,12 @@ var deepClone = (obj, options = {}) => {
437
437
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
438
438
  continue;
439
439
  }
440
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
441
+ value = value.parseDeep();
442
+ }
443
+ if (value == null ? void 0 : value.__element) {
444
+ value = value.parse();
445
+ }
440
446
  if (isObjectLike(value)) {
441
447
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
442
448
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -426,7 +426,7 @@ var deepClone = (obj, options = {}) => {
426
426
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
427
427
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
428
428
  continue;
429
- const value = obj[key];
429
+ let value = obj[key];
430
430
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
431
431
  continue;
432
432
  if (isDOMNode(value)) {
@@ -441,6 +441,12 @@ var deepClone = (obj, options = {}) => {
441
441
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
442
442
  continue;
443
443
  }
444
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
445
+ value = value.parseDeep();
446
+ }
447
+ if (value == null ? void 0 : value.__element) {
448
+ value = value.parse();
449
+ }
444
450
  if (isObjectLike(value)) {
445
451
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
446
452
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -419,7 +419,7 @@ var deepClone = (obj, options = {}) => {
419
419
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
420
420
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
421
421
  continue;
422
- const value = obj[key];
422
+ let value = obj[key];
423
423
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
424
424
  continue;
425
425
  if (isDOMNode(value)) {
@@ -434,6 +434,12 @@ var deepClone = (obj, options = {}) => {
434
434
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
435
435
  continue;
436
436
  }
437
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
438
+ value = value.parseDeep();
439
+ }
440
+ if (value == null ? void 0 : value.__element) {
441
+ value = value.parse();
442
+ }
437
443
  if (isObjectLike(value)) {
438
444
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
439
445
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -460,7 +460,7 @@ var deepClone = (obj, options = {}) => {
460
460
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
461
461
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
462
462
  continue;
463
- const value = obj[key];
463
+ let value = obj[key];
464
464
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
465
465
  continue;
466
466
  if (isDOMNode(value)) {
@@ -475,6 +475,12 @@ var deepClone = (obj, options = {}) => {
475
475
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
476
476
  continue;
477
477
  }
478
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
479
+ value = value.parseDeep();
480
+ }
481
+ if (value == null ? void 0 : value.__element) {
482
+ value = value.parse();
483
+ }
478
484
  if (isObjectLike(value)) {
479
485
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
480
486
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -427,7 +427,7 @@ var deepClone = (obj, options = {}) => {
427
427
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
428
428
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
429
429
  continue;
430
- const value = obj[key];
430
+ let value = obj[key];
431
431
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
432
432
  continue;
433
433
  if (isDOMNode(value)) {
@@ -442,6 +442,12 @@ var deepClone = (obj, options = {}) => {
442
442
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
443
443
  continue;
444
444
  }
445
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
446
+ value = value.parseDeep();
447
+ }
448
+ if (value == null ? void 0 : value.__element) {
449
+ value = value.parse();
450
+ }
445
451
  if (isObjectLike(value)) {
446
452
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
447
453
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -420,7 +420,7 @@ var deepClone = (obj, options = {}) => {
420
420
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
421
421
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
422
422
  continue;
423
- const value = obj[key];
423
+ let value = obj[key];
424
424
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
425
425
  continue;
426
426
  if (isDOMNode(value)) {
@@ -435,6 +435,12 @@ var deepClone = (obj, options = {}) => {
435
435
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
436
436
  continue;
437
437
  }
438
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
439
+ value = value.parseDeep();
440
+ }
441
+ if (value == null ? void 0 : value.__element) {
442
+ value = value.parse();
443
+ }
438
444
  if (isObjectLike(value)) {
439
445
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
440
446
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -430,7 +430,7 @@ var deepClone = (obj, options = {}) => {
430
430
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
431
431
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
432
432
  continue;
433
- const value = obj[key];
433
+ let value = obj[key];
434
434
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
435
435
  continue;
436
436
  if (isDOMNode(value)) {
@@ -445,6 +445,12 @@ var deepClone = (obj, options = {}) => {
445
445
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
446
446
  continue;
447
447
  }
448
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
449
+ value = value.parseDeep();
450
+ }
451
+ if (value == null ? void 0 : value.__element) {
452
+ value = value.parse();
453
+ }
448
454
  if (isObjectLike(value)) {
449
455
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
450
456
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -417,7 +417,7 @@ var deepClone = (obj, options = {}) => {
417
417
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
418
418
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
419
419
  continue;
420
- const value = obj[key];
420
+ let value = obj[key];
421
421
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
422
422
  continue;
423
423
  if (isDOMNode(value)) {
@@ -432,6 +432,12 @@ var deepClone = (obj, options = {}) => {
432
432
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
433
433
  continue;
434
434
  }
435
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
436
+ value = value.parseDeep();
437
+ }
438
+ if (value == null ? void 0 : value.__element) {
439
+ value = value.parse();
440
+ }
435
441
  if (isObjectLike(value)) {
436
442
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
437
443
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -422,7 +422,7 @@ var deepClone = (obj, options = {}) => {
422
422
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
423
423
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
424
424
  continue;
425
- const value = obj[key];
425
+ let value = obj[key];
426
426
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
427
427
  continue;
428
428
  if (isDOMNode(value)) {
@@ -437,6 +437,12 @@ var deepClone = (obj, options = {}) => {
437
437
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
438
438
  continue;
439
439
  }
440
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
441
+ value = value.parseDeep();
442
+ }
443
+ if (value == null ? void 0 : value.__element) {
444
+ value = value.parse();
445
+ }
440
446
  if (isObjectLike(value)) {
441
447
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
442
448
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -417,7 +417,7 @@ var deepClone = (obj, options = {}) => {
417
417
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
418
418
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
419
419
  continue;
420
- const value = obj[key];
420
+ let value = obj[key];
421
421
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
422
422
  continue;
423
423
  if (isDOMNode(value)) {
@@ -432,6 +432,12 @@ var deepClone = (obj, options = {}) => {
432
432
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
433
433
  continue;
434
434
  }
435
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
436
+ value = value.parseDeep();
437
+ }
438
+ if (value == null ? void 0 : value.__element) {
439
+ value = value.parse();
440
+ }
435
441
  if (isObjectLike(value)) {
436
442
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
437
443
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -430,7 +430,7 @@ var deepClone = (obj, options = {}) => {
430
430
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
431
431
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
432
432
  continue;
433
- const value = obj[key];
433
+ let value = obj[key];
434
434
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
435
435
  continue;
436
436
  if (isDOMNode(value)) {
@@ -445,6 +445,12 @@ var deepClone = (obj, options = {}) => {
445
445
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
446
446
  continue;
447
447
  }
448
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
449
+ value = value.parseDeep();
450
+ }
451
+ if (value == null ? void 0 : value.__element) {
452
+ value = value.parse();
453
+ }
448
454
  if (isObjectLike(value)) {
449
455
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
450
456
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -443,7 +443,7 @@ var deepClone = (obj, options = {}) => {
443
443
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
444
444
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
445
445
  continue;
446
- const value = obj[key];
446
+ let value = obj[key];
447
447
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
448
448
  continue;
449
449
  if (isDOMNode(value)) {
@@ -458,6 +458,12 @@ var deepClone = (obj, options = {}) => {
458
458
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
459
459
  continue;
460
460
  }
461
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
462
+ value = value.parseDeep();
463
+ }
464
+ if (value == null ? void 0 : value.__element) {
465
+ value = value.parse();
466
+ }
461
467
  if (isObjectLike(value)) {
462
468
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
463
469
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -463,7 +463,7 @@ var deepClone = (obj, options = {}) => {
463
463
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
464
464
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
465
465
  continue;
466
- const value = obj[key];
466
+ let value = obj[key];
467
467
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
468
468
  continue;
469
469
  if (isDOMNode(value)) {
@@ -478,6 +478,12 @@ var deepClone = (obj, options = {}) => {
478
478
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
479
479
  continue;
480
480
  }
481
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
482
+ value = value.parseDeep();
483
+ }
484
+ if (value == null ? void 0 : value.__element) {
485
+ value = value.parse();
486
+ }
481
487
  if (isObjectLike(value)) {
482
488
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
483
489
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -420,7 +420,7 @@ var deepClone = (obj, options = {}) => {
420
420
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
421
421
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
422
422
  continue;
423
- const value = obj[key];
423
+ let value = obj[key];
424
424
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
425
425
  continue;
426
426
  if (isDOMNode(value)) {
@@ -435,6 +435,12 @@ var deepClone = (obj, options = {}) => {
435
435
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
436
436
  continue;
437
437
  }
438
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
439
+ value = value.parseDeep();
440
+ }
441
+ if (value == null ? void 0 : value.__element) {
442
+ value = value.parse();
443
+ }
438
444
  if (isObjectLike(value)) {
439
445
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
440
446
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -124,7 +124,7 @@ var deepClone = (obj, options = {}) => {
124
124
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
125
125
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
126
126
  continue;
127
- const value = obj[key];
127
+ let value = obj[key];
128
128
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
129
129
  continue;
130
130
  if (isDOMNode(value)) {
@@ -139,6 +139,12 @@ var deepClone = (obj, options = {}) => {
139
139
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
140
140
  continue;
141
141
  }
142
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
143
+ value = value.parseDeep();
144
+ }
145
+ if (value == null ? void 0 : value.__element) {
146
+ value = value.parse();
147
+ }
142
148
  if (isObjectLike(value)) {
143
149
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
144
150
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
@@ -411,7 +411,7 @@ var deepClone = (obj, options = {}) => {
411
411
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
412
412
  if (exclude.includes(key) || key.startsWith("__") || key === "__proto__")
413
413
  continue;
414
- const value = obj[key];
414
+ let value = obj[key];
415
415
  if (cleanUndefined && isUndefined(value) || cleanNull && isNull(value))
416
416
  continue;
417
417
  if (isDOMNode(value)) {
@@ -426,6 +426,12 @@ var deepClone = (obj, options = {}) => {
426
426
  clone2[key] = contentWindow.eval("(" + value.toString() + ")");
427
427
  continue;
428
428
  }
429
+ if ((value == null ? void 0 : value.__ref) && (value == null ? void 0 : value.node)) {
430
+ value = value.parseDeep();
431
+ }
432
+ if (value == null ? void 0 : value.__element) {
433
+ value = value.parse();
434
+ }
429
435
  if (isObjectLike(value)) {
430
436
  if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
431
437
  clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "2.33.8",
5
+ "version": "2.33.10",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -25,9 +25,9 @@
25
25
  "prepublish": "rimraf -I dist && npm run build && npm run copy:package:cjs"
26
26
  },
27
27
  "dependencies": {
28
- "@domql/utils": "^2.33.8",
29
- "@symbo.ls/utils": "^2.33.8",
28
+ "@domql/utils": "^2.33.10",
29
+ "@symbo.ls/utils": "^2.33.10",
30
30
  "color-contrast-checker": "^1.5.0"
31
31
  },
32
- "gitHead": "9a9cf25955fe3478b12acab63ac59dddc9d4300b"
32
+ "gitHead": "f77e37b645f758e0a41709eb152df347b6f13fbb"
33
33
  }