@noego/trust 0.5.0-dev.3 → 0.5.0-dev.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/dist/{chunk-PMIYTMMA.js → chunk-6YBPW4NP.js} +7 -1
- package/dist/chunk-6YBPW4NP.js.map +1 -0
- package/dist/{chunk-EPWU2Q4U.js → chunk-LJJDRFO7.js} +11 -2
- package/dist/chunk-LJJDRFO7.js.map +1 -0
- package/dist/{chunk-JX72GKXN.js → chunk-TQWRH47T.js} +2 -2
- package/dist/cli/index.js +6 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/core/index.js +2 -2
- package/dist/eslint/index.js +2 -2
- package/dist/native/trust_native_wasm.wasm +0 -0
- package/package.json +4 -6
- package/dist/chunk-EPWU2Q4U.js.map +0 -1
- package/dist/chunk-PMIYTMMA.js.map +0 -1
- /package/dist/{chunk-JX72GKXN.js.map → chunk-TQWRH47T.js.map} +0 -0
|
@@ -2048,6 +2048,9 @@ var MISUSED_PROMISE_MESSAGES = {
|
|
|
2048
2048
|
condition: "Promise used as a condition is always truthy; await it first.",
|
|
2049
2049
|
"void-callback": "Async callback passed where a void-returning function is expected; its rejections are dropped \u2014 handle inside, or use a Promise-aware API."
|
|
2050
2050
|
};
|
|
2051
|
+
var RESULT_CONDITION_RULE = "result-condition";
|
|
2052
|
+
var RESULT_CONDITION_ORIGIN = "condition";
|
|
2053
|
+
var RESULT_CONDITION_MESSAGE = "Result used as a condition is always truthy (Ok and Err are both objects); test `.ok` instead: `if (result.ok)` / `if (!result.ok)`.";
|
|
2051
2054
|
var TYPE_CLAIM_RULE = "type-claim";
|
|
2052
2055
|
var TYPE_CLAIM_MESSAGES = {
|
|
2053
2056
|
"claim:as": 'Type assertion claims "{{from}}" is "{{to}}", but "{{from}}" is not assignable to "{{to}}": nothing proves it. Narrow or validate the value instead.',
|
|
@@ -6993,6 +6996,9 @@ export {
|
|
|
6993
6996
|
FLOATING_PROMISE_ORIGIN,
|
|
6994
6997
|
FLOATING_PROMISE_MESSAGE,
|
|
6995
6998
|
MISUSED_PROMISE_MESSAGES,
|
|
6999
|
+
RESULT_CONDITION_RULE,
|
|
7000
|
+
RESULT_CONDITION_ORIGIN,
|
|
7001
|
+
RESULT_CONDITION_MESSAGE,
|
|
6996
7002
|
TYPE_CLAIM_RULE,
|
|
6997
7003
|
TYPE_CLAIM_MESSAGES,
|
|
6998
7004
|
ACCEPT_DIRECTIVE_MESSAGES,
|
|
@@ -7057,4 +7063,4 @@ export {
|
|
|
7057
7063
|
readBaseline,
|
|
7058
7064
|
describeBaselineDelta
|
|
7059
7065
|
};
|
|
7060
|
-
//# sourceMappingURL=chunk-
|
|
7066
|
+
//# sourceMappingURL=chunk-6YBPW4NP.js.map
|