@domql/element 2.5.14 → 2.5.15
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/cjs/extend.js +1 -3
- package/extend.js +1 -3
- package/package.json +2 -2
package/dist/cjs/extend.js
CHANGED
|
@@ -35,9 +35,7 @@ const applyExtend = (element, parent, options = {}) => {
|
|
|
35
35
|
let childExtendStack = [];
|
|
36
36
|
if (parent) {
|
|
37
37
|
element.parent = parent;
|
|
38
|
-
if (!options.ignoreChildExtend) {
|
|
39
|
-
if (props && props.ignoreChildExtend)
|
|
40
|
-
return;
|
|
38
|
+
if (!options.ignoreChildExtend && !(props && props.ignoreChildExtend)) {
|
|
41
39
|
childExtendStack = (0, import_utils2.getExtendStack)(parent.childExtend);
|
|
42
40
|
const ignoreChildExtendRecursive = props && props.ignoreChildExtendRecursive;
|
|
43
41
|
if (parent.childExtendRecursive && !ignoreChildExtendRecursive) {
|
package/extend.js
CHANGED
|
@@ -31,9 +31,7 @@ export const applyExtend = (element, parent, options = {}) => {
|
|
|
31
31
|
if (parent) {
|
|
32
32
|
element.parent = parent
|
|
33
33
|
// Assign parent attr to the element
|
|
34
|
-
if (!options.ignoreChildExtend) {
|
|
35
|
-
if (props && props.ignoreChildExtend) return
|
|
36
|
-
|
|
34
|
+
if (!options.ignoreChildExtend && !(props && props.ignoreChildExtend)) {
|
|
37
35
|
childExtendStack = getExtendStack(parent.childExtend)
|
|
38
36
|
|
|
39
37
|
// if (parent.childExtendRecursive && (props && !props.ignoreChildExtendRecursive)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/element",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.15",
|
|
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": "2d858d6237f30594a8bbe97c6aca8bc6dc925f85",
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/core": "^7.12.0"
|
|
37
37
|
}
|