@swmansion/argent 0.34.1-next.30 → 0.34.1-next.32

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.
@@ -2052,7 +2052,7 @@ var require_parse = __commonJS({
2052
2052
  "../../node_modules/semver/functions/parse.js"(exports, module) {
2053
2053
  "use strict";
2054
2054
  var SemVer = require_semver();
2055
- var parse4 = (version, options, throwErrors = false) => {
2055
+ var parse5 = (version, options, throwErrors = false) => {
2056
2056
  if (version instanceof SemVer) {
2057
2057
  return version;
2058
2058
  }
@@ -2065,7 +2065,7 @@ var require_parse = __commonJS({
2065
2065
  throw er;
2066
2066
  }
2067
2067
  };
2068
- module.exports = parse4;
2068
+ module.exports = parse5;
2069
2069
  }
2070
2070
  });
2071
2071
 
@@ -2073,9 +2073,9 @@ var require_parse = __commonJS({
2073
2073
  var require_valid = __commonJS({
2074
2074
  "../../node_modules/semver/functions/valid.js"(exports, module) {
2075
2075
  "use strict";
2076
- var parse4 = require_parse();
2076
+ var parse5 = require_parse();
2077
2077
  var valid = (version, options) => {
2078
- const v = parse4(version, options);
2078
+ const v = parse5(version, options);
2079
2079
  return v ? v.version : null;
2080
2080
  };
2081
2081
  module.exports = valid;
@@ -2086,9 +2086,9 @@ var require_valid = __commonJS({
2086
2086
  var require_clean = __commonJS({
2087
2087
  "../../node_modules/semver/functions/clean.js"(exports, module) {
2088
2088
  "use strict";
2089
- var parse4 = require_parse();
2089
+ var parse5 = require_parse();
2090
2090
  var clean = (version, options) => {
2091
- const s = parse4(version.trim().replace(/^[=v]+/, ""), options);
2091
+ const s = parse5(version.trim().replace(/^[=v]+/, ""), options);
2092
2092
  return s ? s.version : null;
2093
2093
  };
2094
2094
  module.exports = clean;
@@ -2123,10 +2123,10 @@ var require_inc = __commonJS({
2123
2123
  var require_diff = __commonJS({
2124
2124
  "../../node_modules/semver/functions/diff.js"(exports, module) {
2125
2125
  "use strict";
2126
- var parse4 = require_parse();
2126
+ var parse5 = require_parse();
2127
2127
  var diff = (version1, version2) => {
2128
- const v1 = parse4(version1, null, true);
2129
- const v2 = parse4(version2, null, true);
2128
+ const v1 = parse5(version1, null, true);
2129
+ const v2 = parse5(version2, null, true);
2130
2130
  const comparison = v1.compare(v2);
2131
2131
  if (comparison === 0) {
2132
2132
  return null;
@@ -2197,9 +2197,9 @@ var require_patch = __commonJS({
2197
2197
  var require_prerelease = __commonJS({
2198
2198
  "../../node_modules/semver/functions/prerelease.js"(exports, module) {
2199
2199
  "use strict";
2200
- var parse4 = require_parse();
2200
+ var parse5 = require_parse();
2201
2201
  var prerelease = (version, options) => {
2202
- const parsed = parse4(version, options);
2202
+ const parsed = parse5(version, options);
2203
2203
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
2204
2204
  };
2205
2205
  module.exports = prerelease;
@@ -2385,7 +2385,7 @@ var require_coerce = __commonJS({
2385
2385
  "../../node_modules/semver/functions/coerce.js"(exports, module) {
2386
2386
  "use strict";
2387
2387
  var SemVer = require_semver();
2388
- var parse4 = require_parse();
2388
+ var parse5 = require_parse();
2389
2389
  var { safeRe: re2, t: t2 } = require_re();
2390
2390
  var coerce = (version, options) => {
2391
2391
  if (version instanceof SemVer) {
@@ -2420,7 +2420,7 @@ var require_coerce = __commonJS({
2420
2420
  const patch = match[4] || "0";
2421
2421
  const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
2422
2422
  const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
2423
- return parse4(`${major2}.${minor}.${patch}${prerelease}${build}`, options);
2423
+ return parse5(`${major2}.${minor}.${patch}${prerelease}${build}`, options);
2424
2424
  };
2425
2425
  module.exports = coerce;
2426
2426
  }
@@ -2430,7 +2430,7 @@ var require_coerce = __commonJS({
2430
2430
  var require_truncate = __commonJS({
2431
2431
  "../../node_modules/semver/functions/truncate.js"(exports, module) {
2432
2432
  "use strict";
2433
- var parse4 = require_parse();
2433
+ var parse5 = require_parse();
2434
2434
  var constants2 = require_constants();
2435
2435
  var SemVer = require_semver();
2436
2436
  var truncate = (version, truncation, options) => {
@@ -2442,7 +2442,7 @@ var require_truncate = __commonJS({
2442
2442
  };
2443
2443
  var cloneInputVersion = (version, options) => {
2444
2444
  const versionStringToParse = version instanceof SemVer ? version.version : version;
2445
- return parse4(versionStringToParse, options);
2445
+ return parse5(versionStringToParse, options);
2446
2446
  };
2447
2447
  var doTruncation = (version, truncation) => {
2448
2448
  if (isPrerelease(truncation)) {
@@ -3486,7 +3486,7 @@ var require_semver2 = __commonJS({
3486
3486
  var constants2 = require_constants();
3487
3487
  var SemVer = require_semver();
3488
3488
  var identifiers = require_identifiers();
3489
- var parse4 = require_parse();
3489
+ var parse5 = require_parse();
3490
3490
  var valid = require_valid();
3491
3491
  var clean = require_clean();
3492
3492
  var inc = require_inc();
@@ -3525,7 +3525,7 @@ var require_semver2 = __commonJS({
3525
3525
  var simplifyRange = require_simplify();
3526
3526
  var subset = require_subset();
3527
3527
  module.exports = {
3528
- parse: parse4,
3528
+ parse: parse5,
3529
3529
  valid,
3530
3530
  clean,
3531
3531
  inc,
@@ -7538,10 +7538,10 @@ var require_resolve_block_map = __commonJS({
7538
7538
  let offset = bm.offset;
7539
7539
  let commentEnd = null;
7540
7540
  for (const collItem of bm.items) {
7541
- const { start, key, sep: sep8, value } = collItem;
7541
+ const { start, key, sep: sep9, value } = collItem;
7542
7542
  const keyProps = resolveProps.resolveProps(start, {
7543
7543
  indicator: "explicit-key-ind",
7544
- next: key ?? sep8?.[0],
7544
+ next: key ?? sep9?.[0],
7545
7545
  offset,
7546
7546
  onError,
7547
7547
  parentIndent: bm.indent,
@@ -7555,7 +7555,7 @@ var require_resolve_block_map = __commonJS({
7555
7555
  else if ("indent" in key && key.indent !== bm.indent)
7556
7556
  onError(offset, "BAD_INDENT", startColMsg);
7557
7557
  }
7558
- if (!keyProps.anchor && !keyProps.tag && !sep8) {
7558
+ if (!keyProps.anchor && !keyProps.tag && !sep9) {
7559
7559
  commentEnd = keyProps.end;
7560
7560
  if (keyProps.comment) {
7561
7561
  if (map.comment)
@@ -7579,7 +7579,7 @@ var require_resolve_block_map = __commonJS({
7579
7579
  ctx.atKey = false;
7580
7580
  if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))
7581
7581
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
7582
- const valueProps = resolveProps.resolveProps(sep8 ?? [], {
7582
+ const valueProps = resolveProps.resolveProps(sep9 ?? [], {
7583
7583
  indicator: "map-value-ind",
7584
7584
  next: value,
7585
7585
  offset: keyNode.range[2],
@@ -7595,7 +7595,7 @@ var require_resolve_block_map = __commonJS({
7595
7595
  if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024)
7596
7596
  onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
7597
7597
  }
7598
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep8, null, valueProps, onError);
7598
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep9, null, valueProps, onError);
7599
7599
  if (ctx.schema.compat)
7600
7600
  utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
7601
7601
  offset = valueNode.range[2];
@@ -7686,7 +7686,7 @@ var require_resolve_end = __commonJS({
7686
7686
  let comment = "";
7687
7687
  if (end) {
7688
7688
  let hasSpace = false;
7689
- let sep8 = "";
7689
+ let sep9 = "";
7690
7690
  for (const token of end) {
7691
7691
  const { source, type } = token;
7692
7692
  switch (type) {
@@ -7700,13 +7700,13 @@ var require_resolve_end = __commonJS({
7700
7700
  if (!comment)
7701
7701
  comment = cb;
7702
7702
  else
7703
- comment += sep8 + cb;
7704
- sep8 = "";
7703
+ comment += sep9 + cb;
7704
+ sep9 = "";
7705
7705
  break;
7706
7706
  }
7707
7707
  case "newline":
7708
7708
  if (comment)
7709
- sep8 += source;
7709
+ sep9 += source;
7710
7710
  hasSpace = true;
7711
7711
  break;
7712
7712
  default:
@@ -7749,18 +7749,18 @@ var require_resolve_flow_collection = __commonJS({
7749
7749
  let offset = fc.offset + fc.start.source.length;
7750
7750
  for (let i2 = 0; i2 < fc.items.length; ++i2) {
7751
7751
  const collItem = fc.items[i2];
7752
- const { start, key, sep: sep8, value } = collItem;
7752
+ const { start, key, sep: sep9, value } = collItem;
7753
7753
  const props = resolveProps.resolveProps(start, {
7754
7754
  flow: fcName,
7755
7755
  indicator: "explicit-key-ind",
7756
- next: key ?? sep8?.[0],
7756
+ next: key ?? sep9?.[0],
7757
7757
  offset,
7758
7758
  onError,
7759
7759
  parentIndent: fc.indent,
7760
7760
  startOnNewline: false
7761
7761
  });
7762
7762
  if (!props.found) {
7763
- if (!props.anchor && !props.tag && !sep8 && !value) {
7763
+ if (!props.anchor && !props.tag && !sep9 && !value) {
7764
7764
  if (i2 === 0 && props.comma)
7765
7765
  onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`);
7766
7766
  else if (i2 < fc.items.length - 1)
@@ -7814,8 +7814,8 @@ var require_resolve_flow_collection = __commonJS({
7814
7814
  }
7815
7815
  }
7816
7816
  }
7817
- if (!isMap2 && !sep8 && !props.found) {
7818
- const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep8, null, props, onError);
7817
+ if (!isMap2 && !sep9 && !props.found) {
7818
+ const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep9, null, props, onError);
7819
7819
  coll.items.push(valueNode);
7820
7820
  offset = valueNode.range[2];
7821
7821
  if (isBlock(value))
@@ -7827,7 +7827,7 @@ var require_resolve_flow_collection = __commonJS({
7827
7827
  if (isBlock(key))
7828
7828
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
7829
7829
  ctx.atKey = false;
7830
- const valueProps = resolveProps.resolveProps(sep8 ?? [], {
7830
+ const valueProps = resolveProps.resolveProps(sep9 ?? [], {
7831
7831
  flow: fcName,
7832
7832
  indicator: "map-value-ind",
7833
7833
  next: value,
@@ -7838,8 +7838,8 @@ var require_resolve_flow_collection = __commonJS({
7838
7838
  });
7839
7839
  if (valueProps.found) {
7840
7840
  if (!isMap2 && !props.found && ctx.options.strict) {
7841
- if (sep8)
7842
- for (const st of sep8) {
7841
+ if (sep9)
7842
+ for (const st of sep9) {
7843
7843
  if (st === valueProps.found)
7844
7844
  break;
7845
7845
  if (st.type === "newline") {
@@ -7856,7 +7856,7 @@ var require_resolve_flow_collection = __commonJS({
7856
7856
  else
7857
7857
  onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
7858
7858
  }
7859
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep8, null, valueProps, onError) : null;
7859
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep9, null, valueProps, onError) : null;
7860
7860
  if (valueNode) {
7861
7861
  if (isBlock(value))
7862
7862
  onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
@@ -8036,7 +8036,7 @@ var require_resolve_block_scalar = __commonJS({
8036
8036
  chompStart = i2 + 1;
8037
8037
  }
8038
8038
  let value = "";
8039
- let sep8 = "";
8039
+ let sep9 = "";
8040
8040
  let prevMoreIndented = false;
8041
8041
  for (let i2 = 0; i2 < contentStart; ++i2)
8042
8042
  value += lines[i2][0].slice(trimIndent) + "\n";
@@ -8053,24 +8053,24 @@ var require_resolve_block_scalar = __commonJS({
8053
8053
  indent = "";
8054
8054
  }
8055
8055
  if (type === Scalar.Scalar.BLOCK_LITERAL) {
8056
- value += sep8 + indent.slice(trimIndent) + content;
8057
- sep8 = "\n";
8056
+ value += sep9 + indent.slice(trimIndent) + content;
8057
+ sep9 = "\n";
8058
8058
  } else if (indent.length > trimIndent || content[0] === " ") {
8059
- if (sep8 === " ")
8060
- sep8 = "\n";
8061
- else if (!prevMoreIndented && sep8 === "\n")
8062
- sep8 = "\n\n";
8063
- value += sep8 + indent.slice(trimIndent) + content;
8064
- sep8 = "\n";
8059
+ if (sep9 === " ")
8060
+ sep9 = "\n";
8061
+ else if (!prevMoreIndented && sep9 === "\n")
8062
+ sep9 = "\n\n";
8063
+ value += sep9 + indent.slice(trimIndent) + content;
8064
+ sep9 = "\n";
8065
8065
  prevMoreIndented = true;
8066
8066
  } else if (content === "") {
8067
- if (sep8 === "\n")
8067
+ if (sep9 === "\n")
8068
8068
  value += "\n";
8069
8069
  else
8070
- sep8 = "\n";
8070
+ sep9 = "\n";
8071
8071
  } else {
8072
- value += sep8 + content;
8073
- sep8 = " ";
8072
+ value += sep9 + content;
8073
+ sep9 = " ";
8074
8074
  prevMoreIndented = false;
8075
8075
  }
8076
8076
  }
@@ -8253,25 +8253,25 @@ var require_resolve_flow_scalar = __commonJS({
8253
8253
  trimBoth = /^[ \t]+|[ \t]+$/g;
8254
8254
  }
8255
8255
  let res = match[1].replace(trimEnd, "");
8256
- let sep8 = " ";
8256
+ let sep9 = " ";
8257
8257
  let pos = line.lastIndex;
8258
8258
  while (match = line.exec(source)) {
8259
8259
  const lm = match[1].replace(trimBoth, "");
8260
8260
  if (lm === "") {
8261
- if (sep8 === "\n")
8262
- res += sep8;
8261
+ if (sep9 === "\n")
8262
+ res += sep9;
8263
8263
  else
8264
- sep8 = "\n";
8264
+ sep9 = "\n";
8265
8265
  } else {
8266
- res += sep8 + lm;
8267
- sep8 = " ";
8266
+ res += sep9 + lm;
8267
+ sep9 = " ";
8268
8268
  }
8269
8269
  pos = line.lastIndex;
8270
8270
  }
8271
8271
  const last = /[ \t]*(.*)/sy;
8272
8272
  last.lastIndex = pos;
8273
8273
  match = last.exec(source);
8274
- return res + sep8 + (match?.[1] ?? "");
8274
+ return res + sep9 + (match?.[1] ?? "");
8275
8275
  }
8276
8276
  function doubleQuotedValue(source, onError) {
8277
8277
  let res = "";
@@ -9081,14 +9081,14 @@ var require_cst_stringify = __commonJS({
9081
9081
  }
9082
9082
  }
9083
9083
  }
9084
- function stringifyItem({ start, key, sep: sep8, value }) {
9084
+ function stringifyItem({ start, key, sep: sep9, value }) {
9085
9085
  let res = "";
9086
9086
  for (const st of start)
9087
9087
  res += st.source;
9088
9088
  if (key)
9089
9089
  res += stringifyToken(key);
9090
- if (sep8)
9091
- for (const st of sep8)
9090
+ if (sep9)
9091
+ for (const st of sep9)
9092
9092
  res += st.source;
9093
9093
  if (value)
9094
9094
  res += stringifyToken(value);
@@ -10255,18 +10255,18 @@ var require_parser = __commonJS({
10255
10255
  if (this.type === "map-value-ind") {
10256
10256
  const prev = getPrevProps(this.peek(2));
10257
10257
  const start = getFirstKeyStartProps(prev);
10258
- let sep8;
10258
+ let sep9;
10259
10259
  if (scalar.end) {
10260
- sep8 = scalar.end;
10261
- sep8.push(this.sourceToken);
10260
+ sep9 = scalar.end;
10261
+ sep9.push(this.sourceToken);
10262
10262
  delete scalar.end;
10263
10263
  } else
10264
- sep8 = [this.sourceToken];
10264
+ sep9 = [this.sourceToken];
10265
10265
  const map = {
10266
10266
  type: "block-map",
10267
10267
  offset: scalar.offset,
10268
10268
  indent: scalar.indent,
10269
- items: [{ start, key: scalar, sep: sep8 }]
10269
+ items: [{ start, key: scalar, sep: sep9 }]
10270
10270
  };
10271
10271
  this.onKeyLine = true;
10272
10272
  this.stack[this.stack.length - 1] = map;
@@ -10419,15 +10419,15 @@ var require_parser = __commonJS({
10419
10419
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
10420
10420
  const start2 = getFirstKeyStartProps(it.start);
10421
10421
  const key = it.key;
10422
- const sep8 = it.sep;
10423
- sep8.push(this.sourceToken);
10422
+ const sep9 = it.sep;
10423
+ sep9.push(this.sourceToken);
10424
10424
  delete it.key;
10425
10425
  delete it.sep;
10426
10426
  this.stack.push({
10427
10427
  type: "block-map",
10428
10428
  offset: this.offset,
10429
10429
  indent: this.indent,
10430
- items: [{ start: start2, key, sep: sep8 }]
10430
+ items: [{ start: start2, key, sep: sep9 }]
10431
10431
  });
10432
10432
  } else if (start.length > 0) {
10433
10433
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -10621,13 +10621,13 @@ var require_parser = __commonJS({
10621
10621
  const prev = getPrevProps(parent);
10622
10622
  const start = getFirstKeyStartProps(prev);
10623
10623
  fixFlowSeqItems(fc);
10624
- const sep8 = fc.end.splice(1, fc.end.length);
10625
- sep8.push(this.sourceToken);
10624
+ const sep9 = fc.end.splice(1, fc.end.length);
10625
+ sep9.push(this.sourceToken);
10626
10626
  const map = {
10627
10627
  type: "block-map",
10628
10628
  offset: fc.offset,
10629
10629
  indent: fc.indent,
10630
- items: [{ start, key: fc, sep: sep8 }]
10630
+ items: [{ start, key: fc, sep: sep9 }]
10631
10631
  };
10632
10632
  this.onKeyLine = true;
10633
10633
  this.stack[this.stack.length - 1] = map;
@@ -10805,7 +10805,7 @@ var require_public_api = __commonJS({
10805
10805
  }
10806
10806
  return doc;
10807
10807
  }
10808
- function parse4(src, reviver, options) {
10808
+ function parse5(src, reviver, options) {
10809
10809
  let _reviver = void 0;
10810
10810
  if (typeof reviver === "function") {
10811
10811
  _reviver = reviver;
@@ -10846,7 +10846,7 @@ var require_public_api = __commonJS({
10846
10846
  return value.toString(options);
10847
10847
  return new Document2.Document(value, _replacer, options).toString(options);
10848
10848
  }
10849
- exports.parse = parse4;
10849
+ exports.parse = parse5;
10850
10850
  exports.parseAllDocuments = parseAllDocuments;
10851
10851
  exports.parseDocument = parseDocument2;
10852
10852
  exports.stringify = stringify2;
@@ -11008,13 +11008,13 @@ var require_min_release_age = __commonJS({
11008
11008
  return Number.isFinite(days) && days > 0 ? days * config_parse_1.DAY_MS : 0;
11009
11009
  }
11010
11010
  function probe(p, cwd) {
11011
- return new Promise((resolve20) => {
11011
+ return new Promise((resolve21) => {
11012
11012
  (0, node_child_process_1.exec)(p.command, { cwd, timeout: PROBE_TIMEOUT_MS2, windowsHide: true }, (err, stdout2) => {
11013
11013
  if (err) {
11014
- resolve20(0);
11014
+ resolve21(0);
11015
11015
  return;
11016
11016
  }
11017
- resolve20(p.parse(stdout2));
11017
+ resolve21(p.parse(stdout2));
11018
11018
  });
11019
11019
  });
11020
11020
  }
@@ -11047,12 +11047,12 @@ var require_registry = __commonJS({
11047
11047
  var node_https_1 = __importDefault(__require("node:https"));
11048
11048
  var REQUEST_TIMEOUT_MS = 1e4;
11049
11049
  function fetchRegistryInfo2(url) {
11050
- return new Promise((resolve20) => {
11050
+ return new Promise((resolve21) => {
11051
11051
  let resolved = false;
11052
11052
  const safeResolve = (value) => {
11053
11053
  if (!resolved) {
11054
11054
  resolved = true;
11055
- resolve20(value);
11055
+ resolve21(value);
11056
11056
  }
11057
11057
  };
11058
11058
  const req = node_https_1.default.get(url, { timeout: REQUEST_TIMEOUT_MS }, (res) => {
@@ -12992,8 +12992,8 @@ var Deferred = class {
12992
12992
  _resolve;
12993
12993
  _reject;
12994
12994
  constructor() {
12995
- this._promise = new Promise((resolve20, reject) => {
12996
- this._resolve = resolve20;
12995
+ this._promise = new Promise((resolve21, reject) => {
12996
+ this._resolve = resolve21;
12997
12997
  this._reject = reject;
12998
12998
  });
12999
12999
  }
@@ -13886,8 +13886,8 @@ var ExportOperation = class {
13886
13886
  _metrics;
13887
13887
  _exportScheduledResolve;
13888
13888
  constructor(exporter, logRecords, exportTimeoutMillis, metrics) {
13889
- this._exportScheduledPromise = new Promise((resolve20) => {
13890
- this._exportScheduledResolve = resolve20;
13889
+ this._exportScheduledPromise = new Promise((resolve21) => {
13890
+ this._exportScheduledResolve = resolve21;
13891
13891
  });
13892
13892
  this._exportCompleted = this._executeExport(exporter, logRecords, exportTimeoutMillis);
13893
13893
  this._metrics = metrics;
@@ -13912,7 +13912,7 @@ var ExportOperation = class {
13912
13912
  }
13913
13913
  }
13914
13914
  async _exportWithTimeout(exporter, logRecords, exportTimeoutMillis) {
13915
- return new Promise((resolve20, reject) => {
13915
+ return new Promise((resolve21, reject) => {
13916
13916
  const timer = setTimeout(() => {
13917
13917
  reject(new Error("Timeout"));
13918
13918
  }, exportTimeoutMillis);
@@ -13920,7 +13920,7 @@ var ExportOperation = class {
13920
13920
  this._metrics.finishLogs(logRecords.length, result.error);
13921
13921
  clearTimeout(timer);
13922
13922
  if (result.code === ExportResultCode.SUCCESS) {
13923
- resolve20();
13923
+ resolve21();
13924
13924
  } else {
13925
13925
  reject(result.error ?? new Error("BatchLogRecordProcessor: log record export failed"));
13926
13926
  }
@@ -14701,7 +14701,7 @@ function parseRetryAfterToMills(retryAfter) {
14701
14701
  var DEFAULT_USER_AGENT = `OTel-OTLP-Exporter-JavaScript/${VERSION4}`;
14702
14702
  var MAX_RESPONSE_BODY_SIZE = 4 * 1024 * 1024;
14703
14703
  function sendWithHttp(request, url, headers, compression, userAgent, agent, data, timeoutMillis) {
14704
- return new Promise((resolve20) => {
14704
+ return new Promise((resolve21) => {
14705
14705
  const parsedUrl = new URL(url);
14706
14706
  if (userAgent) {
14707
14707
  headers["User-Agent"] = `${userAgent} ${DEFAULT_USER_AGENT}`;
@@ -14720,7 +14720,7 @@ function sendWithHttp(request, url, headers, compression, userAgent, agent, data
14720
14720
  responseSize += chunk.length;
14721
14721
  if (responseSize > MAX_RESPONSE_BODY_SIZE) {
14722
14722
  const sizeError = new Error(`OTLP export response body exceeded size limit of ${MAX_RESPONSE_BODY_SIZE} bytes`);
14723
- resolve20({ status: "failure", error: sizeError });
14723
+ resolve21({ status: "failure", error: sizeError });
14724
14724
  res.destroy();
14725
14725
  return;
14726
14726
  }
@@ -14728,18 +14728,18 @@ function sendWithHttp(request, url, headers, compression, userAgent, agent, data
14728
14728
  });
14729
14729
  res.on("end", () => {
14730
14730
  if (res.statusCode && res.statusCode <= 299) {
14731
- resolve20({
14731
+ resolve21({
14732
14732
  status: "success",
14733
14733
  data: Buffer.concat(responseData)
14734
14734
  });
14735
14735
  } else if (res.statusCode && isExportHTTPErrorRetryable(res.statusCode)) {
14736
- resolve20({
14736
+ resolve21({
14737
14737
  status: "retryable",
14738
14738
  retryInMillis: parseRetryAfterToMills(res.headers["retry-after"])
14739
14739
  });
14740
14740
  } else {
14741
14741
  const error = new OTLPExporterError(res.statusMessage, res.statusCode, Buffer.concat(responseData).toString());
14742
- resolve20({
14742
+ resolve21({
14743
14743
  status: "failure",
14744
14744
  error
14745
14745
  });
@@ -14747,17 +14747,17 @@ function sendWithHttp(request, url, headers, compression, userAgent, agent, data
14747
14747
  });
14748
14748
  res.on("error", (error) => {
14749
14749
  if (res.statusCode && res.statusCode <= 299) {
14750
- resolve20({
14750
+ resolve21({
14751
14751
  status: "success"
14752
14752
  });
14753
14753
  } else if (res.statusCode && isExportHTTPErrorRetryable(res.statusCode)) {
14754
- resolve20({
14754
+ resolve21({
14755
14755
  status: "retryable",
14756
14756
  error,
14757
14757
  retryInMillis: parseRetryAfterToMills(res.headers["retry-after"])
14758
14758
  });
14759
14759
  } else {
14760
- resolve20({
14760
+ resolve21({
14761
14761
  status: "failure",
14762
14762
  error
14763
14763
  });
@@ -14766,26 +14766,26 @@ function sendWithHttp(request, url, headers, compression, userAgent, agent, data
14766
14766
  });
14767
14767
  req.setTimeout(timeoutMillis, () => {
14768
14768
  req.destroy();
14769
- resolve20({
14769
+ resolve21({
14770
14770
  status: "retryable",
14771
14771
  error: new Error("Request timed out")
14772
14772
  });
14773
14773
  });
14774
14774
  req.on("error", (error) => {
14775
14775
  if (isHttpTransportNetworkErrorRetryable(error)) {
14776
- resolve20({
14776
+ resolve21({
14777
14777
  status: "retryable",
14778
14778
  error
14779
14779
  });
14780
14780
  } else {
14781
- resolve20({
14781
+ resolve21({
14782
14782
  status: "failure",
14783
14783
  error
14784
14784
  });
14785
14785
  }
14786
14786
  });
14787
14787
  compressAndSend(req, compression, data, (error) => {
14788
- resolve20({
14788
+ resolve21({
14789
14789
  status: "failure",
14790
14790
  error
14791
14791
  });
@@ -14875,9 +14875,9 @@ var RetryingTransport = class {
14875
14875
  this._transport = transport;
14876
14876
  }
14877
14877
  retry(data, timeoutMillis, inMillis) {
14878
- return new Promise((resolve20, reject) => {
14878
+ return new Promise((resolve21, reject) => {
14879
14879
  setTimeout(() => {
14880
- this._transport.send(data, timeoutMillis).then(resolve20, reject);
14880
+ this._transport.send(data, timeoutMillis).then(resolve21, reject);
14881
14881
  }, inMillis);
14882
14882
  });
14883
14883
  }
@@ -15634,6 +15634,10 @@ var SCRIPT_FILE_NAME_PATTERN = new RegExp(
15634
15634
  `^${FLOW_NAME_CHARSET}(?:${SCRIPT_FILE_EXTENSIONS.map((ext) => `\\${ext}`).join("|")})$`
15635
15635
  );
15636
15636
 
15637
+ // ../registry/src/flow-platforms.ts
15638
+ var LAUNCH_PLATFORMS = ["ios", "android", "chromium", "vega", "macos"];
15639
+ var SELECTABLE_PLATFORMS = [...LAUNCH_PLATFORMS, "ios-remote"];
15640
+
15637
15641
  // ../registry/src/flow-file-refs.ts
15638
15642
  import * as fs8 from "node:fs/promises";
15639
15643
  import * as path9 from "node:path";
@@ -15871,6 +15875,8 @@ var FAILURE_CODES = {
15871
15875
  DEBUGGER_TARGET_DEVICE_MISMATCH: "DEBUGGER_TARGET_DEVICE_MISMATCH",
15872
15876
  DEBUGGER_EVALUATE_EXPRESSION_THREW: "DEBUGGER_EVALUATE_EXPRESSION_THREW",
15873
15877
  DEBUGGER_RELOAD_FAILED: "DEBUGGER_RELOAD_FAILED",
15878
+ // e2e-add-step refused a debugger-* call that answered `not_connected`.
15879
+ DEBUGGER_NOT_CONNECTED: "DEBUGGER_NOT_CONNECTED",
15874
15880
  JS_RUNTIME_CONSOLE_SERVER_BIND_FAILED: "JS_RUNTIME_CONSOLE_SERVER_BIND_FAILED",
15875
15881
  JS_RUNTIME_PAYLOAD_INVALID: "JS_RUNTIME_PAYLOAD_INVALID",
15876
15882
  JS_RUNTIME_PAYLOAD_DEVICE_MISSING: "JS_RUNTIME_PAYLOAD_DEVICE_MISSING",
@@ -16936,7 +16942,7 @@ function isCi(env = process.env) {
16936
16942
  var SESSION_ID = randomUUID4();
16937
16943
  function readCliVersion() {
16938
16944
  if (true) {
16939
- return "0.34.1-next.30";
16945
+ return "0.34.1-next.32";
16940
16946
  }
16941
16947
  return "0.0.0";
16942
16948
  }
@@ -17262,12 +17268,12 @@ function resolveHostFingerprint() {
17262
17268
  }
17263
17269
  }
17264
17270
  function resolveHostFingerprintAsync() {
17265
- return new Promise((resolve20) => {
17271
+ return new Promise((resolve21) => {
17266
17272
  let binary;
17267
17273
  try {
17268
17274
  binary = simulatorServerBinaryPath();
17269
17275
  } catch {
17270
- resolve20(null);
17276
+ resolve21(null);
17271
17277
  return;
17272
17278
  }
17273
17279
  let settled = false;
@@ -17280,7 +17286,7 @@ function resolveHostFingerprintAsync() {
17280
17286
  child?.kill("SIGKILL");
17281
17287
  } catch {
17282
17288
  }
17283
- resolve20(value);
17289
+ resolve21(value);
17284
17290
  };
17285
17291
  const watchdog = setTimeout(() => finish(null), FINGERPRINT_TIMEOUT_MS);
17286
17292
  watchdog.unref?.();
@@ -17552,7 +17558,7 @@ var DRAIN_GRACE_MS = 250;
17552
17558
  async function raceDrain(client2, timeoutMs) {
17553
17559
  await Promise.race([
17554
17560
  client2.shutdown(timeoutMs),
17555
- new Promise((resolve20) => setTimeout(resolve20, timeoutMs + DRAIN_GRACE_MS).unref())
17561
+ new Promise((resolve21) => setTimeout(resolve21, timeoutMs + DRAIN_GRACE_MS).unref())
17556
17562
  ]);
17557
17563
  }
17558
17564
  async function shutdown(timeoutMs = SHORT_FLUSH_TIMEOUT_MS) {
@@ -19315,11 +19321,11 @@ function parseTree(text2, errors = [], options = ParseOptions.DEFAULT) {
19315
19321
  onValue({ type: getNodeType(value), offset, length, parent: currentParent, value });
19316
19322
  ensurePropertyComplete(offset + length);
19317
19323
  },
19318
- onSeparator: (sep8, offset, length) => {
19324
+ onSeparator: (sep9, offset, length) => {
19319
19325
  if (currentParent.type === "property") {
19320
- if (sep8 === ":") {
19326
+ if (sep9 === ":") {
19321
19327
  currentParent.colonOffset = offset;
19322
- } else if (sep8 === ",") {
19328
+ } else if (sep9 === ",") {
19323
19329
  ensurePropertyComplete(offset);
19324
19330
  }
19325
19331
  }
@@ -20836,12 +20842,12 @@ async function isOnline(timeoutMs = PROBE_TIMEOUT_MS) {
20836
20842
  } catch {
20837
20843
  return false;
20838
20844
  }
20839
- return new Promise((resolve20) => {
20840
- const timer = setTimeout(() => resolve20(false), timeoutMs);
20845
+ return new Promise((resolve21) => {
20846
+ const timer = setTimeout(() => resolve21(false), timeoutMs);
20841
20847
  timer.unref();
20842
20848
  dns.lookup(host, (err) => {
20843
20849
  clearTimeout(timer);
20844
- resolve20(!err);
20850
+ resolve21(!err);
20845
20851
  });
20846
20852
  });
20847
20853
  }
@@ -22690,7 +22696,7 @@ var ShellCommandError = class extends Error {
22690
22696
  signal;
22691
22697
  };
22692
22698
  function runShellCommand(cmd, opts = {}) {
22693
- return new Promise((resolve20, reject) => {
22699
+ return new Promise((resolve21, reject) => {
22694
22700
  const child = spawn2(cmd.bin, cmd.args, {
22695
22701
  stdio: ["ignore", "pipe", "pipe"],
22696
22702
  shell: process.platform === "win32",
@@ -22706,7 +22712,7 @@ function runShellCommand(cmd, opts = {}) {
22706
22712
  stderr += chunk.toString();
22707
22713
  });
22708
22714
  child.on("close", (code, signal) => {
22709
- if (code === 0) resolve20();
22715
+ if (code === 0) resolve21();
22710
22716
  else
22711
22717
  reject(
22712
22718
  new ShellCommandError(
@@ -23791,7 +23797,7 @@ async function runSkillsStep(args) {
23791
23797
  };
23792
23798
  }
23793
23799
  function runNpxSkills(args, interactive, cwd) {
23794
- return new Promise((resolve20, reject) => {
23800
+ return new Promise((resolve21, reject) => {
23795
23801
  const npxCmd = process.platform === "win32" ? "npx.cmd" : "npx";
23796
23802
  const child = spawn3(npxCmd, args, {
23797
23803
  env: npxChildEnv(),
@@ -23811,7 +23817,7 @@ function runNpxSkills(args, interactive, cwd) {
23811
23817
  }
23812
23818
  child.on("close", (code, signal) => {
23813
23819
  if (code === 0) {
23814
- resolve20();
23820
+ resolve21();
23815
23821
  } else {
23816
23822
  const output = [stderr, stdout2].filter(Boolean).join("\n").trim();
23817
23823
  reject(
@@ -24445,7 +24451,7 @@ import {
24445
24451
  } from "node:fs/promises";
24446
24452
  import { constants as fsConstants } from "node:fs";
24447
24453
  import { tmpdir as tmpdir2 } from "node:os";
24448
- import { basename as basename7, dirname as dirname18, extname as extname2, isAbsolute as isAbsolute8, join as join28, normalize as normalize2, resolve as resolve18, sep as sep6 } from "node:path";
24454
+ import { basename as basename7, dirname as dirname18, extname as extname2, isAbsolute as isAbsolute8, join as join28, normalize as normalize2, resolve as resolve19, sep as sep7 } from "node:path";
24449
24455
  import { createHash as createHash5 } from "node:crypto";
24450
24456
  var ALLOWED_SAVE_DIRS = /* @__PURE__ */ new Set([normalize2(".argent/recordings")]);
24451
24457
  var RECORDINGS_SAVE_DIR = normalize2(".argent/recordings");