Skip to content

chore(deps-dev): bump vite from 8.3.2 to 8.3.5 in the npm_and_yarn group across 1 directory - #38

Closed
cldmv-bot[bot] wants to merge 1 commit into
hotfixesfrom
hotfix-redirect/pr-37
Closed

cldmv-bot[bot] wants to merge 1 commit into
hotfixesfrom
hotfix-redirect/pr-37

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Supersedes #37. Cherry-picked cleanly onto hotfixes' own tip instead of merging Dependabot's branch as-is — that branch forks from next, and merging it directly would carry forward any of next's pooled work that isn't on hotfixes yet. See Auto-redirected PR base: on #37.


Bumps the npm_and_yarn group with 1 update in the / directory: vite.

Updates vite from 8.3.2 to 8.3.5

Release notes

Sourced from vite's releases.

v8.3.5

Bug Fixes

  • build: handle missing chunk import maps (#23777) (8d7623d)
  • build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
  • bundled-dev: apply server.origin to asset URLs (#23683) (52ba877)
  • bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
  • bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
  • bundled-dev: include user import.meta.env.* defines in the import.meta.env object (#23713) (6019aa7)
  • bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
  • bundled-dev: normalize served output files (#23684) (df4e02c)
  • bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
  • css: don't fail on a literal % in url() (#23676) (50b382d)
  • deps: update all non-major dependencies (#23731) (cf80aa5)
  • deps: update all non-major dependencies (#23826) (77d8373)
  • deps: update rolldown-related dependencies (#23733) (43f0d05)
  • deps: update rolldown-related dependencies (#23827) (c2e0418)
  • optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
  • optimizer: scan oxc.jsxInject imports (#23758) (38f3cb4)
  • optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
  • optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
  • resolve: support subpath imports with multiple # (#23631) (0d86b34)
  • resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
  • server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
  • server: only strip base when path matches a full segment (#23641) (3dfde87)

Performance Improvements

  • ssr: extract inline source maps without a regexp (#23775) (6a02780)

Miscellaneous Chores

Code Refactoring

  • deps: replace @vercel/detect-agent with std-env (#23744) (ce4293f)
  • dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
  • dev: separate import resolution from URL conversion (#23791) (6116689)
  • dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
  • dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)

v8.3.4

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

... (truncated)

Changelog

Sourced from vite's changelog.

8.3.5 (2026-10-21)

Bug Fixes

  • build: handle missing chunk import maps (#23777) (8d7623d)
  • build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
  • bundled-dev: apply server.origin to asset URLs (#23683) (52ba877)
  • bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
  • bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
  • bundled-dev: include user import.meta.env.* defines in the import.meta.env object (#23713) (6019aa7)
  • bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
  • bundled-dev: normalize served output files (#23684) (df4e02c)
  • bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
  • css: don't fail on a literal % in url() (#23676) (50b382d)
  • deps: update all non-major dependencies (#23731) (cf80aa5)
  • deps: update all non-major dependencies (#23826) (77d8373)
  • deps: update rolldown-related dependencies (#23733) (43f0d05)
  • deps: update rolldown-related dependencies (#23827) (c2e0418)
  • optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
  • optimizer: scan oxc.jsxInject imports (#23758) (38f3cb4)
  • optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
  • optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
  • resolve: support subpath imports with multiple # (#23631) (0d86b34)
  • resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
  • server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
  • server: only strip base when path matches a full segment (#23641) (3dfde87)

Performance Improvements

  • ssr: extract inline source maps without a regexp (#23775) (6a02780)

Miscellaneous Chores

Code Refactoring

  • deps: replace @vercel/detect-agent with std-env (#23744) (ce4293f)
  • dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
  • dev: separate import resolution from URL conversion (#23791) (6116689)
  • dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
  • dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)

8.3.4 (2026-10-08)

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

... (truncated)

Commits
  • 981f07f release: v8.3.5 (#23856)
  • 0d86b34 fix(resolve): support subpath imports with multiple # (#23631)
  • 6a02780 perf(ssr): extract inline source maps without a regexp (#23775)
  • 8e890e1 fix(optimizer): skip patches dir check for yarn.lock fallback (#23725)
  • 197daf6 fix(bundled-dev): declare utf-8 charset in fallback page (#23846)
  • 4d16e7c fix(build): include preload dependencies to chunk import map hashing (#23793)
  • df7b40e refactor(dev): consolidate moduleURL to file path utilities (#23828)
  • a162990 refactor(dev): use ModuleURLs throughout HTML transforms (#23815)
  • 6116689 refactor(dev): separate import resolution from URL conversion (#23791)
  • 446954c refactor(dev): share ModuleURL and BrowserURL conversions (#23790)
  • Additional commits viewable in compare view

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
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).

Updates `vite` from 8.3.2 to 8.3.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.3.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit 6b12981)
@cldmv-bot cldmv-bot Bot added dependencies type: dependencies Relates to dependency updates, version bumps, or package management labels Oct 21, 2026
@Shinrai

Shinrai commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Superseded by #40, which bumps these to newer versions.

@Shinrai Shinrai closed this Nov 1, 2026
cldmv-bot Bot added a commit that referenced this pull request Nov 2, 2026
# `@cldmv/configs` v1.4.0 Changelog

**Release Date**: November 2026
**Release Type**: Minor
**Branch**: `release/1.4.0`

---

## Overview

`vitest.config.mjs` gains a named export, `devCondition()`, that builds the Vitest settings a CLDMV library needs to run its tests against `src/` through its `<pkg>-dev` export condition. Every library had been copying the same three settings by hand, and the copies set the worker flag through `test.nodeOptions`, which is not a Vitest option, so Vitest's worker processes never received the condition. `devCondition()` puts it in `test.execArgv`, which does reach them.

The default export of `vitest.config.mjs` is unchanged, as are `fix-headers.json`, `prettier.json`, `prettierignore`, `eslint.config.mjs` and the `cldmv-configs` CLI. The rest of the release is dependency updates.

---

## ✨ Features

### `devCondition()` for the `<pkg>-dev` export condition ([#39](#39))

A CLDMV library's `exports` carries a `<pkg>-dev` condition that points `.` at `src/` instead of `dist/`. Running the tests against `src/` takes that condition in three places, and `devCondition()` returns all three as a partial Vitest config to merge with `mergeConfig`:

| Setting                  | Value                                                              | Why                                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `resolve.conditions`     | the condition, then `module`, `browser`, `development\|production` | Vite's resolver picks `src/` for imports in test files; setting it replaces Vite's defaults, so they follow                                  |
| `ssr.resolve.conditions` | the condition, then `module`, `node`, `development\|production`    | The same for Vite's server-side resolver, which Vitest uses for Node tests                                                                   |
| `test.execArgv`          | `--conditions=<name>`                                              | Vitest's worker processes start with the condition, so Node's own resolver (a `require()`, or anything loaded outside Vite) picks `src/` too |

```js
import { defineConfig, mergeConfig } from "vitest/config";
import base, { devCondition } from "@cldmv/configs/vitest.config.mjs";

export default mergeConfig(
	mergeConfig(base, devCondition({ root: new URL("..", import.meta.url) })),
	defineConfig({ test: { coverage: { include: ["src/**"] } } })
);
```

The argument is the condition name (`devCondition("wisp-dev")`) or `{ name, root }`. Without a name, the condition is read from `<root>/package.json`, where `root` is a path or a file URL and defaults to the current directory: the one condition ending in `-dev` on the `.` export, otherwise the unscoped package name plus `-dev`. More than one `-dev` condition, or no condition and no package name, throws instead of guessing.

Vite's default client and server conditions are also exported as `VITE_CLIENT_CONDITIONS` and `VITE_SERVER_CONDITIONS`. They are copied rather than imported, so `vitest.config.mjs` still imports only Node built-ins and needs nothing installed; a test checks the copies against the installed Vite.

**If your repository copied these settings by hand**, the `test.nodeOptions` entry never did anything. Replace the three settings with `devCondition()`, or at least move the flag to `test.execArgv`. A new test spawns Vitest with the merged config and checks that the flag reaches the worker's `process.execArgv`.

---

## 🔒 Security & supply chain

- Vite moves from 8.3.2 to 8.3.5 in this repository's install, clearing its Dependabot alert and superseding Dependabot's [#36](#36) and [#38](#38) ([#39](#39), [#40](#40)). Vite is a development dependency here; it is not installed for consumers.
- `overrides` now force `katex` to `>=0.19.1 <1.0.0` (0.16.47 → 0.19.1) and `minimatch` to `^11.0.3` (10.2.6 → 11.0.3), the patched versions, in this repository's own install ([#41](#41)). npm ignores the `overrides` of an installed package, so these don't reach consuming repositories. `katex` arrives there through `@eslint/markdown`, one of this package's dependencies, whose `micromark-extension-math` still asks for `^0.16.0`; a repository that wants the patched version carries the same override itself.

---

## 📚 Documentation

- README: the Vitest Quick Start shows the `devCondition()` merge, and the `vitest.config.mjs` section documents `devCondition()`, the three settings it returns and why `test.nodeOptions` doesn't work. The section no longer says the module has no imports; it imports only Node built-ins ([#39](#39)).
- **NEW:** [docs/changelog/v1/v1.4.0.md](./v1.4.0.md) — this changelog.

---

## 🔧 Dependencies

- **Dependencies** (installed with the package; [#40](#40)): `@cldmv/eslint-plugin-jsonv` 1.0.16 → 1.0.17, `@eslint/css` 2.0.0 → 2.0.1, `globals` 17.13.0 → 17.14.0. The ranges in `package.json` move up to match.
- **Development dependencies** ([#40](#40), [#33](#33)): `@cldmv/fix-headers` 2.2.0 → 2.2.4, `@cldmv/jsonv` 1.1.3 → 1.1.5, `@cldmv/prettier-plugin-jsonv` 1.1.3 → 1.1.4, `@cldmv/vitest-runner` 1.5.2 → 1.5.6, `vitest` and `@vitest/coverage-v8` 5.0.3 → 5.0.5, `eslint` 10.12.0 → 10.14.0, `prettier` 3.9.9 → 3.9.10.
- **`vite` added as a development dependency** (`^8.3.5`) for the test that checks the copied default conditions against Vite's own ([#39](#39)).
- `overrides` for `katex` and `minimatch`, see Security & supply chain ([#41](#41)).
- Peer dependency ranges are unchanged.

---

## Upgrade notes

- No breaking changes: drop-in for v1.3.0. The default export of `vitest.config.mjs` and every other shipped config are unchanged.
- To run tests against `src/` through the `<pkg>-dev` condition, merge `devCondition()` into the repository's Vitest config and delete any hand-copied `resolve.conditions`, `ssr.resolve.conditions` and `test.nodeOptions` entries.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

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

*Avg: **100.0%** · `68a7b37` · 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.

1 participant