Skip to content

chore(deps): bump esbuild, @vitest/coverage-v8 and vitest#14

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/multi-25b0f73265
Closed

chore(deps): bump esbuild, @vitest/coverage-v8 and vitest#14
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/multi-25b0f73265

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 22, 2026

Removes esbuild. It's no longer used after updating ancestor dependencies esbuild, @vitest/coverage-v8 and vitest. These dependencies need to be updated together.

Removes esbuild

Updates @vitest/coverage-v8 from 1.6.1 to 4.1.7

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.4

   🚀 Experimental Features

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​vitest/coverage-v8 since your current version.


Updates vitest from 1.6.1 to 4.1.7

Release notes

Sourced from vitest's releases.

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.4

   🚀 Experimental Features

... (truncated)

Commits
  • a09d472 chore: release v4.1.7
  • a8fd24c chore: release v4.1.6
  • 18af98c fix(browser): simplify orchestrator otel carrier (#10285)
  • 3188260 feat(browser): provide project reference in ToMatchScreenshotResolvePath (#...
  • e399846 chore: release v4.1.5
  • 7dc6d54 Revert "fix: respect diff config options in soft assertions (#8696)"
  • 9787ded fix: respect diff config options in soft assertions (#8696)
  • 325463a fix(ast-collect): recognize _vi_import prefix in static test discovery (#10...
  • 0e0ff41 feat(coverage): istanbul to support instrumenter option (#10119)
  • 663b99f fix: alias agent reporter to minimal (#10157)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Removes [esbuild](https://github.com/evanw/esbuild). It's no longer used after updating ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together.


Removes `esbuild`

Updates `@vitest/coverage-v8` from 1.6.1 to 4.1.7
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.7/packages/coverage-v8)

Updates `vitest` from 1.6.1 to 4.1.7
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.7/packages/vitest)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version:
  dependency-type: indirect
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.7
  dependency-type: direct:development
- dependency-name: vitest
  dependency-version: 4.1.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 22, 2026
@dependabot dependabot Bot requested a review from RBKunnela as a code owner May 22, 2026 16:50
@dependabot dependabot Bot added javascript Pull requests that update javascript code dependencies Pull requests that update a dependency file labels May 22, 2026
RBKunnela added a commit that referenced this pull request May 22, 2026
Wire vitest run into the build matrix between type-check and build,
across Node 18 + 20. paybot-sdk auto-publishes to npm on every push
to main; before this change CI never ran the test suite, so code
could ship to customers without its own tests ever executing.

Test suite: 102 tests / 7 files in tests/, vitest.config.ts scoped
to tests/**/*.test.ts. Local: 102/102 pass in 1.72s.

Not in this PR (deliberately split per Orion routing during Phase 1
discovery):
- Task #14: dual-mode dead-code bug in src/x402-v2.ts:251
  (no-dupe-else-if surfaces it; requires semantic decision on what
  dual-mode should emit — separate @dev story)
- Task #15: coverage gate at 80% threshold + tests for x402-v2.ts
  and payment-engine.ts (currently 0% covered, 805 LOC combined)
- Task #16: coverage/ gitignore hygiene

No change to required_status_checks contexts: the new step runs
inside the existing build (18) + build (20) matrix entries, adding
substance without adding new context names.

5th application of automated-pr-merge-authority.md.
RBKunnela added a commit that referenced this pull request May 22, 2026
…ory 15) (#38)

Closes Task #15. Builds on Story 15.1 (PR #37 @ 23694dd) which unblocked
this work by fixing the EIP-55 checksum + 0x-prefix issues in
src/micropayment-engine.ts.

Track A — extend tests/x402-v2.test.ts (tests #14-#26)
  - on402Response: happy / non-402 status / missing+malformed header
  - submitPayment: 200 OK / non-2xx / network error rewrap
  - verifyReceipt: 200+verified / non-2xx / network error (no throw)
  - createPaymentIntentHeader: happy / optional fields undef
  - negotiatePaymentIntent: happy / TODO branch locked
  - src/x402-v2.ts: 63.74% → 97.32% line coverage

Track B — create tests/micropayment-engine.test.ts (B-1 through B-18)
  - constructor (3): 0x-guard, defaults, custom thresholds
  - queuePayment (3): paymentId shape, usdToBaseUnits errors, auto-settle
  - batchPayments (3): EIP-712 BatchSettlement sign / missing IDs / skipGas
  - getGasEstimate (2): 6-decimal USD, inverse scaling
  - setBatchWindow (2): s→ms conversion, window-boundary observable
  - getQueueStatistics (2): empty zeroes, multi-window aggregation
  - clearOldPayments (2): nothing-to-clear, settled+old removal
  - getPaymentStatus (1): find-or-undefined cross-window
  - src/micropayment-engine.ts: 0% → 100% line coverage

Track C — .github/workflows/ci.yml
  - Add `Coverage gate` step (npm run coverage) between Run tests + Build
  - Add `Upload coverage report` step (actions/upload-artifact@ea165f8 v4)
    with if: always(), 14-day retention, per matrix Node version

Test count: 115 baseline + 13 Track A + 18 Track B = 146 tests, all PASS
Coverage: global 97.52% lines / 86.75% branches / 100% funcs / 97.52% stmts
  (exceeds vitest.config.ts thresholds 80/80/70/80 → npm run coverage exit 0)

Determinism: all tests use vi.useFakeTimers + vi.setSystemTime + frozen
Math.random; fetch is stubbed via vi.stubGlobal; zero real network I/O.

Verbatim source preservation: 0 changes to src/ (verified git diff --stat).
Zero skipped tests, zero .todo/xit/xdescribe/.only.

Story chain: full SINKRA — @sm draft (v0.1) → @po GO-conditional → @sm patch
(v0.2) → @dev attempt 1 → bug escalation → @aios-master roundtable → Story
15.1 source fix (PR #37) → @dev resume (this PR) → @qa pending → @devops
pending merge.
RBKunnela added a commit that referenced this pull request May 22, 2026
Add `npm run lint` as a CI step in the build matrix job, positioned
between `npm ci` (install) and `npm run type-check` so lint failures
fast-fail before downstream type-check/test/coverage/build steps.

Now possible because Task #14 (dual-mode dead-code fix in PR #36)
eliminated the no-dupe-else-if blocker on `src/x402-v2.ts:251`.
Lint passes clean on main (verified locally pre-commit).

Why lint gate matters: paybot-sdk auto-publishes to npm on main push.
Without a CI lint gate, lint regressions could ship to the registry.

Note on Task #16 (coverage/ in .gitignore): already present on line 12
of `.gitignore`. No-op; not included in this PR.

Closes #17
Refs #16 (no-op, pre-existing)
@RBKunnela RBKunnela added the friendlyai-review-refresh Trigger FriendlyAI Review on existing PRs label May 24, 2026
@RBKunnela
Copy link
Copy Markdown
Owner

@dependabot recreate

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 24, 2026

The dependabot.yml entry that created this PR has been deleted so this PR can't be recreated. Please close the PR so Dependabot can create a new one with the current dependabot.yml.

@RBKunnela RBKunnela closed this May 24, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 24, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@RBKunnela RBKunnela reopened this May 24, 2026
@RBKunnela RBKunnela enabled auto-merge (squash) May 25, 2026 16:44
@RBKunnela
Copy link
Copy Markdown
Owner

Closing — merge conflict after main updates. Dependabot will reopen with fresh base if still needed.

@RBKunnela RBKunnela closed this May 25, 2026
auto-merge was automatically disabled May 25, 2026 16:54

Pull request was closed

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/multi-25b0f73265 branch May 25, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file friendlyai-review-refresh Trigger FriendlyAI Review on existing PRs javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant