@milaboratories/pl-middle-layer 1.25.3 → 1.25.5
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/block_registry/watcher.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/block_registry/watcher.ts +19 -16
package/dist/index.mjs
CHANGED
|
@@ -4314,15 +4314,18 @@ class nl extends Ms {
|
|
|
4314
4314
|
const { versionLock: i, skipVersion: c } = t.settings;
|
|
4315
4315
|
if (i === "patch") return { suggestions: [] };
|
|
4316
4316
|
const a = this.registryProvider.getRegistry(n.registryUrl);
|
|
4317
|
-
let l, u;
|
|
4318
|
-
if (
|
|
4319
|
-
if (
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4317
|
+
let l, u = this.preferredUpdateChannel;
|
|
4318
|
+
if (u === void 0)
|
|
4319
|
+
if (n.channel === void 0)
|
|
4320
|
+
if (await a.getLatestOverview(n.id, ie)) u = ie;
|
|
4321
|
+
else {
|
|
4322
|
+
if (await a.getLatestOverview(n.id, we) === void 0)
|
|
4323
|
+
return this.logger.error(
|
|
4324
|
+
`No "any" channel record for ${Es(n.id)}`
|
|
4325
|
+
), { suggestions: [] };
|
|
4326
|
+
u = we;
|
|
4327
|
+
}
|
|
4328
|
+
else u = n.channel;
|
|
4326
4329
|
const d = await a.getUpdateSuggestions(n.id, u);
|
|
4327
4330
|
if (d === void 0 || d.length === 0) return { suggestions: [] };
|
|
4328
4331
|
d.reverse();
|