[bot] Update dist directory
Some checks are pending
CI-check-and-unit-test / check-format-and-unit-test (push) Waiting to run
CI-codeql / Analyze (javascript-typescript) (push) Waiting to run
CI-init-script-check / test-init-scripts (push) Waiting to run
CI-integ-test / dependency-graph (push) Blocked by required conditions
CI-integ-test / dependency-submission (push) Blocked by required conditions
CI-integ-test / dependency-submission-failures (push) Blocked by required conditions
CI-integ-test / execution-with-caching (push) Blocked by required conditions
CI-integ-test / execution (push) Blocked by required conditions
CI-integ-test / develocity-injection (push) Blocked by required conditions
CI-integ-test / provision-gradle-versions (push) Blocked by required conditions
CI-integ-test / restore-configuration-cache (push) Blocked by required conditions
CI-integ-test / restore-containerized-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-custom-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-java-toolchain (push) Blocked by required conditions
CI-integ-test / sample-kotlin-dsl (push) Blocked by required conditions
CI-integ-test / sample-gradle-plugin (push) Blocked by required conditions
CI-integ-test / toolchain-detection (push) Blocked by required conditions
CI-integ-test / wrapper-validation (push) Blocked by required conditions
CI-integ-test / determine-suite (push) Waiting to run
CI-integ-test / build-distribution (push) Blocked by required conditions
CI-integ-test / action-inputs (push) Blocked by required conditions
CI-integ-test / build-scan-publish (push) Blocked by required conditions
CI-integ-test / cache-cleanup (push) Blocked by required conditions
CI-integ-test / caching-config (push) Blocked by required conditions
CI-update-dist / update-dist (push) Waiting to run

This commit is contained in:
bigdaz 2024-07-16 19:05:54 +00:00 committed by github-actions[bot]
parent dff3ef9b8d
commit 36c24e793d
10 changed files with 155 additions and 100 deletions

View file

