lody 0.98.0 → 0.99.0
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.
|
@@ -81,7 +81,7 @@ let __tla = Promise.all([
|
|
|
81
81
|
}
|
|
82
82
|
})()
|
|
83
83
|
]).then(async () => {
|
|
84
|
-
const reviewViewerVersion = "0.
|
|
84
|
+
const reviewViewerVersion = "0.99.0";
|
|
85
85
|
const reviewViewerSha256 = "681ed52366a3bfaba8a637aae99d13a81355378a7152a9e29d4bb7abdb133f01";
|
|
86
86
|
const reviewViewerFileName = "standalone.html";
|
|
87
87
|
const DEFAULT_CDN_BASES = [
|
package/dist/index.js
CHANGED
|
@@ -4325,7 +4325,7 @@ Upgrade Node, then re-run: npx lody@latest`;
|
|
|
4325
4325
|
}
|
|
4326
4326
|
const name$2 = "lody";
|
|
4327
4327
|
const name$1 = "@lody/cli-cloud";
|
|
4328
|
-
const version$a = "0.
|
|
4328
|
+
const version$a = "0.99.0";
|
|
4329
4329
|
const type$2 = "module";
|
|
4330
4330
|
const scripts = {
|
|
4331
4331
|
"dev": "node dev.mjs",
|
|
@@ -119183,7 +119183,7 @@ ${value}`;
|
|
|
119183
119183
|
const installation = await this.readInstallation(name2, definition.version, platformArch);
|
|
119184
119184
|
if (!installation) return null;
|
|
119185
119185
|
if (installation.metadata.command !== archive.cmd || installation.metadata.archiveSha256 !== archive.sha256 || installation.metadata.archiveSize !== archive.size || installation.metadata.minNodeVersion !== definition.minNodeVersion) {
|
|
119186
|
-
|
|
119186
|
+
return null;
|
|
119187
119187
|
}
|
|
119188
119188
|
return installation;
|
|
119189
119189
|
}
|
|
@@ -119275,9 +119275,13 @@ ${value}`;
|
|
|
119275
119275
|
async listAvailableUpdates() {
|
|
119276
119276
|
const updates = [];
|
|
119277
119277
|
for (const name2 of MANAGED_RUNTIME_NAMES) {
|
|
119278
|
-
|
|
119279
|
-
|
|
119280
|
-
|
|
119278
|
+
try {
|
|
119279
|
+
const status = await this.getRuntimeStatus(name2);
|
|
119280
|
+
if (status.kind === "installed" && status.updateAvailable) {
|
|
119281
|
+
updates.push(name2);
|
|
119282
|
+
}
|
|
119283
|
+
} catch (error2) {
|
|
119284
|
+
this.warnCacheMaintenanceFailure(name2, "update scan", error2);
|
|
119281
119285
|
}
|
|
119282
119286
|
}
|
|
119283
119287
|
return updates;
|
|
@@ -119307,7 +119311,17 @@ ${value}`;
|
|
|
119307
119311
|
}
|
|
119308
119312
|
async prepareCache() {
|
|
119309
119313
|
for (const name2 of MANAGED_RUNTIME_NAMES) {
|
|
119310
|
-
|
|
119314
|
+
try {
|
|
119315
|
+
await this.pruneSupersededVersions(name2);
|
|
119316
|
+
} catch (error2) {
|
|
119317
|
+
this.warnCacheMaintenanceFailure(name2, "startup cache cleanup", error2);
|
|
119318
|
+
}
|
|
119319
|
+
}
|
|
119320
|
+
}
|
|
119321
|
+
warnCacheMaintenanceFailure(name2, operation, error2) {
|
|
119322
|
+
try {
|
|
119323
|
+
getLogger("managed-runtime").warn(`Skipping failed ${operation} for ${name2}: ${formatErrorWithCauses(error2)}`);
|
|
119324
|
+
} catch {
|
|
119311
119325
|
}
|
|
119312
119326
|
}
|
|
119313
119327
|
async ensureCurrentRuntime(name2, options = {}) {
|
|
@@ -225849,7 +225863,7 @@ ${page}${helpTipBottom}${choiceDescription}${ansiEscapes.cursorHide}`;
|
|
|
225849
225863
|
data = createReviewBundleSnapshot(bundle);
|
|
225850
225864
|
}
|
|
225851
225865
|
const { injectReviewSnapshot } = await import("./chunks/index-VoI6Ds2-.js");
|
|
225852
|
-
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-
|
|
225866
|
+
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-DDjD2VXi.js").then(async (m) => {
|
|
225853
225867
|
await m.__tla;
|
|
225854
225868
|
return m;
|
|
225855
225869
|
});
|