Repository navigation
deps: bump vitest from 5.0.5 to 5.1.0 in the vitest group - #47
Merged
cldmv-bot[bot] merged 1 commit intoNov 10, 2026
Merged
Conversation
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]>
dependabot
Bot
deleted the
dependabot/npm_and_yarn/next/vitest-89a00228e4
branch
November 10, 2026 12:07
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 28, 2026
# `@cldmv/configs` v1.5.0 Changelog **Release Date**: November 2026 **Release Type**: Minor **Branch**: `next` → `master` --- ## Overview The ESLint base is now a Node-only layer. Browser globals and Vitest globals are opt-in through two new named exports, and a repository's own `.configs/` files are linted. This only makes the lint stricter where it was silent: code that relied on a browser global, or a test that used `describe` without importing it, now gets a `no-undef` error to fix. The package also declares its dev toolchain floor in `devEngines`, takes `@cldmv/eslint-plugin-jsonv` 2, and refreshes the dev tools. `fix-headers.json`, `prettier.json`, `prettierignore`, `vitest.config.mjs` and the `cldmv-configs` CLI are unchanged. --- ## ✨ Features ### Node-only ESLint base, with opt-in browser and Vitest globals ([#58](#58), fixes [#43](#43)) The base used to declare `globals.node` and `globals.browser` for every script, and the Vitest globals for every `tests/**/*.test.vitest.mjs` file, so `window`, `self`, `document` and `name` never tripped `no-undef` in a Node package, and a test that forgot `import { describe, it } from "vitest"` linted clean. For packages built on slothlet, where `self` is a runtime binding that has to be imported, a missing import went unnoticed. Now: - The default export declares `globals.node` only. - `withBrowserGlobals(files?)` returns a block with `globals.browser` for the given files (default: every `**/*.{js,mjs,cjs}` script), for code that really runs in a browser. - `withVitestGlobals(files?)` returns a block with the Vitest globals, read-only, for the given files (default: `tests/**/*.test.vitest.mjs`). Use it only when the repository's Vitest config sets `test.globals: true`. - `.configs/**` is no longer ignored, so an unused or unspread import in a repository's own tool configs is reported. ```js import base, { withBrowserGlobals, withVitestGlobals } from "@cldmv/configs/eslint.config.mjs"; export default [...base, withBrowserGlobals(["src/browser/**/*.mjs"]), withVitestGlobals()]; ``` The README's Versioning section counts a change that only makes a tool stricter where it was silent as a minor. The tests lint sample code end to end for each case. --- ## 🐛 Bug Fixes ### The dev toolchain floor is declared in `devEngines` ([#45](#45)) configs only runs as a consuming repository's dev tooling, so it still declares no runtime `engines`. The 22.22.0 floor that Vitest 5 needs now goes in `devEngines` (`onFail: "error"`), and the CI and publish workflows test from Node.js 22.22.0 instead of 22.12.0. --- ## 🔧 CI & tooling - `ci.yml` adopts the CLDMV/.github v4.46.0 concurrency block, so superseded runs on `next`, `hotfixes` and the release PR are cancelled and only release pushes always finish ([#57](#57), fixes [#56](#56)). - `ci.yml` is synced with the v4.43.0 template ([#55](#55)). - The `sync-release-notes.yml` companion workflow syncs release bodies from these changelog files and creates missing version tags ([#52](#52)). - `dependabot.yml` takes the npm groups from the CLDMV/.github v4.47.0 template, so the CLDMV dev tools move in one PR ([#59](#59)). ## 📚 Documentation - **NEW:** [docs/changelog/v1/v1.5.0.md](https://github.com/CLDMV/configs/blob/v1.5.0/docs/changelog/v1/v1.5.0.md), this changelog. - README: the ESLint sections describe the Node-only base, the `.configs/` linting and the two `with*Globals()` helpers ([#58](#58)). - README What's New promoted to v1.5.0. ## 🔧 Dependencies - **For consumers:** `@cldmv/eslint-plugin-jsonv` `^1.0.17` → `^2.0.0`. The base only spreads the plugin object and its recommended config for `*.jsonv` files, which 2.0.0 didn't change ([#59](#59)). - **Dev tooling in this repository:** `@cldmv/vitest-runner` 1.11.3, `@cldmv/jsonv` and `@cldmv/prettier-plugin-jsonv` 1.2.3, `@cldmv/fix-headers` 2.6.0, `eslint` 10.16.0, `prettier` 3.10.1 and `vitest` 5.1.2 ([#47](#47), [#59](#59)). --- ## Upgrade notes - After updating, run the repository's `lint`. Expect `no-undef` for browser globals in Node code (import what you meant, or add `withBrowserGlobals()` for real browser files) and for Vitest globals in tests (import them from `vitest`, or add `withVitestGlobals()` if the Vitest config sets `test.globals: true`). Expect lint findings in `.configs/` files too. - Nothing else changes: the other configs and the CLI behave as in [v1.4.0](https://github.com/CLDMV/configs/blob/v1.5.0/docs/changelog/v1/v1.4.0.md). <details> <summary>👥 Contributors</summary> - @Shinrai </details> --- <!-- coverage-start -->  | Metric | Coverage | |--------|----------| | Statements | 100.0% | | Branches | 100.0% | | Functions | 100.0% | | Lines | 100.0% | *Avg: **100.0%** · `a774c27` · Node lts/** <!-- coverage-end --> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
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.
Bumps the vitest group with 1 update: vitest.
Updates
vitestfrom 5.0.5 to 5.1.0Release notes
Sourced from vitest's releases.
... (truncated)
Commits
7a38449chore: release v5.1.0 (#11838)a5ec316fix(vm): keep assignable accessor globals writable in node environment (#11834)e46c6c1refactor: share trace types and utils (#11825)9e23ce5refactor(snapshot): unify review update withSnapshotStateupdate (#11790)a0e33ccchore: eliminate lint error (#11822)fd145d8feat(experimental): add message option to vi.waitFor and vi.waitUntil (#11754)4e98551feat(experimental): add trace timeline for node (#11753)bf96dadfix: preserve rootDir in project paths (#11816)54e5b8afeat: interactively review failed snapshots (#11325)4277075fix(expect): keep soft .resolves/.rejects error location (#11792)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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