Repository navigation
release: v1.2.0 - #75
Merged
Merged
Conversation
…op test.nodeOptions (#74) test.nodeOptions isn't a Vitest option, so the dev condition never reached the workers. devCondition() from @cldmv/configs sets the resolve/ssr conditions and test.execArgv instead. Co-authored-by: Shinrai <[email protected]>
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
|
| File | Raw | Δ Raw | Gzipped | Δ Gzipped |
|---|---|---|---|---|
| dist/backup.mjs | 2.1 kB | +2.1 kB (+100.0%) |
1.1 kB | +1.1 kB |
| dist/cli.mjs | 3.3 kB | +1.2 kB (+59.5%) |
1.5 kB | +501 B |
| dist/index.cjs | 1.9 kB | +428 B (+27.3%) |
1.1 kB | +210 B |
| dist/index.mjs | 956 B | −11.7 kB (-92.6%) ✅ | 387 B | −3.7 kB |
| dist/path-utils.mjs | 603 B | +603 B (+100.0%) |
377 B | +377 B |
| dist/platform/posix.mjs | 5.5 kB | +5.5 kB (+100.0%) |
1.9 kB | +1.9 kB |
| dist/platform/win.mjs | 4.4 kB | +4.4 kB (+100.0%) |
1.6 kB | +1.6 kB |
| dist/scope.mjs | 318 B | +318 B (+100.0%) |
262 B | +262 B |
| Total | 19.0 kB | +2.8 kB | 8.2 kB | +2.2 kB |
📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.
test:dist only ran the CommonJS entry check, so it's test:cjs now. The new test:dist builds and runs the vitest suite with --mode=dist, so the tests that import the package by name run against dist/.
Bumps the vitest group with 1 update: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 5.0.5 to 5.1.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 5.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vitest ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the patch group with 1 update: [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers). Updates `@cldmv/fix-headers` from 2.2.4 to 2.2.6 - [Release notes](https://github.com/CLDMV/fix-headers/releases) - [Commits](CLDMV/fix-headers@v2.2.4...v2.2.6) --- updated-dependencies: - dependency-name: "@cldmv/fix-headers" dependency-version: 2.2.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the vitest group with 1 update: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 5.0.5 to 5.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> <blockquote> <h2>v5.1.0</h2> <h3> 🚀 Features</h3> <ul> <li>Add <code>--last-failed</code> to run only failed tests - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a> <a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li> <li>Support <code>Temporal.Instant</code> and <code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code> - by <a href="https://github.com/Prajwal2246"><code>@Prajwal2246</code></a>, <strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M context)</strong>, <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Codex (GPT-6)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a> <a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li> <li>Introduce <code>--since-last-run</code> flag - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a> <a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li> <li>Expose per-retry/repeat attempt result - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a>, <strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a> <a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li> <li>Support fake timers for <code>node:timers</code> and <code>node:timers/promise</code> - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a>, <strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a> <a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li> <li>Allow coverage providers to store data in fs module cache - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a> <a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li> <li>Interactively review failed snapshots - by <a href="https://github.com/macarie"><code>@macarie</code></a> and <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a> <a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Mock modules through an import map - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a> <a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li> <li>Drop experimental label from trace view - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a> <a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li> <li>Introduce experimental <code>pointer</code> API - by <a href="https://github.com/macarie"><code>@macarie</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a> <a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li> <li>Capture aria snapshot in trace view - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a> <a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li> <li>Show trace steps timeline on terminal on test failure - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a> <a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li> <li>Add failure-only trace view mode - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a> <a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li> <li>Enable failure-only trace view by default - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a> <a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>coverage</strong>: <ul> <li>V8 to support <code>ignoreNode</code> option - by <a href="https://github.com/erickserra"><code>@erickserra</code></a> and <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a> <a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>experimental</strong>: <ul> <li>Add trace timeline for node - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a> <a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li> <li>Add message option to vi.waitFor and vi.waitUntil - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a> <a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h3> 🐞 Bug Fixes</h3> <ul> <li>Rerun setup files after <code>--changed</code> filtering - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a> <a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li> <li>Return the mock to concurrent imports - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a> <a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li> <li>Don&<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t fail on console log pending at teardown - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a> <a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li> <li>Reference chai types in every d.ts chunk - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a> <a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li> <li>Detect mock factory cycles that form later - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a> <a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li> <li>Skip fs module cache for typed import.meta.glob - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a> <a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw HTML omitted -->(79501)<!-- raw HTML omitted --></a></li> <li>Run tests that import a deleted file - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a> <a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li> <li>Keep syntax highlighting in code frames - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a> <a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li> <li>Respect CLI filters when prewarming browsers - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> and <strong>Benjamin Tang</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a> <a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw HTML omitted -->(10947)<!-- raw HTML omitted --></a></li> <li>Read cached source as utf-8 - by <a href="https://github.com/juan-fernandez"><code>@juan-fernandez</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a> <a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li> <li>Inherit <code>watch</code> from the root config in projects - by <a href="https://github.com/nstepien"><code>@nstepien</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a> <a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li> <li>Prefix expect.poll message to all errors - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a> <a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li> <li>Support api.port 0 - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a> <a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li> <li>Show attempts in test error logs of retried tests - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a> <a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li> <li>Preserve rootDir in project paths - by <a href="https://github.com/btea"><code>@btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a> <a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Change default port to 23315 - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a> <a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li> <li>Advance fake timers in actions and expect.element - by <a href="https://github.com/julienw"><code>@julienw</code></a>, <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a> <a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw HTML omitted -->(68190)<!-- raw HTML omitted --></a></li> <li>Drop trace view warning without html reporter - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a> <a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li> <li>Detect shared chunks via the optimizer - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11661">vitest-dev/vitest#11661</a> <a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li> <li>Clear screenshot stability timeout - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a> <a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li> <li>Measure prepare duration with one clock - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a> <a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li> <li>Keep failure screenshot per attempt - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a> <a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li> <li>Print trace timeline of each attempt - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and <strong>Claude Opus 5.5 (1M context)</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a> <a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw HTML omitted -->(27229)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a> chore: release v5.1.0 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a> fix(vm): keep assignable accessor globals writable in node environment (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a> refactor: share trace types and utils (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a> refactor(snapshot): unify review update with <code>SnapshotState</code> update (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a> chore: eliminate lint error (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a> feat(experimental): add message option to vi.waitFor and vi.waitUntil (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a> feat(experimental): add trace timeline for node (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a> fix: preserve rootDir in project paths (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a> feat: interactively review failed snapshots (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a> fix(expect): keep soft .resolves/.rejects error location (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
…78) Bumps the patch group with 1 update: [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers). Updates `@cldmv/fix-headers` from 2.2.4 to 2.2.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/CLDMV/fix-headers/releases">@cldmv/fix-headers's releases</a>.</em></p> <blockquote> <h2>v2.2.6</h2> <h1><code>@cldmv/fix-headers</code> v2.2.6 Changelog</h1> <p><strong>Release Date</strong>: November 2026 <strong>Release Type</strong>: Patch <strong>Branch</strong>: <code>release/2.2.6</code></p> <hr /> <h2>Overview</h2> <p>Version 2.2.6 sets <code>engines.node</code> back to the Node.js version the package needs at runtime, <code>>=18.0.0</code>, instead of the 22.22.0 development toolchain floor that v2.2.5 put there. The 22.22.0 floor moves to npm's <code>devEngines</code>, which only applies when you work on this repository.</p> <p>Header handling, the <code>fixHeaders</code> API and the CLI behave exactly as in v2.2.5. Installs on Node.js 18 through 22.21 no longer get an <code>EBADENGINE</code> warning.</p> <hr /> <h2>🐛 Bug Fixes</h2> <h3><code>engines.node</code> is the runtime floor again (<a href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>)</h3> <p>v2.2.5 raised <code>engines.node</code> to <code>>=22.22.0</code> because the development toolchain (tsup 9 needs 22.18 or later) no longer runs on older Node.js. The published package doesn't need any of that toolchain, so the floor was stricter than the code. <code>engines.node</code> is now <code>>=18.0.0</code>, and the bundles are built for <code>node18</code> (tsup <code>target</code>, was <code>node22</code>).</p> <p>The package is an ES module and loads with <code>import</code> on Node.js 18 and later. <code>require("@cldmv/fix-headers")</code> loads the ES module build synchronously, which needs <code>require(esm)</code>: Node.js ^20.19.0 or >=22.13.0. On a Node.js without it, the CommonJS entry now says exactly that (<code>require() needs Node.js ^20.19.0 or >=22.13.0</code>, code <code>ERR_REQUIRE_ESM</code>) and points to <code>import()</code>; v2.2.5's message asked for 22.22.0.</p> <h2>📦 Requirements</h2> <ul> <li><strong>Runtime:</strong> Node.js 18.0.0 or later (<code>engines.node</code> is <code>>=18.0.0</code>, was <code>>=22.22.0</code>). <code>require()</code> needs Node.js ^20.19.0 or >=22.13.0; use <code>import()</code> on older versions.</li> <li><strong>Development:</strong> working on this repository needs Node.js 22.22.0 or later, declared in <code>devEngines.runtime</code> with <code>onFail: "error"</code>. This doesn't affect anyone installing the package.</li> </ul> <h2>🔧 CI & tooling</h2> <ul> <li>The CI and publish workflows keep <code>min_node_version</code> at 22.22.0; its description and a comment now say it's the dev toolchain floor and should match <code>devEngines</code>, not <code>engines</code> (<a href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>).</li> </ul> <h2>📚 Documentation</h2> <ul> <li><strong>NEW:</strong> <a href="https://github.com/CLDMV/fix-headers/blob/HEAD/v2.2.6.md">docs/changelog/v2/v2.2.6.md</a>: this changelog.</li> <li>README: the requirements list the runtime floor, the <code>require()</code> range and the development floor separately (<a href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>).</li> <li>The v2.2.5 changelog now lists its Node.js floor under Requirements instead of Breaking Changes (<a href="https://redirect.github.com/CLDMV/fix-headers/pull/175">#175</a>).</li> <li>README What's New promoted to v2.2.6.</li> </ul> <hr /> <h2>Upgrade notes</h2> <ul> <li>No breaking changes; drop-in for v2.2.5. Apart from the CommonJS entry's error message and the <code>node18</code> build target, no library code changed, and header output is identical.</li> <li>If you held back from v2.2.5 because of its 22.22.0 floor, v2.2.6 installs cleanly on Node.js 18 and later again.</li> </ul> <hr /> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/CLDMV/fix-headers/commit/55e8966a16ce63396d7a320adac7a77d9ea1b9e8"><code>55e8966</code></a> release: v2.2.6 - set engines to the Node.js version the package needs…</li> <li><a href="https://github.com/CLDMV/fix-headers/commit/1867d4b9f653c83b2514c8c84ba7105e9bf730e1"><code>1867d4b</code></a> release: v2.2.5 - remove devcheck; the fix-headers-dev condition already…</li> <li>See full diff in <a href="https://github.com/CLDMV/fix-headers/compare/v2.2.4...v2.2.6">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
Keeps GitHub Release bodies in step with the per-version changelog files and repairs missing tags and draft releases (standard v4 set).
Adds the sync-release-notes companion workflow from the v4 template, unchanged.
The release PR no longer reruns the matrix on a commit its push run already tested (CLDMV/.github#531). The sync also brings in the NO_NODE handling added in v4.38.0.
Syncs ci.yml with the CLDMV/.github v4.43.0 template so the release PR stops rerunning the matrix on a commit its push run already tested.
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0 template. Only pushes to the release base branch keep a unique group per run; next, hotfixes and the release PRs cancel superseded runs, so they can't fill the org's hosted runner pool (CLDMV/.github#583). Resolves #86
src/index.cjs is now the generic CLDMV shim: when the ESM entry has a single exported value, require() returns that value. envm exports only envManager, so require() now returns the envManager object. The CLI imports ./index.mjs and does not go through index.cjs.
Migration:
- require("@cldmv/envm") now returns the envManager object itself, not { envManager }
- require(x).envManager.set(...) becomes require(x).set(...), or const envManager = require(x)
- destructuring const { envManager } = require(x) no longer works
BREAKING CHANGE: require("@cldmv/envm") returns the envManager object instead of { envManager }.
`src/index.cjs` is now the generic CLDMV shim. The ESM entry's only
export is `envManager`, so `require("@cldmv/envm")` now returns the
`envManager` object itself instead of `{ envManager }`. That's a
breaking change for CommonJS callers.
Migration:
- `require(x).envManager.set(…)` becomes `require(x).set(…)`, or `const
envManager = require(x)`
- `const { envManager } = require(x)` no longer works
The CLI imports `./index.mjs` directly, so it's unaffected. There's no
open adopt-shim issue for this repo.
Fails on current code: path <op> without --name edits a variable named after the op, and set NAME --scope x stores --scope. Refs #90
path <op> without --name edited a variable named after the op, and set NAME --scope x stored "--scope". Parse flags and positional words separately: a flag never consumes another flag, and a missing name, value, values or backup id is an error that prints usage. Resolves #90
Fails on current code: the CLI and the backends accept any scope, and the Windows backend treats an unknown one as system. Refs #95
The CLI and both backends accepted any scope: the POSIX backend returned undefined, and the Windows backend treated an unknown one as system and wrote HKLM. Validate against session, user and system before anything is read or written, in the backends, backup.list and the CLI, and fail with the valid values. A --scope with no value is an error instead of a silent session. Resolves #95
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix(cjs): keep .default and the ESM names on require() (c68a289) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - test(cjs): expect .default and the ESM name on require() (56aa83d) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0 template. Only pushes to the release base branch keep a unique group per run. `next`, `hotfixes` and the release PRs now cancel superseded runs, so they can't fill the org's hosted runner pool ([CLDMV/.github#583](CLDMV/.github#583)). Resolves [#86](#86)
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix: purge backups by age (19c0e0e) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - test: purge removes backups older than maxAgeDays (5e6ff6b) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix: refuse an unknown or missing scope (#94) (945f9ec) - fix: reject a missing --name and never take a flag as a value (#94) (55d4f10) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - test: refuse an unknown or missing scope in the library and the CLI (#94) (56c9da1) - test: cli rejects flags as values and a missing --name (#94) (4d1626b) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
…CLI tests Drives the POSIX backend against a temp HOME and system file, the Windows backend against an in-memory registry replacing reg.exe, backup list/restore/purge, the envManager facade and every CLI command. Adds a 90% coverage threshold, applied to the merged report only. Resolves #3
An unknown or missing scope is now refused, so the backend tests that asserted undefined or a system-scope fallback expect the error instead.
…CLI tests (#92) ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - test: expect the scope errors in the backend tests (#92) (c1efd93) - test: raise coverage to ~98% with backends, backup, PATH helpers and CLI tests (#92) (5ed2ebf) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Moved @cldmv/vitest-runner to 1.11.4 (from 1.5.6), @cldmv/configs to 1.5.0, @cldmv/fix-headers to 2.6.1 (from 2.2.6), and @cldmv/jsonv and @cldmv/prettier-plugin-jsonv to 1.2.4, with npm update for the rest (eslint 10.16.0, prettier 3.10.1, @cldmv/eslint-plugin-jsonv 1.1.2, vitest and @vitest/coverage-v8 5.1.2). The CI gate (build:ci, npm test, ci:coverage) matched the baseline on origin/next in k3s-test: 67 vitest tests and 7 CJS tests passing, 86.68% lines coverage. dependabot.yml takes the npm groups from the CLDMV/.github v4.47.0 template (CLDMV/.github#593).
@filename is now written without a leading slash; 51 files restamped.
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies - deps: bump the CLDMV dev tools (8ae12b7) ### 🔧 Other Changes - chore: restamp file headers with fix-headers 2.6.1 (4fde14f) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
The build is now esbuild with bundle: false, emitting one minified file per source module in dist/ (dist/cli.mjs, the envm bin, imports ./index.mjs from the same folder). The require()/import shapes and exported subpaths are unchanged. Resolves #85
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - refactor: build dist one file per module instead of bundling (f0124b6) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
… and fix-headers 2.6.2
… and fix-headers 2.6.2 (#98) ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies - deps: bump the CLDMV dev tools to vitest-runner 1.11.5, configs 1.5.1 and fix-headers 2.6.2 (c831aea) ### 🔧 Other Changes - chore: restamp file headers with fix-headers 2.6.2 (f108c2b) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - docs: add the v1.2.0 changelog and promote What's New (a4aca8a) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_
Shinrai
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@cldmv/envmv1.2.0 ChangelogRelease Date: November 2026
Release Type: Minor
Branch:
release/1.2.0Overview
require("@cldmv/envm")now returns theenvManagerobject itself, sorequire(x).set(…)works. It still carries.envManager, and gains.default, so every v1.1.0 call keeps working. The CommonJS entry is the generic CLDMV shim, anddist/is built one file per module instead of as tsup bundles, so the CLI no longer ships a second copy of the library.This release also fixes three bugs. A typo'd or missing scope was accepted and silently did nothing, or wrote the system registry on Windows. The CLI could take a flag as a value or edit the wrong variable. And
backup.purge()never deleted backups by age. Test coverage goes from about 33% to about 98%.✨ Features
require()returnsenvManageritself (#87, #89)src/index.cjsis now the generic CLDMV CommonJS shim. After the Node.js version guard it loads./index.mjsthroughrequire(esm). The ESM entry has one export,envManager, so the shim returns that object, with.defaultand.envManagerboth pointing back at it. v1.1.0's entry wasmodule.exports = require("./index.mjs"), which returned the module namespace.#87 switched to the shim when it still returned the bare object with no names, which would have broken
require(x).envManagerandconst { envManager } = require(x). #89 puts.defaultand the ESM name back on it before any release, so nothing that worked in v1.1.0 breaks. Measured against the built package:require("@cldmv/envm"){ envManager }envManagerobject.envManager.set.envManageris the same object)const { envManager } = require(x).setundefined.defaultundefinedESM
import { envManager } from "@cldmv/envm"is unchanged.🐛 Bug Fixes
An unknown or missing scope is refused (#94, fixes #95)
Scope must be
session,userorsystem, but nothing checked it. On POSIX,envManager.set("FOO", "bar", { scope: "usre" })did nothing and reported nothing. On Windows, anything that wasn'tsessionoruserread and wroteHKLM\SYSTEM\...\Environment. The CLI ran with the bad scope, and--scopewith no value becamesession. The newsrc/scope.mjschecks the scope in both platform backends, in backup listing and in the CLI before anything is read or written. A bad scope now throwsInvalid scope "bogus". Valid scopes: session, user, system, and the CLI reports a--scopewith no value as missing.The CLI no longer takes a flag as a value or edits the wrong variable (#94, fixes #90)
envm set FOO --scope userstored the literal value--scope, andenvm path append --values /qwithout--nameappended to a variable calledappend, leaving PATH alone. The CLI now parses its arguments properly. A value flag never takes another--flagas its value, and the positional name afterpathis read after the op. A missing name, value,--valuesor backup id fails with a usage message instead of running withundefined.backup.purge()deletes backups by age (#93, fixes #91)The backup file timestamp was turned back into a date by replacing every dash with a colon, including those in the date part, so the result was always an Invalid Date and
maxAgeDaysnever removed anything. Only the time part's dashes are converted now, so backups older thanmaxAgeDaysare purged. The CLI's exit-time purge is fixed by the same change.🔧 Build
dist/is one file per module, no bundle (#97, fixes #85)The two tsup bundles are replaced by
scripts/build.mjs, which runs esbuild over everysrc/**/*.mjsfile withbundle: falseand thenode14target. Each module is minified on its own with names kept and written to the same path underdist/.dist/cli.mjsimports the library fromdist/instead of carrying its own copy, andsrc/index.cjsis still copied verbatim. The entry points andexportsare unchanged.🔧 CI & tooling
test:cjsruns the CommonJS entry check, and the newtest:distruns the Vitest suite against the builtdist/(#76).envm-devcondition withdevCondition(), replacing atest.nodeOptionssetting that Vitest ignored (#74).ci.ymlis synced with the CLDMV/.github v4.43.0 template (#84), and superseded CI runs onnextandhotfixesare cancelled (#88, fixes #86).sync-release-notescompanion workflow keeps GitHub Release bodies and tags in step with these changelog files (#82).@Filenamewithout a leading slash (#96, #98).📚 Documentation
require()returningenvManager(#87, #89), and What's New is promoted to v1.2.0.🔧 Dependencies
Development dependencies only; envm still has no runtime dependencies.
@cldmv/vitest-runner1.5.6 → 1.11.5,@cldmv/configs1.3.0 → 1.5.1 and@cldmv/fix-headers2.2.4 → 2.6.2, with@cldmv/jsonvand@cldmv/prettier-plugin-jsonv→ 1.2.4.vitestand@vitest/coverage-v85.0.5 → 5.1.2 (#77, #96).esbuildadded andtsupremoved (#97).Upgrade notes
require(x).envManager,const { envManager } = require(x)and ESMimportwork as before, andrequire(x).set(…)andrequire(x).defaultare new.session,userorsystemnow throws instead of silently doing nothing, or writing system scope on Windows. Check any computed scope values.envm set NAME --scope …with no value now fails with a usage message instead of storing--scope.👥 Contributors
Avg: 97.9% ·
4f52d80· Node lts/*Co-authored-by: Shinrai [email protected]