@crvouga/mockingbird-service-fullscript 3.10.4 → 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 +7 -0
- package/dist/{chunk-5LOFNGVW.js → chunk-6GCEOJRP.js} +14 -4
- package/dist/chunk-6GCEOJRP.js.map +7 -0
- package/dist/{chunk-5KV2CZCL.js → chunk-7HNF6XPX.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-5LOFNGVW.js.map +0 -7
- /package/dist/{chunk-5KV2CZCL.js.map → chunk-7HNF6XPX.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-fullscript
|
|
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
|
+
|
|
3
10
|
## 3.10.4 (2026-11-02)
|
|
4
11
|
|
|
5
12
|
### Fixes and improvements
|
|
@@ -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));
|
|
@@ -4056,7 +4066,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
4056
4066
|
};
|
|
4057
4067
|
|
|
4058
4068
|
// ../core/dist/version.js
|
|
4059
|
-
var PACKAGE_VERSION = true ? "3.10.
|
|
4069
|
+
var PACKAGE_VERSION = true ? "3.10.5" : UNRELEASED_VERSION;
|
|
4060
4070
|
|
|
4061
4071
|
// ../core/dist/signing.js
|
|
4062
4072
|
var encoder = new TextEncoder();
|
|
@@ -6696,4 +6706,4 @@ export {
|
|
|
6696
6706
|
envelope,
|
|
6697
6707
|
FullscriptAPI
|
|
6698
6708
|
};
|
|
6699
|
-
//# sourceMappingURL=chunk-
|
|
6709
|
+
//# sourceMappingURL=chunk-6GCEOJRP.js.map
|