@crvouga/mockingbird-service-edamam 3.10.3 → 3.10.4

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-edamam
2
2
 
3
+ ## 3.10.4 (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.10.3 (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-V6NIMN6T.js";
12
+ } from "./chunk-SXKX7KV7.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 ?? "3.10.3" });
3060
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "3.10.4" });
3061
3061
  } catch (error) {
3062
3062
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3063
3063
  }
@@ -5037,4 +5037,4 @@ export {
5037
5037
  createServer2 as createServer,
5038
5038
  serveTarget
5039
5039
  };
5040
- //# sourceMappingURL=chunk-XQNJWCCP.js.map
5040
+ //# sourceMappingURL=chunk-EBMAMUME.js.map
@@ -473,6 +473,7 @@ var parsePath = (rawKey) => {
473
473
  return path;
474
474
  };
475
475
  var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
476
+ var MAX_ARRAY_INDEX = 4294967294;
476
477
  var put = (target, key, value) => {
477
478
  if (key === "__proto__") {
478
479
  Object.defineProperty(target, key, {
@@ -535,8 +536,17 @@ var decodeFormPairs = (pairs) => {
535
536
  var densify = (value) => {
536
537
  if (typeof value === "string")
537
538
  return value;
538
- if (Array.isArray(value))
539
- return value.filter((item) => item !== void 0).map(densify);
539
+ if (Array.isArray(value)) {
540
+ const dense = [];
541
+ for (const key of Object.keys(value)) {
542
+ if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
543
+ continue;
544
+ const item = value[Number(key)];
545
+ if (item !== void 0)
546
+ dense.push(densify(item));
547
+ }
548
+ return dense;
549
+ }
540
550
  const out = {};
541
551
  for (const [key, item] of Object.entries(value))
542
552
  put(out, key, densify(item));
@@ -4026,7 +4036,7 @@ var stateAdminRoutes = (routes) => {
4026
4036
  };
4027
4037
 
4028
4038
  // ../core/dist/version.js
4029
- var PACKAGE_VERSION = true ? "3.10.3" : UNRELEASED_VERSION;
4039
+ var PACKAGE_VERSION = true ? "3.10.4" : UNRELEASED_VERSION;
4030
4040
 
4031
4041
  // ../core/dist/signing.js
4032
4042
  var encoder = new TextEncoder();
@@ -6653,4 +6663,4 @@ export {
6653
6663
  appIdCredential,
6654
6664
  EdamamAPI
6655
6665
  };
6656
- //# sourceMappingURL=chunk-V6NIMN6T.js.map
6666
+ //# sourceMappingURL=chunk-SXKX7KV7.js.map