@crvouga/mockingbird-service-brevo 1.10.4 → 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 +7 -0
- package/dist/{chunk-G3XVSD6X.js → chunk-NSGEQCA4.js} +14 -4
- package/dist/chunk-NSGEQCA4.js.map +7 -0
- package/dist/{chunk-WBYRRKNC.js → chunk-UXFNNWKZ.js} +3 -3
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-G3XVSD6X.js.map +0 -7
- /package/dist/{chunk-WBYRRKNC.js.map → chunk-UXFNNWKZ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## 1.10.4 (2026-11-02)
|
|
4
11
|
|
|
5
12
|
### 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
|
-
|
|
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.
|
|
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-
|
|
5453
|
+
//# sourceMappingURL=chunk-NSGEQCA4.js.map
|