Skip to content

Commit

Permalink
fix: change repo name and fetch url
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 3, 2023
1 parent c6fdae4 commit dba6017
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A utility to fetch or build patched Node binaries used by [pkg](https://github.com/vercel/pkg) to generate executables. This repo hosts prebuilt binaries in [Releases](https://github.com/vercel/pkg-fetch/releases).
A utility to fetch or build patched Node binaries used by [pkg](https://github.com/yao-pkg/pkg) to generate executables. This repo hosts prebuilt binaries in [Releases](https://github.com/yao-pkg/pkg-fetch/releases).

## Binary Compatibility

Expand Down Expand Up @@ -32,14 +32,14 @@ Like most of you, this project does not have access to advance/private disclosur

This project deploys multiple defense measures to ensure that the safe binaries are delivered to users:

- Binaries are compiled by [Github Actions](https://github.com/vercel/pkg-fetch/actions)
- Binaries are compiled by [Github Actions](https://github.com/yao-pkg/pkg-fetch/actions)
- Workflows and build logs are transparent and auditable.
- Artifacts are the source of truth. Even repository/organization administrators can't tamper them.
- Hashes of binaries are hardcoded in [source](https://github.com/vercel/pkg-fetch/blob/HEAD/lib/expected.ts)
- Hashes of binaries are hardcoded in [source](https://github.com/yao-pkg/pkg-fetch/blob/HEAD/lib/expected.ts)
- Origins of the binaries are documented.
- Changes to the binaries are logged by VCS (Git) and are publicly visible.
- `pkg-fetch` rejects the binary if it does not match the hardcoded hash.
- GPG-signed hashes are available in [Releases](https://github.com/vercel/pkg-fetch/releases)
- GPG-signed hashes are available in [Releases](https://github.com/yao-pkg/pkg-fetch/releases)
- Easy to spot a compromise.
- `pkg-fetch` package on npm is strictly permission-controlled
- Only authorized Vercel employees can push new revisions to npm.
Expand Down
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function download(
{ tag, name }: Remote,
local: string
): Promise<boolean> {
const url = `https://github.com/vercel/pkg-fetch/releases/download/${tag}/${name}`;
const url = `https://github.com/yao-pkg/pkg-fetch/releases/download/${tag}/${name}`;

try {
await downloadUrl(url, local);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Compiles and stores base binaries for pkg",
"main": "lib-es5/index.js",
"license": "MIT",
"repository": "vercel/pkg-fetch",
"repository": "yao-pkg/pkg-fetch",
"bin": {
"pkg-fetch": "lib-es5/bin.js"
},
Expand Down

0 comments on commit dba6017

Please sign in to comment.