uloop-cli 0.55.0 → 0.55.1

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.
@@ -5759,7 +5759,7 @@ var import_path3 = require("path");
5759
5759
 
5760
5760
  // src/default-tools.json
5761
5761
  var default_tools_default = {
5762
- version: "0.55.0",
5762
+ version: "0.55.1",
5763
5763
  tools: [
5764
5764
  {
5765
5765
  name: "compile",
@@ -6193,7 +6193,7 @@ function getCacheFilePath() {
6193
6193
  }
6194
6194
 
6195
6195
  // src/version.ts
6196
- var VERSION = "0.55.0";
6196
+ var VERSION = "0.55.1";
6197
6197
 
6198
6198
  // src/spinner.ts
6199
6199
  var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
@@ -7346,6 +7346,26 @@ function convertValue(value, propInfo) {
7346
7346
  }
7347
7347
  return parsed;
7348
7348
  }
7349
+ if (lowerType === "object") {
7350
+ if (typeof value === "string") {
7351
+ const trimmed = value.trim();
7352
+ if (!trimmed.startsWith("{") || !trimmed.endsWith("}")) {
7353
+ throw new Error(`Invalid object value: ${value}. Use JSON object syntax.`);
7354
+ }
7355
+ try {
7356
+ const parsed = JSON.parse(trimmed);
7357
+ if (typeof parsed === "object" && parsed !== null && !Array.isArray(parsed)) {
7358
+ return parsed;
7359
+ }
7360
+ } catch {
7361
+ }
7362
+ throw new Error(`Invalid object value: ${value}. Use JSON object syntax.`);
7363
+ }
7364
+ if (typeof value === "object" && value !== null && !Array.isArray(value)) {
7365
+ return value;
7366
+ }
7367
+ throw new Error(`Invalid object value: ${String(value)}. Use JSON object syntax.`);
7368
+ }
7349
7369
  return value;
7350
7370
  }
7351
7371
  function extractGlobalOptions(options) {