Skip to content

chore(deps): bump vite, @vitest/coverage-v8 and vitest#15

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps vite to 8.0.14 and updates ancestor dependencies vite, @vitest/coverage-v8 and vitest. These dependencies need to be updated together.

Updates vite from 5.4.21 to 8.0.14

Release notes

Sourced from vite's releases.

v8.0.14

Please refer to CHANGELOG.md for details.

v8.0.13

Please refer to CHANGELOG.md for details.

v8.0.12

Please refer to CHANGELOG.md for details.

v8.0.11

Please refer to CHANGELOG.md for details.

v8.0.10

Please refer to CHANGELOG.md for details.

v8.0.9

Please refer to CHANGELOG.md for details.

v8.0.8

Please refer to CHANGELOG.md for details.

v8.0.7

Please refer to CHANGELOG.md for details.

v8.0.6

Please refer to CHANGELOG.md for details.

v8.0.5

Please refer to CHANGELOG.md for details.

v8.0.4

Please refer to CHANGELOG.md for details.

create-vite@8.0.3

Please refer to CHANGELOG.md for details.

v8.0.3

Please refer to CHANGELOG.md for details.

create-vite@8.0.2

Please refer to CHANGELOG.md for details.

v8.0.2

Please refer to CHANGELOG.md for details.

plugin-legacy@8.0.2

Please refer to CHANGELOG.md for details.

create-vite@8.0.1

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

8.0.14 (2026-05-21)

Features

Bug Fixes

  • deps: update all non-major dependencies (#22471) (98b8163)
  • dev: handle errors when sending messages to vite server (#22450) (e8e9a34)
  • html: handle trailing slash paths in transformIndexHtml (#22480) (5d94d1b)
  • optimizer: pass oxc jsx options to transformSync in dependency scan (#22342) (b3132da)

Miscellaneous Chores

  • deps: update rolldown-related dependencies (#22470) (7cb728e)
  • remove irrelevant commits from changelog (2c69495)

Code Refactoring

  • glob: do not rewrite import path for absolute base (#22310) (0ae2844)

Tests

8.0.13 (2026-05-14)

Features

  • bundled-dev: add lazy bundling support (#21406) (4f0949f)
  • optimizer: improve the esbuild plugin converter to pass some properties of build result to onEnd (#22357) (47071ce)
  • update rolldown to 1.0.1 (#22444) (8c766a6)

Bug Fixes

  • build: copy public directory after building same environment with write=false (#22328) (158e8ae)
  • css: await sass/less/styl worker disposal on teardown (fix #22274) (#22275) (b7edcb7)
  • css: keep deprecated name/originalFileName in synthetic assetFileNames call (#22439) (8e59c97)
  • make isBundled per environment (#22257) (a576326)
  • ssr: avoid rewriting labels that collide with imports (#22451) (d9b18e0)

Miscellaneous Chores

8.0.12 (2026-05-11)

Features

... (truncated)

Commits
  • c917f1e release: v8.0.14
  • 5d94d1b fix(html): handle trailing slash paths in transformIndexHtml (#22480)
  • 98b8163 fix(deps): update all non-major dependencies (#22471)
  • 96efc88 feat: update rolldown to 1.0.2 (#22484)
  • ebf39a0 test(css): sass does not use main field (#22449)
  • 0ae2844 refactor(glob): do not rewrite import path for absolute base (#22310)
  • 7cb728e chore(deps): update rolldown-related dependencies (#22470)
  • b3132da fix(optimizer): pass oxc jsx options to transformSync in dependency scan ...
  • e8e9a34 fix(dev): handle errors when sending messages to vite server (#22450)
  • 2c69495 chore: remove irrelevant commits from changelog
  • Additional commits viewable in compare view

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.

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) to 8.0.14 and updates ancestor dependencies [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [@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.


Updates `vite` from 5.4.21 to 8.0.14
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.14/packages/vite)

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: vite
  dependency-version: 8.0.14
  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 requested a review from RBKunnela as a code owner May 22, 2026 16:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code 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
…g dual-mode (Story 14) (#36)

Bug: pre-existing if/else-if chain in `signPayment` (src/x402-v2.ts line 251+)
included an unreachable `else if (protocol === 'dual')` arm — line 163 already
matched `dual` because of `protocol === 'x402' || protocol === 'dual'`. The
dead branch was meant to produce both an x402 EIP-3009 signature AND an MPP
PaymentAuthorization signature; instead, dual-mode silently fell into the
x402-only branch and attached MPP fields as inert metadata under
`signedData.mppFormat` — no real MPP signature was ever produced.

Bug origin commit: dbe4c89 (2026-05-20 rebase artifact).
Customer impact: ZERO at present (paybot-sdk 0.3.0 unreleased; paybot-mcp
and paybot-core pin to ^0.2.0). Fix lands before 0.3.0 ships.

Fix (Option C per 2026-05-22 roundtable verdict):
- Extracted `signX402(account, requirements)` private helper, verbatim body
  from the pre-refactor x402 branch.
- Extracted `signMPP(account, requirements, intentId)` private helper,
  verbatim body from the pre-refactor mpp branch.
- Rewrote `signPayment` as a `switch` dispatcher with explicit `x402` / `mpp`
  / `dual` cases and a `default` arm throwing PayBotApiError with code
  `UNSUPPORTED_PROTOCOL` (status 402).
- Dual-mode now calls BOTH helpers; `signedData = { x402, mpp }` packs both
  signed payloads; top-level `signature` mirrors the x402 signature for
  legacy compatibility.
- Deleted the unreachable dead-code branch (was lines 251-311). No silent
  behavior change for `x402` or `mpp` consumers — proven by Test 13
  (byte-for-byte regression).

Tests: new tests/x402-v2.test.ts (was zero) — 13 unit tests covering
signX402 happy/error/edge, signMPP happy/error/edge, dispatcher x402/mpp/
dual/unsupported/missing-key paths, and two regression tests including the
canonical Test 12 that runs EIP-712 signature recovery against the
dual-mode MPP signature and confirms it recovers the signer address (i.e.,
proves the signature is real cryptography, not metadata). Determinism:
vi.useFakeTimers + vi.setSystemTime + mocked generateEIP3009Nonce.

Quality: 115/115 tests pass (102 existing + 13 new); lint clean; typecheck
clean; all new code lines (signX402 / signMPP / signPayment) hit. JSDoc
added to all three methods with @param / @returns / @throws / @example.

Out of scope per Story 14: discriminated union for signedData, broader
coverage backfill on other untested public methods (Task #15), 0.3.0
release. SignedPayment.signedData stays Record<string, unknown>; no
breaking type change.

Refs: docs/stories/14.dual-mode-refactor.md (AIOX-Enterprise)
SDC chain: @sm draft → @po validated 12/12 → @dev (this PR) → @qa pending → @devops merge.

🤖 Generated with Claude Code

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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 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-cb9cc69a14 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