Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TooTallNate/once
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.0
Choose a base ref
...
head repository: TooTallNate/once
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.1
Choose a head ref
  • 6 commits
  • 11 files changed
  • 3 contributors

Commits on May 3, 2026

  1. Fix promise hang when AbortSignal is aborted

    When an AbortSignal was aborted, the promise returned by once() would
    remain permanently pending, causing any await usage to hang indefinitely.
    Now the promise rejects with an AbortError when the signal is aborted,
    including the case where the signal is already aborted at call time.
    
    Also sets up changesets for the 2.x release line with legacy dist-tag.
    clutz-bot[bot] committed May 3, 2026
    Configuration menu
    Copy the full SHA
    a1e5e2d View commit details
    Browse the repository at this point in the history
  2. Update CI: modern Node versions, fix macOS ARM64 compat

    - Drop EOL Node.js 10.x and 12.x from matrix
    - Add Node.js 18.x and 20.x
    - Update actions/checkout and actions/setup-node to v4
    - Only trigger on 2.x branch
    clutz-bot[bot] committed May 3, 2026
    Configuration menu
    Copy the full SHA
    b464efc View commit details
    Browse the repository at this point in the history
  3. ci: drop EOL Node.js 14.x/16.x, add 22.x

    Node.js 14.x is unavailable on macos-latest (arm64 runners).
    Update test matrix to 18.x, 20.x, 22.x.
    clutz-bot[bot] committed May 3, 2026
    Configuration menu
    Copy the full SHA
    dabcc0f View commit details
    Browse the repository at this point in the history
  4. CI: test all Node versions on Linux only

    No OS-specific code in this package. Test Node 10-22 on ubuntu-latest
    to maintain the engines >= 10 contract.
    clutz-bot[bot] committed May 3, 2026
    Configuration menu
    Copy the full SHA
    b8a6f80 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc24387 View commit details
    Browse the repository at this point in the history
  6. ci: fix OIDC publishing — Node 24, npm latest, provenance

    - Use Node.js 24 + npm@latest for OIDC provenance support
    - Add id-token: write permission
    - Add registry-url for npm auth
    - Add .npmrc with provenance=true and access=public
    - Fix repository URL (git:// → https://) for npm provenance linking
    - Drop NPM_TOKEN in favor of OIDC
    clutz-bot[bot] committed May 3, 2026
    Configuration menu
    Copy the full SHA
    bcbb21d View commit details
    Browse the repository at this point in the history
Loading