@crvouga/mockingbird-service-suunto 0.3.2 → 0.3.3

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-suunto
2
2
 
3
+ ## 0.3.3 (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
  ## 0.3.2 (2026-11-02)
4
11
 
5
12
  ### Fixes and improvements
@@ -9,7 +9,7 @@ import {
9
9
  parseFaultHeader,
10
10
  resolveAdminPrefix,
11
11
  restoreClock
12
- } from "./chunk-R4CWLQZJ.js";
12
+ } from "./chunk-7YASH6AW.js";
13
13
 
14
14
  // ../../adapters/node/dist/cli.js
15
15
  import { readFile as readFile5 } from "node:fs/promises";
@@ -3057,7 +3057,7 @@ async function preflightFleet(config, options) {
3057
3057
  break;
3058
3058
  }
3059
3059
  }
3060
- targets.set(name, { ...target, packageVersion: packageVersion ?? "0.3.2" });
3060
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "0.3.3" });
3061
3061
  } catch (error) {
3062
3062
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3063
3063
  }
@@ -5014,4 +5014,4 @@ export {
5014
5014
  createServer2 as createServer,
5015
5015
  serveTarget
5016
5016
  };
5017
- //# sourceMappingURL=chunk-CSXLP2VU.js.map
5017
+ //# sourceMappingURL=chunk-37ASO4OF.js.map
@@ -495,6 +495,7 @@ var parsePath = (rawKey) => {
495
495
  return path;
496
496
  };
497
497
  var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
498
+ var MAX_ARRAY_INDEX = 4294967294;
498
499
  var put = (target, key, value) => {
499
500
  if (key === "__proto__") {
500
501
  Object.defineProperty(target, key, {
@@ -557,8 +558,17 @@ var decodeFormPairs = (pairs) => {
557
558
  var densify = (value) => {
558
559
  if (typeof value === "string")
559
560
  return value;
560
- if (Array.isArray(value))
561
- return value.filter((item) => item !== void 0).map(densify);
561
+ if (Array.isArray(value)) {
562
+ const dense = [];
563
+ for (const key of Object.keys(value)) {
564
+ if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
565
+ continue;
566
+ const item = value[Number(key)];
567
+ if (item !== void 0)
568
+ dense.push(densify(item));
569
+ }
570
+ return dense;
571
+ }
562
572
  const out = {};
563
573
  for (const [key, item] of Object.entries(value))
564
574
  put(out, key, densify(item));
@@ -3761,7 +3771,7 @@ var stateAdminRoutes = (routes) => {
3761
3771
  };
3762
3772
 
3763
3773
  // ../core/dist/version.js
3764
- var PACKAGE_VERSION = true ? "0.3.2" : UNRELEASED_VERSION;
3774
+ var PACKAGE_VERSION = true ? "0.3.3" : UNRELEASED_VERSION;
3765
3775
 
3766
3776
  // ../core/dist/signing.js
3767
3777
  var encoder = new TextEncoder();
@@ -5704,4 +5714,4 @@ export {
5704
5714
  parseDate,
5705
5715
  SuuntoAPI
5706
5716
  };
5707
- //# sourceMappingURL=chunk-R4CWLQZJ.js.map
5717
+ //# sourceMappingURL=chunk-7YASH6AW.js.map