@continuous-excellence/ze-great-dashboard-aws 0.30.1 → 0.30.2
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/dist/lambda.mjs +15 -12
- package/package.json +2 -2
package/dist/lambda.mjs
CHANGED
|
@@ -26039,7 +26039,7 @@ var require_dist_cjs16 = __commonJS({
|
|
|
26039
26039
|
Region: { type: "builtInParams", name: "region" },
|
|
26040
26040
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
26041
26041
|
};
|
|
26042
|
-
var version2 = "3.
|
|
26042
|
+
var version2 = "3.1130.0";
|
|
26043
26043
|
var packageInfo = {
|
|
26044
26044
|
version: version2
|
|
26045
26045
|
};
|
|
@@ -27817,7 +27817,7 @@ var require_dist_cjs17 = __commonJS({
|
|
|
27817
27817
|
Region: { type: "builtInParams", name: "region" },
|
|
27818
27818
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
27819
27819
|
};
|
|
27820
|
-
var version2 = "3.
|
|
27820
|
+
var version2 = "3.1130.0";
|
|
27821
27821
|
var packageInfo = {
|
|
27822
27822
|
version: version2
|
|
27823
27823
|
};
|
|
@@ -51984,7 +51984,7 @@ ${content.join("\n")}
|
|
|
51984
51984
|
var version = {
|
|
51985
51985
|
major: 4,
|
|
51986
51986
|
minor: 6,
|
|
51987
|
-
patch:
|
|
51987
|
+
patch: 2
|
|
51988
51988
|
};
|
|
51989
51989
|
|
|
51990
51990
|
// node_modules/zod/v4/core/schemas.js
|
|
@@ -52788,7 +52788,7 @@ function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
|
52788
52788
|
return;
|
|
52789
52789
|
}
|
|
52790
52790
|
if (result.value === void 0) {
|
|
52791
|
-
if (isPresent) {
|
|
52791
|
+
if (isPresent || optin === "defaulted" && !isOptionalOut) {
|
|
52792
52792
|
final.value[key] = void 0;
|
|
52793
52793
|
}
|
|
52794
52794
|
} else {
|
|
@@ -53024,16 +53024,16 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
53024
53024
|
doc.write(`
|
|
53025
53025
|
if (${id}.issues.length) {${prefixStr(id, k5)}
|
|
53026
53026
|
}
|
|
53027
|
-
|
|
53028
|
-
if (
|
|
53029
|
-
|
|
53030
|
-
newResult[${k5}] = undefined;
|
|
53031
|
-
}
|
|
53027
|
+
`);
|
|
53028
|
+
if (optin === "defaulted") {
|
|
53029
|
+
doc.write(`newResult[${k5}] = ${id}.value;`);
|
|
53032
53030
|
} else {
|
|
53031
|
+
doc.write(`
|
|
53032
|
+
if (${id}.value !== undefined || ${isPresent}) {
|
|
53033
53033
|
newResult[${k5}] = ${id}.value;
|
|
53034
53034
|
}
|
|
53035
|
-
|
|
53036
53035
|
`);
|
|
53036
|
+
}
|
|
53037
53037
|
}
|
|
53038
53038
|
}
|
|
53039
53039
|
doc.write(`payload.value = newResult;`);
|
|
@@ -63093,7 +63093,7 @@ function generateObjectCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
63093
63093
|
}
|
|
63094
63094
|
}
|
|
63095
63095
|
const outputVar = newVar(ctx);
|
|
63096
|
-
const hasConditionalKeys = allKeys.some((k5) =>
|
|
63096
|
+
const hasConditionalKeys = allKeys.some((k5) => mayOmitUndefined(propShape[k5]) || dropsWhenAbsent(propShape[k5]));
|
|
63097
63097
|
if (!buildsValue) {
|
|
63098
63098
|
if (unknownKeysMode === "schema") {
|
|
63099
63099
|
const knownSet = keys.length > 0 ? addConstant(ctx, new Set(keys)) : null;
|
|
@@ -63120,7 +63120,7 @@ function generateObjectCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
63120
63120
|
const out = propOutputs.get(k5);
|
|
63121
63121
|
if (dropsWhenAbsent(propShape[k5])) {
|
|
63122
63122
|
doc.write(`if (${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
|
|
63123
|
-
} else if (
|
|
63123
|
+
} else if (mayOmitUndefined(propShape[k5])) {
|
|
63124
63124
|
doc.write(`if (${out} !== undefined || ${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
|
|
63125
63125
|
} else {
|
|
63126
63126
|
doc.write(`${outputVar}[${kx}] = ${out};`);
|
|
@@ -63253,6 +63253,9 @@ function fastPathAcceptsAbsence(schema) {
|
|
|
63253
63253
|
function dropsWhenAbsent(schema) {
|
|
63254
63254
|
return schema._zod.optin === "optional" && schema._zod.optout === "optional";
|
|
63255
63255
|
}
|
|
63256
|
+
function mayOmitUndefined(schema) {
|
|
63257
|
+
return (schema._zod.optin !== "defaulted" || schema._zod.optout === "optional") && mayOutputUndefined(schema);
|
|
63258
|
+
}
|
|
63256
63259
|
function mayOutputUndefined(schema) {
|
|
63257
63260
|
const def = schema._zod.def;
|
|
63258
63261
|
switch (def.type) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@continuous-excellence/ze-great-dashboard-aws",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"fflate": "^0.8.3",
|
|
38
38
|
"yaml": "^2.9.0",
|
|
39
|
-
"zod": "^4.6.
|
|
39
|
+
"zod": "^4.6.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"esbuild": "^0.28.2",
|