@crvouga/mockingbird-service-emqx 0.9.3 → 0.9.4
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 +8 -0
- package/dist/{chunk-2GQYNMAS.js → chunk-HFZV5SWL.js} +3 -3
- package/dist/{chunk-KS4A6DUT.js → chunk-PYAPMHUE.js} +14 -4
- package/dist/chunk-PYAPMHUE.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-KS4A6DUT.js.map +0 -7
- /package/dist/{chunk-2GQYNMAS.js.map → chunk-HFZV5SWL.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-emqx
|
|
2
2
|
|
|
3
|
+
## 0.9.4 (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
|
## 0.9.3 (2026-11-02)
|
|
4
11
|
|
|
5
12
|
### Fixes and improvements
|
|
6
13
|
|
|
14
|
+
- do not save idempotent results for requests that fail validation ([f2161aa](https://github.com/crvouga/mockingbird/commit/f2161aadeae30bcc586e26131da12a7030bdeb11))
|
|
7
15
|
- keep the command palette's highlighted option in view and announced ([24b8a92](https://github.com/crvouga/mockingbird/commit/24b8a923f65d9deecb2c298169cdc9b7af90e609))
|
|
8
16
|
|
|
9
17
|
## 0.9.2 (2026-11-02)
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
parseFaultHeader,
|
|
11
11
|
resolveAdminPrefix,
|
|
12
12
|
restoreClock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PYAPMHUE.js";
|
|
14
14
|
|
|
15
15
|
// ../../adapters/node/dist/cli.js
|
|
16
16
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
@@ -3058,7 +3058,7 @@ async function preflightFleet(config, options) {
|
|
|
3058
3058
|
break;
|
|
3059
3059
|
}
|
|
3060
3060
|
}
|
|
3061
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "0.9.
|
|
3061
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "0.9.4" });
|
|
3062
3062
|
} catch (error) {
|
|
3063
3063
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3064
3064
|
}
|
|
@@ -5404,4 +5404,4 @@ export {
|
|
|
5404
5404
|
connectStream,
|
|
5405
5405
|
serveTarget
|
|
5406
5406
|
};
|
|
5407
|
-
//# sourceMappingURL=chunk-
|
|
5407
|
+
//# sourceMappingURL=chunk-HFZV5SWL.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));
|
|
@@ -6055,7 +6065,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
6055
6065
|
};
|
|
6056
6066
|
|
|
6057
6067
|
// ../core/dist/version.js
|
|
6058
|
-
var PACKAGE_VERSION = true ? "0.9.
|
|
6068
|
+
var PACKAGE_VERSION = true ? "0.9.4" : UNRELEASED_VERSION;
|
|
6059
6069
|
|
|
6060
6070
|
// ../core/dist/signing.js
|
|
6061
6071
|
var encoder = new TextEncoder();
|
|
@@ -9548,4 +9558,4 @@ export {
|
|
|
9548
9558
|
apiKeyCredential,
|
|
9549
9559
|
EmqxAPI
|
|
9550
9560
|
};
|
|
9551
|
-
//# sourceMappingURL=chunk-
|
|
9561
|
+
//# sourceMappingURL=chunk-PYAPMHUE.js.map
|