Skip to content

deps: bump vitest from 5.0.5 to 5.1.0 in the vitest group - #183

Merged
cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/vitest-89a00228e4
Nov 11, 2026
Merged

cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/vitest-89a00228e4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown

Bumps the vitest group with 1 update: vitest.

Updates vitest from 5.0.5 to 5.1.0

Release notes

Sourced from vitest's releases.

v5.1.0

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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

@cldmv-bot cldmv-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by CLDMV-bot: minor bump from 5.0.5 to 5.1.0.

@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Nov 11, 2026
@cldmv-bot
cldmv-bot Bot enabled auto-merge November 11, 2026 21:34
@cldmv-bot
cldmv-bot Bot merged commit f27990b into next Nov 11, 2026
31 checks passed
@cldmv-bot
cldmv-bot Bot deleted the dependabot/npm_and_yarn/next/vitest-89a00228e4 branch November 11, 2026 21:36
cldmv-bot Bot added a commit that referenced this pull request Nov 15, 2026
# `@cldmv/fix-headers` v2.2.7 Changelog

**Release Date**: November 2026
**Release Type**: Patch
**Branch**: `release/2.2.7`

---

## Overview

Version 2.2.7 changes how the package is tested, not what it does. Nothing under `src/` changed, so header handling, the `fixHeaders` API, the CLI and the published `dist/` behave exactly as in v2.2.6.

The test suite now really runs against `src/` through the `fix-headers-dev` condition (the old config never passed it to the test workers), the same suite also runs against the built `dist/` with `npm run test:dist`, and one discovery test no longer fails when the checkout sits under a folder named `dist`. The rest is a `vitest` 5.1.0 bump and the `sync-release-notes` workflow.

---

## 🧪 Tests

### The `fix-headers-dev` condition reaches the test workers ([#179](#179))

The vitest config passed the condition through `test.nodeOptions`, which isn't a Vitest option, so the workers never got it. It now uses `devCondition()` from `@cldmv/configs`, which sets `resolve.conditions`, `ssr.resolve.conditions` and the workers' `execArgv` from the package's own `package.json`.

### `npm run test:dist` runs the suite against the build ([#181](#181))

The tests import the package by name (`@cldmv/fix-headers`) instead of `../src/index.mjs`. `npm run test:dist` builds the package and runs the suite with `--mode=dist`, which leaves the `fix-headers-dev` condition off, so those imports load `dist/`. A new `tests/resolve.test.vitest.mjs` checks that each run loaded the tree it meant to. `npm test` and `ci:coverage` now include the `dist/` run.

### Discovery test judges paths from the workspace root ([#182](#182))

The include/exclude discovery test checked `path.includes("dist/")` on absolute paths, so it failed whenever the checkout itself sat under a folder whose name ends in `dist`. It now looks at each path's folders relative to the workspace. Because the include-folder walk never visits `dist/`, the test also does a whole-project walk with only `excludeFolders`, so the `dist` exclusion is actually exercised.

## 🔧 CI & tooling

- Added the v4 `sync-release-notes` workflow, which keeps GitHub Release pages in step with the files in `docs/changelog/` and reports draft releases and missing tags ([#187](#187)).

## 📚 Documentation

- **NEW:** [docs/changelog/v2/v2.2.7.md](https://github.com/CLDMV/fix-headers/blob/v2.2.7/docs/changelog/v2/v2.2.7.md): this changelog.
- README: the development requirements mention `npm test` (against `src/`) and `npm run test:dist` (against `dist/`) ([#181](#181)).
- README What's New promoted to v2.2.7.

## 🔧 Dependencies

Development only:

- `vitest` and `@vitest/coverage-v8` 5.0.5 → 5.1.0 ([#183](#183)).
- `@cldmv/configs` `^1.2.4` → `^1.4.0`, for `devCondition()` ([#179](#179)).

---

## Upgrade notes

- No breaking changes; drop-in for v2.2.6. No library code changed, and header output is identical.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-99.6%25-brightgreen?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 99.9% |
| Branches   | 98.8% |
| Functions  | 100.0% |
| Lines      | 99.9% |

*Avg: **99.6%** · `13da7df` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants