@appsurify-testmap/rrdom 2.1.3-alpha.3 → 3.1.1-alpha.1
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.
- package/dist/rrdom.cjs +10 -10
- package/dist/rrdom.cjs.map +1 -1
- package/dist/rrdom.js +10 -10
- package/dist/rrdom.js.map +1 -1
- package/dist/rrdom.umd.cjs +10 -10
- package/dist/rrdom.umd.cjs.map +2 -2
- package/dist/rrdom.umd.min.cjs.map +3 -3
- package/package.json +3 -3
package/dist/rrdom.cjs
CHANGED
|
@@ -162,12 +162,12 @@ function getAugmentedNamespace(n) {
|
|
|
162
162
|
a.prototype = f.prototype;
|
|
163
163
|
} else a = {};
|
|
164
164
|
Object.defineProperty(a, "__esModule", { value: true });
|
|
165
|
-
Object.keys(n).forEach(function(
|
|
166
|
-
var d = Object.getOwnPropertyDescriptor(n,
|
|
167
|
-
Object.defineProperty(a,
|
|
165
|
+
Object.keys(n).forEach(function(k2) {
|
|
166
|
+
var d = Object.getOwnPropertyDescriptor(n, k2);
|
|
167
|
+
Object.defineProperty(a, k2, d.get ? d : {
|
|
168
168
|
enumerable: true,
|
|
169
169
|
get: function() {
|
|
170
|
-
return n[
|
|
170
|
+
return n[k2];
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
});
|
|
@@ -591,7 +591,7 @@ function cloneNode(obj, parent) {
|
|
|
591
591
|
} else if (i === "source") {
|
|
592
592
|
cloned[i] = value;
|
|
593
593
|
} else if (Array.isArray(value)) {
|
|
594
|
-
cloned[i] = value.map((
|
|
594
|
+
cloned[i] = value.map((j2) => cloneNode(j2, cloned));
|
|
595
595
|
} else {
|
|
596
596
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
597
597
|
cloned[i] = value;
|
|
@@ -826,7 +826,7 @@ let Node$5 = class Node2 {
|
|
|
826
826
|
}
|
|
827
827
|
return result2;
|
|
828
828
|
}
|
|
829
|
-
toJSON(
|
|
829
|
+
toJSON(_2, inputs) {
|
|
830
830
|
let fixed = {};
|
|
831
831
|
let emitInputs = inputs == null;
|
|
832
832
|
inputs = inputs || /* @__PURE__ */ new Map();
|
|
@@ -2471,8 +2471,8 @@ let Parser$1 = class Parser {
|
|
|
2471
2471
|
if (colon === false) return;
|
|
2472
2472
|
let founded = 0;
|
|
2473
2473
|
let token;
|
|
2474
|
-
for (let
|
|
2475
|
-
token = tokens[
|
|
2474
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
2475
|
+
token = tokens[j2];
|
|
2476
2476
|
if (token[0] !== "space") {
|
|
2477
2477
|
founded += 1;
|
|
2478
2478
|
if (founded === 2) break;
|
|
@@ -2590,8 +2590,8 @@ let Parser$1 = class Parser {
|
|
|
2590
2590
|
} else if (token[1].toLowerCase() === "important") {
|
|
2591
2591
|
let cache = tokens.slice(0);
|
|
2592
2592
|
let str = "";
|
|
2593
|
-
for (let
|
|
2594
|
-
let type = cache[
|
|
2593
|
+
for (let j2 = i; j2 > 0; j2--) {
|
|
2594
|
+
let type = cache[j2][0];
|
|
2595
2595
|
if (str.trim().indexOf("!") === 0 && type !== "space") {
|
|
2596
2596
|
break;
|
|
2597
2597
|
}
|