Repository navigation
release: v2.0.0 - switch the CJS entry to the generic shim - #73
Merged
Merged
Conversation
…op test.nodeOptions (#72) test.nodeOptions isn't a Vitest option, so the dev condition never reached the workers. Switched to devCondition() from @cldmv/configs 1.4.0, which sets the resolve/ssr conditions and test.execArgv (the part that applies here, since the suite runs through Node's native import). The native-import settings are unchanged. Co-authored-by: Shinrai <[email protected]>
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
|
| File | Raw | Δ Raw | Gzipped | Δ Gzipped |
|---|---|---|---|---|
| dist/index.cjs | 2.2 kB | +244 B (+12.2%) |
1.2 kB | +164 B |
| dist/index.mjs | 118 B | −3.4 kB (-96.7%) ✅ | 109 B | −1.5 kB |
| dist/lib/resolve-from-caller.mjs | 2.0 kB | +2.0 kB (+100.0%) |
931 B | +931 B |
| dist/wisp.mjs | 2.0 kB | +2.0 kB (+100.0%) |
952 B | +952 B |
| Total | 6.3 kB | +808 B | 3.1 kB | +550 B |
📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.
test:dist builds and runs the vitest suite with --mode=dist, so the tests that import the package by name run against dist/. A resolve test checks the import landed on the right tree.
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>
…76) 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.
src/index.cjs is now the generic CLDMV shim: it returns the module object that `import` gives, because the ESM entry exports two distinct values. The CJS tests, fixtures and README follow.
- `require("@cldmv/wisp")` now returns the module object, not the `wisp` function
- `require(x)(…)` → `require(x).wisp(…)` (or `const { wisp } = require(x)`)
- `.wisp`, `.wispSync`, `.default` and destructuring keep working
BREAKING CHANGE: require("@cldmv/wisp") returns the module object instead of the wisp function.
Resolves #85
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 #84
`src/index.cjs` is now the generic CLDMV shim. The ESM entry exports two
distinct values (`wisp` and `wispSync`), so `require("@cldmv/wisp")`
returns the module object instead of the `wisp` function. That's a
breaking change for CommonJS callers.
Migration:
- `require(x)(…)` becomes `require(x).wisp(…)`, or `const { wisp } =
require(x)`
- `.wisp`, `.wispSync`, `.default` and destructuring keep working
Resolves [#85](#85)
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 [#84](#84)
pickPrimaryBaseFile() tracked a second flag for leaving a root index.* file but never read it. wisp has no root index.* anymore (the entries are src/index.* and dist/index.*), so the only rule is the one the code already used: the first frame after the stack leaves src/ or dist/ is the caller. The dead flag, its eslint-disable and the two-flag docstring are gone; behaviour is unchanged. Tests add an ESM caller importing the package by name, through src/index.mjs under wisp-dev and through dist/index.mjs after a build, next to the existing CommonJS caller. Resolves #12
`pickPrimaryBaseFile()` tracked a second flag for leaving a root `index.*` file but never read it. wisp has no root `index.*` anymore, so the only rule is the one the code already used: the first frame after the stack leaves `src/` or `dist/` is the caller. I dropped the dead flag and its eslint-disable, and rewrote the docstring to match. Behaviour is unchanged. There's a new test for an ESM caller importing the package by name, through `src/index.mjs` under `wisp-dev` and through `dist/index.mjs` after a build. It sits next to the existing CommonJS caller test. Resolves [#12](#12)
@cldmv/vitest-runner 1.5.6 to 1.11.4, @cldmv/configs 1.4.0 to 1.5.0, @cldmv/fix-headers 2.2.6 to 2.6.1, @cldmv/jsonv and @cldmv/prettier-plugin-jsonv 1.1.5/1.1.4 to 1.2.4, and npm update for the rest. No lint fixes were needed. The CI gate (build:ci, then ci:coverage) matched the baseline in k3s-test: 85 passed, 1 skipped, coverage 100% statements / 98.9% branches / 100% functions / 100% lines. fix-headers 2.6.1 also restamped the headers of 51 files: @filename is now written without a leading slash. dependabot.yml takes the npm groups from the CLDMV/.github v4.47.0 template (CLDMV/.github#593).
The build now minifies each src module in place with esbuild (bundle: false, keepNames, node16 target) and copies src/index.cjs verbatim, replacing the tsup bundle. The require() and import export shapes are unchanged; the caller-resolution tests moved to tests/built and now also check the per-module layout. Resolves #83
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies - deps: bump the CLDMV dev tools (#90) (d043452) ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details>
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies - deps: bump the CLDMV dev tools (#90) (d043452) ### 🔧 Other Changes - refactor: build dist one file per module instead of bundling (#91) (f89423c) <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: cover #89, #90 and #91 in the v2.0.0 changelog (3946fd1) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Shinrai
approved these changes
Nov 29, 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/wispv2.0.0 ChangelogRelease Date: November 2026
Release Type: Major
Branch:
release/2.0.0Overview
require("@cldmv/wisp")now returns the module object{ default, wisp, wispSync }, the same exportsimportgives you, instead of thewispfunction. That is the only change to the public surface, and it only affects CommonJS callers that called the result ofrequire()directly. ESMimportis unchanged, and so are the options, the JSON loading behaviour and the supported Node.js range.Caller detection loses a dead flag and
dist/is now built one minified file per module instead of a tsup bundle, neither of which changes behaviour. The rest of the release is test and CI housekeeping and development-dependency bumps. The package still has no runtime dependencies.💥 Breaking Changes
The CommonJS entry returns the module object (#86, fixes #85)
src/index.cjs, published asdist/index.cjs, is now the generic CLDMV shim. It loadsindex.mjsthrough synchronousrequire(esm)and hands back whatimportsees. The ESM entry exports two distinct values,wispandwispSync(defaultiswisp), sorequire("@cldmv/wisp")returns the module object{ default, wisp, wispSync }and not thewispfunction. Before, the CommonJS entry unwrapped the function, sorequire("@cldmv/wisp")("./data.json")worked. It now throws, because the module object is not callable.require(x)(…)becomesrequire(x).wisp(…), orconst { wisp } = require(x)..wisp,.wispSync,.defaultand destructuring keep working.importis unchanged.The
require()Node.js range is the same as in v1.0.9:^20.19.0or>=22.13.0, with the sameERR_REQUIRE_ESMmessage pointing atimport()on older versions.🐛 Bug Fixes
pickPrimaryBaseFile()tracked a second flag for leaving a rootindex.*file but never read it. wisp has no rootindex.*file any more, so the only rule is the one the code already used: the first frame after the stack leavessrc/ordist/is the caller. The flag and its eslint-disable are gone and the docstring matches. Behaviour is unchanged, and a new test covers an ESM caller importing the package by name, throughsrc/index.mjsunderwisp-devand throughdist/index.mjsafter a build.🔧 CI & tooling
npm testalso runs the suite against the build. The newtest:distscript builds the package and runs the Vitest suite with--mode=dist, so the publisheddist/is tested as well assrc/.testandci:coveragecall it (#74).wisp-devcondition is set withdevCondition().test.nodeOptionsis not a Vitest option and passed nothing to the workers. The Vitest configuration now usesdevCondition()from@cldmv/configs1.4.0, which setsresolve.conditions,ssr.resolve.conditionsandtest.execArgv(#72).sync-release-notes.ymladded. The companion workflow syncs release bodies from the per-version changelog files and creates missing version tags (#80).ci.ymlsynced with the v4.43.0 template (#82).dist/is built one file per module. The tsup bundle is replaced byscripts/build.mjs, which minifies eachsrcfile in place with esbuild (bundle: false,keepNames,node16target, source maps written next to the output but left out of the tarball) and copiessrc/index.cjsverbatim.dist/now mirrorssrc/, sodist/index.mjsimportsdist/wisp.mjs, which importsdist/lib/resolve-from-caller.mjs, and every module exists once. Therequire()andimportexport shapes are unchanged. The caller-resolution tests moved fromtests/bundletotests/builtand also check the per-module layout.tsupis gone andesbuildis a dev dependency (#91, resolves #83).nextandhotfixesare cancelled, so a new push no longer queues behind runs for commits that have already been replaced. The block is synced with the CLDMV/.github v4.46.0 template (#87, fixes #84).📚 Documentation
require("@cldmv/wisp")returns, and the Contributing section describestestandtest:dist(#86, #74).🔧 Dependencies
vitestand@vitest/coverage-v85.0.5 → 5.1.0 (#75).@cldmv/fix-headers2.2.4 → 2.2.6 (#76).@cldmv/configs1.3.0 → 1.4.0 (#72).Upgrade notes
require()directly, changerequire("@cldmv/wisp")(…)torequire("@cldmv/wisp").wisp(…), or useconst { wisp } = require("@cldmv/wisp")..wisp,.wispSync,.defaultand destructuring work as before, and ESMimportneeds no change.dist/now has one file per module (dist/index.mjs,dist/wisp.mjs,dist/lib/…) instead of a single bundle. Deep imports intodist/were never supported, and theexportsmap is unchanged.engines.nodeis still>=16.0.0, andrequire()needs^20.19.0or>=22.13.0.👥 Contributors
Avg: 99.7% ·
96931da· Node lts/*Co-authored-by: Shinrai [email protected]