Skip to content

deps: bump @cldmv/vitest-runner from 1.2.0 to 1.5.3 in the minor group - #44

Merged
cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/minor-2e7833d0e2
Oct 7, 2026
Merged

cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/minor-2e7833d0e2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026

Copy link
Copy Markdown

Bumps the minor group with 1 update: @cldmv/vitest-runner.

Updates @cldmv/vitest-runner from 1.2.0 to 1.5.3

Release notes

Sourced from @​cldmv/vitest-runner's releases.

v1.5.3

release: v1.5.3 - fail clearly on Node without require(esm)

vitest-runner v1.5.3 Changelog

Release Date: October 2026 Release Type: Patch Branch: release/1.5.3


Overview

This release changes how dist/index.cjs loads the ES module build. The CommonJS entry no longer goes through createRequire, which kept bundlers from seeing the dependency, and it now fails with a clear, actionable error on a Node.js version that cannot require() an ES module. New node:test checks run the built CommonJS entry point on every test and coverage run.

The ES module build, the CLI and the run() API are unchanged, and on Node.js versions with require(esm) (20.19+ and 22.12+), require("@cldmv/vitest-runner") returns the same named exports as before.

It also raises engines.node to >=22.12.0 (#73). The old >=20.19.0 floor was never true: the runtime dependency chalk 6 needs Node.js 22, the current vitest 5 peer needs ^22.12.0, and CI only ever tested 22.12 and later.


💥 Breaking Changes

Node.js 20 is no longer supported (#73, fixes #72)

engines.node moves from >=20.19.0 to >=22.12.0, despite this being a patch release. In practice Node.js 20 already stopped working cleanly in v1.5.2: chalk 6.0.1 declares Node.js 22 or later, so Node.js 20 installs printed an EBADENGINE warning and failed outright under engine-strict, and vitest 5 does not install on Node.js 20 at all. The floor now says what the package actually needs.

🐛 Bug Fixes

The CommonJS entry uses a plain require() (#69)

src/cjs-shim.cjs, which the build copies verbatim to dist/index.cjs, loaded ./index.mjs through createRequire(__filename). A .cjs file already has require, so createRequire added nothing, and it hid the dependency from bundlers such as esbuild and webpack, which detect dependencies from static require("…") calls. The shim now calls require("./index.mjs") directly and exports its result.

require() fails clearly on Node.js without require(esm) (#69)

On a Node.js version without synchronous require(esm) (before 20.19 on the 20.x line, or before 22.12), the shim's require() threw a generic ERR_REQUIRE_ESM that pointed at the package's internals. The shim now checks process.features.require_module first and, when it is missing, throws an error with the same ERR_REQUIRE_ESM code and a message naming the package, the required versions and the running version:

@cldmv/vitest-runner: require() needs Node.js ^20.19.0 or >=22.12.0 (this is v20.18.0). On older Node.js, load the package with import() instead.

Code that catches ERR_REQUIRE_ESM by code keeps working.

🧪 Tests

  • New tests/cjs/entry.test.cjs, run with node --test by a new test:cjs script after a fresh npm run build. It checks that require() of the built package returns the same named exports as import, and that the version check throws the new error when require(esm) is unavailable.
  • npm test, npm run test:coverage and npm run ci:coverage now run test:cjs after Vitest, so CI exercises the published CommonJS entry point.

📄 License

... (truncated)

Commits
  • a554cdb release: v1.5.3 - fail clearly on Node without require(esm)
  • fed1e56 release: v1.5.2 - bump @​types/node from 25.3.0 to 26.6.3
  • 7aedb32 release: v1.5.1 - backfill the missing v1.5.0 changelog
  • 9e0f31c release: v1.5.0 - add an exclude option for test discovery
  • 1241f7f release: v1.4.4 - drop the tsup-availability guard in prepack (#41)
  • fade67f release: v1.4.3 - enable minification for the tsup build
  • 0685350 release: v1.4.2 - add missing repository/bugs/homepage fields to…
  • ee919b6 release: v1.4.1 - README npm badges reference the unscoped package name
  • 57542fe release: v1.4.0 - bundle a real dist/ build with tsup, generate the CJS… (#22)
  • cf7dcbd release: v1.3.3 - bump the npm_and_yarn group across 1 directory with 2… (#19)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​cldmv/vitest-runner since your current version.


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

Bumps the minor group with 1 update: [@cldmv/vitest-runner](https://github.com/CLDMV/vitest-runner).


Updates `@cldmv/vitest-runner` from 1.2.0 to 1.5.3
- [Release notes](https://github.com/CLDMV/vitest-runner/releases)
- [Commits](CLDMV/vitest-runner@v1.2.0...v1.5.3)

---
updated-dependencies:
- dependency-name: "@cldmv/vitest-runner"
  dependency-version: 1.5.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <[email protected]>

@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 1.2.0 to 1.5.3.

@cldmv-bot
cldmv-bot Bot enabled auto-merge October 7, 2026 09:36
@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Oct 7, 2026
@cldmv-bot
cldmv-bot Bot merged commit fb6b879 into next Oct 7, 2026
30 checks passed
@cldmv-bot
cldmv-bot Bot deleted the dependabot/npm_and_yarn/next/minor-2e7833d0e2 branch October 7, 2026 09:37
cldmv-bot Bot added a commit that referenced this pull request Oct 12, 2026
# @cldmv/envm v1.0.12 Changelog

**Release Date**: October 2026
**Release Type**: Patch

---

## Overview

A dev-dependency release. The `@cldmv/vitest-runner` test runner moves from 1.2.0 to 1.5.3, and `vitest` and `@vitest/coverage-v8` move from 5.0.2 to 5.0.3. Nothing under `src/` changed, and `package.json` differs from v1.0.11 only in its `version` field: all of it is a lockfile re-resolution inside the existing `^` ranges. Every package that changed in `package-lock.json` is a development dependency, and the package has no runtime dependencies, so the library and CLI are unaffected.

The notable effect is on the toolchain's Node.js floor. `@cldmv/vitest-runner` 1.5.3 declares `engines.node` `>=22.12.0` (it was `>=20.19.0` in 1.2.0) and depends on `chalk` 6, which needs Node.js 22. The CI matrix already starts at 22.12.0, the floor `vitest` 5 runs on, so CI is not affected; running `npm test` locally now needs Node.js 22.12.0 or later. `envm` declares no `engines` field, and that is unchanged.

---

## 🔧 CI & tooling

- `npm test` and `npm run build:ci` pass on the merged `next` branch. The build is a real `esbuild` bundle of `src/` into `dist/`, so a passing `build:ci` does verify the shipped output.

---

## 📚 Documentation

- **NEW:** [docs/changelog/v1/v1.0.12.md](./v1.0.12.md) — this changelog.
- README — **What's New** now leads with v1.0.12.

---

## 🔧 Dependencies

All development-only; none is a runtime or peer dependency of `envm`.

- `@cldmv/vitest-runner` `^1.2.0` → resolved 1.5.3 ([#44](#44)). The `package.json` range stays `^1.2.0`; only the lockfile moved. The jump covers the 1.3 to 1.5 releases, including a real bundled `dist/` build, an `exclude` option for test discovery, and a CommonJS entry that now fails with a clear `ERR_REQUIRE_ESM` message on Node.js without `require(esm)`. Its `engines.node` moves from `>=20.19.0` to `>=22.12.0`. Its `chalk` dependency moves from `^5` to `^6`, so the lockfile's top-level `chalk` goes from 5.6.2 (`engines.node` `^12.17.0 || ^14.13 || >=16.0.0`) to 6.0.1 (`engines.node` `>=22`).
- `vitest` 5.0.2 → 5.0.3 ([#42](#42)), with `@vitest/mocker` and `@vitest/spy` at 5.0.3. `vitest` 5.0.3 pins `why-is-node-running` to exactly 3.2.1, so that package resolves one patch version lower than before (3.2.2 → 3.2.1).
- `@vitest/coverage-v8` 5.0.2 → 5.0.3 ([#43](#43)).
- Transitive tooling that moved with the Vitest update: `vite` 8.3.1 → 8.3.2, `rolldown` 1.2.11 → 1.2.12 (and its platform bindings) and `@oxc-project/types` 0.151.0 → 0.152.0.

---

## Upgrade notes

- No breaking changes, and no runtime code changed. It is a drop-in replacement for v1.0.11.
- For contributors: running the test suite locally needs Node.js 22.12.0 or later.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

| Metric | Coverage |
|--------|----------|
| Statements | 32.8% |
| Branches   | 25.3% |
| Functions  | 50.7% |
| Lines      | 32.9% |

*Avg: **35.4%** · `240b2e8` · 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