Skip to content

build(deps): bump esbuild and vitest in /testrunner/ui#43

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/testrunner/ui/multi-64258d8f4c
Open

build(deps): bump esbuild and vitest in /testrunner/ui#43
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/testrunner/ui/multi-64258d8f4c

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 21, 2026

Bumps esbuild to 0.25.12 and updates ancestor dependency vitest. These dependencies need to be updated together.

Updates esbuild from 0.21.5 to 0.25.12

Release notes

Sourced from esbuild's releases.

v0.25.12

  • Fix a minification regression with CSS media queries (#4315)

    The previous release introduced support for parsing media queries which unintentionally introduced a regression with the removal of duplicate media rules during minification. Specifically the grammar for @media <media-type> and <media-condition-without-or> { ... } was missing an equality check for the <media-condition-without-or> part, so rules with different suffix clauses in this position would incorrectly compare equal and be deduplicated. This release fixes the regression.

  • Update the list of known JavaScript globals (#4310)

    This release updates esbuild's internal list of known JavaScript globals. These are globals that are known to not have side-effects when the property is accessed. For example, accessing the global Array property is considered to be side-effect free but accessing the global scrollY property can trigger a layout, which is a side-effect. This is used by esbuild's tree-shaking to safely remove unused code that is known to be side-effect free. This update adds the following global properties:

    From ES2017:

    • Atomics
    • SharedArrayBuffer

    From ES2020:

    • BigInt64Array
    • BigUint64Array

    From ES2021:

    • FinalizationRegistry
    • WeakRef

    From ES2025:

    • Float16Array
    • Iterator

    Note that this does not indicate that constructing any of these objects is side-effect free, just that accessing the identifier is side-effect free. For example, this now allows esbuild to tree-shake classes that extend from Iterator:

    // This can now be tree-shaken by esbuild:
    class ExampleIterator extends Iterator {}
  • Add support for the new @view-transition CSS rule (#4313)

    With this release, esbuild now has improved support for pretty-printing and minifying the new @view-transition rule (which esbuild was previously unaware of):

    /* Original code */
    @view-transition {
      navigation: auto;
      types: check;
    }
    /* Old output */
    @​view-transition { navigation: auto; types: check; }
    /* New output */
    @​view-transition {
    navigation: auto;
    types: check;

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2024

This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).

0.24.2

  • Fix regression with --define and import.meta (#4010, #4012, #4013)

    The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.

    This fix was contributed by @​sapphi-red.

0.24.1

  • Allow es2024 as a target in tsconfig.json (#4004)

    TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2024"
      }
    }

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

    This fix was contributed by @​billyjanitsch.

  • Allow automatic semicolon insertion after get/set

    This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:

    class Foo {
      get
      *x() {}
      set
      *y() {}
    }

    The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.

  • Allow quoted property names in --define and --pure (#4008)

    The define and pure API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:

... (truncated)

Commits
  • 208f539 publish 0.25.12 to npm
  • 5f03afd update release notes
  • 6b2ee78 minify: remove css rules containing empty :is()
  • f361deb add some additional known static methods
  • 07aa646 automatically mark "RegExp.escape()" calls as pure
  • 9039c46 simplify some call expression checks
  • 188944d add some additional known static methods
  • d3c67f9 fix #4310: add Iterator and other known globals
  • 4a51f0b fix: escape dev server breadcrumb hrefs properly (#4316)
  • 26b29ed fix #4315: @media deduplication bug edge case
  • Additional commits viewable in compare view

Updates vitest from 2.1.9 to 4.1.5

Release notes

Sourced from vitest's releases.

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.4

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.3

   🚀 Experimental Features

... (truncated)

Commits
  • 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)
  • 122c25b fix: fix vi.defineHelper called as object method (#10163)
  • 6abd557 feat(api): make test-specification options writable (#10154)
  • 596f739 fix: project color label on html reporter (#10142)
  • 9423dc0 fix: --project negation excludes browser instances (#10131)
  • 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 dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 21, 2026
@github-actions
Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration
./site 0 1 0 -
./testrunner/ui 25 2 0 5ms
git 104 1 2 5.9s
github.com/flanksource/gavel/cmd/gavel 90 6 0 23.1s
github.com/flanksource/gavel/github 89 2 1 -
github.com/flanksource/gavel/testrunner 116 1 0 3.9s
github.com/flanksource/gavel/verify 180 1 0 -
lint: tsc 1 2 0 21.9s
baseline 18 0 0 358.293µs
changegraph 14 0 0 260ms
commit 17 0 0 74ms
fixtures 22 0 0 2ms
github.com/flanksource/gavel/ai 7 0 0 -
github.com/flanksource/gavel/claudehistory 16 0 0 -
github.com/flanksource/gavel/cmd/gavel/choose 15 0 0 -
github.com/flanksource/gavel/commit 38 0 0 1.3s
github.com/flanksource/gavel/fixtures 103 0 0 70ms
github.com/flanksource/gavel/fixtures/types 9 0 0 -
github.com/flanksource/gavel/git 29 0 0 -
github.com/flanksource/gavel/github/activity 8 0 0 -
github.com/flanksource/gavel/github/cache 40 0 5 10ms
github.com/flanksource/gavel/linters 37 0 0 -
github.com/flanksource/gavel/linters/betterleaks 13 0 0 -
github.com/flanksource/gavel/linters/golangci 2 0 0 -
github.com/flanksource/gavel/linters/jscpd 23 0 0 -
github.com/flanksource/gavel/linters/jscpd/testdata/sample 0 0 1 -
github.com/flanksource/gavel/linters/tsc 8 0 0 -
github.com/flanksource/gavel/pr/ui 45 0 0 -
github.com/flanksource/gavel/prwatch 87 0 0 -
github.com/flanksource/gavel/service 40 0 0 4.5s
github.com/flanksource/gavel/snapshots 7 0 0 150ms
github.com/flanksource/gavel/status 21 0 0 260ms
github.com/flanksource/gavel/testrunner/bench 12 0 0 -
github.com/flanksource/gavel/testrunner/parsers 44 0 0 120ms
github.com/flanksource/gavel/testrunner/runners 70 0 0 240ms
github.com/flanksource/gavel/testrunner/ui 25 0 0 50ms
github.com/flanksource/gavel/todos 36 0 0 -
github.com/flanksource/gavel/todos/claude 55 0 0 470ms
github.com/flanksource/gavel/todos/types 30 0 0 -
github.com/flanksource/gavel/utils 51 0 0 -
kubernetes 43 0 0 7ms
lint: betterleaks 0 0 1 -
lint: eslint 0 0 1 -
lint: golangci-lint 0 0 1 -
lint: jscpd 0 0 1 -
lint: markdownlint 0 0 1 -
lint: pyright 0 0 1 -
lint: ruff 0 0 1 -
lint: vale 0 0 1 -
linters 8 0 0 10ms
parsers 14 0 0 443.291µs
runcache 11 0 0 141ms
serve 28 0 0 364ms
utils 70 0 0 29ms

Totals: 1721 passed · 16 failed · 17 skipped · 1m3s

Failing tests

github.com/flanksource/gavel/cmd/gavel — TestExecuteLintersJSCPDOptIn/jscpd_disabled_by_default

lint_test.go:50: expected jscpd to be absent when not enabled, got &{Linter:jscpd WorkDir: Command: Args:[] Success:false Skipped:true TimedOut:false Duration:0s Violations:[] RawOutput: Error:not ...

github.com/flanksource/gavel/cmd/gavel — TestExecuteLintersJSCPDOptIn

github.com/flanksource/gavel/cmd/gavel — TestWriteSnapshotJSON_ReadByLoadResults

test_fork_unix_test.go:117: 
        	Error Trace:	/home/runner/work/gavel/gavel/cmd/gavel/test_fork_unix_test.go:117
        	Error:      	"[map[context:map[duration: status:pending type:group] framework:task name:Running linters pending:true] map[context:map[duration: status:pending type:group] framework:task na...
        	Test:       	TestWriteSnapshotJSON_ReadByLoadResults

github.com/flanksource/gavel/cmd/gavel — TestLoadResults_PopulatesServer

ui_serve_test.go:71: 
        	Error Trace:	/home/runner/work/gavel/gavel/cmd/gavel/ui_serve_test.go:71
        	Error:      	"[map[context:map[duration: status:pending type:group] framework:task name:Running linters pending:true] map[context:map[duration: status:pending type:group] framework:task na...
        	Test:       	TestLoadResults_PopulatesServer

github.com/flanksource/gavel/cmd/gavel — TestRunUIServe_ReplaysSnapshotAndExits

UI at http://localhost:44635
    ui_serve_test.go:251: 
        	Error Trace:	/home/runner/work/gavel/gavel/cmd/gavel/ui_serve_test.go:251
        	Error:      	"[map[context:map[duration: status:pending type:group] framework:task name:Running linters pending:true] map[context:map[duration: status:pending type:group] framework:task na...
... (8 more lines truncated)

... and 9 more failing tests — see the full gavel-results artifact.

Failing linters

tsc — error

tsc wrapper failed: exit status 1
Stderr:
gavel-tsc: cannot load 'typescript' from /home/runner/work/gavel/gavel/site/node_modules. Install it with your package manager (e.g. `npm i -D typescript`).

tsc — 3 violation(s)

  • src/App.tsx:36 — Cannot find namespace 'React'. Did you mean 'preact'? (tsc)
  • src/App.tsx:37 — Cannot find namespace 'React'. Did you mean 'preact'? (tsc)
  • src/App.tsx:38 — Cannot find namespace 'React'. Did you mean 'preact'? (tsc)

View full results

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.12 and updates ancestor dependency [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 to 0.25.12
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](evanw/esbuild@v0.21.5...v0.25.12)

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

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.12
  dependency-type: indirect
- dependency-name: vitest
  dependency-version: 4.1.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/testrunner/ui/multi-64258d8f4c branch from c08a0ff to 76bc4d4 Compare May 11, 2026 07:32
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants