Repository navigation
deps: bump ignore, globals, tsup 9 and typescript 7 - #172
Merged
Merged
Conversation
- ignore ^7.0.5 -> ^7.0.14 - globals ^17.12.0 -> ^17.14.0 (dev) - tsup ^8.5.1 -> ^9.0.0 (dev) - typescript ^6.0.3 -> ^7.0.2 (dev) No open dependency PRs or Dependabot alerts; npm audit reports 0 vulnerabilities.
Shinrai
approved these changes
Nov 1, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 2, 2026
…ady… # `@cldmv/fix-headers` v2.2.5 Changelog **Release Date**: November 2026 **Release Type**: Patch **Branch**: `release/2.2.5` --- ## Overview Version 2.2.5 removes the development check added in v2.2.4 and raises the Node.js floor to 22.22.0. Header handling, the `fixHeaders` API and the CLI behave exactly as in v2.2.4. The development check only ever ran in a source checkout, never in the installed package, so removing it changes nothing for consumers. The Node.js floor is a real requirement change: `engines.node` is now `>=22.22.0` (was `>=22.13.0`), so installs on Node.js 22.13 through 22.21 get an `EBADENGINE` warning, or fail under `engine-strict`. --- ## 🐛 Bug Fixes ### Development check removed ([#170](#170)) v2.2.4 made `src/index.mjs` load a root `devcheck.mjs` that stopped a source checkout run without `--conditions=fix-headers-dev`. That check is gone, along with its test and the tsup `external` entry that kept it out of the bundles. The `fix-headers-dev` export condition already chooses the tree: with it, `@cldmv/fix-headers` resolves to `src/`; without it, to the built `dist/`. Both are valid ways to run a checkout, and the repository's npm scripts and Vitest config pass the condition. The published `dist/index.mjs`, `dist/index.cjs` and `bin/fix-headers.mjs` no longer reference `../devcheck.mjs` at all; before, they tried to load it and skipped it when it was missing. The entry files stay `src/index.mjs` and its CommonJS sibling `src/index.cjs`, and the package's exports are unchanged. ## 💥 Breaking Changes ### Node.js 22.22.0 or later ([#170](#170)) `engines.node` is `>=22.22.0` (was `>=22.13.0`). The development toolchain no longer runs on earlier 22.x releases (tsup 9 needs 22.18 or later), so those versions can't be tested any more. The CI matrix floor, the README requirements and the message `require("@cldmv/fix-headers")` prints on a Node.js without `require(esm)` all say 22.22.0 now. The library code itself didn't change for this; it's a change to what is supported and tested. ## 🔧 CI & tooling - The CI and publish workflows' `min_node_version` default is 22.22.0 ([#170](#170)). ## 📚 Documentation - **NEW:** [docs/changelog/v2/v2.2.5.md](./v2.2.5.md): this changelog. - README: the requirements list the 22.22.0 floor ([#170](#170)). - README What's New promoted to v2.2.5. ## 🔧 Dependencies - `ignore` range `^7.0.5` → `^7.0.14`; the lockfile already resolved 7.0.14, so the installed version is the same ([#172](#172)). - Development only: `tsup` 8.5.1 → 9.0.0 (which brings `cac` 7, `chokidar` 5, `readdirp` 5 and `tinyexec` 1) and `globals` 17.13.0 → 17.14.0 ([#172](#172)). - Development only: `typescript` stays on 6.0.3. [#172](#172) moved it to 7, and [#173](#173) pinned it back to `^6.0.3` because TypeScript 7's declaration emit for JavaScript sources isn't complete yet. - The `katex` and `minimatch` npm overrides from v2.2.4 are unchanged; both are development-only. --- ## Upgrade notes - **Node.js 22.22.0 or later is required** (was 22.13.0). Upgrade Node.js before upgrading the package. - No change to the `fixHeaders` API, the CLI or the output it writes. Upgrading from v2.2.4 produces no diff in your files. - In a fix-headers source checkout, nothing stops a run without `--conditions=fix-headers-dev` any more; it just uses `dist/`, so build first or pass the condition. The npm scripts already pass it. <details> <summary>👥 Contributors</summary> - @Shinrai </details> --- <!-- coverage-start -->  | Metric | Coverage | |--------|----------| | Statements | 99.9% | | Branches | 98.8% | | Functions | 100.0% | | Lines | 99.9% | *Avg: **99.6%** · `a70f12c` · 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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
No bug fixes
📦 Dependencies
🔧 Other Changes
No other changes
👥 Contributors