Commit 252b33e
Upgrade: [dependabot] - bump vitest from 3.2.4 to 4.1.2 (#2959)
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 3.2.4 to 4.1.2.
<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>v4.1.2</h2>
<p>This release bumps Vitest's <code>flatted</code> version and removes
version pinning to resolve <code>flatted</code>'s CVE related issues (<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9975">vitest-dev/vitest#9975</a>).</p>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li>Don't resolve <code>setupFiles</code> from parent directory - by
<a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9960">vitest-dev/vitest#9960</a>
<a href="https://github.com/vitest-dev/vitest/commit/7aa937776"><!-- raw
HTML omitted -->(7aa93)<!-- raw HTML omitted --></a></li>
<li>Ensure sequential mock/unmock resolution - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 4.6</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9830">vitest-dev/vitest#9830</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c06598db"><!-- raw
HTML omitted -->(7c065)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>: Take failure screenshot if
<code>toMatchScreenshot</code> can't capture a stable screenshot - by
<a href="https://github.com/macarie"><code>@macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9847">vitest-dev/vitest#9847</a>
<a href="https://github.com/vitest-dev/vitest/commit/faace1fbe"><!-- raw
HTML omitted -->(faace)<!-- raw HTML omitted --></a></li>
<li><strong>coverage</strong>: Correct
<code>coverageConfigDefaults</code> values and types - by <a
href="https://github.com/Arthie"><code>@Arthie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9940">vitest-dev/vitest#9940</a>
<a href="https://github.com/vitest-dev/vitest/commit/b3c992cb2"><!-- raw
HTML omitted -->(b3c99)<!-- raw HTML omitted --></a></li>
<li><strong>pretty-format</strong>: Fix output limit over counting -
by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9965">vitest-dev/vitest#9965</a>
<a href="https://github.com/vitest-dev/vitest/commit/d3b7a40fa"><!-- raw
HTML omitted -->(d3b7a)<!-- raw HTML omitted --></a></li>
<li>Disable colors if agent is detected - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> and
<a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9851">vitest-dev/vitest#9851</a>
<a href="https://github.com/vitest-dev/vitest/commit/6f97b55dd"><!-- raw
HTML omitted -->(6f97b)<!-- raw HTML omitted --></a></li>
</ul>
<h5> <a
href="https://github.com/vitest-dev/vitest/compare/v4.1.1...v4.1.2">View
changes on GitHub</a></h5>
<h2>v4.1.1</h2>
<h3> 🚀 Features</h3>
<ul>
<li><strong>experimental</strong>:
<ul>
<li>Expose <code>matchesTags</code> to test if the current filter
matches tags - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9913">vitest-dev/vitest#9913</a>
<a href="https://github.com/vitest-dev/vitest/commit/eec53d9f5"><!-- raw
HTML omitted -->(eec53)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>experimental.vcsProvider</code> - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9928">vitest-dev/vitest#9928</a>
<a href="https://github.com/vitest-dev/vitest/commit/561150036"><!-- raw
HTML omitted -->(56115)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li>Mark <code>TestProject.testFilesList</code> internal properly - by
<a href="https://github.com/sapphi-red"><code>@sapphi-red</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9867">vitest-dev/vitest#9867</a>
<a href="https://github.com/vitest-dev/vitest/commit/54f2660f5"><!-- raw
HTML omitted -->(54f26)<!-- raw HTML omitted --></a></li>
<li>Detect fixture that returns without calling <code>use</code> - by
<a href="https://github.com/oilater"><code>@oilater</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9831">vitest-dev/vitest#9831</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9861">vitest-dev/vitest#9861</a>
<a href="https://github.com/vitest-dev/vitest/commit/633ae2303"><!-- raw
HTML omitted -->(633ae)<!-- raw HTML omitted --></a></li>
<li>Drop vite 8.beta support - by <a
href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9862">vitest-dev/vitest#9862</a>
<a href="https://github.com/vitest-dev/vitest/commit/b78f5389d"><!-- raw
HTML omitted -->(b78f5)<!-- raw HTML omitted --></a></li>
<li>Type regression in vi.mocked() static class methods - by <a
href="https://github.com/purepear"><code>@purepear</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/9857">vitest-dev/vitest#9857</a>
<a href="https://github.com/vitest-dev/vitest/commit/90926641b"><!-- raw
HTML omitted -->(90926)<!-- raw HTML omitted --></a></li>
<li>Properly re-evaluate actual modules of mocked external - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9898">vitest-dev/vitest#9898</a>
<a href="https://github.com/vitest-dev/vitest/commit/ae5ec03ef"><!-- raw
HTML omitted -->(ae5ec)<!-- raw HTML omitted --></a></li>
<li>Preserve coverage report when html reporter overlaps - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9889">vitest-dev/vitest#9889</a>
<a href="https://github.com/vitest-dev/vitest/commit/2d81ad897"><!-- raw
HTML omitted -->(2d81a)<!-- raw HTML omitted --></a></li>
<li>Provide <code>vi.advanceTimers</code> to the preview provider - by
<a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9891">vitest-dev/vitest#9891</a>
<a href="https://github.com/vitest-dev/vitest/commit/1bc3e63be"><!-- raw
HTML omitted -->(1bc3e)<!-- raw HTML omitted --></a></li>
<li>Don't leak event listener in playwright provider - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9910">vitest-dev/vitest#9910</a>
<a href="https://github.com/vitest-dev/vitest/commit/d93550ff7"><!-- raw
HTML omitted -->(d9355)<!-- raw HTML omitted --></a></li>
<li>Open browser in <code>--standalone</code> mode without running 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/9911">vitest-dev/vitest#9911</a>
<a href="https://github.com/vitest-dev/vitest/commit/e78adcf97"><!-- raw
HTML omitted -->(e78ad)<!-- raw HTML omitted --></a></li>
<li>Guard disposable and optional <code>body</code> - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/9912">vitest-dev/vitest#9912</a>
<a href="https://github.com/vitest-dev/vitest/commit/6fdb2ba61"><!-- raw
HTML omitted -->(6fdb2)<!-- raw HTML omitted --></a></li>
<li>Resolve <code>retry.condition</code> RegExp serialization issue -
by <a href="https://github.com/nstepien"><code>@nstepien</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/9942">vitest-dev/vitest#9942</a>
<a href="https://github.com/vitest-dev/vitest/commit/7b6054328"><!-- raw
HTML omitted -->(7b605)<!-- raw HTML omitted --></a></li>
<li><strong>collect</strong>:
<ul>
<li>Don't treat extra props on <code>test</code> return as 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/9871">vitest-dev/vitest#9871</a>
<a href="https://github.com/vitest-dev/vitest/commit/141e72aa1"><!-- raw
HTML omitted -->(141e7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>Simplify provider types - by <a
href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9931">vitest-dev/vitest#9931</a>
<a href="https://github.com/vitest-dev/vitest/commit/aaf9f18ae"><!-- raw
HTML omitted -->(aaf9f)<!-- raw HTML omitted --></a></li>
<li>Load built-in provider without module runner - by <a
href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9939">vitest-dev/vitest#9939</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf8920817"><!-- raw
HTML omitted -->(bf892)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Soft assertions continue after .resolves/.rejects promise errors -
by <a href="https://github.com/mixelburg"><code>@mixelburg</code></a>,
<strong>Maks Pikov</strong>, <strong>Claude Opus 4.6 (1M
context)</strong> and <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9843">vitest-dev/vitest#9843</a>
<a href="https://github.com/vitest-dev/vitest/commit/6d74b4948"><!-- raw
HTML omitted -->(6d74b)<!-- raw HTML omitted --></a></li>
<li>Fix sinon-chai style API - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9943">vitest-dev/vitest#9943</a>
<a href="https://github.com/vitest-dev/vitest/commit/0f08dda2c"><!-- raw
HTML omitted -->(0f08d)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pretty-format</strong>:
<ul>
<li>Limit output for large object - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 4.6 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9949">vitest-dev/vitest#9949</a>
<a href="https://github.com/vitest-dev/vitest/commit/0d5f9d6ef"><!-- raw
HTML omitted -->(0d5f9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5> <a
href="https://github.com/vitest-dev/vitest/compare/v4.1.0...v4.1.1">View
changes on GitHub</a></h5>
<h2>v4.1.0</h2>
<p>Vitest 4.1 is out!</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fc6f482f4c54bf6a766a0ff502b9843994af5bf5"><code>fc6f482</code></a>
chore: release v4.1.2</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6f97b55ddc446e725d259b7790eb21e39be77d6c"><code>6f97b55</code></a>
feat: disable colors if agent is detected (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9851">#9851</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b3c992cb29ede4cca1581ed08dd9921d575cb384"><code>b3c992c</code></a>
fix(coverage): correct <code>coverageConfigDefaults</code> values and
types (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9940">#9940</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7c06598dbb49d9b54c990d537b700474330b6e12"><code>7c06598</code></a>
fix: ensure sequential mock/unmock resolution (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9830">#9830</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f54abad136c25796937f2376a3c8c1c10f5c71c8"><code>f54abad</code></a>
chore: add typo-checker skill and fix typos (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9963">#9963</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7aa93777641fb78643535cf46b1d080910ec97c8"><code>7aa9377</code></a>
fix: don't resolve <code>setupFiles</code> from parent directory (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9960">#9960</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1f2d318493363855b66a22caaf7c1c10579029d5"><code>1f2d318</code></a>
chore: release v4.1.1</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ebfde798fbaeeb1fc7542d734dff216f39272201"><code>ebfde79</code></a>
refactor: rename <code>matchesTagsFilter</code> to
<code>matchesTags</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9956">#9956</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/561150036f5784039020b1c1e767e78e1088e16c"><code>5611500</code></a>
feat(experimental): introduce <code>experimental.vcsProvider</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9928">#9928</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/eec53d9f592717ebb6febec517bbc1d1f2af250a"><code>eec53d9</code></a>
feat(experimental): expose <code>matchesTagsFilter</code> to test if the
current filter ...</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v4.1.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by [GitHub Actions](<a
href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a>
Actions), a new releaser for vitest since your current version.</p>
</details>
<br />
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tstephen-nhs <231503406+tstephen-nhs@users.noreply.github.com>1 parent 3a26603 commit 252b33e
14 files changed
Lines changed: 2736 additions & 2625 deletions
File tree
- packages
- cpsuLambda/src
- nhsNotifyLambda/tests
- postDatedLambda/tests
- updatePrescriptionStatus/tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments