Skip to content

Commit

Permalink
Merge branch 'main' into dave/bake-css
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdave authored Oct 19, 2024
2 parents 4b097cc + e5c00ab commit 8e9f515
Show file tree
Hide file tree
Showing 23 changed files with 337 additions and 242 deletions.
1 change: 1 addition & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
workflow_call:
workflow_dispatch:
pull_request:
merge_group:

env:
BUN_VERSION: "1.1.27"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
workflow_call:
workflow_dispatch:
pull_request:
merge_group:

env:
BUN_VERSION: "1.1.27"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prettier-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
workflow_call:
workflow_dispatch:
pull_request:
merge_group:

env:
BUN_VERSION: "1.1.27"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/zig-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
workflow_call:
workflow_dispatch:
pull_request:
merge_group:

env:
BUN_VERSION: "1.1.27"
Expand Down
70 changes: 35 additions & 35 deletions .vscode/launch.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/runtime/nodejs-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Some methods are not optimized yet.

### [`node:http2`](https://nodejs.org/api/http2.html)

🟡 Client is supported, but server isn't yet.
🟡 Client & server are implemented (95.25% of gRPC's test suite passes). Missing `options.allowHTTP1`, `options.enableConnectProtocol`, ALTSVC extension, and `http2stream.pushStream`.

### [`node:https`](https://nodejs.org/api/https.html)

Expand Down
2 changes: 1 addition & 1 deletion packages/bun-types/bun.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3231,7 +3231,7 @@ declare module "bun" {
}
const unsafe: Unsafe;

type DigestEncoding = "hex" | "base64";
type DigestEncoding = "utf8" | "ucs2" | "utf16le" | "latin1" | "ascii" | "base64" | "base64url" | "hex";

/**
* Are ANSI colors enabled for stdin and stdout?
Expand Down
5 changes: 4 additions & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ function getCachePath(branch) {
const repository = process.env.BUILDKITE_REPO;
const fork = process.env.BUILDKITE_PULL_REQUEST_REPO;
const repositoryKey = (fork || repository).replace(/[^a-z0-9]/gi, "-");
const branchKey = (branch || process.env.BUILDKITE_BRANCH).replace(/[^a-z0-9]/gi, "-");
const branchName = (branch || process.env.BUILDKITE_BRANCH).replace(/[^a-z0-9]/gi, "-");
const branchKey = branchName.startsWith("gh-readonly-queue-")
? branchName.slice(18, branchName.indexOf("-pr-"))
: branchName;
const stepKey = process.env.BUILDKITE_STEP_KEY.replace(/[^a-z0-9]/gi, "-");
return resolve(buildPath, "..", "cache", repositoryKey, branchKey, stepKey);
}
Expand Down
Loading

0 comments on commit 8e9f515

Please sign in to comment.