@noego/trust 0.5.0-dev.5 → 0.5.0-dev.6
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/{baseline-DQGyHwig.d.ts → baseline-D0Ok-NGU.d.ts} +7 -0
- package/dist/{chunk-EJ4O7BCA.js → chunk-BHBYQYJJ.js} +8 -5
- package/dist/{chunk-EJ4O7BCA.js.map → chunk-BHBYQYJJ.js.map} +1 -1
- package/dist/{chunk-GJUWPZZJ.js → chunk-RVTPDLEW.js} +8 -1
- package/dist/chunk-RVTPDLEW.js.map +1 -0
- package/dist/{chunk-WCC25ZAI.js → chunk-V4FYZG5Q.js} +2 -2
- package/dist/cli/index.js +4 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/eslint/index.d.ts +2 -2
- package/dist/eslint/index.js +2 -2
- package/dist/native/trust_native_wasm.wasm +0 -0
- package/package.json +4 -4
- package/dist/chunk-GJUWPZZJ.js.map +0 -1
- /package/dist/{chunk-WCC25ZAI.js.map → chunk-V4FYZG5Q.js.map} +0 -0
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TypeScript, a as TsconfigMapping, Z as ZoneGroup, F as Finding } from '../baseline-
|
|
2
|
-
export { B as BaselineCounts, b as BaselineDelta, c as BaselineFinding, d as BaselineScope, e as LineDirective, W as WHOLE_BASELINE, f as Zone, g as Zones, h as compareToBaseline, i as countFindings, j as describeBaselineDelta, k as directiveDirectlyAbove, l as directiveReason, m as groupMatches, n as isNamedDirective, o as lineDirectivesIn, p as loadTypeScript, q as matchesPatterns, r as nearestPackageName, s as nodeBelow, t as normalizePattern, u as parseBaseline, v as readBaseline, w as realpathOrSelf, x as relativeInside, y as serializeBaseline, z as toPosix, A as updateBaseline } from '../baseline-
|
|
1
|
+
import { T as TypeScript, a as TsconfigMapping, Z as ZoneGroup, F as Finding } from '../baseline-D0Ok-NGU.js';
|
|
2
|
+
export { B as BaselineCounts, b as BaselineDelta, c as BaselineFinding, d as BaselineScope, e as LineDirective, W as WHOLE_BASELINE, f as Zone, g as Zones, h as compareToBaseline, i as countFindings, j as describeBaselineDelta, k as directiveDirectlyAbove, l as directiveReason, m as groupMatches, n as isNamedDirective, o as lineDirectivesIn, p as loadTypeScript, q as matchesPatterns, r as nearestPackageName, s as nodeBelow, t as normalizePattern, u as parseBaseline, v as readBaseline, w as realpathOrSelf, x as relativeInside, y as serializeBaseline, z as toPosix, A as updateBaseline } from '../baseline-D0Ok-NGU.js';
|
|
3
3
|
import * as TS from 'typescript';
|
|
4
4
|
|
|
5
5
|
/** Absolute paths, sorted and deduplicated: named files as-is, directories walked for .ts/.tsx. */
|
package/dist/core/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
formatWalkFailure,
|
|
6
6
|
relativeTo,
|
|
7
7
|
resolveFiles
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-V4FYZG5Q.js";
|
|
9
9
|
import {
|
|
10
10
|
WHOLE_BASELINE,
|
|
11
11
|
Zones,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
sourceFileOf,
|
|
35
35
|
toPosix,
|
|
36
36
|
updateBaseline
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-RVTPDLEW.js";
|
|
38
38
|
|
|
39
39
|
// src/core/tool-config.ts
|
|
40
40
|
import { existsSync, readFileSync } from "fs";
|
package/dist/eslint/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as eslint from 'eslint';
|
|
2
2
|
import { Linter, ESLint } from 'eslint';
|
|
3
|
-
import { g as Zones, O as OriginResolver, C as TrustRuleSettings, T as TypeScript, D as TrustConfig, E as OriginInfo, G as CatchProblem } from '../baseline-
|
|
4
|
-
export { H as ACCEPT_DIRECTIVE, I as ACCEPT_DIRECTIVE_MESSAGES, J as BOUNDARY_MESSAGES, K as BOUNDARY_RULE, B as BaselineCounts, b as BaselineDelta, d as BaselineScope, L as BoundaryGroup, M as BoundaryOrigin, N as CATCH_ORIGIN, P as DEFAULT_RULE_SETTINGS, Q as DIRECTIVE_ORIGIN, R as DROPPED_RESULT_MESSAGES, S as DROPPED_RESULT_RULE, U as DroppedResultOrigin, F as Finding, V as LoadTrustConfigOptions, X as OptInRule, Y as REDUNDANT_GUARD_MESSAGES, _ as REDUNDANT_GUARD_ORIGIN, $ as REDUNDANT_GUARD_RULE, a0 as RuleSwitch, a1 as THROW_MESSAGES, a2 as THROW_RULE, a3 as TYPE_CLAIM_KINDS, a4 as TYPE_CLAIM_MESSAGES, a5 as TYPE_CLAIM_RULE, a6 as TrustConfigError, a7 as TrustEntry, a8 as TrustLevel, a as TsconfigMapping, a9 as TypeClaimOrigin, aa as UNANALYZABLE_ORIGIN, ab as UNTRUSTED_CALL_MESSAGES, ac as UNTRUSTED_CALL_RULE, ad as UNTRUSTED_VALUE_MESSAGES, ae as UNTRUSTED_VALUE_RULE, af as UntrustedCallbacks, ag as UntrustedEntry, ah as VALIDATOR_DIRECTIVE, W as WHOLE_BASELINE, f as Zone, Z as ZoneGroup, h as compareToBaseline, i as countFindings, ai as effectiveTrustList, aj as effectiveTypeTrustList, ak as isInsideValidator, al as isMarkedValidator, am as isRuleEnabled, an as loadTrustConfig, ao as normalizeOrigin, u as parseBaseline, y as serializeBaseline, A as updateBaseline } from '../baseline-
|
|
3
|
+
import { g as Zones, O as OriginResolver, C as TrustRuleSettings, T as TypeScript, D as TrustConfig, E as OriginInfo, G as CatchProblem } from '../baseline-D0Ok-NGU.js';
|
|
4
|
+
export { H as ACCEPT_DIRECTIVE, I as ACCEPT_DIRECTIVE_MESSAGES, J as BOUNDARY_MESSAGES, K as BOUNDARY_RULE, B as BaselineCounts, b as BaselineDelta, d as BaselineScope, L as BoundaryGroup, M as BoundaryOrigin, N as CATCH_ORIGIN, P as DEFAULT_RULE_SETTINGS, Q as DIRECTIVE_ORIGIN, R as DROPPED_RESULT_MESSAGES, S as DROPPED_RESULT_RULE, U as DroppedResultOrigin, F as Finding, V as LoadTrustConfigOptions, X as OptInRule, Y as REDUNDANT_GUARD_MESSAGES, _ as REDUNDANT_GUARD_ORIGIN, $ as REDUNDANT_GUARD_RULE, a0 as RuleSwitch, a1 as THROW_MESSAGES, a2 as THROW_RULE, a3 as TYPE_CLAIM_KINDS, a4 as TYPE_CLAIM_MESSAGES, a5 as TYPE_CLAIM_RULE, a6 as TrustConfigError, a7 as TrustEntry, a8 as TrustLevel, a as TsconfigMapping, a9 as TypeClaimOrigin, aa as UNANALYZABLE_ORIGIN, ab as UNTRUSTED_CALL_MESSAGES, ac as UNTRUSTED_CALL_RULE, ad as UNTRUSTED_VALUE_MESSAGES, ae as UNTRUSTED_VALUE_RULE, af as UntrustedCallbacks, ag as UntrustedEntry, ah as VALIDATOR_DIRECTIVE, W as WHOLE_BASELINE, f as Zone, Z as ZoneGroup, h as compareToBaseline, i as countFindings, ai as effectiveTrustList, aj as effectiveTypeTrustList, ak as isInsideValidator, al as isMarkedValidator, am as isRuleEnabled, an as loadTrustConfig, ao as normalizeOrigin, u as parseBaseline, y as serializeBaseline, A as updateBaseline } from '../baseline-D0Ok-NGU.js';
|
|
5
5
|
import * as TS from 'typescript';
|
|
6
6
|
|
|
7
7
|
interface PresetDefinition {
|
package/dist/eslint/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
untrustedValueData,
|
|
30
30
|
untrustedValueMessageId,
|
|
31
31
|
untrustedValuesIn
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-BHBYQYJJ.js";
|
|
33
33
|
import {
|
|
34
34
|
ACCEPT_DIRECTIVE,
|
|
35
35
|
ACCEPT_DIRECTIVE_MESSAGES,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
parseBaseline,
|
|
74
74
|
serializeBaseline,
|
|
75
75
|
updateBaseline
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-RVTPDLEW.js";
|
|
77
77
|
|
|
78
78
|
// src/eslint/rule-setup.ts
|
|
79
79
|
import { resolve } from "path";
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noego/trust",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.6",
|
|
4
4
|
"description": "Result type plus type-aware ESLint rules that make failure handling explicit: untrusted calls and throws must be caught locally and returned as Result.err.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"optionalDependencies": {
|
|
76
|
-
"@noego/trust-darwin-arm64": "0.5.0-dev.
|
|
77
|
-
"@noego/trust-linux-x64-gnu": "0.5.0-dev.
|
|
78
|
-
"@noego/trust-win32-x64-msvc": "0.5.0-dev.
|
|
76
|
+
"@noego/trust-darwin-arm64": "0.5.0-dev.5",
|
|
77
|
+
"@noego/trust-linux-x64-gnu": "0.5.0-dev.5",
|
|
78
|
+
"@noego/trust-win32-x64-msvc": "0.5.0-dev.5"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@jridgewell/trace-mapping": "^0.3.31",
|