@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
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
sourceFileOf,
|
|
8
8
|
svelteFor,
|
|
9
9
|
toPosix
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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" &&
|
|
151
|
-
if (platform === "linux" && libc === "glibc" &&
|
|
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.
|
|
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);
|