@nudojs/core 1.7.6 → 1.7.7
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/{chunk-CRDJOFM6.js → chunk-4WVYY2KS.js} +14 -2
- package/dist/{chunk-FEGOCPGH.js → chunk-JVUHIUFN.js} +14254 -13402
- package/dist/exec.d.ts +76 -7
- package/dist/exec.js +17 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +2 -2
- package/dist/{projection-budget-CTpsYz6K.d.ts → projection-budget-CtwnzYLG.d.ts} +1 -1
- package/dist/{run-CDaGIWH_.d.ts → run-DbDRo5z6.d.ts} +5 -1
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
withEvalBudgetOverride,
|
|
49
49
|
withExecPhi,
|
|
50
50
|
withFnBudgetOverride
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JVUHIUFN.js";
|
|
52
52
|
|
|
53
53
|
// src/algebra/directive-scan.ts
|
|
54
54
|
function cleanDirectiveLine(raw, kind) {
|
|
@@ -1274,7 +1274,19 @@ function constraintOnTermAbs(c, t) {
|
|
|
1274
1274
|
(p) => p.op === "eq" && (p.b.op === "lit" && (p.b.value === null || p.b.value === void 0) || p.a.op === "lit" && (p.a.value === null || p.a.value === void 0))
|
|
1275
1275
|
);
|
|
1276
1276
|
if (allEqNullish) {
|
|
1277
|
-
|
|
1277
|
+
let nullish = null;
|
|
1278
|
+
for (const p of c.preds) {
|
|
1279
|
+
if (p.op !== "eq") continue;
|
|
1280
|
+
if (p.b.op === "lit" && (p.b.value === null || p.b.value === void 0)) {
|
|
1281
|
+
nullish = p.b.value;
|
|
1282
|
+
break;
|
|
1283
|
+
}
|
|
1284
|
+
if (p.a.op === "lit" && (p.a.value === null || p.a.value === void 0)) {
|
|
1285
|
+
nullish = p.a.value;
|
|
1286
|
+
break;
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
return abs({ k: "unknown" }, lit(nullish), void 0, "path");
|
|
1278
1290
|
}
|
|
1279
1291
|
if (c.preds.length > 0) {
|
|
1280
1292
|
return abs({ k: "prim", type: "number" }, t, predOut, "path");
|