@runeya/runeya 2.0.7 → 2.0.8
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-TZCPKLE5.js → dist-PSPHMTZN.js} +6 -3
- package/dist-PSPHMTZN.js.map +1 -0
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/dist-TZCPKLE5.js.map +0 -1
|
@@ -849,9 +849,12 @@ var EnvironmentResolver = class {
|
|
|
849
849
|
parentKeySources[variable.key] = { environmentId: source.environmentId, environmentName: source.environmentName };
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
+
const isInterpRef = (v) => /\{\{environment\.[^}]+\}\}/.test(v);
|
|
852
853
|
for (const result of parentResults) {
|
|
853
854
|
for (const [key, value] of Object.entries(result.parentEnv)) {
|
|
854
|
-
|
|
855
|
+
const existingIsRef = key in parentEnv && isInterpRef(parentEnv[key]);
|
|
856
|
+
const newIsConcrete = !isInterpRef(value);
|
|
857
|
+
if (!(key in parentEnv) || existingIsRef && newIsConcrete) {
|
|
855
858
|
parentEnv[key] = value;
|
|
856
859
|
}
|
|
857
860
|
}
|
|
@@ -10993,7 +10996,7 @@ async function pullEnv(opts) {
|
|
|
10993
10996
|
});
|
|
10994
10997
|
return Object.entries(env2).map(([key, value]) => `${key}=${value}`).join("\n");
|
|
10995
10998
|
}
|
|
10996
|
-
dotenv.config();
|
|
10999
|
+
dotenv.config({ quiet: true });
|
|
10997
11000
|
function listenWithRetry(server, port, host, wss, maxRetries = 20, delay = 500) {
|
|
10998
11001
|
return new Promise((resolve5, reject) => {
|
|
10999
11002
|
let attempts = 0;
|
|
@@ -11063,4 +11066,4 @@ export {
|
|
|
11063
11066
|
createLocalServer,
|
|
11064
11067
|
pullEnv
|
|
11065
11068
|
};
|
|
11066
|
-
//# sourceMappingURL=dist-
|
|
11069
|
+
//# sourceMappingURL=dist-PSPHMTZN.js.map
|