@ -146037,33 +146037,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.fetchValidChecksums = exports.KNOWN_VALID_CHECKSUMS = void 0;
exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
const httpm = __importStar(__nccwpck_require__(15538));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(93802));
const httpc = new httpm.HttpClient('gradle/wrapper-validation-action', undefined, { allowRetries: true, maxRetries: 3 });
function getKnownValidChecksums() {
const versionsMap = new Map();
for (const entry of wrapper_checksums_json_1.default) {
const checksum = entry.checksum;
let versionNames = versionsMap.get(checksum);
if (versionNames === undefined) {
versionNames = new Set();
versionsMap.set(checksum, versionNames);
}
versionNames.add(entry.version);
class WrapperChecksums {
constructor() {
this.checksums = new Map();
this.versions = new Set();
}
add(version, checksum) {
if (this.checksums.has(checksum)) {
this.checksums.get(checksum).add(version);
}
else {
this.checksums.set(checksum, new Set([version]));
}
this.versions.add(version);
}
return versionsMap;
}
exports.KNOWN_VALID_CHECKSUMS = getKnownValidChecksums();
async function fetchValidChecksums(allowSnapshots) {
exports.WrapperChecksums = WrapperChecksums;
function loadKnownChecksums() {
const checksums = new WrapperChecksums();
for (const entry of wrapper_checksums_json_1.default) {
checksums.add(entry.version, entry.checksum);
}
return checksums;
}
exports.KNOWN_CHECKSUMS = loadKnownChecksums();
async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
const all = await httpGetJsonArray('https://services.gradle.org/versions/all');
const withChecksum = all.filter(entry => typeof entry === 'object' && entry != null && entry.hasOwnProperty('wrapperChecksumUrl'));
const allowed = withChecksum.filter((entry) => allowSnapshots || !entry.snapshot);
const checksumUrls = allowed.map((entry) => entry.wrapperChecksumUrl);
const notKnown = allowed.filter((entry) => !knownChecksums.versions.has(entry.version));
const checksumUrls = notKnown.map((entry) => entry.wrapperChecksumUrl);
const checksums = await Promise.all(checksumUrls.map(async (url) => httpGetText(url)));
return new Set(checksums);
}
exports.fetchValidChecksums = fetchValidChecksums;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@ -146221,7 +146232,7 @@ const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(50907));
const hash = __importStar(__nccwpck_require__(60079));
const path_1 = __nccwpck_require__(71017);
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_VALID_CHECKSUMS) {
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_CHECKSUMS) {
const wrapperJars = await find.findWrapperJars(gitRepoRoot);
const result = new ValidationResult([], []);
if (wrapperJars.length < minWrapperCount) {
@ -146231,7 +146242,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
const notYetValidatedWrappers = [];
for (const wrapperJar of wrapperJars) {
const sha = await hash.sha256File((0, path_1.resolve)(gitRepoRoot, wrapperJar));
if (allowedChecksums.includes(sha) || knownValidChecksums.has(sha)) {
if (allowedChecksums.includes(sha) || knownValidChecksums.checksums.has(sha)) {
result.valid.push(new WrapperJar(wrapperJar, sha));
}
else {
@ -146240,7 +146251,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
}
if (notYetValidatedWrappers.length > 0) {
result.fetchedChecksums = true;
const fetchedValidChecksums = await checksums.fetchValidChecksums(allowSnapshots);
const fetchedValidChecksums = await checksums.fetchUnknownChecksums(allowSnapshots, knownValidChecksums);
for (const wrapperJar of notYetValidatedWrappers) {
if (!fetchedValidChecksums.has(wrapperJar.checksum)) {
result.invalid.push(wrapperJar);

File diff suppressed because one or more lines are too long

View file

@ -99725,33 +99725,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.fetchValidChecksums = exports.KNOWN_VALID_CHECKSUMS = void 0;
exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
const httpm = __importStar(__nccwpck_require__(5538));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(3802));
const httpc = new httpm.HttpClient('gradle/wrapper-validation-action', undefined, { allowRetries: true, maxRetries: 3 });
function getKnownValidChecksums() {
const versionsMap = new Map();
for (const entry of wrapper_checksums_json_1.default) {
const checksum = entry.checksum;
let versionNames = versionsMap.get(checksum);
if (versionNames === undefined) {
versionNames = new Set();
versionsMap.set(checksum, versionNames);
}
versionNames.add(entry.version);
class WrapperChecksums {
constructor() {
this.checksums = new Map();
this.versions = new Set();
}
add(version, checksum) {
if (this.checksums.has(checksum)) {
this.checksums.get(checksum).add(version);
}
else {
this.checksums.set(checksum, new Set([version]));
}
this.versions.add(version);
}
return versionsMap;
}
exports.KNOWN_VALID_CHECKSUMS = getKnownValidChecksums();
async function fetchValidChecksums(allowSnapshots) {
exports.WrapperChecksums = WrapperChecksums;
function loadKnownChecksums() {
const checksums = new WrapperChecksums();
for (const entry of wrapper_checksums_json_1.default) {
checksums.add(entry.version, entry.checksum);
}
return checksums;
}
exports.KNOWN_CHECKSUMS = loadKnownChecksums();
async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
const all = await httpGetJsonArray('https://services.gradle.org/versions/all');
const withChecksum = all.filter(entry => typeof entry === 'object' && entry != null && entry.hasOwnProperty('wrapperChecksumUrl'));
const allowed = withChecksum.filter((entry) => allowSnapshots || !entry.snapshot);
const checksumUrls = allowed.map((entry) => entry.wrapperChecksumUrl);
const notKnown = allowed.filter((entry) => !knownChecksums.versions.has(entry.version));
const checksumUrls = notKnown.map((entry) => entry.wrapperChecksumUrl);
const checksums = await Promise.all(checksumUrls.map(async (url) => httpGetText(url)));
return new Set(checksums);
}
exports.fetchValidChecksums = fetchValidChecksums;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@ -99909,7 +99920,7 @@ const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(907));
const hash = __importStar(__nccwpck_require__(79));
const path_1 = __nccwpck_require__(1017);
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_VALID_CHECKSUMS) {
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_CHECKSUMS) {
const wrapperJars = await find.findWrapperJars(gitRepoRoot);
const result = new ValidationResult([], []);
if (wrapperJars.length < minWrapperCount) {
@ -99919,7 +99930,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
const notYetValidatedWrappers = [];
for (const wrapperJar of wrapperJars) {
const sha = await hash.sha256File((0, path_1.resolve)(gitRepoRoot, wrapperJar));
if (allowedChecksums.includes(sha) || knownValidChecksums.has(sha)) {
if (allowedChecksums.includes(sha) || knownValidChecksums.checksums.has(sha)) {
result.valid.push(new WrapperJar(wrapperJar, sha));
}
else {
@ -99928,7 +99939,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
}
if (notYetValidatedWrappers.length > 0) {
result.fetchedChecksums = true;
const fetchedValidChecksums = await checksums.fetchValidChecksums(allowSnapshots);
const fetchedValidChecksums = await checksums.fetchUnknownChecksums(allowSnapshots, knownValidChecksums);
for (const wrapperJar of notYetValidatedWrappers) {
if (!fetchedValidChecksums.has(wrapperJar.checksum)) {
result.invalid.push(wrapperJar);

File diff suppressed because one or more lines are too long

View file

@ -146029,33 +146029,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.fetchValidChecksums = exports.KNOWN_VALID_CHECKSUMS = void 0;
exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
const httpm = __importStar(__nccwpck_require__(15538));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(93802));
const httpc = new httpm.HttpClient('gradle/wrapper-validation-action', undefined, { allowRetries: true, maxRetries: 3 });
function getKnownValidChecksums() {
const versionsMap = new Map();
for (const entry of wrapper_checksums_json_1.default) {
const checksum = entry.checksum;
let versionNames = versionsMap.get(checksum);
if (versionNames === undefined) {
versionNames = new Set();
versionsMap.set(checksum, versionNames);
}
versionNames.add(entry.version);
class WrapperChecksums {
constructor() {
this.checksums = new Map();
this.versions = new Set();
}
add(version, checksum) {
if (this.checksums.has(checksum)) {
this.checksums.get(checksum).add(version);
}
else {
this.checksums.set(checksum, new Set([version]));
}
this.versions.add(version);
}
return versionsMap;
}
exports.KNOWN_VALID_CHECKSUMS = getKnownValidChecksums();
async function fetchValidChecksums(allowSnapshots) {
exports.WrapperChecksums = WrapperChecksums;
function loadKnownChecksums() {
const checksums = new WrapperChecksums();
for (const entry of wrapper_checksums_json_1.default) {
checksums.add(entry.version, entry.checksum);
}
return checksums;
}
exports.KNOWN_CHECKSUMS = loadKnownChecksums();
async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
const all = await httpGetJsonArray('https://services.gradle.org/versions/all');
const withChecksum = all.filter(entry => typeof entry === 'object' && entry != null && entry.hasOwnProperty('wrapperChecksumUrl'));
const allowed = withChecksum.filter((entry) => allowSnapshots || !entry.snapshot);
const checksumUrls = allowed.map((entry) => entry.wrapperChecksumUrl);
const notKnown = allowed.filter((entry) => !knownChecksums.versions.has(entry.version));
const checksumUrls = notKnown.map((entry) => entry.wrapperChecksumUrl);
const checksums = await Promise.all(checksumUrls.map(async (url) => httpGetText(url)));
return new Set(checksums);
}
exports.fetchValidChecksums = fetchValidChecksums;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@ -146213,7 +146224,7 @@ const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(50907));
const hash = __importStar(__nccwpck_require__(60079));
const path_1 = __nccwpck_require__(71017);
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_VALID_CHECKSUMS) {
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_CHECKSUMS) {
const wrapperJars = await find.findWrapperJars(gitRepoRoot);
const result = new ValidationResult([], []);
if (wrapperJars.length < minWrapperCount) {
@ -146223,7 +146234,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
const notYetValidatedWrappers = [];
for (const wrapperJar of wrapperJars) {
const sha = await hash.sha256File((0, path_1.resolve)(gitRepoRoot, wrapperJar));
if (allowedChecksums.includes(sha) || knownValidChecksums.has(sha)) {
if (allowedChecksums.includes(sha) || knownValidChecksums.checksums.has(sha)) {
result.valid.push(new WrapperJar(wrapperJar, sha));
}
else {
@ -146232,7 +146243,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
}
if (notYetValidatedWrappers.length > 0) {
result.fetchedChecksums = true;
const fetchedValidChecksums = await checksums.fetchValidChecksums(allowSnapshots);
const fetchedValidChecksums = await checksums.fetchUnknownChecksums(allowSnapshots, knownValidChecksums);
for (const wrapperJar of notYetValidatedWrappers) {
if (!fetchedValidChecksums.has(wrapperJar.checksum)) {
result.invalid.push(wrapperJar);

File diff suppressed because one or more lines are too long

View file

@ -146020,33 +146020,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.fetchValidChecksums = exports.KNOWN_VALID_CHECKSUMS = void 0;
exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
const httpm = __importStar(__nccwpck_require__(15538));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(93802));
const httpc = new httpm.HttpClient('gradle/wrapper-validation-action', undefined, { allowRetries: true, maxRetries: 3 });
function getKnownValidChecksums() {
const versionsMap = new Map();
for (const entry of wrapper_checksums_json_1.default) {
const checksum = entry.checksum;
let versionNames = versionsMap.get(checksum);
if (versionNames === undefined) {
versionNames = new Set();
versionsMap.set(checksum, versionNames);
}
versionNames.add(entry.version);
class WrapperChecksums {
constructor() {
this.checksums = new Map();
this.versions = new Set();
}
add(version, checksum) {
if (this.checksums.has(checksum)) {
this.checksums.get(checksum).add(version);
}
else {
this.checksums.set(checksum, new Set([version]));
}
this.versions.add(version);
}
return versionsMap;
}
exports.KNOWN_VALID_CHECKSUMS = getKnownValidChecksums();
async function fetchValidChecksums(allowSnapshots) {
exports.WrapperChecksums = WrapperChecksums;
function loadKnownChecksums() {
const checksums = new WrapperChecksums();
for (const entry of wrapper_checksums_json_1.default) {
checksums.add(entry.version, entry.checksum);
}
return checksums;
}
exports.KNOWN_CHECKSUMS = loadKnownChecksums();
async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
const all = await httpGetJsonArray('https://services.gradle.org/versions/all');
const withChecksum = all.filter(entry => typeof entry === 'object' && entry != null && entry.hasOwnProperty('wrapperChecksumUrl'));
const allowed = withChecksum.filter((entry) => allowSnapshots || !entry.snapshot);
const checksumUrls = allowed.map((entry) => entry.wrapperChecksumUrl);
const notKnown = allowed.filter((entry) => !knownChecksums.versions.has(entry.version));
const checksumUrls = notKnown.map((entry) => entry.wrapperChecksumUrl);
const checksums = await Promise.all(checksumUrls.map(async (url) => httpGetText(url)));
return new Set(checksums);
}
exports.fetchValidChecksums = fetchValidChecksums;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@ -146204,7 +146215,7 @@ const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(50907));
const hash = __importStar(__nccwpck_require__(60079));
const path_1 = __nccwpck_require__(71017);
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_VALID_CHECKSUMS) {
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_CHECKSUMS) {
const wrapperJars = await find.findWrapperJars(gitRepoRoot);
const result = new ValidationResult([], []);
if (wrapperJars.length < minWrapperCount) {
@ -146214,7 +146225,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
const notYetValidatedWrappers = [];
for (const wrapperJar of wrapperJars) {
const sha = await hash.sha256File((0, path_1.resolve)(gitRepoRoot, wrapperJar));
if (allowedChecksums.includes(sha) || knownValidChecksums.has(sha)) {
if (allowedChecksums.includes(sha) || knownValidChecksums.checksums.has(sha)) {
result.valid.push(new WrapperJar(wrapperJar, sha));
}
else {
@ -146223,7 +146234,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
}
if (notYetValidatedWrappers.length > 0) {
result.fetchedChecksums = true;
const fetchedValidChecksums = await checksums.fetchValidChecksums(allowSnapshots);
const fetchedValidChecksums = await checksums.fetchUnknownChecksums(allowSnapshots, knownValidChecksums);
for (const wrapperJar of notYetValidatedWrappers) {
if (!fetchedValidChecksums.has(wrapperJar.checksum)) {
result.invalid.push(wrapperJar);

File diff suppressed because one or more lines are too long

View file

@ -90405,33 +90405,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.fetchValidChecksums = exports.KNOWN_VALID_CHECKSUMS = void 0;
exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
const httpm = __importStar(__nccwpck_require__(5538));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(3802));
const httpc = new httpm.HttpClient('gradle/wrapper-validation-action', undefined, { allowRetries: true, maxRetries: 3 });
function getKnownValidChecksums() {
const versionsMap = new Map();
for (const entry of wrapper_checksums_json_1.default) {
const checksum = entry.checksum;
let versionNames = versionsMap.get(checksum);
if (versionNames === undefined) {
versionNames = new Set();
versionsMap.set(checksum, versionNames);
}
versionNames.add(entry.version);
class WrapperChecksums {
constructor() {
this.checksums = new Map();
this.versions = new Set();
}
add(version, checksum) {
if (this.checksums.has(checksum)) {
this.checksums.get(checksum).add(version);
}
else {
this.checksums.set(checksum, new Set([version]));
}
this.versions.add(version);
}
return versionsMap;
}
exports.KNOWN_VALID_CHECKSUMS = getKnownValidChecksums();
async function fetchValidChecksums(allowSnapshots) {
exports.WrapperChecksums = WrapperChecksums;
function loadKnownChecksums() {
const checksums = new WrapperChecksums();
for (const entry of wrapper_checksums_json_1.default) {
checksums.add(entry.version, entry.checksum);
}
return checksums;
}
exports.KNOWN_CHECKSUMS = loadKnownChecksums();
async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
const all = await httpGetJsonArray('https://services.gradle.org/versions/all');
const withChecksum = all.filter(entry => typeof entry === 'object' && entry != null && entry.hasOwnProperty('wrapperChecksumUrl'));
const allowed = withChecksum.filter((entry) => allowSnapshots || !entry.snapshot);
const checksumUrls = allowed.map((entry) => entry.wrapperChecksumUrl);
const notKnown = allowed.filter((entry) => !knownChecksums.versions.has(entry.version));
const checksumUrls = notKnown.map((entry) => entry.wrapperChecksumUrl);
const checksums = await Promise.all(checksumUrls.map(async (url) => httpGetText(url)));
return new Set(checksums);
}
exports.fetchValidChecksums = fetchValidChecksums;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@ -90655,7 +90666,7 @@ const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(907));
const hash = __importStar(__nccwpck_require__(79));
const path_1 = __nccwpck_require__(1017);
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_VALID_CHECKSUMS) {
async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapshots, allowedChecksums, knownValidChecksums = checksums.KNOWN_CHECKSUMS) {
const wrapperJars = await find.findWrapperJars(gitRepoRoot);
const result = new ValidationResult([], []);
if (wrapperJars.length < minWrapperCount) {
@ -90665,7 +90676,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
const notYetValidatedWrappers = [];
for (const wrapperJar of wrapperJars) {
const sha = await hash.sha256File((0, path_1.resolve)(gitRepoRoot, wrapperJar));
if (allowedChecksums.includes(sha) || knownValidChecksums.has(sha)) {
if (allowedChecksums.includes(sha) || knownValidChecksums.checksums.has(sha)) {
result.valid.push(new WrapperJar(wrapperJar, sha));
}
else {
@ -90674,7 +90685,7 @@ async function findInvalidWrapperJars(gitRepoRoot, minWrapperCount, allowSnapsho
}
if (notYetValidatedWrappers.length > 0) {
result.fetchedChecksums = true;
const fetchedValidChecksums = await checksums.fetchValidChecksums(allowSnapshots);
const fetchedValidChecksums = await checksums.fetchUnknownChecksums(allowSnapshots, knownValidChecksums);
for (const wrapperJar of notYetValidatedWrappers) {
if (!fetchedValidChecksums.has(wrapperJar.checksum)) {
result.invalid.push(wrapperJar);

File diff suppressed because one or more lines are too long