@crvouga/mockingbird-service-brevo 1.10.3 → 1.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,18 @@
1
1
  # Changelog — @crvouga/mockingbird-service-brevo
2
2
 
3
+ ## 1.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
+
10
+ ## 1.10.4 (2026-11-02)
11
+
12
+ ### Fixes and improvements
13
+
14
+ - do not save idempotent results for requests that fail validation ([f2161aa](https://github.com/crvouga/mockingbird/commit/f2161aadeae30bcc586e26131da12a7030bdeb11))
15
+
3
16
  ## 1.10.3 (2026-11-02)
4
17
 
5
18
  ### 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));
@@ -3962,7 +3972,7 @@ var stateAdminRoutes = (routes) => {
3962
3972
  };
3963
3973
 
3964
3974
  // ../core/dist/version.js
3965
- var PACKAGE_VERSION = true ? "1.10.3" : UNRELEASED_VERSION;
3975
+ var PACKAGE_VERSION = true ? "1.10.5" : UNRELEASED_VERSION;
3966
3976
 
3967
3977
  // ../core/dist/webhooks.js
3968
3978
  var json4 = (status, body) => new Response(JSON.stringify(body), {
@@ -5440,4 +5450,4 @@ export {
5440
5450
  BREVO_NAMESPACE,
5441
5451
  BrevoAPI
5442
5452
  };
5443
- //# sourceMappingURL=chunk-G3XVSD6X.js.map
5453
+ //# sourceMappingURL=chunk-NSGEQCA4.js.map