@crvouga/mockingbird-service-aws-speech 3.10.4 → 3.10.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-aws-speech
2
2
 
3
+ ## 3.10.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.10.4 (2026-11-02)
4
11
 
5
12
  ### Fixes and improvements
@@ -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));
@@ -3751,7 +3761,7 @@ var stateAdminRoutes = (routes) => {
3751
3761
  };
3752
3762
 
3753
3763
  // ../core/dist/version.js
3754
- var PACKAGE_VERSION = true ? "3.10.4" : UNRELEASED_VERSION;
3764
+ var PACKAGE_VERSION = true ? "3.10.5" : UNRELEASED_VERSION;
3755
3765
 
3756
3766
  // ../core/dist/signing.js
3757
3767
  var encoder = new TextEncoder();
@@ -6510,4 +6520,4 @@ export {
6510
6520
  accessKeyCredential,
6511
6521
  SpeechAPI
6512
6522
  };
6513
- //# sourceMappingURL=chunk-KUTPU742.js.map
6523
+ //# sourceMappingURL=chunk-OT36VMFU.js.map