Skip to content

Commit 9ca0bcc

Browse files
committed
fixup! Patch tuf-js to use internal agent
1 parent 3a2115e commit 9ca0bcc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

sources/npmRegistryUtils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ async function fetchSigstoreTufKeys(): Promise<Array<KeyInfo> | null> {
5454
return await globalThis.fetch(input, {
5555
dispatcher: agent,
5656
});
57-
58-
}
57+
};
5958
const sigstoreTufClient = await sigstoreTuf.initTUF({
6059
cachePath: path.join(folderUtils.getCorepackHomeFolder(), `_tuf`),
6160
});

yarn.lock

+2-3
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,6 @@ __metadata:
16211621
supports-color: "npm:^10.0.0"
16221622
tar: "npm:^7.4.0"
16231623
tsx: "npm:^4.16.2"
1624-
tuf-js: "patch:tuf-js@npm%3A3.0.1#~/.yarn/patches/tuf-js-npm-3.0.1-9135d15fbd.patch"
16251624
typescript: "npm:^5.7.3"
16261625
undici: "npm:^6.19.2"
16271626
v8-compile-cache: "npm:^2.3.0"
@@ -4704,12 +4703,12 @@ __metadata:
47044703

47054704
"tuf-js@patch:tuf-js@npm%3A3.0.1#~/.yarn/patches/tuf-js-npm-3.0.1-9135d15fbd.patch":
47064705
version: 3.0.1
4707-
resolution: "tuf-js@patch:tuf-js@npm%3A3.0.1#~/.yarn/patches/tuf-js-npm-3.0.1-9135d15fbd.patch::version=3.0.1&hash=26fdc2"
4706+
resolution: "tuf-js@patch:tuf-js@npm%3A3.0.1#~/.yarn/patches/tuf-js-npm-3.0.1-9135d15fbd.patch::version=3.0.1&hash=208643"
47084707
dependencies:
47094708
"@tufjs/models": "npm:3.0.1"
47104709
debug: "npm:^4.3.6"
47114710
make-fetch-happen: "npm:^14.0.1"
4712-
checksum: 10c0/e301844e9cfaf7dff085358285ed15ea21d7bb871ea3b6a2c6647c3558069fe62473b1dec1cb30e015955647bf1f36c547fb63c827f2563bbc7be4749281e78c
4711+
checksum: 10c0/95371d3b42a808c85b139971f72f1f28e1f19ad04f6d82052b311c5cd47ec7e27718a2f5fe9a329f29bf433c958483f64e941d6193c75394c0cdf544eb4a43b1
47134712
languageName: node
47144713
linkType: hard
47154714

0 commit comments

Comments
 (0)