@domql/utils 2.5.153 → 2.5.154
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/component.js +1 -1
- package/dist/cjs/component.js +1 -1
- package/package.json +2 -2
package/component.js
CHANGED
|
@@ -51,7 +51,7 @@ export const checkIfSugar = (element, parent, key) => {
|
|
|
51
51
|
const hasComponentAttrs = extend || childExtend || props || on || $collection || $stateCollection || $propsCollection
|
|
52
52
|
if (hasComponentAttrs && (childProps || extendProps || children || childExtends)) {
|
|
53
53
|
const logErr = (parent || element)?.error
|
|
54
|
-
if (logErr) logErr('Sugar component includes params for builtin components', { verbose: true })
|
|
54
|
+
if (logErr) logErr.call(element, 'Sugar component includes params for builtin components', { verbose: true })
|
|
55
55
|
}
|
|
56
56
|
return !hasComponentAttrs || childProps || extendProps || children || childExtends
|
|
57
57
|
}
|
package/dist/cjs/component.js
CHANGED
|
@@ -78,7 +78,7 @@ const checkIfSugar = (element, parent, key) => {
|
|
|
78
78
|
if (hasComponentAttrs && (childProps || extendProps || children || childExtends)) {
|
|
79
79
|
const logErr = (_a = parent || element) == null ? void 0 : _a.error;
|
|
80
80
|
if (logErr)
|
|
81
|
-
logErr("Sugar component includes params for builtin components", { verbose: true });
|
|
81
|
+
logErr.call(element, "Sugar component includes params for builtin components", { verbose: true });
|
|
82
82
|
}
|
|
83
83
|
return !hasComponentAttrs || childProps || extendProps || children || childExtends;
|
|
84
84
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/utils",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.154",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build": "yarn build:cjs",
|
|
26
26
|
"prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "3971150df707cdc497b898f2f772946c1deb1fc1",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.12.0"
|
|
31
31
|
}
|