@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.
@@ -7,7 +7,7 @@ import {
7
7
  sourceFileOf,
8
8
  svelteFor,
9
9
  toPosix
10
- } from "./chunk-PMIYTMMA.js";
10
+ } from "./chunk-6YBPW4NP.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-JX72GKXN.js.map
112
+ //# sourceMappingURL=chunk-TQWRH47T.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-EPWU2Q4U.js";
27
+ } from "../chunk-LJJDRFO7.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-JX72GKXN.js";
37
+ } from "../chunk-TQWRH47T.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-PMIYTMMA.js";
65
+ } from "../chunk-6YBPW4NP.js";
66
66
 
67
67
  // src/cli/baseline-command.ts
68
68
  import { existsSync, writeFileSync } from "fs";
@@ -147,12 +147,12 @@ import { createRequire } from "module";
147
147
  import { dirname, join as join2, resolve as resolve2 } from "path";
148
148
  import { fileURLToPath } from "url";
149
149
  function nativePlatformPackage(platform, arch, libc = null) {
150
- if (platform === "darwin" && (arch === "arm64" || arch === "x64")) return `@noego/trust-darwin-${arch}`;
151
- if (platform === "linux" && libc === "glibc" && (arch === "arm64" || arch === "x64")) return `@noego/trust-linux-${arch}-gnu`;
150
+ if (platform === "darwin" && arch === "arm64") return "@noego/trust-darwin-arm64";
151
+ if (platform === "linux" && libc === "glibc" && arch === "x64") return "@noego/trust-linux-x64-gnu";
152
152
  if (platform === "win32" && arch === "x64") return "@noego/trust-win32-x64-msvc";
153
153
  return null;
154
154
  }
155
- var NATIVE_MINIMUM_GLIBC = "2.35";
155
+ var NATIVE_MINIMUM_GLIBC = "2.39";
156
156
  function supportsNativeGlibc(version) {
157
157
  if (!version || !/^\d+\.\d+(?:\.\d+)?$/.test(version)) return false;
158
158
  const [major, minor] = version.split(".").map(Number);