@crvouga/mockingbird-service-junction 3.10.4 → 3.10.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog — @crvouga/mockingbird-service-junction
2
2
 
3
+ ## 3.10.6 (2026-11-02)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - stop walkSchema recursing forever on a self-referential $ref ([69464a9](https://github.com/crvouga/mockingbird/commit/69464a9d9e7f468c5e1095125108d4d3d5515431))
8
+ - densify sparse bracket arrays by their written indices ([84a28cb](https://github.com/crvouga/mockingbird/commit/84a28cb182e3d7df91102897f0fc11fca714ba5f))
9
+
10
+ ## 3.10.5 (2026-11-02)
11
+
12
+ ### Fixes and improvements
13
+
14
+ - do not save idempotent results for requests that fail validation ([f2161aa](https://github.com/crvouga/mockingbird/commit/f2161aadeae30bcc586e26131da12a7030bdeb11))
15
+
3
16
  ## 3.10.4 (2026-11-02)
4
17
 
5
18
  ### Fixes and improvements
@@ -13,7 +13,7 @@ import {
13
13
  pullCorpus,
14
14
  resolveAdminPrefix,
15
15
  restoreClock
16
- } from "./chunk-VQNDKLJG.js";
16
+ } from "./chunk-CNSVFYBN.js";
17
17
  import {
18
18
  defaultCorpus
19
19
  } from "./chunk-2FZJPMTR.js";
@@ -3070,7 +3070,7 @@ async function preflightFleet(config, options) {
3070
3070
  break;
3071
3071
  }
3072
3072
  }
3073
- targets.set(name, { ...target, packageVersion: packageVersion ?? "3.10.4" });
3073
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "3.10.6" });
3074
3074
  } catch (error) {
3075
3075
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3076
3076
  }
@@ -5264,4 +5264,4 @@ export {
5264
5264
  createServer2 as createServer,
5265
5265
  serveTarget
5266
5266
  };
5267
- //# sourceMappingURL=chunk-GWVONYFE.js.map
5267
+ //# sourceMappingURL=chunk-7VFPFGD2.js.map
@@ -499,6 +499,7 @@ var parsePath = (rawKey) => {
499
499
  return path;
500
500
  };
501
501
  var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
502
+ var MAX_ARRAY_INDEX = 4294967294;
502
503
  var put = (target, key, value) => {
503
504
  if (key === "__proto__") {
504
505
  Object.defineProperty(target, key, {
@@ -561,8 +562,17 @@ var decodeFormPairs = (pairs) => {
561
562
  var densify = (value) => {
562
563
  if (typeof value === "string")
563
564
  return value;
564
- if (Array.isArray(value))
565
- return value.filter((item) => item !== void 0).map(densify);
565
+ if (Array.isArray(value)) {
566
+ const dense = [];
567
+ for (const key of Object.keys(value)) {
568
+ if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
569
+ continue;
570
+ const item = value[Number(key)];
571
+ if (item !== void 0)
572
+ dense.push(densify(item));
573
+ }
574
+ return dense;
575
+ }
566
576
  const out = {};
567
577
  for (const [key, item] of Object.entries(value))
568
578
  put(out, key, densify(item));
@@ -3769,7 +3779,7 @@ var stateAdminRoutes = (routes) => {
3769
3779
  };
3770
3780
 
3771
3781
  // ../core/dist/version.js
3772
- var PACKAGE_VERSION = true ? "3.10.4" : UNRELEASED_VERSION;
3782
+ var PACKAGE_VERSION = true ? "3.10.6" : UNRELEASED_VERSION;
3773
3783
 
3774
3784
  // ../core/dist/webhooks.js
3775
3785
  var json4 = (status, body) => new Response(JSON.stringify(body), {
@@ -13903,4 +13913,4 @@ export {
13903
13913
  JunctionAPI,
13904
13914
  LabAccountConflict
13905
13915
  };
13906
- //# sourceMappingURL=chunk-VQNDKLJG.js.map
13916
+ //# sourceMappingURL=chunk-CNSVFYBN.js.map