@noego/trust 0.5.0-dev.5 → 0.5.0-dev.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.
@@ -7,7 +7,7 @@ import {
7
7
  sourceFileOf,
8
8
  svelteFor,
9
9
  toPosix
10
- } from "./chunk-GJUWPZZJ.js";
10
+ } from "./chunk-RVTPDLEW.js";
11
11
 
12
12
  // src/cli/source-files.ts
13
13
  import { existsSync, readdirSync, statSync } from "fs";
@@ -109,4 +109,4 @@ export {
109
109
  compareFindings,
110
110
  formatFinding
111
111
  };
112
- //# sourceMappingURL=chunk-WCC25ZAI.js.map
112
+ //# sourceMappingURL=chunk-V4FYZG5Q.js.map
package/dist/cli/index.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  untrustedValueContext,
25
25
  untrustedValueMessage,
26
26
  untrustedValuesIn
27
- } from "../chunk-EJ4O7BCA.js";
27
+ } from "../chunk-P4VFMA2A.js";
28
28
  import {
29
29
  compareFindings,
30
30
  forEachSourceFile,
@@ -34,7 +34,7 @@ import {
34
34
  logWalkFailure,
35
35
  relativeTo,
36
36
  resolveFiles
37
- } from "../chunk-WCC25ZAI.js";
37
+ } from "../chunk-V4FYZG5Q.js";
38
38
  import {
39
39
  BOUNDARY_RULE,
40
40
  DROPPED_RESULT_RULE,
@@ -62,7 +62,7 @@ import {
62
62
  svelteFor,
63
63
  svelteForSource,
64
64
  updateBaseline
65
- } from "../chunk-GJUWPZZJ.js";
65
+ } from "../chunk-RVTPDLEW.js";
66
66
 
67
67
  // src/cli/baseline-command.ts
68
68
  import { existsSync, writeFileSync } from "fs";
@@ -330,7 +330,7 @@ async function checkNative(options) {
330
330
  extraRoots,
331
331
  programs: options.programs,
332
332
  perf: options.perf ?? false,
333
- rules: { typeClaim: isRuleEnabled(config, "type-claim"), untrustedValue: isRuleEnabled(config, "untrusted-value"), untrustedCallbacks: config.rules.untrustedCallbacks, droppedResult: isRuleEnabled(config, "dropped-result"), redundantGuard: isRuleEnabled(config, "redundant-guard") },
333
+ rules: { typeClaim: isRuleEnabled(config, "type-claim"), untrustedValue: isRuleEnabled(config, "untrusted-value"), untrustedCallbacks: config.rules.untrustedCallbacks, droppedResult: isRuleEnabled(config, "dropped-result"), redundantGuard: isRuleEnabled(config, "redundant-guard"), resultLookalike: config.rules["result-lookalike"] },
334
334
  config: {
335
335
  levels: config.levels.map((level) => ({ source: level.source, trust: level.trust, distrust: level.distrust, typeTrust: level.typeTrust, typeDistrust: level.typeDistrust })),
336
336
  passthrough: config.passthrough.map((group) => ({ source: group.source, baseDir: group.baseDir, patterns: group.patterns })),