@workflow/world-testing 5.0.4 → 5.0.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.
@@ -1621,10 +1621,10 @@ var init_encryption2 = __esm({
1621
1621
  }
1622
1622
  });
1623
1623
 
1624
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/constants.js
1624
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/constants.js
1625
1625
  var UNDEFINED, HOLE, NAN, POSITIVE_INFINITY, NEGATIVE_INFINITY, NEGATIVE_ZERO, SPARSE, MAX_ARRAY_LEN, MAX_ARRAY_INDEX;
1626
1626
  var init_constants = __esm({
1627
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/constants.js"() {
1627
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/constants.js"() {
1628
1628
  "use strict";
1629
1629
  UNDEFINED = -1;
1630
1630
  HOLE = -2;
@@ -1638,7 +1638,21 @@ var init_constants = __esm({
1638
1638
  }
1639
1639
  });
1640
1640
 
1641
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/utils.js
1641
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/utils.js
1642
+ function format_path(keys, format_map_key) {
1643
+ const path = [];
1644
+ for (let i2 = 0; i2 < keys.length; i2 += 1) {
1645
+ const segment = keys[i2];
1646
+ if (segment === MAP_KEY) {
1647
+ path.push(`.get(${format_map_key(keys[++i2])})`);
1648
+ } else if (typeof segment === "number") {
1649
+ path.push(`[${segment}]`);
1650
+ } else {
1651
+ path.push(stringify_key(segment));
1652
+ }
1653
+ }
1654
+ return path;
1655
+ }
1642
1656
  function is_plain_object(thing) {
1643
1657
  const proto = Object.getPrototypeOf(thing);
1644
1658
  return proto === Object.prototype || proto === null || Object.getPrototypeOf(proto) === null || Object.getOwnPropertyNames(proto).sort().join("\0") === object_proto_names;
@@ -1646,48 +1660,29 @@ function is_plain_object(thing) {
1646
1660
  function get_type(thing) {
1647
1661
  return Object.prototype.toString.call(thing).slice(8, -1);
1648
1662
  }
1649
- function get_escaped_char(char) {
1650
- switch (char) {
1651
- case '"':
1652
- return '\\"';
1653
- case "<":
1654
- return "\\u003C";
1655
- case "\\":
1656
- return "\\\\";
1657
- case "\n":
1658
- return "\\n";
1659
- case "\r":
1660
- return "\\r";
1661
- case " ":
1662
- return "\\t";
1663
- case "\b":
1664
- return "\\b";
1665
- case "\f":
1666
- return "\\f";
1667
- case "\u2028":
1668
- return "\\u2028";
1669
- case "\u2029":
1670
- return "\\u2029";
1671
- default:
1672
- return char < " " ? `\\u${char.charCodeAt(0).toString(16).padStart(4, "0")}` : "";
1673
- }
1663
+ function is_buffer(thing) {
1664
+ return typeof Buffer !== "undefined" && Buffer.isBuffer(thing);
1665
+ }
1666
+ function escape_raw(char) {
1667
+ return raw_escapes[char];
1674
1668
  }
1675
1669
  function stringify_string(str) {
1676
- let result = "";
1677
- let last_pos = 0;
1678
- const len = str.length;
1679
- for (let i2 = 0; i2 < len; i2 += 1) {
1680
- const char = str[i2];
1681
- const replacement = get_escaped_char(char);
1682
- if (replacement) {
1683
- result += str.slice(last_pos, i2) + replacement;
1684
- last_pos = i2 + 1;
1685
- }
1670
+ if (!needs_escape.test(str) && str.isWellFormed()) return `"${str}"`;
1671
+ return JSON.stringify(str).replace(json_leaves_raw, escape_raw);
1672
+ }
1673
+ function quote_key(key) {
1674
+ if (key.length > MAX_CACHED_KEY_LENGTH) return stringify_string(key);
1675
+ let quoted = quoted_keys.get(key);
1676
+ if (quoted === void 0) {
1677
+ if (quoted_keys.size >= 1024) quoted_keys.clear();
1678
+ quoted = stringify_string(key);
1679
+ quoted_keys.set(key, quoted);
1686
1680
  }
1687
- return `"${last_pos === 0 ? str : result + str.slice(last_pos)}"`;
1681
+ return quoted;
1688
1682
  }
1689
1683
  function enumerable_symbols(object2) {
1690
- return Object.getOwnPropertySymbols(object2).filter((symbol2) => Object.getOwnPropertyDescriptor(object2, symbol2).enumerable);
1684
+ const symbols = Object.getOwnPropertySymbols(object2);
1685
+ return symbols.length === 0 ? symbols : symbols.filter((symbol2) => Object.getOwnPropertyDescriptor(object2, symbol2)?.enumerable);
1691
1686
  }
1692
1687
  function stringify_key(key) {
1693
1688
  return is_identifier.test(key) ? "." + key : "[" + JSON.stringify(key) + "]";
@@ -1726,9 +1721,9 @@ function valid_array_indices(array2) {
1726
1721
  keys.length = array_index_cut(keys);
1727
1722
  return keys;
1728
1723
  }
1729
- var DevalueError, object_proto_names, is_identifier;
1724
+ var DevalueError, MAP_KEY, object_proto_names, needs_escape, json_leaves_raw, raw_escapes, MAX_CACHED_KEY_LENGTH, quoted_keys, is_identifier;
1730
1725
  var init_utils = __esm({
1731
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/utils.js"() {
1726
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/utils.js"() {
1732
1727
  "use strict";
1733
1728
  init_constants();
1734
1729
  DevalueError = class extends Error {
@@ -1749,11 +1744,24 @@ var init_utils = __esm({
1749
1744
  this.root = root;
1750
1745
  }
1751
1746
  };
1747
+ MAP_KEY = /* @__PURE__ */ Symbol();
1748
+ __name(format_path, "format_path");
1752
1749
  object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
1753
1750
  __name(is_plain_object, "is_plain_object");
1754
1751
  __name(get_type, "get_type");
1755
- __name(get_escaped_char, "get_escaped_char");
1752
+ __name(is_buffer, "is_buffer");
1753
+ needs_escape = /["<\\\u0000-\u001f\u2028\u2029]/;
1754
+ json_leaves_raw = /[<\u2028\u2029]/g;
1755
+ raw_escapes = {
1756
+ "<": "\\u003C",
1757
+ "\u2028": "\\u2028",
1758
+ "\u2029": "\\u2029"
1759
+ };
1760
+ __name(escape_raw, "escape_raw");
1756
1761
  __name(stringify_string, "stringify_string");
1762
+ MAX_CACHED_KEY_LENGTH = 64;
1763
+ quoted_keys = /* @__PURE__ */ new Map();
1764
+ __name(quote_key, "quote_key");
1757
1765
  __name(enumerable_symbols, "enumerable_symbols");
1758
1766
  is_identifier = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
1759
1767
  __name(stringify_key, "stringify_key");
@@ -1765,7 +1773,7 @@ var init_utils = __esm({
1765
1773
  }
1766
1774
  });
1767
1775
 
1768
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/base64.js
1776
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/base64.js
1769
1777
  function encode_native(array_buffer) {
1770
1778
  return new Uint8Array(array_buffer).toBase64();
1771
1779
  }
@@ -1784,7 +1792,11 @@ function encode_legacy(array_buffer) {
1784
1792
  const chunk_size = 32768;
1785
1793
  for (let i2 = 0; i2 < array2.length; i2 += chunk_size) {
1786
1794
  const chunk = array2.subarray(i2, i2 + chunk_size);
1787
- binary += String.fromCharCode.apply(null, chunk);
1795
+ binary += String.fromCharCode.apply(
1796
+ null,
1797
+ /** @type {unknown} */
1798
+ chunk
1799
+ );
1788
1800
  }
1789
1801
  return btoa(binary);
1790
1802
  }
@@ -1799,7 +1811,7 @@ function decode_legacy(base643) {
1799
1811
  }
1800
1812
  var native, buffer, encode64, decode64;
1801
1813
  var init_base64 = __esm({
1802
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/base64.js"() {
1814
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/base64.js"() {
1803
1815
  "use strict";
1804
1816
  __name(encode_native, "encode_native");
1805
1817
  __name(decode_native, "decode_native");
@@ -1814,7 +1826,7 @@ var init_base64 = __esm({
1814
1826
  }
1815
1827
  });
1816
1828
 
1817
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/operations.js
1829
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/operations.js
1818
1830
  function merge_operations(defaults, overrides) {
1819
1831
  if (!overrides) return defaults;
1820
1832
  const merged = (
@@ -1826,17 +1838,17 @@ function merge_operations(defaults, overrides) {
1826
1838
  }
1827
1839
  return merged;
1828
1840
  }
1829
- var NOT_PLAIN, SYMBOL_KEYS, stringify_operations, default_stringify_operations, parse_operations, default_parse_operations;
1841
+ var NOT_PLAIN, SYMBOL_KEYS, stringify_operations, default_stringify_operations, array_buffer_byte_length, shared_array_buffer_byte_length, parse_operations, default_parse_operations;
1830
1842
  var init_operations = __esm({
1831
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/operations.js"() {
1843
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/operations.js"() {
1832
1844
  "use strict";
1833
1845
  init_constants();
1834
1846
  init_utils();
1835
1847
  __name(merge_operations, "merge_operations");
1836
- NOT_PLAIN = Object.freeze({
1848
+ NOT_PLAIN = /* @__PURE__ */ Object.freeze({
1837
1849
  kind: "not-plain"
1838
1850
  });
1839
- SYMBOL_KEYS = Object.freeze({
1851
+ SYMBOL_KEYS = /* @__PURE__ */ Object.freeze({
1840
1852
  kind: "symbol-keys"
1841
1853
  });
1842
1854
  stringify_operations = {
@@ -1855,13 +1867,16 @@ var init_operations = __esm({
1855
1867
  }), "regExpInfo"),
1856
1868
  valuesOf: /* @__PURE__ */ __name((set2) => set2, "valuesOf"),
1857
1869
  entriesOf: /* @__PURE__ */ __name((map2) => map2, "entriesOf"),
1858
- viewInfo: /* @__PURE__ */ __name((view) => ({
1859
- buffer: view.buffer,
1860
- byteOffset: view.byteOffset,
1861
- byteLength: view.byteLength,
1862
- length: view.length,
1863
- bufferByteLength: view.buffer.byteLength
1864
- }), "viewInfo"),
1870
+ viewInfo: /* @__PURE__ */ __name((view) => {
1871
+ if (is_buffer(view)) view = new Uint8Array(view);
1872
+ return {
1873
+ buffer: view.buffer,
1874
+ byteOffset: view.byteOffset,
1875
+ byteLength: view.byteLength,
1876
+ length: view.length,
1877
+ bufferByteLength: view.buffer.byteLength
1878
+ };
1879
+ }, "viewInfo"),
1865
1880
  toArrayBuffer: /* @__PURE__ */ __name((buffer2) => buffer2, "toArrayBuffer"),
1866
1881
  lengthOf: /* @__PURE__ */ __name((array2) => array2.length, "lengthOf"),
1867
1882
  hasOwn: /* @__PURE__ */ __name((value, key) => Object.hasOwn(value, key), "hasOwn"),
@@ -1876,7 +1891,10 @@ var init_operations = __esm({
1876
1891
  }, "shapeOf"),
1877
1892
  get: /* @__PURE__ */ __name((value, key) => value[key], "get")
1878
1893
  };
1879
- default_stringify_operations = Object.freeze(stringify_operations);
1894
+ default_stringify_operations = /* @__PURE__ */ Object.freeze(stringify_operations);
1895
+ array_buffer_byte_length = /** @type {() => number} */
1896
+ Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")?.get;
1897
+ shared_array_buffer_byte_length = typeof SharedArrayBuffer === "undefined" ? void 0 : Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength")?.get;
1880
1898
  parse_operations = {
1881
1899
  fromPrimitive: /* @__PURE__ */ __name((primitive) => primitive, "fromPrimitive"),
1882
1900
  fromISOString: /* @__PURE__ */ __name((iso) => new Date(iso), "fromISOString"),
@@ -1888,6 +1906,12 @@ var init_operations = __esm({
1888
1906
  fromArrayBuffer: /* @__PURE__ */ __name((buffer2) => buffer2, "fromArrayBuffer"),
1889
1907
  fromRegExpInfo: /* @__PURE__ */ __name((source, flags) => new RegExp(source, flags), "fromRegExpInfo"),
1890
1908
  fromViewInfo: /* @__PURE__ */ __name((tag, buffer2, byteOffset, length) => {
1909
+ try {
1910
+ array_buffer_byte_length.call(buffer2);
1911
+ } catch (error61) {
1912
+ if (!shared_array_buffer_byte_length) throw error61;
1913
+ shared_array_buffer_byte_length.call(buffer2);
1914
+ }
1891
1915
  const Constructor = (
1892
1916
  /** @type {any} */
1893
1917
  globalThis[tag]
@@ -1917,11 +1941,14 @@ var init_operations = __esm({
1917
1941
  map2.set(key, value);
1918
1942
  }, "addEntry")
1919
1943
  };
1920
- default_parse_operations = Object.freeze(parse_operations);
1944
+ default_parse_operations = /* @__PURE__ */ Object.freeze(parse_operations);
1921
1945
  }
1922
1946
  });
1923
1947
 
1924
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/parse.js
1948
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/parse.js
1949
+ function invalid() {
1950
+ throw new Error("Invalid input");
1951
+ }
1925
1952
  function parse(serialized, revivers, options) {
1926
1953
  return unflatten(JSON.parse(serialized), revivers, options);
1927
1954
  }
@@ -1929,7 +1956,7 @@ function unflatten(parsed, revivers, options) {
1929
1956
  const ops = merge_operations(default_parse_operations, options?.operations);
1930
1957
  if (typeof parsed === "number") return hydrate(parsed, true);
1931
1958
  if (!Array.isArray(parsed) || parsed.length === 0) {
1932
- throw new Error("Invalid input");
1959
+ invalid();
1933
1960
  }
1934
1961
  const values = (
1935
1962
  /** @type {any[]} */
@@ -1937,6 +1964,13 @@ function unflatten(parsed, revivers, options) {
1937
1964
  );
1938
1965
  const hydrated = Array(values.length);
1939
1966
  let hydrating = null;
1967
+ function get_raw(index) {
1968
+ if (!is_valid_array_index(index) || index >= values.length) {
1969
+ invalid();
1970
+ }
1971
+ return values[index];
1972
+ }
1973
+ __name(get_raw, "get_raw");
1940
1974
  function hydrate(index, standalone = false) {
1941
1975
  if (index === UNDEFINED) return ops.fromPrimitive(void 0);
1942
1976
  if (index === NAN) return ops.fromPrimitive(NaN);
@@ -1944,11 +1978,11 @@ function unflatten(parsed, revivers, options) {
1944
1978
  if (index === NEGATIVE_INFINITY) return ops.fromPrimitive(-Infinity);
1945
1979
  if (index === NEGATIVE_ZERO) return ops.fromPrimitive(-0);
1946
1980
  if (standalone || typeof index !== "number") {
1947
- throw new Error(`Invalid input`);
1981
+ invalid();
1948
1982
  }
1949
1983
  if (index in hydrated) return hydrated[index];
1950
1984
  if (index >= values.length) {
1951
- throw new Error(`Invalid input`);
1985
+ invalid();
1952
1986
  }
1953
1987
  const value = values[index];
1954
1988
  if (!value || typeof value !== "object") {
@@ -1997,8 +2031,13 @@ function unflatten(parsed, revivers, options) {
1997
2031
  break;
1998
2032
  case "Object": {
1999
2033
  const wrapped_index = value[1];
2000
- if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") {
2001
- throw new Error("Invalid input");
2034
+ const is_boxable_sentinel = wrapped_index === NAN || wrapped_index === POSITIVE_INFINITY || wrapped_index === NEGATIVE_INFINITY || wrapped_index === NEGATIVE_ZERO;
2035
+ if (!is_boxable_sentinel) {
2036
+ const wrapped = get_raw(wrapped_index);
2037
+ const is_bigint = Array.isArray(wrapped) && wrapped[0] === "BigInt";
2038
+ if ((wrapped === void 0 || typeof wrapped === "object") && !is_bigint) {
2039
+ invalid();
2040
+ }
2002
2041
  }
2003
2042
  hydrated[index] = ops.box(hydrate(wrapped_index));
2004
2043
  break;
@@ -2010,10 +2049,14 @@ function unflatten(parsed, revivers, options) {
2010
2049
  const obj = ops.createNullPrototypeObject();
2011
2050
  hydrated[index] = obj;
2012
2051
  for (let i2 = 1; i2 < value.length; i2 += 2) {
2013
- if (value[i2] === "__proto__") {
2052
+ const key = value[i2];
2053
+ if (typeof key !== "string") {
2054
+ throw new Error("Cannot parse an object with a non-string key");
2055
+ }
2056
+ if (key === "__proto__") {
2014
2057
  throw new Error("Cannot parse an object with a `__proto__` property");
2015
2058
  }
2016
- ops.set(obj, value[i2], hydrate(value[i2 + 1]));
2059
+ ops.set(obj, key, hydrate(value[i2 + 1]));
2017
2060
  }
2018
2061
  break;
2019
2062
  case "Int8Array":
@@ -2029,10 +2072,12 @@ function unflatten(parsed, revivers, options) {
2029
2072
  case "BigInt64Array":
2030
2073
  case "BigUint64Array":
2031
2074
  case "DataView": {
2032
- if (values[value[1]][0] !== "ArrayBuffer") {
2033
- throw new Error("Invalid data");
2075
+ const buffer_index = value[1];
2076
+ const raw = get_raw(buffer_index);
2077
+ if (!Array.isArray(raw) || raw[0] !== "ArrayBuffer") {
2078
+ invalid();
2034
2079
  }
2035
- const buffer2 = hydrate(value[1]);
2080
+ const buffer2 = hydrate(buffer_index);
2036
2081
  hydrated[index] = ops.fromViewInfo(type, buffer2, value[2], value[3]);
2037
2082
  break;
2038
2083
  }
@@ -2063,14 +2108,14 @@ function unflatten(parsed, revivers, options) {
2063
2108
  } else if (value[0] === SPARSE) {
2064
2109
  const len = value[1];
2065
2110
  if (!is_valid_array_len(len)) {
2066
- throw new Error("Invalid input");
2111
+ invalid();
2067
2112
  }
2068
2113
  const array2 = ops.createSparseArray(len);
2069
2114
  hydrated[index] = array2;
2070
2115
  for (let i2 = 2; i2 < value.length; i2 += 2) {
2071
2116
  const idx = value[i2];
2072
2117
  if (!is_valid_array_index(idx) || idx >= len) {
2073
- throw new Error("Invalid input");
2118
+ invalid();
2074
2119
  }
2075
2120
  ops.set(array2, idx, hydrate(value[i2 + 1]));
2076
2121
  }
@@ -2099,18 +2144,19 @@ function unflatten(parsed, revivers, options) {
2099
2144
  return hydrate(0);
2100
2145
  }
2101
2146
  var init_parse = __esm({
2102
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/parse.js"() {
2147
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/parse.js"() {
2103
2148
  "use strict";
2104
2149
  init_base64();
2105
2150
  init_constants();
2106
2151
  init_operations();
2107
2152
  init_utils();
2153
+ __name(invalid, "invalid");
2108
2154
  __name(parse, "parse");
2109
2155
  __name(unflatten, "unflatten");
2110
2156
  }
2111
2157
  });
2112
2158
 
2113
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/stringify.js
2159
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/stringify.js
2114
2160
  function stringify(value, reducers, options) {
2115
2161
  const stringified = run(false, value, reducers, options);
2116
2162
  return typeof stringified === "string" ? stringified : `[${stringified.join(",")}]`;
@@ -2128,8 +2174,17 @@ function run(async, value, reducers, options) {
2128
2174
  });
2129
2175
  }
2130
2176
  }
2131
- const keys = [];
2177
+ let keys = [];
2132
2178
  let p = 0;
2179
+ function error61(message, thing) {
2180
+ const path = format_path(keys, (key) => {
2181
+ const key_type = ops.typeOf(key);
2182
+ const key_is_primitive = key_type !== "object" && key_type !== "function" && key_type !== "symbol";
2183
+ return key_is_primitive ? stringify_primitive(ops.toPrimitive(key)) : "...";
2184
+ });
2185
+ throw new DevalueError(message, path, thing, value);
2186
+ }
2187
+ __name(error61, "error");
2133
2188
  function flatten(thing, index2) {
2134
2189
  const type = ops.typeOf(thing);
2135
2190
  if (type === "undefined") return UNDEFINED;
@@ -2157,21 +2212,25 @@ function run(async, value, reducers, options) {
2157
2212
  }
2158
2213
  }
2159
2214
  if (type === "function") {
2160
- throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
2215
+ error61(`Cannot stringify a function`, thing);
2161
2216
  } else if (type === "symbol") {
2162
- throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
2217
+ error61(`Cannot stringify a Symbol primitive`, thing);
2163
2218
  }
2164
2219
  let str = "";
2165
2220
  if (type !== "object") {
2166
2221
  str = stringify_primitive(type === "number" ? number4 : ops.toPrimitive(thing));
2167
2222
  } else if (ops.isThenable(thing)) {
2168
2223
  if (!async) {
2169
- throw new DevalueError(`Cannot stringify a Promise or thenable \u2014 use stringifyAsync instead`, keys, thing, value);
2224
+ error61(`Cannot stringify a Promise or thenable \u2014 use stringifyAsync instead`, thing);
2170
2225
  }
2226
+ const prev_keys = keys.slice();
2171
2227
  str = ops.toPromise(thing).then((value2) => {
2228
+ keys = prev_keys;
2172
2229
  const i2 = flatten(value2, index2);
2173
2230
  if (i2 < 0) stringified[index2] = i2;
2174
2231
  });
2232
+ str.catch(() => {
2233
+ });
2175
2234
  } else {
2176
2235
  const tag = ops.tagOf(thing);
2177
2236
  switch (tag) {
@@ -2201,7 +2260,7 @@ function run(async, value, reducers, options) {
2201
2260
  for (let i2 = 0; i2 < length; i2 += 1) {
2202
2261
  if (i2 > 0) str += ",";
2203
2262
  if (ops.hasOwn(thing, i2)) {
2204
- keys.push(`[${i2}]`);
2263
+ keys.push(i2);
2205
2264
  str += flatten(ops.get(thing, i2));
2206
2265
  keys.pop();
2207
2266
  } else if (mostly_dense) {
@@ -2216,7 +2275,7 @@ function run(async, value, reducers, options) {
2216
2275
  str = "[" + SPARSE + "," + length;
2217
2276
  for (let j = 0; j < populated_keys.length; j++) {
2218
2277
  const key = populated_keys[j];
2219
- keys.push(`[${key}]`);
2278
+ keys.push(+key);
2220
2279
  str += "," + key + "," + flatten(ops.get(thing, key));
2221
2280
  keys.pop();
2222
2281
  }
@@ -2240,11 +2299,10 @@ function run(async, value, reducers, options) {
2240
2299
  case "Map":
2241
2300
  str = '["Map"';
2242
2301
  for (const [key, value2] of ops.entriesOf(thing)) {
2243
- const key_type = ops.typeOf(key);
2244
- const key_is_primitive = key_type !== "object" && key_type !== "function" && key_type !== "symbol";
2245
- keys.push(`.get(${key_is_primitive ? stringify_primitive(ops.toPrimitive(key)) : "..."})`);
2302
+ keys.push(MAP_KEY, key);
2246
2303
  str += `,${flatten(key)},${flatten(value2)}`;
2247
2304
  keys.pop();
2305
+ keys.pop();
2248
2306
  }
2249
2307
  str += "]";
2250
2308
  break;
@@ -2295,19 +2353,19 @@ function run(async, value, reducers, options) {
2295
2353
  default: {
2296
2354
  const shape = ops.shapeOf(thing);
2297
2355
  if (shape.kind === "not-plain") {
2298
- throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
2356
+ error61(`Cannot stringify arbitrary non-POJOs`, thing);
2299
2357
  }
2300
2358
  if (shape.kind === "symbol-keys") {
2301
- throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
2359
+ error61(`Cannot stringify POJOs with symbolic keys`, thing);
2302
2360
  }
2303
2361
  if (shape.kind === "null-proto") {
2304
2362
  str = '["null"';
2305
2363
  for (const key of shape.keys) {
2306
2364
  if (key === "__proto__") {
2307
- throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
2365
+ error61(`Cannot stringify objects with __proto__ keys`, thing);
2308
2366
  }
2309
- keys.push(stringify_key(key));
2310
- str += `,${stringify_string(key)},${flatten(ops.get(thing, key))}`;
2367
+ keys.push(key);
2368
+ str += `,${quote_key(key)},${flatten(ops.get(thing, key))}`;
2311
2369
  keys.pop();
2312
2370
  }
2313
2371
  str += "]";
@@ -2316,12 +2374,12 @@ function run(async, value, reducers, options) {
2316
2374
  let started = false;
2317
2375
  for (const key of shape.keys) {
2318
2376
  if (key === "__proto__") {
2319
- throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
2377
+ error61(`Cannot stringify objects with __proto__ keys`, thing);
2320
2378
  }
2321
2379
  if (started) str += ",";
2322
2380
  started = true;
2323
- keys.push(stringify_key(key));
2324
- str += `${stringify_string(key)}:${flatten(ops.get(thing, key))}`;
2381
+ keys.push(key);
2382
+ str += `${quote_key(key)}:${flatten(ops.get(thing, key))}`;
2325
2383
  keys.pop();
2326
2384
  }
2327
2385
  str += "}";
@@ -2346,7 +2404,7 @@ function stringify_primitive(thing) {
2346
2404
  return String(thing);
2347
2405
  }
2348
2406
  var init_stringify = __esm({
2349
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/stringify.js"() {
2407
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/stringify.js"() {
2350
2408
  "use strict";
2351
2409
  init_utils();
2352
2410
  init_constants();
@@ -2358,9 +2416,9 @@ var init_stringify = __esm({
2358
2416
  }
2359
2417
  });
2360
2418
 
2361
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/index.js
2362
- var init_devalue = __esm({
2363
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/index.js"() {
2419
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/index.js
2420
+ var init_src = __esm({
2421
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/index.js"() {
2364
2422
  "use strict";
2365
2423
  init_parse();
2366
2424
  init_stringify();
@@ -26460,7 +26518,7 @@ var init_hardened = __esm({
26460
26518
  "../core/dist/serialization/hardened.js"() {
26461
26519
  "use strict";
26462
26520
  init_dist();
26463
- init_devalue();
26521
+ init_src();
26464
26522
  GUEST_CODE_EXECUTION_SAMPLE_LIMIT = 5;
26465
26523
  activeStats = null;
26466
26524
  reportedProxies = null;
@@ -27266,7 +27324,7 @@ var encoder, decoder, MAX_SPARSE_ARRAY_LENGTH, parseOptions, devalueCodec;
27266
27324
  var init_codec_devalue = __esm({
27267
27325
  "../core/dist/serialization/codec-devalue.js"() {
27268
27326
  "use strict";
27269
- init_devalue();
27327
+ init_src();
27270
27328
  init_hardened();
27271
27329
  init_class();
27272
27330
  init_common();
@@ -27795,7 +27853,7 @@ function SemanticConvention(...names) {
27795
27853
  value
27796
27854
  ]));
27797
27855
  }
27798
- var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowExecutionMode, WorkflowDynamic, WorkflowDynamicSourceHash, WorkflowDynamicCodeBytes, WorkflowDynamicCodeStorage, WorkflowBundleCompileCacheHit, WorkflowReplayLoadSource, WorkflowParkedEventsCount, WorkflowParkedEventId, WorkflowParkedEventType, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowVm, QuickJSOutcome, QuickJSEventsPreloaded, QuickJSEventsFetchedCount, QuickJSEventsFetchedPages, QuickJSPendingOpsCount, QuickJSInlineSteps, QuickJSSnapshotRestored, QuickJSSnapshotDeltaEvents, QuickJSSnapshotRestoreMs, QuickJSSnapshotFallbackReason, QuickJSSnapshotSaveMs, QuickJSSnapshotPlaintextBytes, QuickJSSnapshotStoredBytes, WorkflowTraceMode, WorkflowTurbo, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, WorkflowStepsFailedSerialization, WorkflowOwnedRecoverySteps, WorkflowBackstopWakesArmed, WorkflowDispatchRepublishSkipped, WorkflowRouteType, WorkflowRouteHandlerCached, WorkflowRouteInvocationCount, WorkflowRouteEntrypointAgeMs, WorkflowRouteModuleBodyInitMs, FaasInstance, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepTtfsMs, StepStsoMs, StepRsfsMs, StepFinalSchedulingReplayMs, StepLatencyOptimizations, StepStartStrategy, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, MessagingBatchMessageCount, QueueOverheadMs, DeploymentId, WorkflowRunPinnedDeploymentId, WorkflowDeploymentMismatchRetryCount, WorkflowDeploymentMismatchRecovered, WorkflowRunSpecVersion, WorkflowRunSpecVersionSource, WorkflowCapabilityProbeLatencyMs, WorkflowCapabilityProbeCached, WorkflowCapabilityProbeError, HookToken, HookId, HookFound, HookResilientResume, HookResumeCommitted, HookWakePublished, HookResilientResumeMaterialized, HookResumeSetupSource, StepResilientDispatchRecovered, StepResilientDispatchMaterialized, StepDispatchPrologue, ResumeTotalMs, ResumeProducerPrepMs, ResumeQueueDeliveryMs, ResumeSetupMs, ResumeReplayMs, ResumeStepDispatchMs, ResumeStepClaimMs, ResumeStepPrepareMs, ResumeTrigger, ResumeStrategy, ResumeSetupSource, ResumeStepExecution, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, HttpRoute, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, SerializationGuestCodeExecutions, SerializationGuestCodeDetails, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
27856
+ var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowExecutionMode, WorkflowDynamic, WorkflowDynamicSourceHash, WorkflowDynamicCodeBytes, WorkflowDynamicCodeStorage, WorkflowBundleCompileCacheHit, WorkflowReplayLoadSource, WorkflowParkedEventsCount, WorkflowParkedEventId, WorkflowParkedEventType, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowVm, QuickJSOutcome, QuickJSEventsPreloaded, QuickJSEventsFetchedCount, QuickJSEventsFetchedPages, QuickJSPendingOpsCount, QuickJSInlineSteps, QuickJSSnapshotRestored, QuickJSSnapshotDeltaEvents, QuickJSSnapshotRestoreMs, QuickJSSnapshotFallbackReason, QuickJSSnapshotSaveMs, QuickJSSnapshotPlaintextBytes, QuickJSSnapshotStoredBytes, WorkflowTraceMode, WorkflowTurbo, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, WorkflowStepsFailedSerialization, WorkflowOwnedRecoverySteps, WorkflowBackstopWakesArmed, WorkflowDispatchRepublishSkipped, WorkflowRouteType, WorkflowRouteHandlerCached, WorkflowRouteInvocationCount, WorkflowRouteEntrypointAgeMs, WorkflowRouteModuleBodyInitMs, FaasInstance, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepTtfsMs, StepStsoMs, StepRsfsMs, StepFinalSchedulingReplayMs, StepLatencyOptimizations, StepStartStrategy, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, MessagingBatchMessageCount, QueueOverheadMs, DeploymentId, WorkflowRunPinnedDeploymentId, WorkflowDeploymentMismatchRetryCount, WorkflowDeploymentMismatchRecovered, WorkflowRunSpecVersion, WorkflowRunSpecVersionSource, WorkflowCapabilityProbeLatencyMs, WorkflowCapabilityProbeCached, WorkflowCapabilityProbeError, HookToken, HookId, HookFound, HookResilientResume, HookResumeCommitted, HookWakePublished, HookResilientResumeMaterialized, HookResumeSetupSource, StepDispatchPrologue, ResumeTotalMs, ResumeProducerPrepMs, ResumeQueueDeliveryMs, ResumeSetupMs, ResumeReplayMs, ResumeStepDispatchMs, ResumeStepClaimMs, ResumeStepPrepareMs, ResumeTrigger, ResumeStrategy, ResumeSetupSource, ResumeStepExecution, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, HttpRoute, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, SerializationGuestCodeExecutions, SerializationGuestCodeDetails, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
27799
27857
  var init_semantic_conventions = __esm({
27800
27858
  "../core/dist/telemetry/semantic-conventions.js"() {
27801
27859
  "use strict";
@@ -27896,8 +27954,6 @@ var init_semantic_conventions = __esm({
27896
27954
  HookWakePublished = SemanticConvention("workflow.hook.wake_published");
27897
27955
  HookResilientResumeMaterialized = SemanticConvention("workflow.hook.resilient_resume_materialized");
27898
27956
  HookResumeSetupSource = SemanticConvention("workflow.resume_setup_source");
27899
- StepResilientDispatchRecovered = SemanticConvention("workflow.step.resilient_dispatch_recovered");
27900
- StepResilientDispatchMaterialized = SemanticConvention("workflow.step.resilient_dispatch_materialized");
27901
27957
  StepDispatchPrologue = SemanticConvention("workflow.step.dispatch_prologue");
27902
27958
  ResumeTotalMs = SemanticConvention("workflow.resume.total_ms");
27903
27959
  ResumeProducerPrepMs = SemanticConvention("workflow.resume.phase.producer_prep_ms");
@@ -30284,7 +30340,7 @@ var init_errors3 = __esm({
30284
30340
  "../core/dist/serialization/errors.js"() {
30285
30341
  "use strict";
30286
30342
  init_dist2();
30287
- init_devalue();
30343
+ init_src();
30288
30344
  init_logger();
30289
30345
  __name(rethrowIfRuntimeError, "rethrowIfRuntimeError");
30290
30346
  __name(formatSerializationError, "formatSerializationError");
@@ -32597,7 +32653,7 @@ var version2;
32597
32653
  var init_version = __esm({
32598
32654
  "../core/dist/version.js"() {
32599
32655
  "use strict";
32600
- version2 = "5.2.1";
32656
+ version2 = "5.2.2";
32601
32657
  }
32602
32658
  });
32603
32659
 
@@ -32607,7 +32663,7 @@ function isDynamicWorkflowsEnabled() {
32607
32663
  if (raw === void 0) return false;
32608
32664
  return raw === "1" || raw.toLowerCase() === "true";
32609
32665
  }
32610
- var warned, MAX_RESILIENT_STEP_INPUT_BYTES, DYNAMIC_WORKFLOWS_ENV;
32666
+ var warned, DYNAMIC_WORKFLOWS_ENV;
32611
32667
  var init_constants2 = __esm({
32612
32668
  "../core/dist/runtime/constants.js"() {
32613
32669
  "use strict";
@@ -32619,7 +32675,6 @@ var init_constants2 = __esm({
32619
32675
  maxInlineStepsValues: /* @__PURE__ */ new Set(),
32620
32676
  maxEventsValues: /* @__PURE__ */ new Set()
32621
32677
  }));
32622
- MAX_RESILIENT_STEP_INPUT_BYTES = 128 * 1024;
32623
32678
  DYNAMIC_WORKFLOWS_ENV = "WORKFLOW_EXPERIMENTAL_DYNAMIC_WORKFLOWS";
32624
32679
  __name(isDynamicWorkflowsEnabled, "isDynamicWorkflowsEnabled");
32625
32680
  }
@@ -39798,7 +39853,7 @@ var init_serialization2 = __esm({
39798
39853
  init_dist2();
39799
39854
  init_dist();
39800
39855
  init_env_config();
39801
- init_devalue();
39856
+ init_src();
39802
39857
  init_node();
39803
39858
  init_encryption();
39804
39859
  init_flushable_stream();
@@ -47797,7 +47852,7 @@ __name(start, "start");
47797
47852
  value: "start",
47798
47853
  configurable: true
47799
47854
  });
47800
- })(start, "step//@workflow/core/runtime/start@5.2.1//start");
47855
+ })(start, "step//@workflow/core/runtime/start@5.2.2//start");
47801
47856
 
47802
47857
  // ../core/dist/runtime/runs.js
47803
47858
  async function wakeUpRun(world, runId, options) {
@@ -48271,7 +48326,7 @@ var Run = class _Run {
48271
48326
  value: "wakeUp",
48272
48327
  configurable: true
48273
48328
  });
48274
- })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.2.1//Run#wakeUp");
48329
+ })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.2.2//Run#wakeUp");
48275
48330
  (function(__wf_fn, __wf_id) {
48276
48331
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48277
48332
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48280,7 +48335,7 @@ var Run = class _Run {
48280
48335
  value: "cancel",
48281
48336
  configurable: true
48282
48337
  });
48283
- })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.2.1//Run#cancel");
48338
+ })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.2.2//Run#cancel");
48284
48339
  (function(__wf_fn, __wf_id) {
48285
48340
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48286
48341
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48289,7 +48344,7 @@ var Run = class _Run {
48289
48344
  value: "getReadable",
48290
48345
  configurable: true
48291
48346
  });
48292
- })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.2.1//Run#getReadable");
48347
+ })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.2.2//Run#getReadable");
48293
48348
  (function(__wf_fn, __wf_id) {
48294
48349
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48295
48350
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48298,7 +48353,7 @@ var Run = class _Run {
48298
48353
  value: "getWritable",
48299
48354
  configurable: true
48300
48355
  });
48301
- })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.2.1//Run#getWritable");
48356
+ })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.2.2//Run#getWritable");
48302
48357
  (function(__wf_fn, __wf_id) {
48303
48358
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48304
48359
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48307,7 +48362,7 @@ var Run = class _Run {
48307
48362
  value: "exists",
48308
48363
  configurable: true
48309
48364
  });
48310
- })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.2.1//Run#exists");
48365
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.2.2//Run#exists");
48311
48366
  (function(__wf_fn, __wf_id) {
48312
48367
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48313
48368
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48316,7 +48371,7 @@ var Run = class _Run {
48316
48371
  value: "status",
48317
48372
  configurable: true
48318
48373
  });
48319
- })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.2.1//Run#status");
48374
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.2.2//Run#status");
48320
48375
  (function(__wf_fn, __wf_id) {
48321
48376
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48322
48377
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48325,7 +48380,7 @@ var Run = class _Run {
48325
48380
  value: "returnValue",
48326
48381
  configurable: true
48327
48382
  });
48328
- })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.2.1//Run#returnValue");
48383
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.2.2//Run#returnValue");
48329
48384
  (function(__wf_fn, __wf_id) {
48330
48385
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48331
48386
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48334,7 +48389,7 @@ var Run = class _Run {
48334
48389
  value: "workflowName",
48335
48390
  configurable: true
48336
48391
  });
48337
- })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.2.1//Run#workflowName");
48392
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.2.2//Run#workflowName");
48338
48393
  (function(__wf_fn, __wf_id) {
48339
48394
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48340
48395
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48343,7 +48398,7 @@ var Run = class _Run {
48343
48398
  value: "createdAt",
48344
48399
  configurable: true
48345
48400
  });
48346
- })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.2.1//Run#createdAt");
48401
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#createdAt");
48347
48402
  (function(__wf_fn, __wf_id) {
48348
48403
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48349
48404
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48352,7 +48407,7 @@ var Run = class _Run {
48352
48407
  value: "startedAt",
48353
48408
  configurable: true
48354
48409
  });
48355
- })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.2.1//Run#startedAt");
48410
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#startedAt");
48356
48411
  (function(__wf_fn, __wf_id) {
48357
48412
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48358
48413
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48361,7 +48416,7 @@ var Run = class _Run {
48361
48416
  value: "completedAt",
48362
48417
  configurable: true
48363
48418
  });
48364
- })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.2.1//Run#completedAt");
48419
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#completedAt");
48365
48420
  (function(__wf_cls, __wf_id) {
48366
48421
  var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48367
48422
  __wf_reg.set(__wf_id, __wf_cls);
@@ -48371,7 +48426,7 @@ var Run = class _Run {
48371
48426
  enumerable: false,
48372
48427
  configurable: false
48373
48428
  });
48374
- })(Run, "class//@workflow/core/runtime/run@5.2.1//Run");
48429
+ })(Run, "class//@workflow/core/runtime/run@5.2.2//Run");
48375
48430
 
48376
48431
  // ../workflow/dist/stdlib.js
48377
48432
  async function fetch2(...args) {