@domql/element
Advanced tools
Comparing version 2.5.98 to 2.5.99
@@ -312,7 +312,7 @@ 'use strict' | ||
// set the PATH array | ||
if (ENV === 'test' || ENV === 'development') { | ||
if (!parentRef) parentRef = parent.ref = {} | ||
if (!parentRef.__path) parentRef.__path = [] | ||
ref.__path = parentRef.__path.concat(element.key) | ||
} | ||
// if (ENV === 'test' || ENV === 'development') { | ||
if (!parentRef) parentRef = parent.ref = {} | ||
if (!parentRef.__path) parentRef.__path = [] | ||
ref.__path = parentRef.__path.concat(element.key) | ||
// } | ||
} | ||
@@ -319,0 +319,0 @@ |
@@ -242,9 +242,7 @@ "use strict"; | ||
ref.root = hasRoot ? element : parentRef.root; | ||
if (ENV === "test" || ENV === "development") { | ||
if (!parentRef) | ||
parentRef = parent.ref = {}; | ||
if (!parentRef.__path) | ||
parentRef.__path = []; | ||
ref.__path = parentRef.__path.concat(element.key); | ||
} | ||
if (!parentRef) | ||
parentRef = parent.ref = {}; | ||
if (!parentRef.__path) | ||
parentRef.__path = []; | ||
ref.__path = parentRef.__path.concat(element.key); | ||
}; | ||
@@ -251,0 +249,0 @@ const onlyResolveExtends = (element, parent, key, options) => { |
{ | ||
"name": "@domql/element", | ||
"version": "2.5.98", | ||
"version": "2.5.99", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "6318fa362595b70f826d48c5eb8fffbc2a6a5443", | ||
"gitHead": "831c32c658ca5d64665f59f10520ce2a3408d76f", | ||
"devDependencies": { | ||
@@ -37,0 +37,0 @@ "@babel/core": "^7.12.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186053
5030