Skip to content

chore(deps): update dependency get-stdin to v10 - #1350

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/get-stdin-10.x
Jun 22, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/get-stdin-10.x

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
get-stdin ^9.0.0 → ^10.0.0 age confidence

Release Notes

sindresorhus/get-stdin (get-stdin)

v10.0.0

Compare Source

Breaking
  • getStdin.buffer() now returns Uint8Array instead of Buffer 2399242
  • Default TTY behavior now resolves to empty string/Uint8Array eb25606
    • This prevents CLIs from hanging in interactive terminals when no input is piped, and it lets them immediately fall back to other input sources. Interactive, cat‑style blocking input is still available via allowTTY: true.
Improvements
  • Added stdin option for custom input streams (useful for testing or custom streams).


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ccusage-guide c337f1b Commit Preview URL

Branch Preview URL
Jun 22 2026, 01:02 AM

@pkg-pr-new

pkg-pr-new Bot commented Jun 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

ccusage

npx https://pkg.pr.new/ccusage@1350

@ccusage/ccusage-darwin-arm64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-arm64@1350

@ccusage/ccusage-darwin-x64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-x64@1350

@ccusage/ccusage-linux-arm64

npx https://pkg.pr.new/@ccusage/ccusage-linux-arm64@1350

@ccusage/ccusage-linux-x64

npx https://pkg.pr.new/@ccusage/ccusage-linux-x64@1350

@ccusage/ccusage-win32-x64

npx https://pkg.pr.new/@ccusage/ccusage-win32-x64@1350

commit: c337f1b

@github-actions

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: c337f1bf4fbe
Base SHA: 88246e6d8668

This compares the Rust PR release binary against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 306.0ms 3.29 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 226.2ms 4.45 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 113.1ms 8.90 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 123.7ms 8.14 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 36.1ms 6.2ms 5.81x 53.50 MiB 12.22 MiB 0.23x 0.04 MiB/s 0.25 MiB/s
claude session --offline --json 0.00 MiB 34.1ms 4.7ms 7.28x 54.00 MiB 10.20 MiB 0.19x 0.05 MiB/s 0.33 MiB/s
codex daily --offline --json 0.00 MiB 30.5ms 2.7ms 11.15x 53.75 MiB 8.20 MiB 0.15x 0.03 MiB/s 0.31 MiB/s
codex session --offline --json 0.00 MiB 30.0ms 2.8ms 10.81x 53.75 MiB 8.20 MiB 0.15x 0.03 MiB/s 0.31 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 313.1ms 275.5ms 1.14x 950.34 MiB 942.34 MiB 0.99x 3.22 GiB/s 3.65 GiB/s
codex --offline --json 1.01 GiB 114.4ms 91.3ms 1.25x 413.28 MiB 423.29 MiB 1.02x 8.80 GiB/s 11.03 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 18.25 KiB 18.25 KiB +0.00 KiB 1.00x
installed native package binary 4026.25 KiB 4026.25 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@github-actions

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: c337f1bf4fbe
Base SHA: 88246e6d8668

This compares the PR package against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 286.3ms 3.52 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 246.5ms 4.08 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 115.4ms 8.73 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 90.2ms 11.16 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 36.6ms 30.9ms 1.19x 53.75 MiB 53.75 MiB 1.00x 0.04 MiB/s 0.05 MiB/s
claude session --offline --json 0.00 MiB 36.4ms 33.1ms 1.10x 53.75 MiB 53.50 MiB 1.00x 0.04 MiB/s 0.05 MiB/s
codex daily --offline --json 0.00 MiB 33.5ms 32.9ms 1.02x 53.75 MiB 53.75 MiB 1.00x 0.03 MiB/s 0.03 MiB/s
codex session --offline --json 0.00 MiB 29.3ms 29.9ms 0.98x 53.75 MiB 53.75 MiB 1.00x 0.03 MiB/s 0.03 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 333.7ms 287.5ms 1.16x 972.34 MiB 958.34 MiB 0.99x 3.02 GiB/s 3.50 GiB/s
codex --offline --json 1.01 GiB 117.0ms 121.1ms 0.97x 411.29 MiB 407.28 MiB 0.99x 8.60 GiB/s 8.31 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 18.25 KiB 18.25 KiB +0.00 KiB 1.00x
installed native package binary 4026.25 KiB 4026.25 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@renovate
renovate Bot merged commit c3ee895 into main Jun 22, 2026
32 checks passed
@renovate
renovate Bot deleted the renovate/get-stdin-10.x branch June 22, 2026 02:12
@github-actions github-actions Bot mentioned this pull request Jul 9, 2026
ryoppippi added a commit that referenced this pull request Jul 27, 2026
… catalogs (#1495)

* refactor(deps): source publint from the Nix flake only

publint was pinned twice: once as a pnpm catalog entry expanded into the
devDependencies of `ccusage` and all six native packages, and once as the
bun2nix-built `nix/tools/publint` used by the `publint` flake check and the
dev shell. The two pins could drift silently, and Renovate only ever bumps
one of them at a time.

Keep the Nix build as the single pin and drop the pnpm copies. The
`build`/`prepack` scripts still call bare `publint`, which now always
resolves from PATH: the dev shell and `just ccusage::build-package` already
provided it, and the two publish jobs that install tools with `nix profile
install` instead of entering the dev shell now request `.#publint`
explicitly.

Both publint invocations stay: `prepack` packs a real tarball while the
flake check runs `--pack false` against stubbed generated files, so they
cover different failure modes.

* chore(deps): drop pnpm catalogs with no consumers

The `runtime` catalog lost its last reference when the TypeScript CLI was
replaced by the Rust binary (#1306), and `llm-docs` lost its only reference
when the gunshi docs dependency was removed. Both blocks stayed behind in
pnpm-workspace.yaml, so Renovate kept opening bumps against specifiers no
package resolves (#1350, #1351) and neither catalog ever reached the
lockfile.

Only `docs` and `types` have consumers, so keep those two.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants