vsn 1.0.8 → 1.0.9
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/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1962,13 +1962,13 @@ var ElementPropertyExpression = class extends BaseNode {
|
|
|
1962
1962
|
};
|
|
1963
1963
|
function resolveElementFromReference(value) {
|
|
1964
1964
|
if (value && typeof value === "object") {
|
|
1965
|
-
if (value.nodeType === 1) {
|
|
1966
|
-
return value;
|
|
1967
|
-
}
|
|
1968
1965
|
const candidate = value.__element;
|
|
1969
1966
|
if (candidate && typeof candidate === "object" && candidate.nodeType === 1) {
|
|
1970
1967
|
return candidate;
|
|
1971
1968
|
}
|
|
1969
|
+
if (value.nodeType === 1) {
|
|
1970
|
+
return value;
|
|
1971
|
+
}
|
|
1972
1972
|
}
|
|
1973
1973
|
return void 0;
|
|
1974
1974
|
}
|
|
@@ -6562,7 +6562,7 @@ var Engine = class _Engine {
|
|
|
6562
6562
|
};
|
|
6563
6563
|
|
|
6564
6564
|
// src/index.ts
|
|
6565
|
-
var VERSION = true ? "1.0.
|
|
6565
|
+
var VERSION = true ? "1.0.9" : "0.1.0";
|
|
6566
6566
|
function parseCFS(source) {
|
|
6567
6567
|
const parser = new Parser(source);
|
|
6568
6568
|
return parser.parseProgram();
|