@crvouga/mockingbird-service-bedrock 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-ZQXYNXYD.js → chunk-NP2OI2VN.js} +2 -2
- package/dist/{chunk-GLFTQTIA.js → chunk-QWCGV7XU.js} +14 -4
- package/dist/chunk-QWCGV7XU.js.map +7 -0
- package/dist/cli.js +3 -3
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GLFTQTIA.js.map +0 -7
- /package/dist/{chunk-ZQXYNXYD.js.map → chunk-NP2OI2VN.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-bedrock
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRuntime,
|
|
3
3
|
parseScript
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QWCGV7XU.js";
|
|
5
5
|
|
|
6
6
|
// src/h2c.ts
|
|
7
7
|
import {
|
|
@@ -338,4 +338,4 @@ export {
|
|
|
338
338
|
createServer,
|
|
339
339
|
serveTarget
|
|
340
340
|
};
|
|
341
|
-
//# sourceMappingURL=chunk-
|
|
341
|
+
//# sourceMappingURL=chunk-NP2OI2VN.js.map
|
|
@@ -495,6 +495,7 @@ var parsePath = (rawKey) => {
|
|
|
495
495
|
return path;
|
|
496
496
|
};
|
|
497
497
|
var isIndex = (segment) => /^(0|[1-9][0-9]*)$/.test(segment);
|
|
498
|
+
var MAX_ARRAY_INDEX = 4294967294;
|
|
498
499
|
var put = (target, key, value) => {
|
|
499
500
|
if (key === "__proto__") {
|
|
500
501
|
Object.defineProperty(target, key, {
|
|
@@ -557,8 +558,17 @@ var decodeFormPairs = (pairs) => {
|
|
|
557
558
|
var densify = (value) => {
|
|
558
559
|
if (typeof value === "string")
|
|
559
560
|
return value;
|
|
560
|
-
if (Array.isArray(value))
|
|
561
|
-
|
|
561
|
+
if (Array.isArray(value)) {
|
|
562
|
+
const dense = [];
|
|
563
|
+
for (const key of Object.keys(value)) {
|
|
564
|
+
if (!isIndex(key) || Number(key) > MAX_ARRAY_INDEX)
|
|
565
|
+
continue;
|
|
566
|
+
const item = value[Number(key)];
|
|
567
|
+
if (item !== void 0)
|
|
568
|
+
dense.push(densify(item));
|
|
569
|
+
}
|
|
570
|
+
return dense;
|
|
571
|
+
}
|
|
562
572
|
const out = {};
|
|
563
573
|
for (const [key, item] of Object.entries(value))
|
|
564
574
|
put(out, key, densify(item));
|
|
@@ -4038,7 +4048,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
4038
4048
|
};
|
|
4039
4049
|
|
|
4040
4050
|
// ../core/dist/version.js
|
|
4041
|
-
var PACKAGE_VERSION = true ? "3.10.
|
|
4051
|
+
var PACKAGE_VERSION = true ? "3.10.5" : UNRELEASED_VERSION;
|
|
4042
4052
|
|
|
4043
4053
|
// ../core/dist/signing.js
|
|
4044
4054
|
var encoder = new TextEncoder();
|
|
@@ -7981,4 +7991,4 @@ export {
|
|
|
7981
7991
|
lexicalEmbedding,
|
|
7982
7992
|
BedrockAPI
|
|
7983
7993
|
};
|
|
7984
|
-
//# sourceMappingURL=chunk-
|
|
7994
|
+
//# sourceMappingURL=chunk-QWCGV7XU.js.map
|