@@ -22417,7 +22417,7 @@ function String2(descriptor, ...args) {
2241722417}
2241822418
2241922419// package.json
22420- var version = "0.28.0 ";
22420+ var version = "0.28.1 ";
2242122421
2242222422// sources/Engine.ts
2242322423var import_fs4 = __toESM(require("fs"));
@@ -22429,7 +22429,7 @@ var import_semver4 = __toESM(require_semver2());
2242922429var config_default = {
2243022430 definitions: {
2243122431 npm: {
22432- default: "10.5.2 +sha1.0e9b72afaf5ecf8249b2abb4b7417db6739c1475 ",
22432+ default: "10.7.0 +sha1.c87e0bbb7a53422670e423d0198120760f67c3b7 ",
2243322433 fetchLatestFrom: {
2243422434 type: "npm",
2243522435 package: "npm"
@@ -22466,7 +22466,7 @@ var config_default = {
2246622466 }
2246722467 },
2246822468 pnpm: {
22469- default: "9.0.3 +sha1.ff3ad37177cbd0843e533aab13d5e40a05803b47 ",
22469+ default: "9.1.0 +sha1.217063ce3fcbf44f3051666f38b810f1ddefee4a ",
2247022470 fetchLatestFrom: {
2247122471 type: "npm",
2247222472 package: "pnpm"
@@ -22530,7 +22530,7 @@ var config_default = {
2253022530 package: "yarn"
2253122531 },
2253222532 transparent: {
22533- default: "4.1.1 +sha224.00f08619463229f8ba40c4ee90e8c2e4ced1f11c3115c26f3b98432e ",
22533+ default: "4.2.2 +sha224.1e50daf19e5e249a025569752c60b88005fddf57d10fcde5fc68b88f ",
2253422534 commands: [
2253522535 [
2253622536 "yarn",
@@ -22702,7 +22702,7 @@ ${key.key}
2270222702async function fetchLatestStableVersion(packageName) {
2270322703 const metadata = await fetchAsJson2(packageName, `latest`);
2270422704 const { version: version2, dist: { integrity, signatures } } = metadata;
22705- if (process.env.COREPACK_INTEGRITY_KEYS !== `` ) {
22705+ if (!shouldSkipIntegrityCheck() ) {
2270622706 verifySignature({
2270722707 packageName,
2270822708 version: version2,
@@ -22736,8 +22736,8 @@ async function fetch(input, init) {
2273622736 if (typeof input === `string`)
2273722737 input = new URL(input);
2273822738 let headers = init?.headers;
22739- const username = input.username ?? process.env.COREPACK_NPM_USERNAME;
22740- const password = input.password ?? process.env.COREPACK_NPM_PASSWORD;
22739+ const username = input.username || process.env.COREPACK_NPM_USERNAME;
22740+ const password = input.password || process.env.COREPACK_NPM_PASSWORD;
2274122741 if (username || password) {
2274222742 headers = {
2274322743 ...headers,
@@ -23031,7 +23031,7 @@ async function installVersion(installTarget, locator, { spec }) {
2303123031 }
2303223032 if (!build[1]) {
2303323033 const registry = getRegistryFromPackageManagerSpec(spec);
23034- if (registry.type === `npm` && !registry.bin && process.env.COREPACK_INTEGRITY_KEYS !== `` ) {
23034+ if (registry.type === `npm` && !registry.bin && !shouldSkipIntegrityCheck() ) {
2303523035 if (signatures == null || integrity == null)
2303623036 ({ signatures, integrity } = await fetchTarballURLAndSignature(registry.package, version2));
2303723037 verifySignature({ signatures, integrity, packageName: registry.package, version: version2 });
@@ -23136,6 +23136,9 @@ async function runVersion(locator, installSpec, binName, args) {
2313623136 process.mainModule = void 0;
2313723137 process.nextTick(import_module.default.runMain, binPath);
2313823138}
23139+ function shouldSkipIntegrityCheck() {
23140+ return process.env.COREPACK_INTEGRITY_KEYS === `` || process.env.COREPACK_INTEGRITY_KEYS === `0`;
23141+ }
2313923142
2314023143// sources/semverUtils.ts
2314123144var import_semver2 = __toESM(require_semver2());
0 commit comments