Skip to content

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

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

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 21:54
@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 41d53e2 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 21:56
cldmv-bot Bot added a commit that referenced this pull request Nov 29, 2026
# `@cldmv/holdmytask` v3.0.0 Changelog

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

---

## Overview

v3.0.0 switches the CommonJS entry to the generic `index.cjs` shim used across the CLDMV libraries. `require("@cldmv/holdmytask")` now returns the module object, the same exports `import` gives, instead of the `HoldMyTask` class with the aliases attached as properties.

This is the only breaking change, and it only affects code that uses `require()` and treats the result as the class. ESM `import` is unchanged, and so is the queue itself.

---

## 💥 Breaking Changes

### `require("@cldmv/holdmytask")` returns the module object ([#116](#116), fixes [#115](#115))

The ESM entry exports several distinct values: the `HoldMyTask` class (also exported as `default`, `queue`, `Queue`, `TaskManager`, `TaskQueue`, `QueueManager` and `TaskProcessor`) and the four `create*` factories. With more than one distinct value, the shim hands back the module object:

```javascript
const holdmytask = require("@cldmv/holdmytask");
// => { default, HoldMyTask, queue, Queue, TaskManager, TaskQueue, QueueManager, TaskProcessor,
//      createHoldMyTask, createQueue, createTaskManager, createTaskProcessor }

const { HoldMyTask } = require("@cldmv/holdmytask");
const queue = new HoldMyTask();
```

- `new (require(x))()` becomes `new (require(x).HoldMyTask)()`, or `const { HoldMyTask } = require(x)`.
- Anything read off the class through the result, such as `require(x).someStatic`, goes through `.HoldMyTask`.
- `require(x).HoldMyTask`, `.queue`, `.Queue`, `.TaskManager`, `.TaskQueue`, `.QueueManager` and `.TaskProcessor` keep working, and destructuring them works as before.
- `require(x).default`, `createHoldMyTask`, `createQueue`, `createTaskManager` and `createTaskProcessor` are newly available.

`src/index.cjs` is now the same small file as in other CLDMV libraries (Node version guard, then `require("./index.mjs")`), and the build still copies it unchanged to `dist/index.cjs`. The CommonJS entry test expects the module object and checks that every export matches the ESM entry.

---

## 🔧 CI & tooling

- `ci.yml` adopts the CLDMV/.github v4.46.0 concurrency block, so superseded runs on `next`, `hotfixes` and the release PRs are cancelled ([#117](#117), fixes [#114](#114)).
- `ci.yml` is synced with the v4.43.0 template, so the release PR no longer reruns the matrix on a commit its push run already tested ([#112](#112)).
- The `sync-release-notes.yml` companion workflow is added ([#110](#110)).
- `dist/` is now built one file per module instead of bundled with tsup: esbuild minifies each `src/**/*.mjs` file in place (`bundle: false`, names kept, source maps written next to the output), so `dist/` mirrors `src/` and shares code through plain relative imports. `dist/index.mjs` imports `dist/hold-my-task.mjs` and `dist/utils.mjs`, and the deprecated `dist/main.mjs` alias re-exports `dist/index.mjs`. The exports map is unchanged, and `require()`, `import` and `@cldmv/holdmytask/main` resolve to the same values as before; the published tarball now holds a few more, smaller files under `dist/`, still without source maps ([#119](#119), fixes [#113](#113)).
- New `test:dist` script builds the package and runs the vitest suite against `dist/`, and `npm test` now includes it ([#103](#103)).

## 📚 Documentation

- **NEW:** [docs/changelog/v3/v3.0.0.md](https://github.com/CLDMV/holdmytask/blob/v3.0.0/docs/changelog/v3/v3.0.0.md): this changelog.
- README: the CommonJS example shows the module object, and the testing section lists `test:dist`.
- README What's New promoted to v3.0.0.

## 🔧 Dependencies

- The CLDMV dev tools move together: `@cldmv/vitest-runner` 1.5.6 → 1.11.4, `@cldmv/configs` 1.4.0 → 1.5.0 and `@cldmv/fix-headers` 2.2.4 → 2.6.1, with `@html-eslint/eslint-plugin` and `@html-eslint/parser` 0.67 → 0.69. File headers are restamped (`@Filename` no longer has a leading slash) and `.github/dependabot.yml` is synced to the CLDMV/.github v4.47.0 groups ([#120](#120)). This supersedes the earlier `@cldmv/fix-headers` 2.2.6 bump ([#106](#106)).
- `vitest`, `@vitest/coverage-v8` and `@vitest/ui` resolve to 5.1.x in the lockfile ([#105](#105)).
- `tsup` is replaced by `esbuild` ^0.28.2 as the build tool ([#119](#119)).
- All of the above are development only; the package still has no runtime dependencies.

---

## Upgrade notes

- `require("@cldmv/holdmytask")` no longer returns the `HoldMyTask` class. Use `const { HoldMyTask } = require("@cldmv/holdmytask")`, and read anything class-level through `HoldMyTask`.
- The existing alias names work as before; `default` and the `create*` factories are new.
- ESM `import` is unchanged.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

| Metric | Coverage |
|--------|----------|
| Statements | 80.8% |
| Branches   | 75.4% |
| Functions  | 73.4% |
| Lines      | 81.9% |

*Avg: **77.8%** · `9cb475d` · 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