@crvouga/mockingbird-service-odx 3.10.3 → 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 +13 -0
- package/dist/{chunk-R2T7R72C.js → chunk-OEAV5IOZ.js} +3 -3
- package/dist/{chunk-JSBXVIXZ.js → chunk-QI6UT6BW.js} +14 -4
- package/dist/chunk-QI6UT6BW.js.map +7 -0
- 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-JSBXVIXZ.js.map +0 -7
- /package/dist/{chunk-R2T7R72C.js.map → chunk-OEAV5IOZ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-odx
|
|
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
|
+
|
|
10
|
+
## 3.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
|
## 3.10.3 (2026-11-02)
|
|
4
17
|
|
|
5
18
|
### Fixes and improvements
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseFaultHeader,
|
|
10
10
|
resolveAdminPrefix,
|
|
11
11
|
restoreClock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QI6UT6BW.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.
|
|
3060
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.10.5" });
|
|
3061
3061
|
} catch (error) {
|
|
3062
3062
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3063
3063
|
}
|
|
@@ -5041,4 +5041,4 @@ export {
|
|
|
5041
5041
|
createServer2 as createServer,
|
|
5042
5042
|
serveTarget
|
|
5043
5043
|
};
|
|
5044
|
-
//# sourceMappingURL=chunk-
|
|
5044
|
+
//# sourceMappingURL=chunk-OEAV5IOZ.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
|
-
|
|
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));
|
|
@@ -3721,7 +3731,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
3721
3731
|
};
|
|
3722
3732
|
|
|
3723
3733
|
// ../core/dist/version.js
|
|
3724
|
-
var PACKAGE_VERSION = true ? "3.10.
|
|
3734
|
+
var PACKAGE_VERSION = true ? "3.10.5" : UNRELEASED_VERSION;
|
|
3725
3735
|
|
|
3726
3736
|
// ../core/dist/signing.js
|
|
3727
3737
|
var encoder = new TextEncoder();
|
|
@@ -6470,4 +6480,4 @@ export {
|
|
|
6470
6480
|
apiKeyCredential,
|
|
6471
6481
|
OdxAPI
|
|
6472
6482
|
};
|
|
6473
|
-
//# sourceMappingURL=chunk-
|
|
6483
|
+
//# sourceMappingURL=chunk-QI6UT6BW.js.map
|