@crvouga/mockingbird-service-otel 3.11.4 → 3.11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog — @crvouga/mockingbird-service-otel
2
2
 
3
+ ## 3.11.5 (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
+
3
10
  ## 3.11.4 (2026-11-02)
4
11
 
5
12
  ### Fixes and improvements
@@ -449,6 +449,7 @@ var parsePath = (rawKey) => {
449
449
  return path;
450
450
  };
451
451
  var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
452
+ var MAX_ARRAY_INDEX = 4294967294;
452
453
  var put = (target, key, value) => {
453
454
  if (key === "__proto__") {
454
455
  Object.defineProperty(target, key, {
@@ -511,8 +512,17 @@ var decodeFormPairs = (pairs) => {
511
512
  var densify = (value) => {
512
513
  if (typeof value === "string")
513
514
  return value;
514
- if (Array.isArray(value))
515
- return value.filter((item) => item !== void 0).map(densify);
515
+ if (Array.isArray(value)) {
516
+ const dense = [];
517
+ for (const key of Object.keys(value)) {
518
+ if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
519
+ continue;
520
+ const item = value[Number(key)];
521
+ if (item !== void 0)
522
+ dense.push(densify(item));
523
+ }
524
+ return dense;
525
+ }
516
526
  const out = {};
517
527
  for (const [key, item] of Object.entries(value))
518
528
  put(out, key, densify(item));
@@ -3744,7 +3754,7 @@ var stateAdminRoutes = (routes) => {
3744
3754
  };
3745
3755
 
3746
3756
  // ../core/dist/version.js
3747
- var PACKAGE_VERSION = true ? "3.11.4" : UNRELEASED_VERSION;
3757
+ var PACKAGE_VERSION = true ? "3.11.5" : UNRELEASED_VERSION;
3748
3758
 
3749
3759
  // ../core/dist/webhooks.js
3750
3760
  var json4 = (status, body) => new Response(JSON.stringify(body), {
@@ -6828,4 +6838,4 @@ export {
6828
6838
  OtelAPI,
6829
6839
  adminRow
6830
6840
  };
6831
- //# sourceMappingURL=chunk-4FFHIM53.js.map
6841
+ //# sourceMappingURL=chunk-IYB4KAQ2.js.map