@crvouga/mockingbird-service-twilio 3.10.2 → 3.10.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-twilio
2
2
 
3
+ ## 3.10.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
  ## 3.10.2 (2026-11-02)
4
11
 
5
12
  ### Fixes and improvements
@@ -622,6 +622,7 @@ var parsePath = (rawKey) => {
622
622
  return path;
623
623
  };
624
624
  var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
625
+ var MAX_ARRAY_INDEX = 4294967294;
625
626
  var put = (target, key, value) => {
626
627
  if (key === "__proto__") {
627
628
  Object.defineProperty(target, key, {
@@ -684,8 +685,17 @@ var decodeFormPairs = (pairs) => {
684
685
  var densify = (value) => {
685
686
  if (typeof value === "string")
686
687
  return value;
687
- if (Array.isArray(value))
688
- return value.filter((item) => item !== void 0).map(densify);
688
+ if (Array.isArray(value)) {
689
+ const dense = [];
690
+ for (const key of Object.keys(value)) {
691
+ if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
692
+ continue;
693
+ const item = value[Number(key)];
694
+ if (item !== void 0)
695
+ dense.push(densify(item));
696
+ }
697
+ return dense;
698
+ }
689
699
  const out = {};
690
700
  for (const [key, item] of Object.entries(value))
691
701
  put(out, key, densify(item));
@@ -3861,7 +3871,7 @@ var stateAdminRoutes = (routes) => {
3861
3871
  };
3862
3872
 
3863
3873
  // ../core/dist/version.js
3864
- var PACKAGE_VERSION = true ? "3.10.2" : UNRELEASED_VERSION;
3874
+ var PACKAGE_VERSION = true ? "3.10.3" : UNRELEASED_VERSION;
3865
3875
 
3866
3876
  // ../core/dist/signing.js
3867
3877
  var encoder = new TextEncoder();
@@ -10503,4 +10513,4 @@ export {
10503
10513
  * Copyright (c) 2021 - present, Yusuke Wada and Hono contributors
10504
10514
  * MIT license: see THIRD_PARTY_NOTICES.md in the repository and npm packages.
10505
10515
  */
10506
- //# sourceMappingURL=chunk-FS6QBWFN.js.map
10516
+ //# sourceMappingURL=chunk-5QB7VQ53.js.map