@domql/element 2.5.9 → 2.5.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.
|
@@ -157,9 +157,6 @@ const replaceStringsWithComponents = (stack, context, options) => {
|
|
|
157
157
|
return stack.map((v) => {
|
|
158
158
|
if ((0, import_utils.isString)(v)) {
|
|
159
159
|
const component = COMPONENTS[v];
|
|
160
|
-
console.warn("v", v);
|
|
161
|
-
console.log(COMPONENTS[v]);
|
|
162
|
-
console.warn("component", component);
|
|
163
160
|
return component;
|
|
164
161
|
}
|
|
165
162
|
if ((0, import_utils.isString)(v.extend)) {
|
package/mixins/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/element",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@domql/state": "latest",
|
|
32
32
|
"@domql/utils": "latest"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "033d166b64bda1969d04a0462f1d13096f7b8fac",
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/core": "^7.12.0"
|
|
37
37
|
}
|
package/utils/extendUtils.js
CHANGED
|
@@ -131,12 +131,8 @@ export const getExtendMerged = extend => {
|
|
|
131
131
|
export const replaceStringsWithComponents = (stack, context, options) => {
|
|
132
132
|
const COMPONENTS = (context && context.components) || options.components
|
|
133
133
|
return stack.map(v => {
|
|
134
|
-
// if (v === 'StatePage') debugger
|
|
135
134
|
if (isString(v)) {
|
|
136
135
|
const component = COMPONENTS[v]
|
|
137
|
-
console.warn('v', v)
|
|
138
|
-
console.log(COMPONENTS[v])
|
|
139
|
-
console.warn('component', component)
|
|
140
136
|
return component
|
|
141
137
|
}
|
|
142
138
|
if (isString(v.extend)) {
|