@yahoo/uds-create-config 5.56.3 → 5.56.4
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/framework/Config.js
CHANGED
|
@@ -4996,10 +4996,20 @@ var Config = class Config {
|
|
|
4996
4996
|
}
|
|
4997
4997
|
if (placed.has(target)) continue;
|
|
4998
4998
|
if (!source.resolve(kind, path)) continue;
|
|
4999
|
-
|
|
4999
|
+
const overlay = this.sourceDirective(slug, kind, path).overlay;
|
|
5000
|
+
const extend = overlay && overlayBody({
|
|
5001
|
+
overlay,
|
|
5002
|
+
theirs: this.theirBody({
|
|
5003
|
+
slug,
|
|
5004
|
+
kind,
|
|
5005
|
+
path
|
|
5006
|
+
})
|
|
5007
|
+
});
|
|
5008
|
+
if (!collectRefs(extend).some((target) => sourceOf(target) === void 0) && !this.canBorrow({
|
|
5000
5009
|
kind,
|
|
5001
5010
|
path,
|
|
5002
|
-
slug
|
|
5011
|
+
slug,
|
|
5012
|
+
extend
|
|
5003
5013
|
}).ok) continue;
|
|
5004
5014
|
wantedBy.set(target, [...wantedBy.get(target) ?? [], slug]);
|
|
5005
5015
|
mine.push(target);
|