Commit a3fe260
authored
fix(deps): vitest 4.1.11 (security) + skipLibCheck (#368)
Closes #337.
## What was blocking the security update
The vitest advisory fix (Renovate PR #337, `vitest@4.1.0`) has been
failing CI since it opened. The failure is not in this repo's code:
```
../../node_modules/.pnpm/@vitest+runner@4.1.0/node_modules/@vitest/runner/dist/tasks.d-D2GKpdwQ.d.ts(1407,11):
error TS2430: Interface 'FailureScreenshotArtifactAttachment' incorrectly extends interface 'TestAttachment'.
Type 'FailureScreenshotArtifactAttachment' is not assignable to type 'TestAttachment' with 'exactOptionalPropertyTypes: true'.
```
`@repobuddy/typescript` enables `exactOptionalPropertyTypes`, and no
config in the chain sets `skipLibCheck`, so `tsc` was type-checking a
dependency's shipped declarations. A dependency we cannot edit therefore
gates our build.
`skipLibCheck: true` is added to the three package tsconfigs. It does
not relax any check on this repo's own sources.
## Changes
- `vitest` and `@vitest/coverage-v8` → `^4.1.11` in all three packages
(advisory fixed in 4.1.0).
- `skipLibCheck: true` in `packages/*/tsconfig.json`.
`pnpm verify` (knip + lint + build + coverage + size, all three
packages) passes locally.
No changeset: dev dependencies and a compiler option — nothing reaches
the published packages.7 files changed
Lines changed: 169 additions & 262 deletions
File tree
- packages
- async-context
- async-fp
- gizmo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments