Skip to content

deps: Bump @cldmv/fix-headers from 2.2.4 to 2.2.6 in the patch group - #76

Merged
cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/patch-d204c8cc17
Nov 11, 2026
Merged

cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/patch-d204c8cc17

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the patch group with 1 update: @cldmv/fix-headers.

Updates @cldmv/fix-headers from 2.2.4 to 2.2.6

Release notes

Sourced from @​cldmv/fix-headers's releases.

v2.2.6

@cldmv/fix-headers v2.2.6 Changelog

Release Date: November 2026 Release Type: Patch Branch: release/2.2.6


Overview

Version 2.2.6 sets engines.node back to the Node.js version the package needs at runtime, >=18.0.0, instead of the 22.22.0 development toolchain floor that v2.2.5 put there. The 22.22.0 floor moves to npm's devEngines, which only applies when you work on this repository.

Header handling, the fixHeaders API and the CLI behave exactly as in v2.2.5. Installs on Node.js 18 through 22.21 no longer get an EBADENGINE warning.


🐛 Bug Fixes

engines.node is the runtime floor again (#176)

v2.2.5 raised engines.node to >=22.22.0 because the development toolchain (tsup 9 needs 22.18 or later) no longer runs on older Node.js. The published package doesn't need any of that toolchain, so the floor was stricter than the code. engines.node is now >=18.0.0, and the bundles are built for node18 (tsup target, was node22).

The package is an ES module and loads with import on Node.js 18 and later. require("@cldmv/fix-headers") loads the ES module build synchronously, which needs require(esm): Node.js ^20.19.0 or >=22.13.0. On a Node.js without it, the CommonJS entry now says exactly that (require() needs Node.js ^20.19.0 or >=22.13.0, code ERR_REQUIRE_ESM) and points to import(); v2.2.5's message asked for 22.22.0.

📦 Requirements

  • Runtime: Node.js 18.0.0 or later (engines.node is >=18.0.0, was >=22.22.0). require() needs Node.js ^20.19.0 or >=22.13.0; use import() on older versions.
  • Development: working on this repository needs Node.js 22.22.0 or later, declared in devEngines.runtime with onFail: "error". This doesn't affect anyone installing the package.

🔧 CI & tooling

  • The CI and publish workflows keep min_node_version at 22.22.0; its description and a comment now say it's the dev toolchain floor and should match devEngines, not engines (#176).

📚 Documentation

  • NEW: docs/changelog/v2/v2.2.6.md: this changelog.
  • README: the requirements list the runtime floor, the require() range and the development floor separately (#176).
  • The v2.2.5 changelog now lists its Node.js floor under Requirements instead of Breaking Changes (#175).
  • README What's New promoted to v2.2.6.

Upgrade notes

  • No breaking changes; drop-in for v2.2.5. Apart from the CommonJS entry's error message and the node18 build target, no library code changed, and header output is identical.
  • If you held back from v2.2.5 because of its 22.22.0 floor, v2.2.6 installs cleanly on Node.js 18 and later again.

... (truncated)

Commits
  • 55e8966 release: v2.2.6 - set engines to the Node.js version the package needs…
  • 1867d4b release: v2.2.5 - remove devcheck; the fix-headers-dev condition already…
  • See full diff 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

Bumps the patch group with 1 update: [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers).


Updates `@cldmv/fix-headers` from 2.2.4 to 2.2.6
- [Release notes](https://github.com/CLDMV/fix-headers/releases)
- [Commits](CLDMV/fix-headers@v2.2.4...v2.2.6)

---
updated-dependencies:
- dependency-name: "@cldmv/fix-headers"
  dependency-version: 2.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
...

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: patch bump from 2.2.4 to 2.2.6.

@cldmv-bot
cldmv-bot Bot enabled auto-merge November 11, 2026 18:06
@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 merged commit 601b001 into next Nov 11, 2026
31 checks passed
@cldmv-bot
cldmv-bot Bot deleted the dependabot/npm_and_yarn/next/patch-d204c8cc17 branch November 11, 2026 18:07
cldmv-bot Bot added a commit that referenced this pull request Nov 29, 2026
# `@cldmv/wisp` v2.0.0 Changelog

**Release Date**: November 2026
**Release Type**: Major
**Branch**: `release/2.0.0`

---

## Overview

`require("@cldmv/wisp")` now returns the module object `{ default, wisp, wispSync }`, the same exports `import` gives you, instead of the `wisp` function. That is the only change to the public surface, and it only affects CommonJS callers that called the result of `require()` directly. ESM `import` is unchanged, and so are the options, the JSON loading behaviour and the supported Node.js range.

Caller detection loses a dead flag and `dist/` is now built one minified file per module instead of a tsup bundle, neither of which changes behaviour. The rest of the release is test and CI housekeeping and development-dependency bumps. The package still has no runtime dependencies.

---

## 💥 Breaking Changes

### The CommonJS entry returns the module object ([#86](#86), fixes [#85](#85))

`src/index.cjs`, published as `dist/index.cjs`, is now the generic CLDMV shim. It loads `index.mjs` through synchronous `require(esm)` and hands back what `import` sees. The ESM entry exports two distinct values, `wisp` and `wispSync` (`default` is `wisp`), so `require("@cldmv/wisp")` returns the module object `{ default, wisp, wispSync }` and not the `wisp` function. Before, the CommonJS entry unwrapped the function, so `require("@cldmv/wisp")("./data.json")` worked. It now throws, because the module object is not callable.

- `require(x)(…)` becomes `require(x).wisp(…)`, or `const { wisp } = require(x)`.
- `.wisp`, `.wispSync`, `.default` and destructuring keep working.
- ESM `import` is unchanged.

The `require()` Node.js range is the same as in [v1.0.9](https://github.com/CLDMV/wisp/blob/v2.0.0/docs/changelog/v1/v1.0.9.md): `^20.19.0` or `>=22.13.0`, with the same `ERR_REQUIRE_ESM` message pointing at `import()` on older versions.

---

## 🐛 Bug Fixes

- **Dead flag removed from caller detection** ([#89](#89), resolves [#12](#12)). `pickPrimaryBaseFile()` tracked a second flag for leaving a root `index.*` file but never read it. wisp has no root `index.*` file any more, so the only rule is the one the code already used: the first frame after the stack leaves `src/` or `dist/` is the caller. The flag and its eslint-disable are gone and the docstring matches. Behaviour is unchanged, and a new test covers an ESM caller importing the package by name, through `src/index.mjs` under `wisp-dev` and through `dist/index.mjs` after a build.

---

## 🔧 CI & tooling

- **`npm test` also runs the suite against the build.** The new `test:dist` script builds the package and runs the Vitest suite with `--mode=dist`, so the published `dist/` is tested as well as `src/`. `test` and `ci:coverage` call it ([#74](#74)).
- **The `wisp-dev` condition is set with `devCondition()`.** `test.nodeOptions` is not a Vitest option and passed nothing to the workers. The Vitest configuration now uses `devCondition()` from `@cldmv/configs` 1.4.0, which sets `resolve.conditions`, `ssr.resolve.conditions` and `test.execArgv` ([#72](#72)).
- **`sync-release-notes.yml` added.** The companion workflow syncs release bodies from the per-version changelog files and creates missing version tags ([#80](#80)).
- **`ci.yml` synced with the v4.43.0 template** ([#82](#82)).
- **`dist/` is built one file per module.** The tsup bundle is replaced by `scripts/build.mjs`, which minifies each `src` file in place with esbuild (`bundle: false`, `keepNames`, `node16` target, source maps written next to the output but left out of the tarball) and copies `src/index.cjs` verbatim. `dist/` now mirrors `src/`, so `dist/index.mjs` imports `dist/wisp.mjs`, which imports `dist/lib/resolve-from-caller.mjs`, and every module exists once. The `require()` and `import` export shapes are unchanged. The caller-resolution tests moved from `tests/bundle` to `tests/built` and also check the per-module layout. `tsup` is gone and `esbuild` is a dev dependency ([#91](#91), resolves [#83](#83)).
- **Superseded CI runs on `next` and `hotfixes` are cancelled**, so a new push no longer queues behind runs for commits that have already been replaced. The block is synced with the CLDMV/.github v4.46.0 template ([#87](#87), fixes [#84](#84)).

---

## 📚 Documentation

- The README's usage section now says what `require("@cldmv/wisp")` returns, and the Contributing section describes `test` and `test:dist` ([#86](#86), [#74](#74)).
- **NEW:** [docs/changelog/v2/v2.0.0.md](https://github.com/CLDMV/wisp/blob/v2.0.0/docs/changelog/v2/v2.0.0.md): this changelog.
- README What's New promoted to v2.0.0.

---

## 🔧 Dependencies

- **Runtime**: none, unchanged.
- `vitest` and `@vitest/coverage-v8` 5.0.5 → 5.1.0 ([#75](#75)).
- `@cldmv/fix-headers` 2.2.4 → 2.2.6 ([#76](#76)).
- `@cldmv/configs` 1.3.0 → 1.4.0 ([#72](#72)).

---

## Upgrade notes

- If you load wisp from CommonJS and call the result of `require()` directly, change `require("@cldmv/wisp")(…)` to `require("@cldmv/wisp").wisp(…)`, or use `const { wisp } = require("@cldmv/wisp")`.
- `.wisp`, `.wispSync`, `.default` and destructuring work as before, and ESM `import` needs no change.
- `dist/` now has one file per module (`dist/index.mjs`, `dist/wisp.mjs`, `dist/lib/…`) instead of a single bundle. Deep imports into `dist/` were never supported, and the `exports` map is unchanged.
- Nothing changes for the Node.js version: `engines.node` is still `>=16.0.0`, and `require()` needs `^20.19.0` or `>=22.13.0`.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

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

*Avg: **99.7%** · `96931da` · 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